Fork me on GitHub

source: git/external/Hector/H_Marker.h@ 5b822e5

ImprovedOutputFile Timing dual_readout llp
Last change on this file since 5b822e5 was 5b822e5, checked in by pavel <pavel@…>, 11 years ago

add Hector module

  • Property mode set to 100644
File size: 1.9 KB
Line 
1#ifndef _H_Marker_
2#define _H_Marker_
3
4 /* * * * * * * * * * * * * * * * * * * * * * * * * * * *
5 * *
6* --<--<-- A fast simulator --<--<-- *
7* / --<--<-- of particle --<--<-- *
8* ----HECTOR----< *
9* \ -->-->-- transport through -->-->-- *
10* -->-->-- generic beamlines -->-->-- *
11* *
12* JINST 2:P09005 (2007) *
13* X Rouby, J de Favereau, K Piotrzkowski (CP3) *
14* http://www.fynu.ucl.ac.be/hector.html *
15* *
16* Center for Cosmology, Particle Physics and Phenomenology *
17* Universite catholique de Louvain *
18* Louvain-la-Neuve, Belgium *
19 * *
20 * * * * * * * * * * * * * * * * * * * * * * * * * * * */
21
22/// \file H_Marker.h
23/// \brief Class defining a marker in the beamline (e.g. for interaction point)
24
25// local includes
26#include "H_Drift.h"
27
28/// \brief Class defining a marker in the beamline (e.g. for interaction point)
29class H_Marker : public H_Drift {
30
31 public:
32 /// Constructors and destructor
33 //@{
34 H_Marker():H_Drift() { type = MARKER; init();}
35 H_Marker(const double s):H_Drift(s,0.) { type =MARKER; init();}
36 H_Marker(const string& nameE, const double s):H_Drift(nameE,s,0.) { type=MARKER; init();}
37 ~H_Marker() { };
38 //@}
39 H_Marker* clone() const ;
40 void init();
41
42 private:
43 virtual void setTypeString() {typestring = MARKERNAME;};
44 virtual void setMatrix(const float , const float, const float) ;
45 friend std::ostream& operator<< (std::ostream& os, const H_Marker& el);
46};
47
48#endif
Note: See TracBrowser for help on using the repository browser.