|
| virtual Int_t | GetID () const |
| |
|
virtual void | SetID (Int_t _id) |
| |
| virtual Int_t | GetParentID () const |
| |
|
virtual void | SetParentID (Int_t _parentID) |
| |
| virtual Int_t | GetPDGCode () const |
| |
|
virtual void | SetPDGCode (Int_t _pdgcode) |
| |
| virtual const std::string & | GetParticleName () const |
| |
|
virtual void | SetParticleName (const std::string &_particleName) |
| |
| virtual MCTrackStep * | GetMCTrackStep (Int_t i) |
| |
|
virtual Int_t | GetMCTrackStepCount () const |
| |
|
virtual MCTrackStep * | AddNewMCTrackStep () |
| |
|
virtual void | PruneMCTrackStep () |
| |
|
virtual MCTrackStep * | GetLastMCTrackStep () |
| |
| virtual void | PruneIntermediateMCTrackSteps () |
| |
| virtual Double_t | GetLength () const |
| |
|
virtual void | SetLength (Double_t _length) |
| |
| virtual Double_t | GetDepositedEnergy () const |
| |
|
virtual void | SetDepositedEnergy (Double_t _depositedEnergy) |
| |
|
| ClassDef (MCTrack, 2) |
| |
|
|
Int_t | id |
| |
|
Int_t | parentID |
| |
|
Int_t | pdgcode |
| |
|
Double_t | length |
| |
|
Double_t | depositedEnergy |
| |
|
std::string | particleName |
| |
|
std::vector< MCTrackStep > | step |
| |
◆ GetDepositedEnergy()
| virtual Double_t RAT::DS::MCTrack::GetDepositedEnergy |
( |
| ) |
const |
|
inlinevirtual |
Total energy deposited along the track (MeV).
◆ GetID()
| virtual Int_t RAT::DS::MCTrack::GetID |
( |
| ) |
const |
|
inlinevirtual |
ID number for this track.
Guaranteed to be unique for all tracks within this event, numbered starting from 1.
◆ GetLength()
| virtual Double_t RAT::DS::MCTrack::GetLength |
( |
| ) |
const |
|
inlinevirtual |
Total distance traveled along the track (mm).
◆ GetMCTrackStep()
| virtual MCTrackStep* RAT::DS::MCTrack::GetMCTrackStep |
( |
Int_t |
i | ) |
|
|
inlinevirtual |
List of segments in this track.
The first step in this list specifies the origin of the track, and has zero length
◆ GetParentID()
| virtual Int_t RAT::DS::MCTrack::GetParentID |
( |
| ) |
const |
|
inlinevirtual |
Track ID number of parent.
Tracks for the initial particles in the event have no parents, and are given the parent ID of 0.
◆ GetParticleName()
| virtual const std::string& RAT::DS::MCTrack::GetParticleName |
( |
| ) |
const |
|
inlinevirtual |
Name of particle.
Often more accurate than the pdgcode, which is used inconsistently.
◆ GetPDGCode()
| virtual Int_t RAT::DS::MCTrack::GetPDGCode |
( |
| ) |
const |
|
inlinevirtual |
Particle type as defined in MCParticle::pdgcode.
◆ PruneIntermediateMCTrackSteps()
| virtual void RAT::DS::MCTrack::PruneIntermediateMCTrackSteps |
( |
| ) |
|
|
inlinevirtual |
Eliminate all but first and last step of track.
Used to condense tracks with too many steps for output.
The documentation for this class was generated from the following file:
- /home/docs/checkouts/readthedocs.org/user_builds/ratpac/checkouts/latest/src/ds/include/RAT/DS/MCTrack.hh