1 | /// \file H_Kicker.h
|
---|
2 | /// \brief Classes aiming at simulating kickers in LHC beamline.
|
---|
3 | /// fk [rad] for kickers !!!!
|
---|
4 |
|
---|
5 | /*
|
---|
6 | ---- Hector the simulator ----
|
---|
7 | A fast simulator of particles through generic beamlines.
|
---|
8 | J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
|
---|
9 |
|
---|
10 | http://www.fynu.ucl.ac.be/hector.html
|
---|
11 |
|
---|
12 | Centre de Physique des Particules et de Phénoménologie (CP3)
|
---|
13 | Université Catholique de Louvain (UCL)
|
---|
14 | */
|
---|
15 |
|
---|
16 | #ifndef _H_Kicker_
|
---|
17 | #define _H_Kicker_
|
---|
18 |
|
---|
19 | // local #includes
|
---|
20 | #include "H_OpticalElement.h"
|
---|
21 |
|
---|
22 | /// Abstract class aiming at simulating kickers in LHC beamline.
|
---|
23 | class H_Kicker : public H_OpticalElement {
|
---|
24 |
|
---|
25 | public:
|
---|
26 | /// Constructors and destructor
|
---|
27 | //@{
|
---|
28 | H_Kicker():H_OpticalElement() {}
|
---|
29 | H_Kicker(const int dtype, const double s, const double k, const double l):H_OpticalElement(dtype,s,k,l){}
|
---|
30 | H_Kicker(const string nameE, const int dtype, const double s, const double k, const double l):H_OpticalElement(nameE,dtype,s,k,l){}
|
---|
31 | virtual ~H_Kicker() {return;};
|
---|
32 | //@}
|
---|
33 | /// prints the kicker properties
|
---|
34 | virtual void printProperties() const;
|
---|
35 | void init();
|
---|
36 |
|
---|
37 | protected:
|
---|
38 | virtual void setTypeString() =0;
|
---|
39 | virtual void setMatrix(const float, const float, const float) const =0;
|
---|
40 | };
|
---|
41 |
|
---|
42 | #endif
|
---|