Last change
on this file since bd33fce was 3c40083, checked in by pavel <pavel@…>, 11 years ago |
switch to a more stable Hector version
|
-
Property mode
set to
100644
|
File size:
1.1 KB
|
Rev | Line | |
---|
[5b822e5] | 1 | #ifndef _H_RectangularDipole_
|
---|
| 2 | #define _H_RectangularDipole_
|
---|
| 3 |
|
---|
| 4 | /// \file H_RectangularDipole.h
|
---|
| 5 | /// \brief Classes aiming at simulating LHC beam rectangular dipoles.
|
---|
| 6 |
|
---|
[3c40083] | 7 | /*
|
---|
| 8 | ---- Hector the simulator ----
|
---|
| 9 | A fast simulator of particles through generic beamlines.
|
---|
| 10 | J. de Favereau, X. Rouby ~~~ hector_devel@cp3.phys.ucl.ac.be
|
---|
| 11 |
|
---|
| 12 | http://www.fynu.ucl.ac.be/hector.html
|
---|
| 13 |
|
---|
| 14 | Centre de Physique des Particules et de Phénoménologie (CP3)
|
---|
| 15 | Université Catholique de Louvain (UCL)
|
---|
| 16 | */
|
---|
| 17 |
|
---|
[5b822e5] | 18 | #include "H_Dipole.h"
|
---|
| 19 |
|
---|
| 20 | /// Rectangle dipoles.
|
---|
| 21 | class H_RectangularDipole : public H_Dipole {
|
---|
| 22 |
|
---|
| 23 | public:
|
---|
| 24 | /// constructor
|
---|
| 25 | //@{
|
---|
| 26 | H_RectangularDipole():H_Dipole(RDIPOLE,0.,0.,0.) {init();}
|
---|
[3c40083] | 27 | H_RectangularDipole(const double s, const double k, const double l) :H_Dipole(RDIPOLE,s,k,l){init();}
|
---|
| 28 | H_RectangularDipole(const string nameE, const double s, const double k, const double l) :H_Dipole(nameE,RDIPOLE,s,k,l){init();}
|
---|
| 29 | ~H_RectangularDipole() {return;};
|
---|
[5b822e5] | 30 | //@}
|
---|
| 31 | private:
|
---|
[3c40083] | 32 | virtual void setTypeString() { typestring = RDIPOLENAME;};
|
---|
| 33 | virtual void setMatrix(const float, const float, const float) const ;
|
---|
[5b822e5] | 34 | };
|
---|
| 35 |
|
---|
| 36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.