ImprovedOutputFile
Timing
dual_readout
llp
Last change
on this file since caa953a 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.2 KB
|
Rev | Line | |
---|
[5b822e5] | 1 | /// \file H_Dipole.h
|
---|
| 2 | /// \brief Class aiming at simulating LHC beam dipoles.
|
---|
| 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 | #ifndef _H_Dipole_
|
---|
| 16 | #define _H_Dipole_
|
---|
| 17 |
|
---|
| 18 | #include "H_OpticalElement.h"
|
---|
| 19 |
|
---|
| 20 | /// Abstract class aiming at simulating dipoles.
|
---|
| 21 | class H_Dipole : public H_OpticalElement {
|
---|
| 22 |
|
---|
| 23 | public:
|
---|
| 24 | /// Constructors and destructor
|
---|
| 25 | //@{
|
---|
| 26 | H_Dipole():H_OpticalElement() {}
|
---|
| 27 | H_Dipole(const int dtype, const double s, const double k, const double l):H_OpticalElement(dtype,s,k,l){}
|
---|
[3c40083] | 28 | H_Dipole(const string nameE, const int dtype, const double s, const double k, const double l):H_OpticalElement(nameE,dtype,s,k,l){}
|
---|
| 29 | virtual ~H_Dipole() {return;};
|
---|
[5b822e5] | 30 | //@}
|
---|
| 31 | /// Prints the properties of the element
|
---|
[3c40083] | 32 | virtual void printProperties() const;
|
---|
| 33 | void init();
|
---|
[5b822e5] | 34 |
|
---|
| 35 | protected:
|
---|
| 36 | virtual void setTypeString() =0;
|
---|
[3c40083] | 37 | virtual void setMatrix(const float, const float, const float) const =0;
|
---|
| 38 |
|
---|
[5b822e5] | 39 | };
|
---|
| 40 |
|
---|
| 41 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.