PandaRoot
PndTSCorrectorTask Class Reference

#include <PndTSCorrectorTask.h>

Inheritance diagram for PndTSCorrectorTask:

Public Member Functions

 PndTSCorrectorTask ()
 
 PndTSCorrectorTask (const char *name)
 
 PndTSCorrectorTask (TString inputBranch, TString outputBranch, TString folderName)
 
virtual ~PndTSCorrectorTask ()
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *opt)
 
virtual void FinishEvent ()
 
virtual void FinishTask ()
 
void SetCorrectionValue (Int_t sensorId, Int_t value)
 
virtual void SetParContainers ()
 
void SetPersistance (Bool_t p=kTRUE)
 
Bool_t GetPersistance ()
 

Protected Member Functions

 PndTSCorrectorTask (const PndTSCorrectorTask &)
 
PndTSCorrectorTaskoperator= (const PndTSCorrectorTask &)
 
 ClassDef (PndTSCorrectorTask, 2)
 

Protected Attributes

Bool_t fPersistance
 
TString fInputBranch
 
TClonesArray * fInputArray
 
TString fOutputBranch
 
TString fFolder
 
TClonesArray * fOutputArray
 
Int_t fEntryNr
 
std::map< Int_t, Int_t > fTSCorrectionMap
 

Detailed Description

Definition at line 38 of file PndTSCorrectorTask.h.

Constructor & Destructor Documentation

◆ PndTSCorrectorTask() [1/4]

PndTSCorrectorTask::PndTSCorrectorTask ( )
inline

Default constructor

Definition at line 41 of file PndTSCorrectorTask.h.

42  : FairTask("SorterTask"), fPersistance(kTRUE), fInputBranch("MVDHitsPixel"), fInputArray(nullptr), fOutputBranch("MVDHitsPixelCorrected"), fFolder(), fOutputArray(nullptr),
43  fEntryNr(0)
44  {
45  SetVerbose(2);
46  }
TClonesArray * fInputArray
TClonesArray * fOutputArray

◆ PndTSCorrectorTask() [2/4]

PndTSCorrectorTask::PndTSCorrectorTask ( const char *  name)
inline

Named constructor

Definition at line 49 of file PndTSCorrectorTask.h.

49  : FairTask(name), fPersistance(kTRUE), fInputBranch(), fInputArray(nullptr), fOutputBranch(), fFolder(), fOutputArray(nullptr), fEntryNr(0)
50  {
51  SetVerbose(2);
52  }
TClonesArray * fInputArray
TClonesArray * fOutputArray

◆ PndTSCorrectorTask() [3/4]

PndTSCorrectorTask::PndTSCorrectorTask ( TString  inputBranch,
TString  outputBranch,
TString  folderName 
)
inline

Definition at line 54 of file PndTSCorrectorTask.h.

55  : FairTask("Corrector"), fPersistance(kTRUE), fInputBranch(inputBranch), fInputArray(nullptr), fOutputBranch(outputBranch), fFolder(folderName), fOutputArray(nullptr),
56  fEntryNr(0)
57  {
58  SetVerbose(2);
59  }
TClonesArray * fInputArray
TClonesArray * fOutputArray

◆ ~PndTSCorrectorTask()

virtual PndTSCorrectorTask::~PndTSCorrectorTask ( )
inlinevirtual

Destructor

Definition at line 62 of file PndTSCorrectorTask.h.

References Exec(), FinishEvent(), FinishTask(), Init(), and ReInit().

62 {}

◆ PndTSCorrectorTask() [4/4]

PndTSCorrectorTask::PndTSCorrectorTask ( const PndTSCorrectorTask )
protected

Member Function Documentation

◆ ClassDef()

PndTSCorrectorTask::ClassDef ( PndTSCorrectorTask  ,
 
)
protected

◆ Exec()

virtual void PndTSCorrectorTask::Exec ( Option_t *  opt)
virtual

Virtual method Exec

Referenced by ~PndTSCorrectorTask().

◆ FinishEvent()

virtual void PndTSCorrectorTask::FinishEvent ( )
virtual

Referenced by ~PndTSCorrectorTask().

◆ FinishTask()

virtual void PndTSCorrectorTask::FinishTask ( )
virtual

Referenced by ~PndTSCorrectorTask().

◆ GetPersistance()

Bool_t PndTSCorrectorTask::GetPersistance ( )
inline

Definition at line 78 of file PndTSCorrectorTask.h.

References fPersistance.

78 { return fPersistance; };

◆ Init()

virtual InitStatus PndTSCorrectorTask::Init ( )
virtual

Virtual method Init

Referenced by ~PndTSCorrectorTask().

◆ operator=()

PndTSCorrectorTask& PndTSCorrectorTask::operator= ( const PndTSCorrectorTask )
protected

◆ ReInit()

virtual InitStatus PndTSCorrectorTask::ReInit ( )
virtual

Referenced by ~PndTSCorrectorTask().

◆ SetCorrectionValue()

void PndTSCorrectorTask::SetCorrectionValue ( Int_t  sensorId,
Int_t  value 
)
inline

Definition at line 73 of file PndTSCorrectorTask.h.

References fTSCorrectionMap.

73 { fTSCorrectionMap[sensorId] = value; }
std::map< Int_t, Int_t > fTSCorrectionMap

◆ SetParContainers()

virtual void PndTSCorrectorTask::SetParContainers ( )
inlinevirtual

Definition at line 75 of file PndTSCorrectorTask.h.

75 {};

◆ SetPersistance()

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

Definition at line 77 of file PndTSCorrectorTask.h.

References fPersistance.

77 { fPersistance = p; };

Member Data Documentation

◆ fEntryNr

Int_t PndTSCorrectorTask::fEntryNr
protected

Definition at line 90 of file PndTSCorrectorTask.h.

◆ fFolder

TString PndTSCorrectorTask::fFolder
protected

Definition at line 88 of file PndTSCorrectorTask.h.

◆ fInputArray

TClonesArray* PndTSCorrectorTask::fInputArray
protected

Definition at line 85 of file PndTSCorrectorTask.h.

◆ fInputBranch

TString PndTSCorrectorTask::fInputBranch
protected

Input array of PndSdsPixelDigis

Definition at line 84 of file PndTSCorrectorTask.h.

◆ fOutputArray

TClonesArray* PndTSCorrectorTask::fOutputArray
protected

Definition at line 89 of file PndTSCorrectorTask.h.

◆ fOutputBranch

TString PndTSCorrectorTask::fOutputBranch
protected

Output array of sorted PndSdsDigis

Definition at line 87 of file PndTSCorrectorTask.h.

◆ fPersistance

Bool_t PndTSCorrectorTask::fPersistance
protected

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

Definition at line 78 of file PndTSCorrectorTask.h.

Referenced by GetPersistance(), and SetPersistance().

◆ fTSCorrectionMap

std::map<Int_t, Int_t> PndTSCorrectorTask::fTSCorrectionMap
protected

Definition at line 91 of file PndTSCorrectorTask.h.

Referenced by SetCorrectionValue().


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