source:
git/external/Hector/H_VerticalKicker.h@
7312b4d
Last change on this file since 7312b4d was 3c40083, checked in by , 11 years ago | |
---|---|
|
|
File size: 1.1 KB |
Rev | Line | |
---|---|---|
[5b822e5] | 1 | #ifndef _H_VerticalKicker_ |
2 | #define _H_VerticalKicker_ | |
3 | ||
[3c40083] | 4 | /* |
5 | ---- Hector the simulator ---- | |
6 | A fast simulator of particles through generic beamlines. | |
7 | J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be | |
8 | ||
9 | http://www.fynu.ucl.ac.be/hector.html | |
10 | ||
11 | Centre de Physique des Particules et de Phénoménologie (CP3) | |
12 | Université Catholique de Louvain (UCL) | |
13 | */ | |
[5b822e5] | 14 | |
15 | /// \file H_VerticalKicker.h | |
16 | /// \brief Classes aiming at simulating vertical kickers in the beamline. | |
17 | /// | |
18 | /// fk [rad] for kickers !!!! | |
19 | ||
20 | ||
21 | // local #includes | |
22 | #include "H_Kicker.h" | |
23 | ||
24 | /// Vertical kickers for the beamline. | |
25 | class H_VerticalKicker : public H_Kicker { | |
26 | ||
27 | public: | |
28 | /// Constructors and destructor | |
29 | //@{ | |
30 | H_VerticalKicker():H_Kicker(VKICKER,0.,0.,0.) {init();} | |
31 | H_VerticalKicker(const double s, const double k, const double l) :H_Kicker(VKICKER,s,k,l){init();} | |
[3c40083] | 32 | H_VerticalKicker(const string nameE, const double s, const double k, const double l) :H_Kicker(nameE,VKICKER,s,k,l){init();} |
33 | ~H_VerticalKicker() {return;}; | |
[5b822e5] | 34 | //@} |
35 | private: | |
36 | virtual void setTypeString() {typestring=VKICKERNAME;}; | |
[3c40083] | 37 | virtual void setMatrix(const float, const float, const float) const ; |
[5b822e5] | 38 | }; |
39 | ||
40 | #endif |
Note:
See TracBrowser
for help on using the repository browser.