Last change
on this file since 150ff64 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.0 KB
|
Line | |
---|
1 | /// \file H_SectorDipole.h
|
---|
2 | /// \brief Classes aiming at simulating sector dipoles.
|
---|
3 |
|
---|
4 | #ifndef _H_SectorDipole_
|
---|
5 | #define _H_SectorDipole_
|
---|
6 |
|
---|
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 |
|
---|
18 | #include "H_Dipole.h"
|
---|
19 |
|
---|
20 | /// Sector dipoles.
|
---|
21 | class H_SectorDipole : public H_Dipole {
|
---|
22 |
|
---|
23 | public:
|
---|
24 | /// Constructors and destructor
|
---|
25 | //@{
|
---|
26 | H_SectorDipole():H_Dipole(SDIPOLE,0.,0.,0.) {init();}
|
---|
27 | H_SectorDipole(const double s, const double k, const double l) :H_Dipole(SDIPOLE,s,k,l){init();}
|
---|
28 | H_SectorDipole(const string nameE, const double s, const double k, const double l) :H_Dipole(nameE,SDIPOLE,s,k,l){init();}
|
---|
29 | ~H_SectorDipole() {return;};
|
---|
30 | //@}
|
---|
31 | private:
|
---|
32 | virtual void setTypeString() { typestring = SDIPOLENAME;};
|
---|
33 | virtual void setMatrix(const float ,const float, const float) const ;
|
---|
34 | };
|
---|
35 |
|
---|
36 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.