FDsimG4StoreOpticalHit.hh
Go to the documentation of this file.
1 #ifndef _FDsimG4StoreOpticalHit_h_
2 #define _FDsimG4StoreOpticalHit_h_
3 
4 namespace TelescopeSimulatorLX {
5 
7 
8  public:
9 
13 
15  int operator==(const FDsimG4StoreOpticalHit&) const;
16 
17  void Reset() ;
18  void Print() const;
19 
20  inline void SetEnergy(double fEne = 0.0) {fEnergy = fEne;}
21  inline void SetWavelength(double fWvl = 0.0) {fWavelength = fWvl;}
22  inline void SetTime(double fTi = 0.0) {fTime = fTi;}
23 
24  inline void SetLocalPosX(double x=0.0) {fLocalPosX = x;}
25  inline void SetLocalPosY(double y=0.0) {fLocalPosY = y;}
26  inline void SetLocalPosZ(double z=0.0) {fLocalPosZ = z;}
27  inline void SetLocalPosR(double perp=0.0) {fLocalPosR = perp;}
28  inline void SetPosX(double x=0.0) {fPosX = x;}
29  inline void SetPosY(double y=0.0) {fPosY = y;}
30  inline void SetPosZ(double z=0.0) {fPosZ = z;}
31  inline void SetPosR(double r=0.0) {fPosR = r;}
32 
33  inline void SetDirX(double dx=0.0) {fDirX = dx;}
34  inline void SetDirY(double dy=0.0) {fDirY = dy;}
35  inline void SetDirZ(double dz=0.0) {fDirZ = dz;}
36 
37  inline void SetPixelPosX(double x=0.0) {fPixelPosX = x;}
38  inline void SetPixelPosY(double y=0.0) {fPixelPosY = y;}
39  inline void SetPixelPosZ(double z=0.0) {fPixelPosZ = z;}
40 
41  inline void SetWeight(double w=1.0) {fWeight = w;}
42 
43  inline void SetHitID(int ID=0) {fHitID = ID;}
44  inline void SetPMTid(int ID=0) {fPMTid = ID;}
45 
46  inline double GetEnergy() const {return fEnergy;}
47  inline double GetWavelength() const {return fWavelength;}
48  inline double GetTime() const {return fTime;}
49 
50  inline double GetPosX() const {return fPosX;}
51  inline double GetPosY() const {return fPosY;}
52  inline double GetPosZ() const {return fPosZ;}
53  inline double GetPosR() const {return fPosR;}
54 
55  inline double GetDirX() const {return fDirX ;}
56  inline double GetDirY() const {return fDirY ;}
57  inline double GetDirZ() const {return fDirZ ;}
58 
59  inline double GetLocalPosX() const {return fLocalPosX;}
60  inline double GetLocalPosY() const {return fLocalPosY;}
61  inline double GetLocalPosZ() const {return fLocalPosZ;}
62 
63  inline double GetPixelPosX() const {return fPixelPosX;}
64  inline double GetPixelPosY() const {return fPixelPosY;}
65  inline double GetPixelPosZ() const {return fPixelPosZ;}
66 
67  inline double GetWeight() const {return fWeight;}
68 
69  inline int GetHitID() const {return fHitID;}
70  inline int GetPMTid() const {return fPMTid;}
71 
72  private:
73  double fEnergy;
74  double fWavelength;
75  double fTime;
76 
77  double fPosX;
78  double fPosY;
79  double fPosZ;
80  double fPosR;
81 
82  double fDirX;
83  double fDirY;
84  double fDirZ;
85 
86  double fLocalPosX;
87  double fLocalPosY;
88  double fLocalPosZ;
89  double fLocalPosR;
90 
91  double fPixelPosX;
92  double fPixelPosY;
93  double fPixelPosZ;
94 
95  double fWeight;
96 
97  int fHitID;
98  int fPMTid;
99  };
100 
101 }
102 
103 #endif
int operator==(const FDsimG4StoreOpticalHit &) const
const FDsimG4StoreOpticalHit & operator=(const FDsimG4StoreOpticalHit &)

, generated on Tue Sep 26 2023.