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 26 of file PndTSCorrectorTask.h.

Constructor & Destructor Documentation

◆ PndTSCorrectorTask() [1/4]

PndTSCorrectorTask::PndTSCorrectorTask ( )
inline

Default constructor

Definition at line 29 of file PndTSCorrectorTask.h.

30  : FairTask("SorterTask"), fPersistance(kTRUE), fInputBranch("MVDHitsPixel"), fInputArray(nullptr), fOutputBranch("MVDHitsPixelCorrected"), fFolder(), fOutputArray(nullptr),
31  fEntryNr(0)
32  {
33  SetVerbose(2);
34  }
TClonesArray * fInputArray
TClonesArray * fOutputArray

◆ PndTSCorrectorTask() [2/4]

PndTSCorrectorTask::PndTSCorrectorTask ( const char *  name)
inline

Named constructor

Definition at line 37 of file PndTSCorrectorTask.h.

37  : FairTask(name), fPersistance(kTRUE), fInputBranch(), fInputArray(nullptr), fOutputBranch(), fFolder(), fOutputArray(nullptr), fEntryNr(0)
38  {
39  SetVerbose(2);
40  }
TClonesArray * fInputArray
TClonesArray * fOutputArray

◆ PndTSCorrectorTask() [3/4]

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

Definition at line 42 of file PndTSCorrectorTask.h.

43  : FairTask("Corrector"), fPersistance(kTRUE), fInputBranch(inputBranch), fInputArray(nullptr), fOutputBranch(outputBranch), fFolder(folderName), fOutputArray(nullptr),
44  fEntryNr(0)
45  {
46  SetVerbose(2);
47  }
TClonesArray * fInputArray
TClonesArray * fOutputArray

◆ ~PndTSCorrectorTask()

virtual PndTSCorrectorTask::~PndTSCorrectorTask ( )
inlinevirtual

Destructor

Definition at line 50 of file PndTSCorrectorTask.h.

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

50 {}

◆ 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 66 of file PndTSCorrectorTask.h.

References fPersistance.

66 { 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 61 of file PndTSCorrectorTask.h.

References fTSCorrectionMap.

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

◆ SetParContainers()

virtual void PndTSCorrectorTask::SetParContainers ( )
inlinevirtual

Definition at line 63 of file PndTSCorrectorTask.h.

63 {};

◆ SetPersistance()

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

Definition at line 65 of file PndTSCorrectorTask.h.

References fPersistance.

65 { fPersistance = p; };

Member Data Documentation

◆ fEntryNr

Int_t PndTSCorrectorTask::fEntryNr
protected

Definition at line 78 of file PndTSCorrectorTask.h.

◆ fFolder

TString PndTSCorrectorTask::fFolder
protected

Definition at line 76 of file PndTSCorrectorTask.h.

◆ fInputArray

TClonesArray* PndTSCorrectorTask::fInputArray
protected

Definition at line 73 of file PndTSCorrectorTask.h.

◆ fInputBranch

TString PndTSCorrectorTask::fInputBranch
protected

Input array of PndSdsPixelDigis

Definition at line 72 of file PndTSCorrectorTask.h.

◆ fOutputArray

TClonesArray* PndTSCorrectorTask::fOutputArray
protected

Definition at line 77 of file PndTSCorrectorTask.h.

◆ fOutputBranch

TString PndTSCorrectorTask::fOutputBranch
protected

Output array of sorted PndSdsDigis

Definition at line 75 of file PndTSCorrectorTask.h.

◆ fPersistance

Bool_t PndTSCorrectorTask::fPersistance
protected

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

Definition at line 66 of file PndTSCorrectorTask.h.

Referenced by GetPersistance(), and SetPersistance().

◆ fTSCorrectionMap

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

Definition at line 79 of file PndTSCorrectorTask.h.

Referenced by SetCorrectionValue().


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