Go to the documentation of this file.
36 #include "FairGenericStack.h"
146 Int_t generatorParentID);
219 virtual void Reset();
229 virtual void Print(Option_t* =
"")
const;
240 void SetFilter(std::unique_ptr<CbmStackFilter>& filter) {
Int_t fNTracks
Number of entries in fParticles.
std::map< Int_t, Int_t > fIndexMap
std::map< std::pair< Int_t, ECbmModuleId >, Int_t > fPointsMap
virtual TParticle * GetCurrentTrack() const
virtual TParticle * PopNextTrack(Int_t &iTrack)
TClonesArray * GetListOfParticles()
Int_t fNPrimaries
Index of current track.
void SetFilter(std::unique_ptr< CbmStackFilter > &filter)
Set the stack filter class.
friend F32vec4 min(const F32vec4 &a, const F32vec4 &b)
virtual void FillTrackArray()
virtual Int_t GetNprimary() const
void StoreMothers(Bool_t choice=kTRUE)
void AddPoint(ECbmModuleId iDet)
std::unique_ptr< CbmStackFilter > fFilter
void DoTracking(Bool_t doTracking=kTRUE)
virtual Int_t GetCurrentTrackNumber() const
virtual TParticle * PopPrimaryForTracking(Int_t iPrim)
virtual Int_t GetNtrack() const
virtual void UpdateTrackIndex(TRefArray *detArray)
void SetEnergyCut(Double_t eMin)
Int_t fNParticles
Number of primary particles.
Bool_t fStoreSecondaries
Used for merging.
void StoreSecondaries(Bool_t choice=kTRUE)
Int_t fIndex
Number of entries in fTracks.
TParticle * GetParticle(Int_t trackId) const
virtual void SetCurrentTrack(Int_t iTrack)
CbmStack(const CbmStack &)
global switch for geant propagation
std::stack< TParticle * > fStack
virtual void AddParticle(TParticle *part)
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 process, Int_t &ntr, Double_t weight, Int_t status)
Add a track to the stack (TVirtualMCStack)
TClonesArray * fParticles
Stack filter class.
virtual void Print(Option_t *="") const
void SetMinPoints(Int_t min)
virtual Int_t GetCurrentParentTrackNumber() const
std::map< Int_t, Int_t >::iterator fIndexIter
CbmStack & operator=(const CbmStack &)