HYDRA_development_version
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
hparticlewallhit.h
Go to the documentation of this file.
1 #ifndef __HPARTICLEWALLHIT_H__
2 #define __HPARTICLEWALLHIT_H__
3 
4 #include "TObject.h"
5 #include "TLorentzVector.h"
6 
7 
8 class HParticleWallHit : public TLorentzVector
9 {
10 private:
11 
12  // Forward wall related properties
13  Int_t fWallCell; // cell number
14  Float_t fWallCharge; // callibrated charge
15  Float_t fWallTime; // callibrated time-of-flight
16  Float_t fWallXlab; // x position in lab frame
17  Float_t fWallYlab; // y position in lab frame
18  Float_t fWallZlab; // z position in lab frame
19 
20 
21 public:
23  fWallCell(-1), fWallCharge(0), fWallTime(0), fWallXlab(0), fWallYlab(0), fWallZlab(0)
24  {
25  }
27 
28  void setWallCell(Int_t a) { fWallCell = a; }
29  void setWallCharge(Float_t a) { fWallCharge = a; }
30  void setWallTime(Float_t a) { fWallTime = a; }
31  void setWallXlab(Float_t a) { fWallXlab = a; }
32  void setWallYlab(Float_t a) { fWallYlab = a; }
33  void setWallZlab(Float_t a) { fWallZlab = a; }
34 
35  Int_t getWallCell() const { return fWallCell; }
36  Float_t getWallCharge() const { return fWallCharge; }
37  Float_t getWallTime() const { return fWallTime; }
38  Float_t getWallXlab() const { return fWallXlab; }
39  Float_t getWallYlab() const { return fWallYlab; }
40  Float_t getWallZlab() const { return fWallZlab; }
41 
42  ClassDef(HParticleWallHit,1) // A simple wall hit of a particle
43 };
44 
45 
46 #endif // __HPARTICLEWALLHIT_H__
Float_t getWallYlab() const
Float_t getWallCharge() const
void setWallZlab(Float_t a)
void setWallCharge(Float_t a)
void setWallXlab(Float_t a)
Float_t getWallXlab() const
Int_t getWallCell() const
Float_t getWallTime() const
Float_t getWallZlab() const
void setWallCell(Int_t a)
void setWallYlab(Float_t a)
void setWallTime(Float_t a)