41#include "FairGenericStack.h"
85 virtual void PushTrack(Int_t toBeDone, Int_t parentId, Int_t pdgCode, Double_t px, Double_t py, Double_t pz,
86 Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly,
87 Double_t polz, TMCProcess process, Int_t& ntr, Double_t weight, Int_t status);
118 virtual void PushTrack(Int_t toBeDone, Int_t parentId, Int_t pdgCode, Double_t px, Double_t py, Double_t pz,
119 Double_t e, Double_t vx, Double_t vy, Double_t vz, Double_t time, Double_t polx, Double_t poly,
120 Double_t polz, TMCProcess proc, Int_t& ntr, Double_t weight, Int_t is,
121 Int_t generatorParentID);
194 virtual void Reset();
204 virtual void Print(Option_t* =
"")
const;
friend fscal min(fscal x, fscal y)
static constexpr size_t size()
Int_t fNParticles
Number of primary particles.
void AddPoint(ECbmModuleId iDet)
virtual TParticle * PopNextTrack(Int_t &iTrack)
void StoreSecondaries(Bool_t choice=kTRUE)
CbmStack(const CbmStack &)
global switch for geant propagation
void DoTracking(Bool_t doTracking=kTRUE)
virtual Int_t GetCurrentParentTrackNumber() const
Int_t fIndex
Number of entries in fTracks.
Int_t fNPrimaries
Index of current track.
virtual Int_t GetNtrack() const
Bool_t fStoreSecondaries
Used for merging.
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)
std::map< std::pair< Int_t, ECbmModuleId >, Int_t > fPointsMap
void StoreMothers(Bool_t choice=kTRUE)
virtual TParticle * PopPrimaryForTracking(Int_t iPrim)
void SetMinPoints(Int_t min)
virtual void AddParticle(TParticle *part)
virtual TParticle * GetCurrentTrack() const
void SetEnergyCut(Double_t eMin)
TParticle * GetParticle(Int_t trackId) const
virtual Int_t GetNprimary() const
std::map< Int_t, Int_t >::iterator fIndexIter
virtual void FillTrackArray()
Int_t fNTracks
Number of entries in fParticles.
std::map< Int_t, Int_t > fIndexMap
TClonesArray * GetListOfParticles()
virtual Int_t GetCurrentTrackNumber() const
CbmStack & operator=(const CbmStack &)
TClonesArray * fParticles
Stack filter class.
virtual void UpdateTrackIndex(TRefArray *detArray)
virtual void SetCurrentTrack(Int_t iTrack)
virtual void Print(Option_t *="") const
void SetFilter(std::unique_ptr< CbmStackFilter > &filter)
Set the stack filter class.
std::stack< TParticle * > fStack
std::unique_ptr< CbmStackFilter > fFilter