EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/base/FairGenericStack.h>
Public Member Functions | |
FairGenericStack () | |
FairGenericStack (Int_t size) | |
virtual | ~FairGenericStack () |
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) |
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 |
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 TParticle * | GetParticle (Int_t trackID) const |
Protected Attributes | |
FairLogger * | fLogger |
Int_t | fVerbose |
Private Member Functions | |
FairGenericStack (const FairGenericStack &) | |
FairGenericStack & | operator= (const FairGenericStack &) |
Definition at line 29 of file FairGenericStack.h.
View newest version in sPHENIX GitHub at line 29 of file FairGenericStack.h
FairGenericStack::FairGenericStack | ( | ) |
Default constructor
Definition at line 23 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 23 of file FairGenericStack.cxx
FairGenericStack::FairGenericStack | ( | Int_t | size | ) |
Destructor with estimated array size
Definition at line 31 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 31 of file FairGenericStack.cxx
|
virtual |
Destructor
Definition at line 39 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 39 of file FairGenericStack.cxx
|
private |
void FairGenericStack::AddParticle | ( | TParticle * | part | ) |
Add a TParticle to the fParticles array
Definition at line 76 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 76 of file FairGenericStack.cxx
|
virtual |
Fill the MCTrack output array, applying filter criteria
Reimplemented in PndStack, and CbmStack.
Definition at line 81 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 81 of file FairGenericStack.cxx
Referenced by FairMCApplication::FinishEvent().
|
virtual |
Reimplemented in PndStack, and CbmStack.
Definition at line 136 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 136 of file FairGenericStack.cxx
|
virtual |
Reimplemented in PndStack, and CbmStack.
Definition at line 124 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 124 of file FairGenericStack.cxx
Referenced by FairMCApplication::PreTrack().
|
virtual |
Reimplemented in PndStack, and CbmStack.
Definition at line 130 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 130 of file FairGenericStack.cxx
|
virtual |
Reimplemented in PndStack, and CbmStack.
Definition at line 118 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 118 of file FairGenericStack.cxx
|
virtual |
Accessors
Reimplemented in PndStack, and CbmStack.
Definition at line 112 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 112 of file FairGenericStack.cxx
|
inlinevirtual |
Reimplemented in PndStack, and CbmStack.
Definition at line 131 of file FairGenericStack.h.
View newest version in sPHENIX GitHub at line 131 of file FairGenericStack.h
|
private |
|
virtual |
Virtual method PopNextTrack. Gets next particle for tracking from the stack.
iTrack | index of popped track |
Reimplemented in PndStack, and CbmStack.
Definition at line 64 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 64 of file FairGenericStack.cxx
|
virtual |
Virtual method PopPrimaryForTracking. Gets primary particle by index for tracking from stack.
iPrim | index of primary particle |
Reimplemented in PndStack, and CbmStack.
Definition at line 70 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 70 of file FairGenericStack.cxx
|
virtual |
Output to screen
iVerbose,: | 0=events summary, 1=track info |
Reimplemented in PndStack, and CbmStack.
Definition at line 102 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 102 of file FairGenericStack.cxx
|
virtual |
Virtual method PushTrack. Add a TParticle to the stack.
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) |
Reimplemented in PndStack, and CbmStack.
Definition at line 44 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 44 of file FairGenericStack.cxx
Referenced by FairPrimaryGenerator::AddTrack().
|
virtual |
Reimplemented in PndStack, and CbmStack.
Definition at line 54 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 54 of file FairGenericStack.cxx
|
virtual |
Register the MCTrack array to the Root Manager
Reimplemented in PndStack, and CbmStack.
Definition at line 97 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 97 of file FairGenericStack.cxx
Referenced by FairMCApplication::InitGeometry(), and FairMCApplication::RegisterStack().
|
virtual |
Resets arrays and stack and deletes particles and tracks
Reimplemented in PndStack, and CbmStack.
Definition at line 92 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 92 of file FairGenericStack.cxx
Referenced by FairMCApplication::FinishEvent().
|
virtual |
Modifiers
Reimplemented in PndStack, and CbmStack.
Definition at line 107 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 107 of file FairGenericStack.cxx
|
virtual |
Update the track index in the MCTracks and MCPoints
Reimplemented in PndStack, and CbmStack.
Definition at line 86 of file FairGenericStack.cxx.
View newest version in sPHENIX GitHub at line 86 of file FairGenericStack.cxx
Referenced by FairMCApplication::FinishEvent().
|
protected |
Fair Logger
Definition at line 136 of file FairGenericStack.h.
View newest version in sPHENIX GitHub at line 136 of file FairGenericStack.h
|
protected |
Definition at line 138 of file FairGenericStack.h.
View newest version in sPHENIX GitHub at line 138 of file FairGenericStack.h