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

#include <EicRoot/blob/master/GenfitTools/recotasks/PrimSelector.h>

+ Inheritance diagram for PrimSelector:
+ Collaboration diagram for PrimSelector:

Public Member Functions

 PrimSelector ()
 
virtual ~PrimSelector ()
 
void SetTrackBranchName (const TString &name)
 
void SetPersistence (Bool_t flag=kTRUE)
 
void SetNExpectedTracks (unsigned int n)
 
virtual InitStatus Init ()
 
virtual void Exec (Option_t *opt)
 
virtual void FinishTask ()
 
- 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 FinishEvent ()
 
void SetVerbose (Int_t iVerbose)
 
void SetInputPersistance (Bool_t val)
 
void CheckInputPersistance (TString branchName)
 

Private Attributes

TString _trackBranchName
 
Bool_t _persistence
 
unsigned int fEventCounter
 
unsigned int fNExpectedTracks
 
unsigned int fNFullEvents
 
unsigned int fNPhysTracks
 
unsigned int fNBkgTracks
 
TClonesArray * _trackArray
 
TClonesArray * _pocaArray
 
TClonesArray * _chargeArray
 
TClonesArray * _primArray
 

Additional Inherited Members

- Protected Member Functions inherited from FairTask
virtual InitStatus ReInit ()
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void InitTasks ()
 
void ReInitTasks ()
 
void SetParTasks ()
 
void FinishTasks ()
 
void FinishEvents ()
 
- Protected Attributes inherited from FairTask
Int_t fVerbose
 
Int_t fInputPersistance
 Indicates if input branch is persistant.
 
FairLoggerfLogger
 

Detailed Description

Definition at line 31 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 31 of file PrimSelector.h

Constructor & Destructor Documentation

PrimSelector::PrimSelector ( )

Definition at line 46 of file PrimSelector.cxx.

View newest version in sPHENIX GitHub at line 46 of file PrimSelector.cxx

PrimSelector::~PrimSelector ( )
virtual

Definition at line 51 of file PrimSelector.cxx.

View newest version in sPHENIX GitHub at line 51 of file PrimSelector.cxx

Member Function Documentation

void PrimSelector::Exec ( Option_t *  opt)
virtual

Definition at line 98 of file PrimSelector.cxx.

View newest version in sPHENIX GitHub at line 98 of file PrimSelector.cxx

References _chargeArray, _pocaArray, _primArray, _trackArray, GFAbsTrackRep::extrapolateToPoint(), fEventCounter, fNBkgTracks, fNExpectedTracks, fNFullEvents, fNPhysTracks, FairTask::fVerbose, GFTrack::getCand(), GFTrack::getCardinalRep(), GFTrack::getCharge(), GFTrackCand::getMcTrackId(), GFAbsTrackRep::getMom(), GFTrack::getMom(), and GFException::what().

+ Here is the call graph for this function:

void PrimSelector::FinishTask ( )
virtual

Action at end of run. For this task and all of the subtasks.

Reimplemented from FairTask.

Definition at line 160 of file PrimSelector.cxx.

View newest version in sPHENIX GitHub at line 160 of file PrimSelector.cxx

References fEventCounter, eicpy.qaplots::file, fNBkgTracks, fNExpectedTracks, fNFullEvents, fNPhysTracks, FairRootManager::GetOutFile(), Acts::UnitConstants::h, and FairRootManager::Instance().

+ Here is the call graph for this function:

InitStatus PrimSelector::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 56 of file PrimSelector.cxx.

View newest version in sPHENIX GitHub at line 56 of file PrimSelector.cxx

References _chargeArray, _persistence, _pocaArray, _primArray, _trackArray, _trackBranchName, fEventCounter, fNBkgTracks, fNFullEvents, fNPhysTracks, FairRootManager::GetObject(), FairRootManager::Instance(), kERROR, kSUCCESS, and FairRootManager::Register().

+ Here is the call graph for this function:

void PrimSelector::SetNExpectedTracks ( unsigned int  n)
inline

Definition at line 45 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 45 of file PrimSelector.h

References fNExpectedTracks, and n.

void PrimSelector::SetPersistence ( Bool_t  flag = kTRUE)
inline

Definition at line 44 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 44 of file PrimSelector.h

References _persistence.

void PrimSelector::SetTrackBranchName ( const TString &  name)
inline

Definition at line 43 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 43 of file PrimSelector.h

References _trackBranchName, and name.

Member Data Documentation

TClonesArray* PrimSelector::_chargeArray
private

Definition at line 68 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 68 of file PrimSelector.h

Referenced by Exec(), and Init().

Bool_t PrimSelector::_persistence
private

Definition at line 58 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 58 of file PrimSelector.h

Referenced by Init(), and SetPersistence().

TClonesArray* PrimSelector::_pocaArray
private

Definition at line 67 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 67 of file PrimSelector.h

Referenced by Exec(), and Init().

TClonesArray* PrimSelector::_primArray
private

Definition at line 69 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 69 of file PrimSelector.h

Referenced by Exec(), and Init().

TClonesArray* PrimSelector::_trackArray
private

Definition at line 66 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 66 of file PrimSelector.h

Referenced by Exec(), and Init().

TString PrimSelector::_trackBranchName
private

Definition at line 57 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 57 of file PrimSelector.h

Referenced by Init(), and SetTrackBranchName().

unsigned int PrimSelector::fEventCounter
private

Definition at line 59 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 59 of file PrimSelector.h

Referenced by Exec(), FinishTask(), and Init().

unsigned int PrimSelector::fNBkgTracks
private

Definition at line 63 of file PrimSelector.h.

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

Referenced by Exec(), FinishTask(), and Init().

unsigned int PrimSelector::fNExpectedTracks
private

Definition at line 60 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 60 of file PrimSelector.h

Referenced by Exec(), FinishTask(), and SetNExpectedTracks().

unsigned int PrimSelector::fNFullEvents
private

Definition at line 61 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 61 of file PrimSelector.h

Referenced by Exec(), FinishTask(), and Init().

unsigned int PrimSelector::fNPhysTracks
private

Definition at line 62 of file PrimSelector.h.

View newest version in sPHENIX GitHub at line 62 of file PrimSelector.h

Referenced by Exec(), FinishTask(), and Init().


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