33 #include "ERDetectorList.h" 34 #include "FairGenericStack.h" 55 virtual void PushTrack(Int_t toBeDone, Int_t parentID, Int_t pdgCode,
56 Double_t px, Double_t py, Double_t pz,
57 Double_t e, Double_t vx, Double_t vy,
58 Double_t vz, Double_t time, Double_t polx,
59 Double_t poly, Double_t polz, TMCProcess proc,
60 Int_t& ntr, Double_t weight, Int_t is);
76 virtual void PushTrack(Int_t toBeDone, Int_t parentID, Int_t pdgCode,
77 Double_t px, Double_t py, Double_t pz,
78 Double_t e, Double_t vx, Double_t vy,
79 Double_t vz, Double_t time, Double_t polx,
80 Double_t poly, Double_t polz, TMCProcess proc,
81 Int_t& ntr, Double_t weight, Int_t is,Int_t secondparentID);
150 virtual void Reset();
160 virtual void Print(Int_t iVerbose=0)
const;
165 void SetMinPoints(Int_t min) { fMinPoints = min; }
166 void SetEnergyCut(Double_t eMin) { fEnergyCut = eMin; }
167 void StoreMothers(Bool_t choice = kTRUE) { fStoreMothers = choice; }
180 void AddPoint(DetectorId iDet, Int_t iTrack);
185 TClonesArray* GetListOfParticles() {
return fParticles; }
208 std::map<Int_t, Bool_t>::iterator fStoreIter;
213 std::map<Int_t, Int_t>::iterator fIndexIter;
231 Double32_t fEnergyCut;
232 Bool_t fStoreMothers;
std::map< Int_t, Int_t > fIndexMap
virtual Int_t GetCurrentTrackNumber() const
void AddPoint(DetectorId iDet)
virtual void Print(Int_t iVerbose=0) const
TClonesArray * fParticles
Int_t fNPrimaries
Index of current track.
std::map< std::pair< Int_t, Int_t >, Int_t > fPointsMap
virtual TParticle * PopNextTrack(Int_t &iTrack)
virtual void AddParticle(TParticle *part)
virtual TParticle * GetCurrentTrack() const
std::map< Int_t, Bool_t > fStoreMap
virtual Int_t GetNprimary() const
void StoreSecondaries(Bool_t choice=kTRUE)
Bool_t fStoreSecondaries
Used for merging.
virtual void UpdateTrackIndex(TRefArray *detArray)
virtual TParticle * PopPrimaryForTracking(Int_t iPrim)
Int_t fIndex
Number of entries in fTracks.
TParticle * GetParticle(Int_t trackId) const
std::stack< TParticle * > fStack
virtual Int_t GetNtrack() const
virtual void SetCurrentTrack(Int_t iTrack)
Int_t fNParticles
Number of primary particles.
virtual void FillTrackArray()
virtual Int_t GetCurrentParentTrackNumber() const
Int_t fNTracks
Number of entries in fParticles.