er
dev
|
Public Member Functions | |
ERStack (Int_t size=100) | |
virtual | ~ERStack () |
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 | AddPoint (DetectorId iDet) |
void | AddPoint (DetectorId iDet, Int_t iTrack) |
TParticle * | GetParticle (Int_t trackId) const |
TClonesArray * | GetListOfParticles () |
Private Member Functions | |
void | SelectTracks () |
ERStack (const ERStack &) | |
ERStack & | operator= (const ERStack &) |
Private Attributes | |
std::stack< TParticle * > | fStack |
TClonesArray * | fParticles |
TClonesArray * | fTracks |
std::map< Int_t, Bool_t > | fStoreMap |
std::map< Int_t, Bool_t >::iterator | fStoreIter |
std::map< Int_t, Int_t > | fIndexMap |
std::map< Int_t, Int_t >::iterator | fIndexIter |
std::map< std::pair< Int_t, Int_t >, Int_t > | fPointsMap |
Int_t | fCurrentTrack |
Int_t | fNPrimaries |
Index of current track. | |
Int_t | fNParticles |
Number of primary particles. | |
Int_t | fNTracks |
Number of entries in fParticles. | |
Int_t | fIndex |
Number of entries in fTracks. | |
Bool_t | fStoreSecondaries |
Used for merging. More... | |
Int_t | fMinPoints |
Double32_t | fEnergyCut |
Bool_t | fStoreMothers |
ERStack::ERStack | ( | Int_t | size = 100 | ) |
Default constructor param size Estimated track number
Definition at line 26 of file ERStack.cxx.
|
virtual |
Destructor
Definition at line 54 of file ERStack.cxx.
|
virtual |
Add a TParticle to the fParticles array
Definition at line 200 of file ERStack.cxx.
void ERStack::AddPoint | ( | DetectorId | iDet | ) |
Increment number of points for the current track in a given detector
iDet | Detector unique identifier |
Definition at line 360 of file ERStack.cxx.
void ERStack::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 |
Definition at line 372 of file ERStack.cxx.
|
virtual |
Fill the MCTrack output array, applying filter criteria
Definition at line 214 of file ERStack.cxx.
|
virtual |
Get the track number of the parent of the current track Declared in TVirtualMCStack
Definition at line 386 of file ERStack.cxx.
|
virtual |
Get the current track's particle Declared in TVirtualMCStack
Definition at line 185 of file ERStack.cxx.
|
inlinevirtual |
|
inlinevirtual |
|
inlinevirtual |
TParticle * ERStack::GetParticle | ( | Int_t | trackId | ) | const |
Accessors
Definition at line 398 of file ERStack.cxx.
|
virtual |
Get next particle for tracking from the stack. Declared in TVirtualMCStack
iTrack | index of popped track (return) |
Definition at line 130 of file ERStack.cxx.
|
virtual |
Get primary particle by index for tracking from stack Declared in TVirtualMCStack
iPrim | index of primary particle |
Definition at line 159 of file ERStack.cxx.
|
virtual |
Output to screen
iVerbose | 0=events summary, 1=track info |
Definition at line 343 of file ERStack.cxx.
|
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) |
Definition at line 85 of file ERStack.cxx.
|
virtual |
Register the MCTrack array to the Root Manager
Definition at line 334 of file ERStack.cxx.
|
virtual |
Resets arrays and stack and deletes particles and tracks
Definition at line 319 of file ERStack.cxx.
|
private |
Mark tracks for output using selection criteria
Definition at line 413 of file ERStack.cxx.
|
inlinevirtual |
|
inline |
|
virtual |
Update the track index in the MCTracks and MCPoints
Definition at line 261 of file ERStack.cxx.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |