Last change
on this file since 1379 was 1365, checked in by Pavel Demin, 11 years ago |
switch to a more stable Hector version
|
-
Property svn:eol-style
set to
native
-
Property svn:keywords
set to
Id Revision Date
|
File size:
1.1 KB
|
Rev | Line | |
---|
[1360] | 1 | #ifndef _H_Drift_
|
---|
| 2 | #define _H_Drift_
|
---|
| 3 |
|
---|
[1365] | 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
|
---|
[1360] | 8 |
|
---|
[1365] | 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 | */
|
---|
| 14 |
|
---|
[1360] | 15 | /// \file H_Drift.h
|
---|
| 16 | /// \brief Class aiming at simulating LHC beam drift.
|
---|
| 17 |
|
---|
| 18 | // local includes
|
---|
| 19 | #include "H_OpticalElement.h"
|
---|
| 20 |
|
---|
| 21 | /// \brief Class aiming at simulating LHC beam drift.
|
---|
| 22 | class H_Drift : public H_OpticalElement {
|
---|
| 23 |
|
---|
| 24 | public:
|
---|
| 25 | /// Constructors and destructor
|
---|
| 26 | //@{
|
---|
| 27 | H_Drift():H_OpticalElement(DRIFT,0.,0.,0.) {init();}
|
---|
| 28 | H_Drift(const double s, const double l):H_OpticalElement(DRIFT,s,0.,l){init();}
|
---|
[1365] | 29 | H_Drift(const string nameE, const double s, const double l):H_OpticalElement(nameE,DRIFT,s,0.,l){init();}
|
---|
| 30 | ~H_Drift() { return; };
|
---|
[1360] | 31 | //@}
|
---|
[1365] | 32 | virtual void printProperties() const;
|
---|
[1360] | 33 | void init();
|
---|
| 34 |
|
---|
[1365] | 35 | private:
|
---|
[1360] | 36 | virtual void setTypeString() {typestring = DRIFTNAME;};
|
---|
[1365] | 37 | virtual void setMatrix(const float, const float, const float) const ;
|
---|
[1360] | 38 | };
|
---|
| 39 |
|
---|
| 40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.