EIC Software
Reference for
EIC
simulation and reconstruction software on GitHub
|
#include <EicRoot/blob/master/eventdisplay/FairMCStack.h>
Public Member Functions | |
FairMCStack () | |
FairMCStack (const char *name, Int_t iVerbose=1) | |
virtual | ~FairMCStack () |
void | SetVerbose (Int_t iVerbose) |
virtual void | Exec (Option_t *option) |
virtual InitStatus | Init () |
virtual void | SetParContainers () |
virtual void | Finish () |
void | Reset () |
TEveTrackList * | GetTrGroup (TParticle *P) |
Public Member Functions inherited from FairTask | |
FairTask () | |
FairTask (const char *name, Int_t iVerbose=1) | |
virtual | ~FairTask () |
void | InitTask () |
void | ReInitTask () |
void | SetParTask () |
virtual void | FinishTask () |
virtual void | FinishEvent () |
void | SetVerbose (Int_t iVerbose) |
void | SetInputPersistance (Bool_t val) |
void | CheckInputPersistance (TString branchName) |
Protected Member Functions | |
ClassDef (FairMCStack, 1) | |
Protected Member Functions inherited from FairTask | |
virtual InitStatus | ReInit () |
void | InitTasks () |
void | ReInitTasks () |
void | SetParTasks () |
void | FinishTasks () |
void | FinishEvents () |
Protected Attributes | |
TClonesArray * | fTrackList |
TEveTrackPropagator * | fTrPr |
FairEventManager * | fEventManager |
TObjArray * | fEveTrList |
TString | fEvent |
TEveTrackList * | fTrList |
Float_t | x1 [3] |
Float_t | p1 [3] |
Float_t | ein [15] |
Float_t | x2 [3] |
Float_t | p2 [3] |
TGeant3 * | gMC3 |
Double_t | MinEnergyLimit |
Double_t | MaxEnergyLimit |
Double_t | PEnergy |
FairGeanePro * | fPro |
FairTrajFilter * | fTrajFilter |
Protected Attributes inherited from FairTask | |
Int_t | fVerbose |
Int_t | fInputPersistance |
Indicates if input branch is persistant. | |
FairLogger * | fLogger |
Definition at line 29 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 29 of file FairMCStack.h
FairMCStack::FairMCStack | ( | ) |
Default constructor
Definition at line 25 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 25 of file FairMCStack.cxx
FairMCStack::FairMCStack | ( | const char * | name, |
Int_t | iVerbose = 1 |
||
) |
Standard constructor
name | Name of task |
iVerbose | Verbosity level |
Definition at line 33 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 33 of file FairMCStack.cxx
|
virtual |
Destructor
Definition at line 212 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 212 of file FairMCStack.cxx
|
protected |
|
virtual |
Executed task
Definition at line 88 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 88 of file FairMCStack.cxx
References FairEventManager::Color(), Acts::UnitConstants::e, fEventManager, fEveTrList, fPro, fTrackList, fTrajFilter, fTrList, fTrPr, FairTask::fVerbose, FairEventManager::GetCurrentPDG(), FairTrajFilter::GetCurrentTrk(), FairEventManager::GetMaxEnergy(), FairEventManager::GetMinEnergy(), GetTrGroup(), FairEventManager::IsPriOnly(), mass, MaxEnergyLimit, MinEnergyLimit, n, p1, p2, PEnergy, pos(), FairGeanePro::Propagate(), FairGeanePro::PropagateToLength(), Reset(), FairEventManager::SetEvtMaxEnergy(), FairEventManager::SetEvtMinEnergy(), Acts::Test::time, x1, and x2.
|
virtual |
Action after each event
Reimplemented from FairTask.
Definition at line 222 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 222 of file FairMCStack.cxx
TEveTrackList * FairMCStack::GetTrGroup | ( | TParticle * | P | ) |
Definition at line 236 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 236 of file FairMCStack.cxx
References FairEventManager::Color(), fEventManager, fEveTrList, fTrList, and fTrPr.
Referenced by Exec().
|
virtual |
Intialisation at begin of run. To be implemented in the derived class. Success If not kSUCCESS, task will be set inactive.
Reimplemented from FairTask.
Definition at line 40 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 40 of file FairMCStack.cxx
References ein, fEvent, fEventManager, fPro, fTrackList, fTrajFilter, FairTask::fVerbose, FairEventManager::GetEvtMaxEnergy(), FairEventManager::GetEvtMinEnergy(), FairRootManager::GetObject(), gMC3, FairEventManager::Instance(), FairTrajFilter::Instance(), FairRootManager::Instance(), kERROR, kSUCCESS, G4BARRELHCAL::length, MaxEnergyLimit, MinEnergyLimit, p1, p2, PEnergy, x1, and x2.
void FairMCStack::Reset | ( | ) |
Definition at line 227 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 227 of file FairMCStack.cxx
References fEventManager, and fEveTrList.
Referenced by Exec().
|
virtual |
Intialise parameter containers. To be implemented in the derived class.
Reimplemented from FairTask.
Definition at line 216 of file FairMCStack.cxx.
View newest version in sPHENIX GitHub at line 216 of file FairMCStack.cxx
void FairMCStack::SetVerbose | ( | Int_t | iVerbose | ) |
Set verbosity level. For this task and all of the subtasks.
|
protected |
Definition at line 72 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 72 of file FairMCStack.h
Referenced by Init().
|
protected |
Definition at line 67 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 67 of file FairMCStack.h
Referenced by Init().
|
protected |
Definition at line 65 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 65 of file FairMCStack.h
Referenced by Exec(), GetTrGroup(), Init(), and Reset().
|
protected |
Definition at line 66 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 66 of file FairMCStack.h
Referenced by Exec(), GetTrGroup(), and Reset().
|
protected |
Definition at line 79 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 79 of file FairMCStack.h
|
protected |
Definition at line 63 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 63 of file FairMCStack.h
|
protected |
Definition at line 80 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 80 of file FairMCStack.h
|
protected |
Definition at line 68 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 68 of file FairMCStack.h
Referenced by Exec(), and GetTrGroup().
|
protected |
Definition at line 64 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 64 of file FairMCStack.h
Referenced by Exec(), and GetTrGroup().
|
protected |
Definition at line 75 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 75 of file FairMCStack.h
Referenced by Init().
|
protected |
Definition at line 77 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 77 of file FairMCStack.h
|
protected |
Definition at line 76 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 76 of file FairMCStack.h
|
protected |
Definition at line 71 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 71 of file FairMCStack.h
|
protected |
Definition at line 74 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 74 of file FairMCStack.h
|
protected |
Definition at line 78 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 78 of file FairMCStack.h
|
protected |
Definition at line 70 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 70 of file FairMCStack.h
|
protected |
Definition at line 73 of file FairMCStack.h.
View newest version in sPHENIX GitHub at line 73 of file FairMCStack.h