#include <FairGenericStack.h>
Inherits TVirtualMCStack.
Inherited by o2::data::Stack.
|
| | FairGenericStack () |
| |
| | FairGenericStack (Int_t size) |
| |
| virtual | ~FairGenericStack () |
| |
| 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)=0 |
| |
| virtual void | FillTrackArray () |
| |
| virtual void | UpdateTrackIndex (TRefArray *) |
| |
| void | SetDetArrayList (TRefArray *detArray) |
| |
| virtual void | FinishPrimary () |
| |
| virtual void | Reset () |
| |
| virtual void | Register () |
| |
| virtual TClonesArray * | GetListOfParticles () |
| |
| virtual void | SetParticleArray (__attribute__((unused)) TClonesArray *partArray) |
| |
| virtual void | SetParticleArray (__attribute__((unused)) TClonesArray *partArray, __attribute__((unused)) Int_t partFrom, __attribute__((unused)) Int_t partTo) |
| |
| virtual FairGenericStack * | CloneStack () const |
| |
| virtual void | FastSimMoveParticleTo (Double_t xx, Double_t yy, Double_t zz, Double_t tt, Double_t px, Double_t py, Double_t pz, Double_t en) |
| |
| virtual void | FastSimStopParticle () |
| |
| virtual void | FastSimPushSecondary (Int_t parentID, Int_t pdgCode, Double_t xx, Double_t yy, Double_t zz, Double_t tt, Double_t px, Double_t py, Double_t pz, Double_t en, Double_t polx, Double_t poly, Double_t polz, TMCProcess proc, Double_t weight, Int_t is) |
| |
| virtual std::tuple< Int_t, Int_t, Int_t > | FastSimGetMovedIndex () |
| |
| virtual void | FastSimClearMovedIndex () |
| |
| template<typename T > |
| void | FastSimUpdateTrackIndex (T *point, Int_t &iTrack) |
| |
Definition at line 33 of file FairGenericStack.h.
◆ FairGenericStack() [1/3]
| FairGenericStack::FairGenericStack |
( |
| ) |
|
◆ FairGenericStack() [2/3]
| FairGenericStack::FairGenericStack |
( |
Int_t |
size | ) |
|
◆ ~FairGenericStack()
| FairGenericStack::~FairGenericStack |
( |
| ) |
|
|
virtual |
◆ FairGenericStack() [3/3]
◆ ClassDef()
◆ CloneStack()
◆ FastSimClearMovedIndex()
| virtual void FairGenericStack::FastSimClearMovedIndex |
( |
| ) |
|
|
inlinevirtual |
◆ FastSimGetMovedIndex()
| virtual std::tuple< Int_t, Int_t, Int_t > FairGenericStack::FastSimGetMovedIndex |
( |
| ) |
|
|
inlinevirtual |
Allow FairFastSim the retrieval of moved particle position, p1 and p2 to get secondaries
Definition at line 152 of file FairGenericStack.h.
◆ FastSimMoveParticleTo()
| void FairGenericStack::FastSimMoveParticleTo |
( |
Double_t |
xx, |
|
|
Double_t |
yy, |
|
|
Double_t |
zz, |
|
|
Double_t |
tt, |
|
|
Double_t |
px, |
|
|
Double_t |
py, |
|
|
Double_t |
pz, |
|
|
Double_t |
en |
|
) |
| |
|
virtual |
Fast simulation function to move particle to different position. In Geant3 it stops the current trajectory, and starts it again in the position given by the user. In Geant4 the FastSimulationModel with take over. Later, the points are reindexed and the thus created tracks are not stored in the output.
- Parameters
-
| xx,yy,zz | new position of the particle |
| tt | new proper time of the particle |
| px,py,pz | new momentum of the particle |
| en | new energy of the particle |
Definition at line 93 of file FairGenericStack.cxx.
◆ FastSimPushSecondary()
| void FairGenericStack::FastSimPushSecondary |
( |
Int_t |
parentID, |
|
|
Int_t |
pdgCode, |
|
|
Double_t |
xx, |
|
|
Double_t |
yy, |
|
|
Double_t |
zz, |
|
|
Double_t |
tt, |
|
|
Double_t |
px, |
|
|
Double_t |
py, |
|
|
Double_t |
pz, |
|
|
Double_t |
en, |
|
|
Double_t |
polx, |
|
|
Double_t |
poly, |
|
|
Double_t |
polz, |
|
|
TMCProcess |
proc, |
|
|
Double_t |
weight, |
|
|
Int_t |
is |
|
) |
| |
|
virtual |
Fast simulation function to generate secondaries.
- Parameters
-
| xx,yy,zz | position of the particle |
| tt | proper time of the particle |
| px,py,pz | momentum of the particle |
| en | energy of the particle |
Definition at line 150 of file FairGenericStack.cxx.
◆ FastSimStopParticle()
| void FairGenericStack::FastSimStopParticle |
( |
| ) |
|
|
virtual |
◆ FastSimUpdateTrackIndex()
template<typename T >
| void FairGenericStack::FastSimUpdateTrackIndex |
( |
T * |
point, |
|
|
Int_t & |
iTrack |
|
) |
| |
◆ FillTrackArray()
| virtual void FairGenericStack::FillTrackArray |
( |
| ) |
|
|
inlinevirtual |
◆ FinishPrimary()
| virtual void FairGenericStack::FinishPrimary |
( |
| ) |
|
|
inlinevirtual |
◆ GetListOfParticles()
| virtual TClonesArray * FairGenericStack::GetListOfParticles |
( |
| ) |
|
|
inlinevirtual |
◆ operator=()
◆ PushTrack()
| virtual void FairGenericStack::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 |
|
) |
| |
|
pure virtual |
Virtual method PushTrack. Add a TParticle to the stack. This function has an extra argument wrt to the function defined in the base class.
- Parameters
-
| toBeDone | Flag for tracking |
| parentID | Index of mother particle |
| pdgCode | Particle type (PDG encoding) |
| px,py,pz | Momentum components at start vertex [GeV] |
| e | Total energy at start vertex [GeV] |
| vx,vy,vz | Coordinates of start vertex [cm] |
| time | Start time of track [s] |
| polx,poly,polz | Polarisation vector |
| proc | Production mechanism (VMC encoding) |
| ntr | Track number (filled by the stack) |
| weight | Particle weight |
| is | Generation status code (whatever that means) |
| secondparentID | used fot the index of mother of primery in the list |
Implemented in o2::data::Stack.
◆ Register()
| virtual void FairGenericStack::Register |
( |
| ) |
|
|
inlinevirtual |
◆ Reset()
| virtual void FairGenericStack::Reset |
( |
| ) |
|
|
inlinevirtual |
◆ SetDetArrayList()
| void FairGenericStack::SetDetArrayList |
( |
TRefArray * |
detArray | ) |
|
Set the list of detectors to be used for filltering the stack
Definition at line 79 of file FairGenericStack.cxx.
◆ SetParticleArray() [1/2]
| virtual void FairGenericStack::SetParticleArray |
( |
__attribute__((unused)) TClonesArray * |
partArray | ) |
|
|
inlinevirtual |
◆ SetParticleArray() [2/2]
◆ UpdateTrackIndex()
| virtual void FairGenericStack::UpdateTrackIndex |
( |
TRefArray * |
| ) |
|
|
inlinevirtual |
◆ fDetIter
| TIterator* FairGenericStack::fDetIter |
|
protected |
◆ fDetList
| TRefArray* FairGenericStack::fDetList |
|
protected |
◆ fFSFirstSecondary
| Int_t FairGenericStack::fFSFirstSecondary |
|
protected |
◆ fFSMovedIndex
| Int_t FairGenericStack::fFSMovedIndex |
|
protected |
◆ fFSNofSecondaries
| Int_t FairGenericStack::fFSNofSecondaries |
|
protected |
◆ fFSTrackIter
| std::map<Int_t,Int_t>::iterator FairGenericStack::fFSTrackIter |
|
protected |
◆ fFSTrackMap
| std::map<Int_t, Int_t> FairGenericStack::fFSTrackMap |
|
protected |
FastSimulation: STL map from new track index to original track index
Definition at line 185 of file FairGenericStack.h.
◆ fLogger
◆ fVerbose
| Int_t FairGenericStack::fVerbose |
|
protected |
The documentation for this class was generated from the following files: