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

#include <EicRoot/blob/master/base/FairRingSorterTask.h>

+ Inheritance diagram for FairRingSorterTask:
+ Collaboration diagram for FairRingSorterTask:

Public Member Functions

 FairRingSorterTask ()
 
 FairRingSorterTask (const char *name)
 
 FairRingSorterTask (Int_t numberOfCells, Double_t widthOfCells, TString inputBranch, TString outputBranch, TString folderName)
 
virtual ~FairRingSorterTask ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *opt)
 
virtual void FinishEvent ()
 
virtual void FinishTask ()
 
virtual void SetParContainers ()
 
void SetPersistance (Bool_t p=kTRUE)
 
Bool_t GetPersistance ()
 
virtual void AddNewDataToTClonesArray (FairTimeStamp *data)=0
 
virtual FairRingSorterInitSorter (Int_t numberOfCells, Double_t widthOfCells) const =0
 
- Public Member Functions inherited from FairTask
 FairTask ()
 
 FairTask (const char *name, Int_t iVerbose=1)
 
virtual ~FairTask ()
 
void InitTask ()
 
void ReInitTask ()
 
void SetParTask ()
 
void SetVerbose (Int_t iVerbose)
 
void SetInputPersistance (Bool_t val)
 
void CheckInputPersistance (TString branchName)
 

Protected Member Functions

 FairRingSorterTask (const FairRingSorterTask &)
 
FairRingSorterTaskoperator= (const FairRingSorterTask &)
 
 ClassDef (FairRingSorterTask, 2)
 
- Protected Member Functions inherited from FairTask
virtual void Finish ()
 
void InitTasks ()
 
void ReInitTasks ()
 
void SetParTasks ()
 
void FinishTasks ()
 
void FinishEvents ()
 

Protected Attributes

FairRingSorterfSorter
 
Bool_t fPersistance
 
Bool_t fDigiPixelMCInfo
 
Int_t fNumberOfCells
 
Double_t fWidthOfCells
 
TString fInputBranch
 
TClonesArray * fInputArray
 
TString fOutputBranch
 
TString fFolder
 
TClonesArray * fOutputArray
 
Int_t fEntryNr
 
- Protected Attributes inherited from FairTask
Int_t fVerbose
 
Int_t fInputPersistance
 Indicates if input branch is persistant.
 
FairLoggerfLogger
 

Detailed Description

Definition at line 18 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 18 of file FairRingSorterTask.h

Constructor & Destructor Documentation

FairRingSorterTask::FairRingSorterTask ( )
inline

Default constructor

Definition at line 23 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 23 of file FairRingSorterTask.h

References FairTask::SetVerbose().

+ Here is the call graph for this function:

FairRingSorterTask::FairRingSorterTask ( const char *  name)
inline

Named constructor

Definition at line 40 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 40 of file FairRingSorterTask.h

References FairTask::SetVerbose().

+ Here is the call graph for this function:

FairRingSorterTask::FairRingSorterTask ( Int_t  numberOfCells,
Double_t  widthOfCells,
TString  inputBranch,
TString  outputBranch,
TString  folderName 
)
inline

Definition at line 56 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 56 of file FairRingSorterTask.h

References FairTask::SetVerbose().

+ Here is the call graph for this function:

virtual FairRingSorterTask::~FairRingSorterTask ( )
inlinevirtual

Destructor

Definition at line 73 of file FairRingSorterTask.h.

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

References fSorter.

FairRingSorterTask::FairRingSorterTask ( const FairRingSorterTask )
protected

Member Function Documentation

virtual void FairRingSorterTask::AddNewDataToTClonesArray ( FairTimeStamp data)
pure virtual

Referenced by Exec(), and FinishTask().

+ Here is the caller graph for this function:

FairRingSorterTask::ClassDef ( FairRingSorterTask  ,
 
)
protected
void FairRingSorterTask::Exec ( Option_t *  opt)
virtual
void FairRingSorterTask::FinishEvent ( )
virtual

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

Reimplemented from FairTask.

Definition at line 75 of file FairRingSorterTask.cxx.

View newest version in sPHENIX GitHub at line 75 of file FairRingSorterTask.cxx

References fOutputArray.

void FairRingSorterTask::FinishTask ( )
virtual

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

Reimplemented from FairTask.

Definition at line 80 of file FairRingSorterTask.cxx.

View newest version in sPHENIX GitHub at line 80 of file FairRingSorterTask.cxx

References FairRingSorter::AddElement(), AddNewDataToTClonesArray(), FairRingSorter::DeleteOutputData(), fInputArray, fInputBranch, fOutputArray, fOutputBranch, fSorter, FairTask::fVerbose, FairRootManager::GetEmptyTClonesArray(), FairRingSorter::GetOutputData(), FairRootManager::GetTClonesArray(), FairRootManager::Instance(), FairRingSorter::Print(), FairRootManager::SetLastFill(), and FairRingSorter::WriteOutAll().

+ Here is the call graph for this function:

Bool_t FairRingSorterTask::GetPersistance ( )
inline

Definition at line 89 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 89 of file FairRingSorterTask.h

References fPersistance.

InitStatus FairRingSorterTask::Init ( )
virtual

Virtual method Init

Reimplemented from FairTask.

Definition at line 17 of file FairRingSorterTask.cxx.

View newest version in sPHENIX GitHub at line 17 of file FairRingSorterTask.cxx

References fFolder, fInputArray, fInputBranch, fNumberOfCells, fOutputArray, fOutputBranch, fPersistance, fSorter, FairTask::fVerbose, fWidthOfCells, FairRootManager::GetTClonesArray(), InitSorter(), FairRootManager::Instance(), kFATAL, kSUCCESS, and FairRootManager::Register().

+ Here is the call graph for this function:

virtual FairRingSorter* FairRingSorterTask::InitSorter ( Int_t  numberOfCells,
Double_t  widthOfCells 
) const
pure virtual

Referenced by Init().

+ Here is the caller graph for this function:

FairRingSorterTask& FairRingSorterTask::operator= ( const FairRingSorterTask )
protected
InitStatus FairRingSorterTask::ReInit ( )
virtual

Reinitialisation. To be implemented in the derived class. Success If not kSUCCESS, task will be set inactive.

Reimplemented from FairTask.

Definition at line 11 of file FairRingSorterTask.cxx.

View newest version in sPHENIX GitHub at line 11 of file FairRingSorterTask.cxx

References kSUCCESS.

virtual void FairRingSorterTask::SetParContainers ( )
inlinevirtual

Intialise parameter containers. To be implemented in the derived class.

Reimplemented from FairTask.

Definition at line 86 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 86 of file FairRingSorterTask.h

void FairRingSorterTask::SetPersistance ( Bool_t  p = kTRUE)
inline

Definition at line 88 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 88 of file FairRingSorterTask.h

References fPersistance, and p.

Member Data Documentation

Bool_t FairRingSorterTask::fDigiPixelMCInfo
protected

switch to turn on/off storing additional MC Info of Digis

Definition at line 100 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 100 of file FairRingSorterTask.h

Int_t FairRingSorterTask::fEntryNr
protected

Definition at line 110 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 110 of file FairRingSorterTask.h

Referenced by Exec().

TString FairRingSorterTask::fFolder
protected

Definition at line 108 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 108 of file FairRingSorterTask.h

Referenced by Init().

TClonesArray* FairRingSorterTask::fInputArray
protected

Definition at line 105 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 105 of file FairRingSorterTask.h

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

TString FairRingSorterTask::fInputBranch
protected

Input array of PndSdsPixelDigis

Definition at line 104 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 104 of file FairRingSorterTask.h

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

Int_t FairRingSorterTask::fNumberOfCells
protected

Definition at line 101 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 101 of file FairRingSorterTask.h

Referenced by Init().

TClonesArray* FairRingSorterTask::fOutputArray
protected

Definition at line 109 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 109 of file FairRingSorterTask.h

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

TString FairRingSorterTask::fOutputBranch
protected

Output array of sorted PndSdsDigis

Definition at line 107 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 107 of file FairRingSorterTask.h

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

Bool_t FairRingSorterTask::fPersistance
protected

switch to turn on/off storing the arrays to a file

Definition at line 98 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 98 of file FairRingSorterTask.h

Referenced by GetPersistance(), Init(), and SetPersistance().

FairRingSorter* FairRingSorterTask::fSorter
protected

Definition at line 96 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 96 of file FairRingSorterTask.h

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

Double_t FairRingSorterTask::fWidthOfCells
protected

Definition at line 102 of file FairRingSorterTask.h.

View newest version in sPHENIX GitHub at line 102 of file FairRingSorterTask.h

Referenced by Init().


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