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