er  dev
ERNeuRadStep.h
1 // -------------------------------------------------------------------------
2 // ----- ERNeuRadStep header file -----
3 // ----- Created 02/03/15 by v. Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef ERNeuRadStep_H
7 #define ERNeuRadStep_H
8 
9 #include "TObject.h"
10 #include "TVector3.h"
11 #include "TArrayI.h"
12 
13 #include "FairMultiLinkedData.h"
14 
15 #include "ERMCTrack.h"
16 
17 class ERNeuRadStep : public FairMultiLinkedData
18 {
19 
20 public:
21 
23  ERNeuRadStep();
24 
36  ERNeuRadStep(Int_t eventID, Int_t stepNr,Int_t trackID,
37  Int_t mot0trackID,
38  Int_t fiberNb,
39  Int_t pixelNb,
40  Int_t moduleNb,
41  TVector3 pos,
42  TVector3 mom,
43  Double_t tof,
44  Double_t length,
45  Int_t pid,
46  Double_t mass,
47  ExpertTrackingStatus trackStatus,
48  Double_t eLoss,
49  Double_t charge,
50  TArrayI processID);
51 
53  ERNeuRadStep(const ERNeuRadStep&);
54 
56  virtual ~ERNeuRadStep();
57 
58  ERNeuRadStep& operator=(const ERNeuRadStep&) { return *this; }
59 
61  Int_t GetFiberNb() const {return fFiberNb;}
62  Int_t GetPixelNb() const {return fPixelNb;}
63  Int_t GetModuleNb() const {return fModuleNb;}
64  Double_t GetX() const {return fX;}
65  Double_t GetY() const {return fY;}
66  Double_t GetZ() const {return fZ;}
67  void Print();
68 
69  static ExpertTrackingStatus GetTrackStatus();
70 
71 protected:
72 
73  Int_t fEventID;
74  Int_t fStepNr;
75  Int_t fTrackID;
76  Int_t fMot0TrackID;
77  Int_t fFiberNb;
78  Int_t fPixelNb;
79  Int_t fModuleNb;
80  Double32_t fX, fY, fZ;
81  Double32_t fPx, fPy, fPz;
82  Double32_t fTOF;
83  Double32_t fLength;
84  Int_t fPID;
85  Double_t fMass;
86  ExpertTrackingStatus fTrackStatus;
87  Double_t fEloss;
88  Double_t fCharge;
89  TArrayI fProcessID;
90 
91  ClassDef(ERNeuRadStep,1)
92 };
93 
94 #endif // ERNeuRadStep_H
Int_t GetFiberNb() const
Definition: ERNeuRadStep.h:61
virtual ~ERNeuRadStep()