OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalECollimator.h
Go to the documentation of this file.
1 #ifndef OPAL_OpalECollimator_HH
2 #define OPAL_OpalECollimator_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: OpalECollimator.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: OpalECollimator
13 //
14 // ------------------------------------------------------------------------
15 //
16 // $Date: 2000/03/27 09:33:39 $
17 // $Author: Andreas Adelmann $
18 //
19 // ------------------------------------------------------------------------
20 
21 #include "Elements/OpalElement.h"
22 
24 
25 // Class OpalECollimator
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 ~OpalECollimator();
45 
47  virtual OpalECollimator *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 OpalECollimator &);
60 
61  // Clone constructor.
62  OpalECollimator(const std::string &name, OpalECollimator *parent);
63 
65 };
66 
67 #endif // OPAL_OpalECollimator_HH
Interface for basic beam line object.
Definition: ElementBase.h:128
ValueFlag
Switch for value desired on ATTLIST command.
Definition: OpalElement.h:71
Base class for all beam line elements.
Definition: OpalElement.h:41
ParticleMatterInteraction * parmatint_m
void operator=(const OpalECollimator &)
virtual ~OpalECollimator()
virtual OpalECollimator * clone(const std::string &name)
Make clone.
const std::string name
OpalECollimator()
Exemplar constructor.
The ECOLLIMATOR element.
virtual void update()
Update the embedded CLASSIC collimator.
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.