OPAL (Object Oriented Parallel Accelerator Library)  2.2.0
OPAL
Lambertson.h
Go to the documentation of this file.
1 #ifndef CLASSIC_Lambertson_HH
2 #define CLASSIC_Lambertson_HH
3 
4 // ------------------------------------------------------------------------
5 // $RCSfile: Lambertson.h,v $
6 // ------------------------------------------------------------------------
7 // $Revision: 1.1.1.1 $
8 // ------------------------------------------------------------------------
9 // Copyright: see Copyright.readme
10 // ------------------------------------------------------------------------
11 //
12 // Class: Lambertson
13 // *** MISSING *** Lambertson interface is still incomplete.
14 //
15 // ------------------------------------------------------------------------
16 // Class category: AbsBeamline
17 // ------------------------------------------------------------------------
18 //
19 // $Date: 2000/03/27 09:32:31 $
20 // $Author: fci $
21 //
22 // ------------------------------------------------------------------------
23 
24 #include "AbsBeamline/Component.h"
25 
26 
27 // Class Lambertson
28 // ------------------------------------------------------------------------
30 // Class Lambertson defines the abstract interface for a Lambertson
31 // septum magnet.
32 
33 class Lambertson: public Component {
34 
35 public:
36 
38  explicit Lambertson(const std::string &name);
39 
40  Lambertson();
41  Lambertson(const Lambertson &);
42  virtual ~Lambertson();
43 
45  virtual void accept(BeamlineVisitor &) const override;
46 
47  virtual void initialise(PartBunchBase<double, 3> *bunch, double &startField, double &endField) override;
48 
49  virtual void finalise() override;
50 
51  virtual bool bends() const override;
52 
53  virtual ElementBase::ElementType getType() const override;
54 
55  virtual void getDimensions(double &zBegin, double &zEnd) const override;
56 
57 private:
58 
59  // Not implemented.
60  void operator=(const Lambertson &);
61 };
62 
63 #endif // CLASSIC_Lambertson_HH
virtual void finalise() override
Definition: Lambertson.cpp:55
virtual void getDimensions(double &zBegin, double &zEnd) const override
Definition: Lambertson.cpp:62
virtual void accept(BeamlineVisitor &) const override
Apply visitor to Lambertson.
Definition: Lambertson.cpp:47
virtual void initialise(PartBunchBase< double, 3 > *bunch, double &startField, double &endField) override
Definition: Lambertson.cpp:51
virtual bool bends() const override
Definition: Lambertson.cpp:58
virtual ~Lambertson()
Definition: Lambertson.cpp:43
virtual ElementBase::ElementType getType() const override
Get element type std::string.
Definition: Lambertson.cpp:66
const std::string name
void operator=(const Lambertson &)
Interface for a single beam element.
Definition: Component.h:51
Abstract algorithm.
Interface for a Lambertson septum.
Definition: Lambertson.h:33