BmnRoot 26.10.0-18-g4e3414f9
Software framework of the BM@N experiment
Loading...
Searching...
No Matches
CbmStack Class Reference

CbmStack.h. More...

#include <CbmStack.h>

Inheritance diagram for CbmStack:
Collaboration diagram for CbmStack:

Public Member Functions

 CbmStack (Int_t size=100)
 Default constructor param size Estimated track number.
virtual ~CbmStack ()
 Destructor.
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)
 Add a TParticle to the stack.
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)
 Get next particle for tracking from the stack.
virtual TParticle * PopPrimaryForTracking (Int_t iPrim)
 Get primary particle by index for tracking from stack Declared in TVirtualMCStack.
virtual void SetCurrentTrack (Int_t iTrack)
 Set the current track number Declared in TVirtualMCStack.
virtual Int_t GetNtrack () const
 Get total number of tracks Declared in TVirtualMCStack.
virtual Int_t GetNprimary () const
 Get number of primary tracks Declared in TVirtualMCStack.
virtual TParticle * GetCurrentTrack () const
 Get the current track's particle Declared in TVirtualMCStack.
virtual Int_t GetCurrentTrackNumber () const
 Get the number of the current track Declared in TVirtualMCStack.
virtual Int_t GetCurrentParentTrackNumber () const
 Get the track number of the parent of the current track Declared in TVirtualMCStack.
virtual void AddParticle (TParticle *part)
 Add a TParticle to the fParticles array.
virtual void FillTrackArray ()
 Fill the MCTrack output array, applying filter criteria.
virtual void UpdateTrackIndex (TRefArray *detArray=0)
 Update the track index in the MCTracks and MCPoints.
virtual void Reset ()
 Resets arrays and stack and deletes particles and tracks.
virtual void Register ()
 Register the MCTrack array to the Root Manager.
virtual void Print (Option_t *) const
 Output to screen: the event summary, and the track info if the log level is debug1.
void StoreSecondaries (Bool_t choice=kTRUE)
 Modifiers.
void SetMinPoints (Int_t min)
void SetEnergyCut (Double_t eMin)
void SetStartZCut (Double_t zMax)
void StoreMothers (Bool_t choice=kTRUE)
void AddPoint (DetectorId iDet)
 Increment number of points for the current track in a given detector.
void AddPoint (DetectorId iDet, Int_t iTrack)
 Increment number of points for an arbitrary track in a given detector.
TParticle * GetParticle (Int_t trackId) const
 Accessors.
TClonesArray * GetListOfParticles ()
void SetParticleArray (TClonesArray *partArray)
void SetParticleArray (TClonesArray *partArray, Int_t partFrom, Int_t partTo)
virtual FairGenericStack * CloneStack () const
 Clone this object (used in MT mode only).
 CbmStack (Int_t size=100)
 Default constructor param size Estimated track number.
virtual ~CbmStack ()
 Destructor.
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)
 Add a TParticle to the stack.
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)
 Get next particle for tracking from the stack.
virtual TParticle * PopPrimaryForTracking (Int_t iPrim)
 Get primary particle by index for tracking from stack Declared in TVirtualMCStack.
virtual void SetCurrentTrack (Int_t iTrack)
 Set the current track number Declared in TVirtualMCStack.
virtual Int_t GetNtrack () const
 Get total number of tracks Declared in TVirtualMCStack.
virtual Int_t GetNprimary () const
 Get number of primary tracks Declared in TVirtualMCStack.
virtual TParticle * GetCurrentTrack () const
 Get the current track's particle Declared in TVirtualMCStack.
virtual Int_t GetCurrentTrackNumber () const
 Get the number of the current track Declared in TVirtualMCStack.
virtual Int_t GetCurrentParentTrackNumber () const
 Get the track number of the parent of the current track Declared in TVirtualMCStack.
virtual void AddParticle (TParticle *part)
 Add a TParticle to the fParticles array.
virtual void FillTrackArray ()
 Fill the MCTrack output array, applying filter criteria.
virtual void UpdateTrackIndex (TRefArray *detArray=0)
 Update the track index in the MCTracks and MCPoints.
virtual void Reset ()
 Resets arrays and stack and deletes particles and tracks.
virtual void Register ()
 Register the MCTrack array to the Root Manager.
virtual void Print (Option_t *) const
 Output to screen: the event summary, and the track info if the log level is debug1.
void StoreSecondaries (Bool_t choice=kTRUE)
 Modifiers.
void SetMinPoints (Int_t min)
void SetEnergyCut (Double_t eMin)
void SetStartZCut (Double_t zMax)
void StoreMothers (Bool_t choice=kTRUE)
void AddPoint (DetectorId iDet)
 Increment number of points for the current track in a given detector.
void AddPoint (DetectorId iDet, Int_t iTrack)
 Increment number of points for an arbitrary track in a given detector.
TParticle * GetParticle (Int_t trackId) const
 Accessors.
TClonesArray * GetListOfParticles ()
void SetParticleArray (TClonesArray *partArray)
void SetParticleArray (TClonesArray *partArray, Int_t partFrom, Int_t partTo)
virtual FairGenericStack * CloneStack () const
 Clone this object (used in MT mode only).

Private Member Functions

void SelectTracks ()
 Mark tracks for output using selection criteria.
 CbmStack (const CbmStack &)
CbmStack & operator= (const CbmStack &)
void SelectTracks ()
 Mark tracks for output using selection criteria.
 CbmStack (const CbmStack &)
CbmStack & operator= (const CbmStack &)

Private Attributes

std::stack< TParticle * > fStack
 STL stack (FILO) used to handle the TParticles for tracking.
TClonesArray * fParticles
 Array of TParticles (contains all TParticles put into or created by the transport.
TClonesArray * fTracks
 Array of CbmMCTracks containg the tracks written to the output.
std::map< Int_t, Bool_t > fStoreMap
 STL map from particle index to storage flag.
std::map< Int_t, Bool_t >::iterator fStoreIter
std::map< Int_t, Int_t > fIndexMap
 STL map from particle index to track index.
std::map< Int_t, Int_t >::iterator fIndexIter
std::map< std::pair< Int_t, Int_t >, Int_t > fPointsMap
 STL map from track index and detector ID to number of MCPoints.
Int_t fCurrentTrack
 Some indizes and counters.
Int_t fNPrimaries
 Index of current track.
Int_t fNParticles
 Number of primary particles.
Int_t fNTracks
 Number of entries in fParticles.
Int_t fIndex
 Number of entries in fTracks.
Bool_t fStoreSecondaries
 Used for merging.
Int_t fMinPoints
Double32_t fEnergyCut
Double_t fStartZCut
Bool_t fStoreMothers

Detailed Description

Author
D.Bertini d.ber.nosp@m.tini.nosp@m.@gsi..nosp@m.de
V.Friese v.fri.nosp@m.ese@.nosp@m.gsi.d.nosp@m.e

Version 14/06/07 by V. Friese

This class handles the particle stack for the transport simulation. For the stack FILO functunality, it uses the STL stack. To store the tracks during transport, a TParticle arry is used. At the end of the event, tracks satisfying the filter criteria are copied to a CbmMCTrack array, which is stored in the output.

The filtering criteria for the output tracks are:

  • primary tracks are stored in any case.
  • secondary tracks are stored if they have a minimal number of points (sum of all detectors) and a minimal energy, or are the

The storage of secondaries can be switched off. The storage of all mothers can be switched off. By default, the minimal number of points is 1 and the energy cut is 0.

Definition at line 42 of file CbmStack.h.

Constructor & Destructor Documentation

◆ CbmStack() [1/4]

CbmStack::CbmStack ( Int_t size = 100)

Definition at line 22 of file CbmStack.cxx.

References fCurrentTrack, fEnergyCut, fIndex, fIndexIter, fIndexMap, fMinPoints, fNParticles, fNPrimaries, fNTracks, fParticles, fPointsMap, fStack, fStartZCut, fStoreIter, fStoreMap, fStoreMothers, fStoreSecondaries, and fTracks.

Referenced by CbmStack(), CloneStack(), and operator=().

Here is the caller graph for this function:

◆ ~CbmStack() [1/2]

CbmStack::~CbmStack ( )
virtual

Definition at line 45 of file CbmStack.cxx.

References fParticles, and fTracks.

◆ CbmStack() [2/4]

CbmStack::CbmStack ( const CbmStack & )
private

References CbmStack().

Here is the call graph for this function:

◆ CbmStack() [3/4]

CbmStack::CbmStack ( Int_t size = 100)

◆ ~CbmStack() [2/2]

virtual CbmStack::~CbmStack ( )
virtual

◆ CbmStack() [4/4]

CbmStack::CbmStack ( const CbmStack & )
private

References CbmStack().

Here is the call graph for this function:

Member Function Documentation

◆ AddParticle() [1/2]

void CbmStack::AddParticle ( TParticle * part)
virtual

Definition at line 188 of file CbmStack.cxx.

References fIndex, fParticles, TObject::GetUniqueID(), TParticle::GetWeight(), TObject::SetUniqueID(), and TParticle::SetWeight().

Referenced by SetParticleArray(), and SetParticleArray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ AddParticle() [2/2]

virtual void CbmStack::AddParticle ( TParticle * part)
virtual

◆ AddPoint() [1/4]

void CbmStack::AddPoint ( DetectorId iDet)
Parameters
iDetDetector unique identifier

Definition at line 351 of file CbmStack.cxx.

References fCurrentTrack, and fPointsMap.

Referenced by CbmSts::ProcessHits().

Here is the caller graph for this function:

◆ AddPoint() [2/4]

void CbmStack::AddPoint ( DetectorId iDet)
Parameters
iDetDetector unique identifier

◆ AddPoint() [3/4]

void CbmStack::AddPoint ( DetectorId iDet,
Int_t iTrack )
Parameters
iDetDetector unique identifier
iTrackTrack number

Definition at line 364 of file CbmStack.cxx.

References fPointsMap.

◆ AddPoint() [4/4]

void CbmStack::AddPoint ( DetectorId iDet,
Int_t iTrack )
Parameters
iDetDetector unique identifier
iTrackTrack number

◆ CloneStack() [1/2]

virtual FairGenericStack * CbmStack::CloneStack ( ) const
inlinevirtual

Definition at line 217 of file CbmStack.h.

References CbmStack(), fEnergyCut, fMinPoints, fStoreMothers, fStoreSecondaries, SetEnergyCut(), SetMinPoints(), StoreMothers(), and StoreSecondaries().

Here is the call graph for this function:

◆ CloneStack() [2/2]

virtual FairGenericStack * CbmStack::CloneStack ( ) const
inlinevirtual

Definition at line 217 of file CbmStack.h.

References CbmStack(), fEnergyCut, fMinPoints, fStoreMothers, fStoreSecondaries, SetEnergyCut(), SetMinPoints(), StoreMothers(), and StoreSecondaries().

Here is the call graph for this function:

◆ FillTrackArray() [1/2]

void CbmStack::FillTrackArray ( )
virtual

Definition at line 198 of file CbmStack.cxx.

References fIndexMap, fNParticles, fNTracks, fPointsMap, fStoreIter, fStoreMap, GetParticle(), kNOFDETS, kREF, SelectTracks(), and CbmMCTrack::SetNPoints().

Here is the call graph for this function:

◆ FillTrackArray() [2/2]

virtual void CbmStack::FillTrackArray ( )
virtual

◆ GetCurrentParentTrackNumber() [1/2]

Int_t CbmStack::GetCurrentParentTrackNumber ( ) const
virtual

Definition at line 380 of file CbmStack.cxx.

References GetCurrentTrack(), and TParticle::GetFirstMother().

Here is the call graph for this function:

◆ GetCurrentParentTrackNumber() [2/2]

virtual Int_t CbmStack::GetCurrentParentTrackNumber ( ) const
virtual

◆ GetCurrentTrack() [1/2]

TParticle * CbmStack::GetCurrentTrack ( ) const
virtual

Definition at line 178 of file CbmStack.cxx.

References fCurrentTrack, and GetParticle().

Referenced by GetCurrentParentTrackNumber().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ GetCurrentTrack() [2/2]

virtual TParticle * CbmStack::GetCurrentTrack ( ) const
virtual

◆ GetCurrentTrackNumber() [1/2]

virtual Int_t CbmStack::GetCurrentTrackNumber ( ) const
inlinevirtual

Definition at line 145 of file CbmStack.h.

References fCurrentTrack.

◆ GetCurrentTrackNumber() [2/2]

virtual Int_t CbmStack::GetCurrentTrackNumber ( ) const
inlinevirtual

Definition at line 145 of file CbmStack.h.

References fCurrentTrack.

◆ GetListOfParticles() [1/2]

TClonesArray * CbmStack::GetListOfParticles ( )
inline

Definition at line 191 of file CbmStack.h.

References fParticles.

Referenced by BmnParticleEqualizer1D::ReadEvent(), and BmnParticleEqualizer2D::ReadEvent().

Here is the caller graph for this function:

◆ GetListOfParticles() [2/2]

TClonesArray * CbmStack::GetListOfParticles ( )
inline

Definition at line 191 of file CbmStack.h.

References fParticles.

◆ GetNprimary() [1/2]

virtual Int_t CbmStack::GetNprimary ( ) const
inlinevirtual

Definition at line 135 of file CbmStack.h.

References fNPrimaries.

◆ GetNprimary() [2/2]

virtual Int_t CbmStack::GetNprimary ( ) const
inlinevirtual

Definition at line 135 of file CbmStack.h.

References fNPrimaries.

◆ GetNtrack() [1/2]

virtual Int_t CbmStack::GetNtrack ( ) const
inlinevirtual

Definition at line 130 of file CbmStack.h.

References fNParticles.

◆ GetNtrack() [2/2]

virtual Int_t CbmStack::GetNtrack ( ) const
inlinevirtual

Definition at line 130 of file CbmStack.h.

References fNParticles.

◆ GetParticle() [1/2]

TParticle * CbmStack::GetParticle ( Int_t trackId) const

Definition at line 391 of file CbmStack.cxx.

References fNParticles, and fParticles.

Referenced by FillTrackArray(), GetCurrentTrack(), SelectTracks(), and UpdateTrackIndex().

Here is the caller graph for this function:

◆ GetParticle() [2/2]

TParticle * CbmStack::GetParticle ( Int_t trackId) const

◆ operator=() [1/2]

CbmStack & CbmStack::operator= ( const CbmStack & )
private

References CbmStack().

Here is the call graph for this function:

◆ operator=() [2/2]

CbmStack & CbmStack::operator= ( const CbmStack & )
private

References CbmStack().

Here is the call graph for this function:

◆ PopNextTrack() [1/2]

TParticle * CbmStack::PopNextTrack ( Int_t & iTrack)
virtual

Declared in TVirtualMCStack

Parameters
iTrackindex of popped track (return)
Returns
Pointer to the TParticle of the track

Definition at line 133 of file CbmStack.cxx.

References fCurrentTrack, fStack, and TParticle::GetStatusCode().

Here is the call graph for this function:

◆ PopNextTrack() [2/2]

virtual TParticle * CbmStack::PopNextTrack ( Int_t & iTrack)
virtual

Declared in TVirtualMCStack

Parameters
iTrackindex of popped track (return)
Returns
Pointer to the TParticle of the track

◆ PopPrimaryForTracking() [1/2]

TParticle * CbmStack::PopPrimaryForTracking ( Int_t iPrim)
virtual
Parameters
iPrimindex of primary particle
Returns
Pointer to the TParticle of the track

Definition at line 157 of file CbmStack.cxx.

References fNPrimaries, fParticles, and TParticle::GetMother().

Here is the call graph for this function:

◆ PopPrimaryForTracking() [2/2]

virtual TParticle * CbmStack::PopPrimaryForTracking ( Int_t iPrim)
virtual
Parameters
iPrimindex of primary particle
Returns
Pointer to the TParticle of the track

◆ Print() [1/2]

void CbmStack::Print ( Option_t * ) const
virtual

Definition at line 338 of file CbmStack.cxx.

References fNParticles, fNPrimaries, fNTracks, fTracks, and Print().

Referenced by Print().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ Print() [2/2]

virtual void CbmStack::Print ( Option_t * ) const
virtual

◆ PushTrack() [1/4]

void CbmStack::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

Declared in TVirtualMCStack

Parameters
toBeDoneFlag for tracking
parentIDIndex of mother particle
pdgCodeParticle type (PDG encoding)
px,py,pzMomentum components at start vertex [GeV]
eTotal energy at start vertex [GeV]
vx,vy,vzCoordinates of start vertex [cm]
timeStart time of track [s]
polx,poly,polzPolarisation vector
procProduction mechanism (VMC encoding)
ntrTrack number (filled by the stack)
weightParticle weight
isGeneration status code (whatever that means)

Definition at line 57 of file CbmStack.cxx.

References PushTrack().

Referenced by PushTrack().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ PushTrack() [2/4]

virtual void CbmStack::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

Declared in TVirtualMCStack

Parameters
toBeDoneFlag for tracking
parentIDIndex of mother particle
pdgCodeParticle type (PDG encoding)
px,py,pzMomentum components at start vertex [GeV]
eTotal energy at start vertex [GeV]
vx,vy,vzCoordinates of start vertex [cm]
timeStart time of track [s]
polx,poly,polzPolarisation vector
procProduction mechanism (VMC encoding)
ntrTrack number (filled by the stack)
weightParticle weight
isGeneration status code (whatever that means)

◆ PushTrack() [3/4]

void CbmStack::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

Definition at line 81 of file CbmStack.cxx.

References fNParticles, fNPrimaries, fParticles, fStack, TParticle::SetPolarisation(), TObject::SetUniqueID(), and TParticle::SetWeight().

Here is the call graph for this function:

◆ PushTrack() [4/4]

virtual void CbmStack::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

◆ Register() [1/2]

void CbmStack::Register ( )
virtual

Definition at line 328 of file CbmStack.cxx.

References fTracks.

◆ Register() [2/2]

virtual void CbmStack::Register ( )
virtual

◆ Reset() [1/2]

void CbmStack::Reset ( )
virtual

◆ Reset() [2/2]

virtual void CbmStack::Reset ( )
virtual

◆ SelectTracks() [1/2]

void CbmStack::SelectTracks ( )
private

Definition at line 400 of file CbmStack.cxx.

References TLorentzVector::E(), fEnergyCut, fMinPoints, fNParticles, fPointsMap, fStartZCut, fStoreMap, fStoreMothers, fStoreSecondaries, TParticle::GetMother(), GetParticle(), TParticle::GetPDG(), TParticle::GetPdgCode(), i, kFHCAL, kNOFDETS, kREF, TLorentzVector::M(), TParticlePDG::Mass(), TParticle::Momentum(), TParticle::SetFirstMother(), and TParticle::Vz().

Referenced by FillTrackArray().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SelectTracks() [2/2]

void CbmStack::SelectTracks ( )
private

◆ SetCurrentTrack() [1/2]

virtual void CbmStack::SetCurrentTrack ( Int_t iTrack)
inlinevirtual
Parameters
iTracktrack number

Definition at line 125 of file CbmStack.h.

References fCurrentTrack.

◆ SetCurrentTrack() [2/2]

virtual void CbmStack::SetCurrentTrack ( Int_t iTrack)
inlinevirtual
Parameters
iTracktrack number

Definition at line 125 of file CbmStack.h.

References fCurrentTrack.

◆ SetEnergyCut() [1/2]

void CbmStack::SetEnergyCut ( Double_t eMin)
inline

Definition at line 174 of file CbmStack.h.

References fEnergyCut.

Referenced by CloneStack().

Here is the caller graph for this function:

◆ SetEnergyCut() [2/2]

void CbmStack::SetEnergyCut ( Double_t eMin)
inline

Definition at line 174 of file CbmStack.h.

References fEnergyCut.

◆ SetMinPoints() [1/2]

void CbmStack::SetMinPoints ( Int_t min)
inline

Definition at line 173 of file CbmStack.h.

References fMinPoints, and min().

Referenced by CloneStack(), Config(), and BmnTrackDrawP::InitGeant3().

Here is the call graph for this function:
Here is the caller graph for this function:

◆ SetMinPoints() [2/2]

void CbmStack::SetMinPoints ( Int_t min)
inline

Definition at line 173 of file CbmStack.h.

References fMinPoints, and min().

Here is the call graph for this function:

◆ SetParticleArray() [1/4]

void CbmStack::SetParticleArray ( TClonesArray * partArray)
inline

Definition at line 193 of file CbmStack.h.

References AddParticle(), TObjArray::At(), fNParticles, fNPrimaries, fStack, and TObjArray::GetEntries().

Here is the call graph for this function:

◆ SetParticleArray() [2/4]

void CbmStack::SetParticleArray ( TClonesArray * partArray)
inline

Definition at line 193 of file CbmStack.h.

References AddParticle(), TObjArray::At(), fNParticles, fNPrimaries, fStack, and TObjArray::GetEntries().

Here is the call graph for this function:

◆ SetParticleArray() [3/4]

void CbmStack::SetParticleArray ( TClonesArray * partArray,
Int_t partFrom,
Int_t partTo )
inline

Definition at line 204 of file CbmStack.h.

References AddParticle(), TObjArray::At(), fNParticles, fNPrimaries, and fStack.

Here is the call graph for this function:

◆ SetParticleArray() [4/4]

void CbmStack::SetParticleArray ( TClonesArray * partArray,
Int_t partFrom,
Int_t partTo )
inline

Definition at line 204 of file CbmStack.h.

References AddParticle(), TObjArray::At(), fNParticles, fNPrimaries, and fStack.

Here is the call graph for this function:

◆ SetStartZCut() [1/2]

void CbmStack::SetStartZCut ( Double_t zMax)
inline

Definition at line 175 of file CbmStack.h.

References fStartZCut, and zMax.

◆ SetStartZCut() [2/2]

void CbmStack::SetStartZCut ( Double_t zMax)
inline

Definition at line 175 of file CbmStack.h.

References fStartZCut, and zMax.

◆ StoreMothers() [1/2]

void CbmStack::StoreMothers ( Bool_t choice = kTRUE)
inline

Definition at line 176 of file CbmStack.h.

References fStoreMothers.

Referenced by CloneStack().

Here is the caller graph for this function:

◆ StoreMothers() [2/2]

void CbmStack::StoreMothers ( Bool_t choice = kTRUE)
inline

Definition at line 176 of file CbmStack.h.

References fStoreMothers.

◆ StoreSecondaries() [1/2]

void CbmStack::StoreSecondaries ( Bool_t choice = kTRUE)
inline

Definition at line 172 of file CbmStack.h.

References fStoreSecondaries.

Referenced by CloneStack(), and Config().

Here is the caller graph for this function:

◆ StoreSecondaries() [2/2]

void CbmStack::StoreSecondaries ( Bool_t choice = kTRUE)
inline

Definition at line 172 of file CbmStack.h.

References fStoreSecondaries.

◆ UpdateTrackIndex() [1/2]

void CbmStack::UpdateTrackIndex ( TRefArray * detArray = 0)
virtual

Definition at line 243 of file CbmStack.cxx.

References TObjArray::At(), fIndexIter, fIndexMap, fNTracks, fTracks, TObjArray::GetEntriesFast(), TParticle::GetFirstMother(), CbmMCTrack::GetMotherId(), GetParticle(), i, TRefArray::MakeIterator(), TIterator::Reset(), and CbmMCTrack::SetMotherId().

Here is the call graph for this function:

◆ UpdateTrackIndex() [2/2]

virtual void CbmStack::UpdateTrackIndex ( TRefArray * detArray = 0)
virtual

Member Data Documentation

◆ fCurrentTrack

Int_t CbmStack::fCurrentTrack
private

◆ fEnergyCut

Double32_t CbmStack::fEnergyCut
private

Definition at line 260 of file CbmStack.h.

Referenced by CbmStack(), CloneStack(), SelectTracks(), and SetEnergyCut().

◆ fIndex

Int_t CbmStack::fIndex
private

Definition at line 255 of file CbmStack.h.

Referenced by CbmStack(), AddParticle(), and Reset().

◆ fIndexIter

std::map< Int_t, Int_t >::iterator CbmStack::fIndexIter
private

Definition at line 245 of file CbmStack.h.

Referenced by CbmStack(), and UpdateTrackIndex().

◆ fIndexMap

std::map< Int_t, Int_t > CbmStack::fIndexMap
private

Definition at line 244 of file CbmStack.h.

Referenced by CbmStack(), FillTrackArray(), and UpdateTrackIndex().

◆ fMinPoints

Int_t CbmStack::fMinPoints
private

Definition at line 259 of file CbmStack.h.

Referenced by CbmStack(), CloneStack(), SelectTracks(), and SetMinPoints().

◆ fNParticles

Int_t CbmStack::fNParticles
private

◆ fNPrimaries

Int_t CbmStack::fNPrimaries
private

◆ fNTracks

Int_t CbmStack::fNTracks
private

Definition at line 254 of file CbmStack.h.

Referenced by CbmStack(), FillTrackArray(), Print(), Reset(), and UpdateTrackIndex().

◆ fParticles

TClonesArray * CbmStack::fParticles
private

◆ fPointsMap

std::map< std::pair< Int_t, Int_t >, Int_t > CbmStack::fPointsMap
private

Definition at line 248 of file CbmStack.h.

Referenced by CbmStack(), AddPoint(), AddPoint(), FillTrackArray(), Reset(), and SelectTracks().

◆ fStack

std::stack< TParticle * > CbmStack::fStack
private

Definition at line 229 of file CbmStack.h.

Referenced by CbmStack(), PopNextTrack(), PushTrack(), Reset(), SetParticleArray(), and SetParticleArray().

◆ fStartZCut

Double_t CbmStack::fStartZCut
private

Definition at line 261 of file CbmStack.h.

Referenced by CbmStack(), SelectTracks(), and SetStartZCut().

◆ fStoreIter

std::map< Int_t, Bool_t >::iterator CbmStack::fStoreIter
private

Definition at line 241 of file CbmStack.h.

Referenced by CbmStack(), and FillTrackArray().

◆ fStoreMap

std::map< Int_t, Bool_t > CbmStack::fStoreMap
private

Definition at line 240 of file CbmStack.h.

Referenced by CbmStack(), FillTrackArray(), and SelectTracks().

◆ fStoreMothers

Bool_t CbmStack::fStoreMothers
private

Definition at line 262 of file CbmStack.h.

Referenced by CbmStack(), CloneStack(), SelectTracks(), and StoreMothers().

◆ fStoreSecondaries

Bool_t CbmStack::fStoreSecondaries
private

Variables defining the criteria for output selection

Definition at line 258 of file CbmStack.h.

Referenced by CbmStack(), CloneStack(), SelectTracks(), and StoreSecondaries().

◆ fTracks

TClonesArray * CbmStack::fTracks
private

Definition at line 237 of file CbmStack.h.

Referenced by CbmStack(), ~CbmStack(), Print(), Register(), Reset(), and UpdateTrackIndex().


The documentation for this class was generated from the following files: