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