OPAL (Object Oriented Parallel Accelerator Library) 2022.1
OPAL
OpalRCollimator.h
Go to the documentation of this file.
1//
2// Class OpalRCollimator
3// The RCOLLIMATOR element.
4//
5// Copyright (c) 200x - 2020, Paul Scherrer Institut, Villigen PSI, Switzerland
6// All rights reserved
7//
8// This file is part of OPAL.
9//
10// OPAL is free software: you can redistribute it and/or modify
11// it under the terms of the GNU General Public License as published by
12// the Free Software Foundation, either version 3 of the License, or
13// (at your option) any later version.
14//
15// You should have received a copy of the GNU General Public License
16// along with OPAL. If not, see <https://www.gnu.org/licenses/>.
17//
18#ifndef OPAL_OpalRCollimator_HH
19#define OPAL_OpalRCollimator_HH
20
22
24
26
27public:
28
30 enum {
31 XSIZE = COMMON, // The horizontal half-size.
32 YSIZE, // The vertical half-size.
33 SIZE
34 };
35
38
39 virtual ~OpalRCollimator();
40
42 virtual OpalRCollimator* clone(const std::string& name);
43
45 virtual void update();
46
47private:
48
49 // Not implemented.
52
53 // Clone constructor.
54 OpalRCollimator(const std::string& name, OpalRCollimator* parent);
55
57};
58
59#endif // OPAL_OpalRCollimator_HH
const std::string name
virtual ~OpalRCollimator()
ParticleMatterInteraction * parmatint_m
virtual OpalRCollimator * clone(const std::string &name)
Make clone.
OpalRCollimator()
Exemplar constructor.
OpalRCollimator(const OpalRCollimator &)
void operator=(const OpalRCollimator &)
virtual void update()
Update the embedded CLASSIC collimator.