CbmRoot
CbmStsTrackStatus.h
Go to the documentation of this file.
1 
8 #ifndef CBMSTSTRACKSTATUS_H
9 #define CBMSTSTRACKSTATUS_H
10 
11 #include <RtypesCore.h> // for Double_t, UInt_t, Int_t
12 
21 
22 public:
25  : fAddress(0)
26  , fTrackId(0)
27  , fPid(0)
28  , fX(0.)
29  , fY(0.)
30  , fZ(0.)
31  , fPx(0.)
32  , fPy(0.)
33  , fPz(0.)
34  , fTime(0.)
35  , fLength(0.)
36  , fFlag(kTRUE) {}
37 
38 
41 
42 
44  void Reset() {
45  fAddress = 0;
46  fTrackId = 0;
47  fPid = 0;
48  fX = 0.;
49  fY = 0.;
50  fZ = 0.;
51  fPx = 0.;
52  fPy = 0.;
53  fPz = 0.;
54  fTime = 0.;
55  fLength = 0.;
56  fFlag = kTRUE;
57  }
58 
59 
60  Int_t fAddress;
61  Int_t fTrackId;
62  Int_t fPid;
63  Double_t fX;
64  Double_t fY;
65  Double_t fZ;
66  Double_t fPx;
67  Double_t fPy;
68  Double_t fPz;
69  Double_t fTime;
70  Double_t fLength;
71  Bool_t fFlag;
72 };
73 
74 
75 #endif /* CBMSTSTRACKSTATUS_H */
CbmStsTrackStatus::fAddress
Int_t fAddress
Unique address.
Definition: CbmStsTrackStatus.h:60
CbmStsTrackStatus::CbmStsTrackStatus
CbmStsTrackStatus()
Definition: CbmStsTrackStatus.h:24
CbmStsTrackStatus::fPid
Int_t fPid
MCTrack PID [PDG code].
Definition: CbmStsTrackStatus.h:62
CbmStsTrackStatus::fPy
Double_t fPy
Momentum x component [GeV].
Definition: CbmStsTrackStatus.h:67
CbmStsTrackStatus::fZ
Double_t fZ
x position [cm]
Definition: CbmStsTrackStatus.h:65
CbmStsTrackStatus::fTime
Double_t fTime
Time since track creation [ns].
Definition: CbmStsTrackStatus.h:69
CbmStsTrackStatus::fTrackId
Int_t fTrackId
MCTrack index.
Definition: CbmStsTrackStatus.h:61
CbmStsTrackStatus::fX
Double_t fX
x position [cm]
Definition: CbmStsTrackStatus.h:63
CbmStsTrackStatus::Reset
void Reset()
Definition: CbmStsTrackStatus.h:44
CbmStsTrackStatus
Stores status of track during transport. Auxiliary for CbmSts.
Definition: CbmStsTrackStatus.h:20
CbmStsTrackStatus::fY
Double_t fY
x position [cm]
Definition: CbmStsTrackStatus.h:64
CbmStsTrackStatus::fPz
Double_t fPz
Momentum x component [GeV].
Definition: CbmStsTrackStatus.h:68
CbmStsTrackStatus::fFlag
Bool_t fFlag
Status flag. TRUE if normal entry/exit, else FALSE.
Definition: CbmStsTrackStatus.h:71
CbmStsTrackStatus::fPx
Double_t fPx
Momentum x component [GeV].
Definition: CbmStsTrackStatus.h:66
CbmStsTrackStatus::~CbmStsTrackStatus
~CbmStsTrackStatus()
Definition: CbmStsTrackStatus.h:40
CbmStsTrackStatus::fLength
Double_t fLength
Length since track creation [cm].
Definition: CbmStsTrackStatus.h:70