EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
FairMCStack Class Reference

#include <EicRoot/blob/master/eventdisplay/FairMCStack.h>

+ Inheritance diagram for FairMCStack:
+ Collaboration diagram for FairMCStack:

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
 
FairEventManagerfEventManager
 
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
 
FairGeaneProfPro
 
FairTrajFilterfTrajFilter
 
- Protected Attributes inherited from FairTask
Int_t fVerbose
 
Int_t fInputPersistance
 Indicates if input branch is persistant.
 
FairLoggerfLogger
 

Detailed Description

Definition at line 29 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 29 of file FairMCStack.h

Constructor & Destructor Documentation

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

Parameters
nameName of task
iVerboseVerbosity level

Definition at line 33 of file FairMCStack.cxx.

View newest version in sPHENIX GitHub at line 33 of file FairMCStack.cxx

FairMCStack::~FairMCStack ( )
virtual

Destructor

Definition at line 212 of file FairMCStack.cxx.

View newest version in sPHENIX GitHub at line 212 of file FairMCStack.cxx

Member Function Documentation

FairMCStack::ClassDef ( FairMCStack  ,
 
)
protected
void FairMCStack::Exec ( Option_t *  option)
virtual
void FairMCStack::Finish ( void  )
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().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

InitStatus FairMCStack::Init ( void  )
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.

+ Here is the call graph for this function:

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().

+ Here is the caller graph for this function:

void FairMCStack::SetParContainers ( )
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.

Member Data Documentation

Float_t FairMCStack::ein[15]
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().

TString FairMCStack::fEvent
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().

FairEventManager* FairMCStack::fEventManager
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().

TObjArray* FairMCStack::fEveTrList
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().

FairGeanePro* FairMCStack::fPro
protected

Definition at line 79 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 79 of file FairMCStack.h

Referenced by Exec(), and Init().

TClonesArray* FairMCStack::fTrackList
protected

Definition at line 63 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 63 of file FairMCStack.h

Referenced by Exec(), and Init().

FairTrajFilter* FairMCStack::fTrajFilter
protected

Definition at line 80 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 80 of file FairMCStack.h

Referenced by Exec(), and Init().

TEveTrackList* FairMCStack::fTrList
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().

TEveTrackPropagator* FairMCStack::fTrPr
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().

TGeant3* FairMCStack::gMC3
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().

Double_t FairMCStack::MaxEnergyLimit
protected

Definition at line 77 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 77 of file FairMCStack.h

Referenced by Exec(), and Init().

Double_t FairMCStack::MinEnergyLimit
protected

Definition at line 76 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 76 of file FairMCStack.h

Referenced by Exec(), and Init().

Float_t FairMCStack::p1[3]
protected

Definition at line 71 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 71 of file FairMCStack.h

Referenced by Exec(), and Init().

Float_t FairMCStack::p2[3]
protected

Definition at line 74 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 74 of file FairMCStack.h

Referenced by Exec(), and Init().

Double_t FairMCStack::PEnergy
protected

Definition at line 78 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 78 of file FairMCStack.h

Referenced by Exec(), and Init().

Float_t FairMCStack::x1[3]
protected

Definition at line 70 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 70 of file FairMCStack.h

Referenced by Exec(), and Init().

Float_t FairMCStack::x2[3]
protected

Definition at line 73 of file FairMCStack.h.

View newest version in sPHENIX GitHub at line 73 of file FairMCStack.h

Referenced by Exec(), and Init().


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