[5b822e5] | 1 | #ifndef _H_VerticalQuadrupole_
|
---|
| 2 | #define _H_VerticalQuadrupole_
|
---|
| 3 |
|
---|
| 4 | /* * * * * * * * * * * * * * * * * * * * * * * * * * * *
|
---|
| 5 | * *
|
---|
| 6 | * --<--<-- A fast simulator --<--<-- *
|
---|
| 7 | * / --<--<-- of particle --<--<-- *
|
---|
| 8 | * ----HECTOR----< *
|
---|
| 9 | * \ -->-->-- transport through -->-->-- *
|
---|
| 10 | * -->-->-- generic beamlines -->-->-- *
|
---|
| 11 | * *
|
---|
| 12 | * JINST 2:P09005 (2007) *
|
---|
| 13 | * X Rouby, J de Favereau, K Piotrzkowski (CP3) *
|
---|
| 14 | * http://www.fynu.ucl.ac.be/hector.html *
|
---|
| 15 | * *
|
---|
| 16 | * Center for Cosmology, Particle Physics and Phenomenology *
|
---|
| 17 | * Universite catholique de Louvain *
|
---|
| 18 | * Louvain-la-Neuve, Belgium *
|
---|
| 19 | * *
|
---|
| 20 | * * * * * * * * * * * * * * * * * * * * * * * * * * * */
|
---|
| 21 |
|
---|
| 22 |
|
---|
| 23 | /// \file H_VerticalQuadrupole.h
|
---|
| 24 | /// \brief Vertically focussing quadrupoles.
|
---|
| 25 |
|
---|
| 26 | // local #includes
|
---|
| 27 | #include "H_Quadrupole.h"
|
---|
| 28 |
|
---|
| 29 | /// Vertically focussing quadrupoles.
|
---|
| 30 | class H_VerticalQuadrupole : public H_Quadrupole {
|
---|
| 31 |
|
---|
| 32 | public:
|
---|
| 33 | /// Constructors and destructor
|
---|
| 34 | //@{
|
---|
| 35 | H_VerticalQuadrupole():H_Quadrupole(VQUADRUPOLE,0.,0.,0.) {init();}
|
---|
| 36 | H_VerticalQuadrupole(const double s, const double k, const double l):H_Quadrupole(VQUADRUPOLE,s,k,l) {init();}
|
---|
| 37 | H_VerticalQuadrupole(const string& nameE, const double s, const double k, const double l):H_Quadrupole(nameE,VQUADRUPOLE,s,k,l) {init();}
|
---|
| 38 | ~H_VerticalQuadrupole() {};
|
---|
| 39 | //@}
|
---|
| 40 | H_VerticalQuadrupole* clone() const ;
|
---|
| 41 | private:
|
---|
| 42 | virtual void setTypeString() {typestring = VQUADRUPOLENAME;} ;
|
---|
| 43 | virtual void setMatrix(const float, const float, const float) ;
|
---|
| 44 | };
|
---|
| 45 |
|
---|
| 46 | #endif
|
---|