![]() |
PandaRoot
|
#include <PndStack.h>
Public Member Functions | |
PndStack (Int_t size=100) | |
virtual | ~PndStack () |
virtual void | PushTrack (Int_t toBeDone, Int_t parentID, Int_t pdgCode, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Int_t &ntr, Double_t weight, Int_t is) |
virtual void | PushTrack (Int_t toBeDone, Int_t parentID, Int_t pdgCode, Double_t px, Double_t py, Double_t pz, Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Int_t &ntr, Double_t weight, Int_t is, Int_t secondParentId) |
virtual TParticle * | PopNextTrack (Int_t &iTrack) |
virtual TParticle * | PopPrimaryForTracking (Int_t iPrim) |
virtual void | SetCurrentTrack (Int_t iTrack) |
virtual Int_t | GetNtrack () const |
virtual Int_t | GetNprimary () const |
virtual TParticle * | GetCurrentTrack () const |
virtual Int_t | GetCurrentTrackNumber () const |
virtual Int_t | GetCurrentParentTrackNumber () const |
virtual void | AddParticle (TParticle *part) |
virtual void | FillTrackArray () |
virtual void | UpdateTrackIndex (TRefArray *detArray) |
virtual void | Reset () |
virtual void | Register () |
virtual void | Print (Int_t iVerbose=0) const |
void | StoreSecondaries (Bool_t choice=kTRUE) |
void | SetMinPoints (Int_t min) |
void | SetEnergyCut (Double_t eMin) |
void | StoreMothers (Bool_t choice=kTRUE) |
void | SetPersistence (Bool_t choice) |
void | AddPoint (DetectorId iDet) |
void | AddPoint (DetectorId iDet, Int_t iTrack) |
TParticle * | GetParticle (Int_t trackId) const |
TClonesArray * | GetListOfParticles () |
Definition at line 42 of file PndStack.h.
PndStack::PndStack | ( | Int_t | size = 100 | ) |
Default constructor param size Estimated track number
Referenced by GetListOfParticles().
|
virtual |
Destructor
|
virtual |
Add a TParticle to the fParticles array
Referenced by GetCurrentTrackNumber().
void PndStack::AddPoint | ( | DetectorId | iDet | ) |
Increment number of points for the current track in a given detector
iDet | Detector unique identifier |
Referenced by SetPersistence().
void PndStack::AddPoint | ( | DetectorId | iDet, |
Int_t | iTrack | ||
) |
Increment number of points for an arbitrary track in a given detector
iDet | Detector unique identifier |
iTrack | Track number |
|
virtual |
Fill the MCTrack output array, applying filter criteria
Referenced by GetCurrentTrackNumber().
|
virtual |
Get the track number of the parent of the current track Declared in TVirtualMCStack
Referenced by GetCurrentTrackNumber().
|
virtual |
Get the current track's particle Declared in TVirtualMCStack
Referenced by GetNprimary().
|
inlinevirtual |
Get the number of the current track Declared in TVirtualMCStack
Definition at line 112 of file PndStack.h.
References AddParticle(), FillTrackArray(), GetCurrentParentTrackNumber(), Print(), Register(), Reset(), and UpdateTrackIndex().
|
inline |
|
inlinevirtual |
Get number of primary tracks Declared in TVirtualMCStack
Definition at line 102 of file PndStack.h.
References GetCurrentTrack().
|
inlinevirtual |
Get total number of tracks Declared in TVirtualMCStack
Definition at line 97 of file PndStack.h.
TParticle* PndStack::GetParticle | ( | Int_t | trackId | ) | const |
Accessors
Referenced by SetPersistence().
|
virtual |
Get next particle for tracking from the stack. Declared in TVirtualMCStack
iTrack | index of popped track (return) |
|
virtual |
Get primary particle by index for tracking from stack Declared in TVirtualMCStack
iPrim | index of primary particle |
|
virtual |
Output to screen
iVerbose | 0=events summary, 1=track info |
Referenced by GetCurrentTrackNumber().
|
virtual |
Add a TParticle to the stack. Declared in TVirtualMCStack
toBeDone | Flag for tracking |
parentID | Index of mother particle |
pdgCode | Particle type (PDG encoding) |
px,py,pz | Momentum components at start vertex [GeV] |
e | Total energy at start vertex [GeV] |
vx,vy,vz | Coordinates of start vertex [cm] |
time | Start time of track [s] |
polx,poly,polz | Polarisation vector |
proc | Production mechanism (VMC encoding) |
ntr | Track number (filled by the stack) |
weight | Particle weight |
is | Generation status code (whatever that means) |
|
virtual |
|
virtual |
Register the MCTrack array to the Root Manager
Referenced by GetCurrentTrackNumber().
|
virtual |
Resets arrays and stack and deletes particles and tracks
Referenced by GetCurrentTrackNumber().
|
inlinevirtual |
Set the current track number Declared in TVirtualMCStack
iTrack | track number |
Definition at line 92 of file PndStack.h.
|
inline |
Definition at line 142 of file PndStack.h.
|
inline |
|
inline |
|
inline |
|
inline |
|
virtual |
Update the track index in the MCTracks and MCPoints
Referenced by GetCurrentTrackNumber().