OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
OpalFlexibleCollimator.h
Go to the documentation of this file.
1 #ifndef OPAL_OpalFlexibleCollimator_HH
2 #define OPAL_OpalFlexibleCollimator_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: OpalFlexibleCollimator.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: OpalFlexibleCollimator
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 OpalFlexibleCollimator
26 // ------------------------------------------------------------------------
28 
30 
31 public:
32 
34  enum {
35  FNAME = COMMON, // The horizontal half-size.
40  };
41 
44 
45  virtual ~OpalFlexibleCollimator();
46 
48  virtual OpalFlexibleCollimator *clone(const std::string &name);
49 
51  virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag);
52 
54  virtual void update();
55 
56 private:
57 
58  // Not implemented.
60  void operator=(const OpalFlexibleCollimator &);
61 
62  // Clone constructor.
63  OpalFlexibleCollimator(const std::string &name, OpalFlexibleCollimator *parent);
64 
66 };
67 
68 #endif // OPAL_OpalFlexibleCollimator_HH
Interface for basic beam line object.
Definition: ElementBase.h:128
ValueFlag
Switch for value desired on ATTLIST command.
Definition: OpalElement.h:71
ParticleMatterInteraction * partMatInt_m
virtual OpalFlexibleCollimator * clone(const std::string &name)
Make clone.
OpalFlexibleCollimator()
Exemplar constructor.
virtual void update()
Update the embedded CLASSIC collimator.
Base class for all beam line elements.
Definition: OpalElement.h:41
The ECOLLIMATOR element.
const std::string name
void operator=(const OpalFlexibleCollimator &)
virtual void fillRegisteredAttributes(const ElementBase &, ValueFlag)
Fill in all registered attributes.