Last change
on this file since a07b54c was 3c40083, checked in by pavel <pavel@…>, 10 years ago |
switch to a more stable Hector version
|
-
Property mode
set to
100644
|
File size:
1.2 KB
|
Rev | Line | |
---|
[5b822e5] | 1 | #ifndef _H_Marker_
|
---|
| 2 | #define _H_Marker_
|
---|
| 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 | /// \file H_Marker.h
|
---|
| 16 | /// \brief Class defining a marker in the beamline (e.g. for interaction point)
|
---|
| 17 |
|
---|
| 18 | // local includes
|
---|
[3c40083] | 19 | #include "H_OpticalElement.h"
|
---|
[5b822e5] | 20 |
|
---|
| 21 | /// \brief Class defining a marker in the beamline (e.g. for interaction point)
|
---|
[3c40083] | 22 | class H_Marker : public H_OpticalElement {
|
---|
[5b822e5] | 23 |
|
---|
| 24 | public:
|
---|
| 25 | /// Constructors and destructor
|
---|
| 26 | //@{
|
---|
[3c40083] | 27 | H_Marker():H_OpticalElement(MARKER,0.,0.,0.) {init();}
|
---|
| 28 | H_Marker(const double s):H_OpticalElement(MARKER,s,0.,0.){init();}
|
---|
| 29 | H_Marker(const string nameE, const double s):H_OpticalElement(nameE,MARKER,s,0.,0.){init();}
|
---|
| 30 | ~H_Marker() { return; };
|
---|
[5b822e5] | 31 | //@}
|
---|
[3c40083] | 32 | virtual void printProperties() const;
|
---|
[5b822e5] | 33 | void init();
|
---|
| 34 |
|
---|
| 35 | private:
|
---|
| 36 | virtual void setTypeString() {typestring = MARKERNAME;};
|
---|
[3c40083] | 37 | virtual void setMatrix(const float , const float, const float) const ;
|
---|
[5b822e5] | 38 | };
|
---|
| 39 |
|
---|
| 40 | #endif
|
---|
Note:
See
TracBrowser
for help on using the repository browser.