OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalRCollimator.h
Go to the documentation of this file.
1 #ifndef OPAL_OpalRCollimator_HH
2 #define OPAL_OpalRCollimator_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: OpalRCollimator.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: OpalRCollimator
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:40 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "Elements/OpalElement.h"
22 
24 
25 // Class OpalRCollimator
26 // ------------------------------------------------------------------------
28 
30 
31 public:
32 
34  enum {
35  XSIZE = COMMON, // The horizontal half-size.
36  YSIZE, // The vertical half-size.
39  };
40 
43 
44  virtual ~OpalRCollimator();
45 
47  virtual OpalRCollimator *clone(const std::string &name);
48 
50  virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag);
51 
53  virtual void update();
54 
55 private:
56 
57  // Not implemented.
59  void operator=(const OpalRCollimator &);
60 
61  // Clone constructor.
62  OpalRCollimator(const std::string &name, OpalRCollimator *parent);
63 
65 };
66 
67 #endif // OPAL_OpalRCollimator_HH
Interface for basic beam line object.
Definition: ElementBase.h:128
virtual ~OpalRCollimator()
ValueFlag
Switch for value desired on ATTLIST command.
Definition: OpalElement.h:71
virtual OpalRCollimator * clone(const std::string &name)
Make clone.
The RCOLLIMATOR element.
Base class for all beam line elements.
Definition: OpalElement.h:41
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.
void operator=(const OpalRCollimator &)
const std::string name
virtual void update()
Update the embedded CLASSIC collimator.
ParticleMatterInteraction * parmatint_m
OpalRCollimator()
Exemplar constructor.