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