|
| MCTrackT () |
| Default constructor.
|
|
| MCTrackT (Int_t pdgCode, Int_t motherID, Int_t secondMotherID, Int_t firstDaughterID, Int_t lastDaughterID, Double_t px, Double_t py, Double_t pz, Double_t x, Double_t y, Double_t z, Double_t t, Int_t nPoints) |
| Standard constructor.
|
|
| MCTrackT (const MCTrackT &track)=default |
| Copy constructor.
|
|
| MCTrackT (const TParticle &particle) |
| Constructor from TParticle.
|
|
| ~MCTrackT ()=default |
| Destructor.
|
|
void | Print (Int_t iTrack=0) const |
| Output to screen.
|
|
Int_t | GetPdgCode () const |
| Accessors.
|
|
Int_t | getMotherTrackId () const |
|
Int_t | getSecondMotherTrackId () const |
|
bool | isPrimary () const |
|
bool | isSecondary () const |
|
Int_t | getFirstDaughterTrackId () const |
|
Int_t | getLastDaughterTrackId () const |
|
Double_t | GetStartVertexMomentumX () const |
|
Double_t | GetStartVertexMomentumY () const |
|
Double_t | GetStartVertexMomentumZ () const |
|
Double_t | GetStartVertexCoordinatesX () const |
|
Double_t | GetStartVertexCoordinatesY () const |
|
Double_t | GetStartVertexCoordinatesZ () const |
|
Double_t | GetStartVertexCoordinatesT () const |
|
Double_t | R2 () const |
| production radius squared
|
|
Double_t | R () const |
| production radius
|
|
Double_t | GetMass () const |
| return mass from PDG Database if known (print message in case cannot look up)
|
|
_T | getWeight () const |
| return particle weight
|
|
Double_t | GetEnergy () const |
|
Double_t | Px () const |
|
Double_t | Py () const |
|
Double_t | Pz () const |
|
Double_t | Vx () const |
|
Double_t | Vy () const |
|
Double_t | Vz () const |
|
Double_t | T () const |
|
Double_t | GetPt () const |
|
Double_t | GetP () const |
|
Double_t | GetPhi () const |
|
Double_t | GetEta () const |
|
Double_t | GetTgl () const |
|
Double_t | GetTheta () const |
|
Double_t | GetRapidity () const |
|
void | GetMomentum (TVector3 &momentum) const |
|
void | Get4Momentum (TLorentzVector &momentum) const |
|
void | GetStartVertex (TVector3 &vertex) const |
|
Int_t | getHitMask () const |
| Accessors to the hit mask.
|
|
void | setHitMask (Int_t m) |
|
void | SetMotherTrackId (Int_t id) |
| Modifiers.
|
|
void | SetSecondMotherTrackId (Int_t id) |
|
void | SetFirstDaughterTrackId (Int_t id) |
|
void | SetLastDaughterTrackId (Int_t id) |
|
void | setHit (Int_t iDetBit) |
|
bool | leftTraceGivenBitField (int bit) const |
|
bool | leftTrace (Int_t iDet, std::vector< int > const &detIDtoBit) const |
|
int | getNumDet () const |
|
void | setStore (bool f) |
|
bool | getStore () const |
|
bool | hasHits () const |
| determine if this track has hits
|
|
void | setProcess (int proc) |
| set process property
|
|
int | getProcess () const |
| get the production process (id) of this track
|
|
o2::mcgenstatus::MCGenStatusEncoding | getStatusCode () const |
| get generator status code
|
|
void | setToBeDone (bool f) |
|
bool | getToBeDone () const |
|
void | setInhibited (bool f) |
|
bool | getInhibited () const |
|
bool | isTransported () const |
|
const char * | getProdProcessAsString () const |
| get the string representation of the production process
|
|
template<class _T>
class o2::MCTrackT< _T >
Data class for storing Monte Carlo tracks processed by the Stack. An MCTrack can be a primary track put into the simulation or a secondary one produced by the transport through decay or interaction. This is a light weight particle class that is saved to disk instead of saving the TParticle class. It is also used for filtering the stack
Definition at line 46 of file MCTrack.h.