source:
git/external/Hector/H_Kicker.h@
4af92f5
Last change on this file since 4af92f5 was 3c40083, checked in by , 11 years ago | |
---|---|
|
|
File size: 1.2 KB |
Rev | Line | |
---|---|---|
[5b822e5] | 1 | /// \file H_Kicker.h |
2 | /// \brief Classes aiming at simulating kickers in LHC beamline. | |
3 | /// fk [rad] for kickers !!!! | |
4 | ||
[3c40083] | 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 | ||
[5b822e5] | 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){} | |
[3c40083] | 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;}; | |
[5b822e5] | 32 | //@} |
[3c40083] | 33 | /// prints the kicker properties |
34 | virtual void printProperties() const; | |
[5b822e5] | 35 | void init(); |
36 | ||
37 | protected: | |
[3c40083] | 38 | virtual void setTypeString() =0; |
39 | virtual void setMatrix(const float, const float, const float) const =0; | |
[5b822e5] | 40 | }; |
41 | ||
42 | #endif |
Note:
See TracBrowser
for help on using the repository browser.