[5b822e5] | 1 | #ifndef _H_HorizontalQuadrupole_
|
---|
| 2 | #define _H_HorizontalQuadrupole_
|
---|
| 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_HorizontalQuadrupole.h
|
---|
| 16 | /// \brief Class describing horizontally focussing quadrupoles.
|
---|
| 17 |
|
---|
| 18 | // local #includes
|
---|
| 19 | #include "H_Quadrupole.h"
|
---|
| 20 |
|
---|
| 21 | /// Horizontally focussing quadrupoles.
|
---|
| 22 | class H_HorizontalQuadrupole : public H_Quadrupole {
|
---|
| 23 |
|
---|
| 24 | public:
|
---|
| 25 | /// Constructors and destructor
|
---|
| 26 | //@{
|
---|
| 27 | H_HorizontalQuadrupole():H_Quadrupole(HQUADRUPOLE,0.,0.,0.) {init();}
|
---|
| 28 | H_HorizontalQuadrupole(const double s, const double k, const double l) : H_Quadrupole(HQUADRUPOLE,s,k,l){init();}
|
---|
[3c40083] | 29 | H_HorizontalQuadrupole(const string nameE, const double s, const double k, const double l) : H_Quadrupole(nameE,HQUADRUPOLE,s,k,l){init();}
|
---|
| 30 | ~H_HorizontalQuadrupole() {return;};
|
---|
[5b822e5] | 31 | //@}
|
---|
| 32 | private:
|
---|
| 33 | virtual void setTypeString() {typestring = HQUADRUPOLENAME;};
|
---|
[3c40083] | 34 | virtual void setMatrix(const float, const float, const float) const ;
|
---|
[5b822e5] | 35 | };
|
---|
| 36 |
|
---|
| 37 | #endif
|
---|