42 #include <TMCProcess.h>
43 #include <TParticle.h>
114 Int_t secondParentId);
171 virtual void Reset();
179 virtual void Print(Option_t*)
const;
204 for (Int_t ipart = 0; ipart < partArray->GetEntries(); ipart++) {
205 ((TParticle*)(partArray->At(ipart)))->SetUniqueID(fNPrimaries);
206 fStack.push((TParticle*)partArray->At(ipart));
215 for (Int_t ipart = partFrom; ipart < partTo; ipart++) {
216 ((TParticle*)(partArray->At(ipart)))->SetUniqueID(fNPrimaries);
217 ((TParticle*)(partArray->At(ipart)))->SetStatusCode(fNPrimaries);
218 fStack.push((TParticle*)partArray->At(ipart));
238 std::stack<TParticle*> fStack;
243 TClonesArray* fParticles;
246 TClonesArray* fTracks;
249 std::map<Int_t, Bool_t> fStoreMap;
250 std::map<Int_t, Bool_t>::iterator fStoreIter;
253 std::map<Int_t, Int_t> fIndexMap;
254 std::map<Int_t, Int_t>::iterator fIndexIter;
257 std::map<std::pair<Int_t, Int_t>, Int_t> fPointsMap;
267 Bool_t fStoreSecondaries;
269 Double32_t fEnergyCut;
270 Bool_t fStoreMothers;
virtual void Print(Option_t *) const
virtual TParticle * PopNextTrack(Int_t &iTrack)
virtual FairGenericStack * CloneStack() const
virtual Int_t GetCurrentTrackNumber() const
void SetParticleArray(TClonesArray *partArray, Int_t partFrom, Int_t partTo)
void SetMinPoints(Int_t min)
virtual TParticle * GetCurrentTrack() const
virtual Int_t GetCurrentParentTrackNumber() const
virtual Int_t GetNtrack() const
virtual void AddParticle(TParticle *part)
virtual TParticle * PopPrimaryForTracking(Int_t iPrim)
TClonesArray * GetListOfParticles()
virtual void UpdateTrackIndex(TRefArray *detArray=0)
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)
void SetParticleArray(TClonesArray *partArray)
virtual Int_t GetNprimary() const
void SetEnergyCut(Double_t eMin)
virtual void FillTrackArray()
FairStack(Int_t size=100)
void AddPoint(DetectorId iDet)
void StoreSecondaries(Bool_t choice=kTRUE)
void StoreMothers(Bool_t choice=kTRUE)
virtual void SetCurrentTrack(Int_t iTrack)
TParticle * GetParticle(Int_t trackId) const