CbmRoot
Loading...
Searching...
No Matches
CbmStsTrackStatus.h
Go to the documentation of this file.
1/* Copyright (C) 2013-2017 GSI Helmholtzzentrum fuer Schwerionenforschung, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Volker Friese [committer] */
4
12#ifndef CBMSTSTRACKSTATUS_H
13#define CBMSTSTRACKSTATUS_H
14
15#include <RtypesCore.h> // for Double_t, UInt_t, Int_t
16
25
26public:
29 : fAddress(0)
30 , fTrackId(0)
31 , fPid(0)
32 , fX(0.)
33 , fY(0.)
34 , fZ(0.)
35 , fPx(0.)
36 , fPy(0.)
37 , fPz(0.)
38 , fTime(0.)
39 , fLength(0.)
40 , fFlag(kTRUE)
41 {
42 }
43
44
47
48
50 void Reset()
51 {
52 fAddress = 0;
53 fTrackId = 0;
54 fPid = 0;
55 fX = 0.;
56 fY = 0.;
57 fZ = 0.;
58 fPx = 0.;
59 fPy = 0.;
60 fPz = 0.;
61 fTime = 0.;
62 fLength = 0.;
63 fFlag = kTRUE;
64 }
65
66
67 Int_t fAddress;
68 Int_t fTrackId;
69 Int_t fPid;
70 Double_t fX;
71 Double_t fY;
72 Double_t fZ;
73 Double_t fPx;
74 Double_t fPy;
75 Double_t fPz;
76 Double_t fTime;
77 Double_t fLength;
78 Bool_t fFlag;
79};
80
81
82#endif /* CBMSTSTRACKSTATUS_H */
Stores status of track during transport. Auxiliary for CbmSts.
Int_t fTrackId
MCTrack index.
Int_t fPid
MCTrack PID [PDG code].
Double_t fY
x position [cm]
Double_t fPz
Momentum x component [GeV].
Double_t fX
x position [cm]
Int_t fAddress
Unique address.
Double_t fZ
x position [cm]
Double_t fPx
Momentum x component [GeV].
Double_t fLength
Length since track creation [cm].
Bool_t fFlag
Status flag. TRUE if normal entry/exit, else FALSE.
Double_t fTime
Time since track creation [ns].
Double_t fPy
Momentum x component [GeV].