CbmRoot
CbmOffsetDigiTimeMuch Class Reference

#include <CbmOffsetDigiTimeTester.h>

Inheritance diagram for CbmOffsetDigiTimeMuch:
[legend]
Collaboration diagram for CbmOffsetDigiTimeMuch:
[legend]

Public Member Functions

 CbmOffsetDigiTimeMuch (TString sDigiBranchName, TString sDigiCalBranchName="", TString sDigiCalBranchDescr="")
 
 ~CbmOffsetDigiTimeMuch ()
 
 ClassDef (CbmOffsetDigiTimeMuch, 0)
 
virtual InitStatus Init ()
 
virtual InitStatus ReInit ()
 
virtual void Exec (Option_t *)
 
virtual void SetParContainers ()
 
virtual void Finish ()
 
void SetWriteOutputFlag (Bool_t bFlagIn)
 Task settings. More...
 
void AddOffsetPoint (UInt_t uIndexTS, Double_t dOffset)
 
void AddAddressToOffset (UInt_t uDigiAddress)
 

Private Attributes

Bool_t fbWriteOutput
 Control flags. More...
 
uint64_t fulTsCounter
 If ON the output vector of digi is written to disk by FairRoot, otherwise just made available for higher stages. More...
 
std::vector< CbmMuchBeamTimeDigi > const * fvDigiIn
 TS counter, not same as TS index! More...
 
std::vector< CbmMuchBeamTimeDigi > * fvDigiOut
 Input vector of Digis, recovered from framework for input. More...
 
TClonesArray * fArrayDigiIn
 Output vector of Digis, propagated to framework for output. More...
 
TClonesArray * fArrayDigiOut
 Input array of Digis, recovered from framework for input. More...
 
std::map< UInt_t, Double_t > fmOffsets
 Output array of Digis, propagated to framework for output. More...
 
Double_t fdCurrentOffset
 Index is the first TS where the offset is valid. More...
 
std::map< UInt_t, Double_t >::iterator fmitNextOffset
 Current offset in [ns]. More...
 
std::set< UInt_t > fsAddrToOffset
 List of addresses to which the offset should be applied. More...
 
TString fsDigiBranchName
 Addresses for which the digi time is offset, if empty applied to all. More...
 
TString fsDigiBranchNameCal
 
TString fsDigiBranchDescrCal
 

Detailed Description

Definition at line 52 of file CbmOffsetDigiTimeTester.h.

Constructor & Destructor Documentation

◆ CbmOffsetDigiTimeMuch()

CbmOffsetDigiTimeMuch::CbmOffsetDigiTimeMuch ( TString  sDigiBranchName,
TString  sDigiCalBranchName = "",
TString  sDigiCalBranchDescr = "" 
)
inline

Definition at line 54 of file CbmOffsetDigiTimeTester.h.

◆ ~CbmOffsetDigiTimeMuch()

CbmOffsetDigiTimeMuch::~CbmOffsetDigiTimeMuch ( )
inline

Definition at line 61 of file CbmOffsetDigiTimeTester.h.

Member Function Documentation

◆ AddAddressToOffset()

void CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::AddAddressToOffset ( UInt_t  uDigiAddress)
inlineinherited

Definition at line 58 of file CbmOffsetDigiTime.h.

◆ AddOffsetPoint()

void CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::AddOffsetPoint ( UInt_t  uIndexTS,
Double_t  dOffset 
)
inlineinherited

Definition at line 55 of file CbmOffsetDigiTime.h.

◆ ClassDef()

CbmOffsetDigiTimeMuch::ClassDef ( CbmOffsetDigiTimeMuch  ,
 
)

◆ Exec()

virtual void CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::Exec ( Option_t *  )
virtualinherited

Executed for each event. Inherited from FairTask.

◆ Finish()

virtual void CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::Finish
virtualinherited

Finish task called at the end of the run. Inherited from FairTask.

◆ Init()

virtual InitStatus CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::Init
virtualinherited

Initiliazation of task at the beginning of a run. Inherited from FairTask.

◆ ReInit()

virtual InitStatus CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::ReInit
virtualinherited

ReInitiliazation of task when the runID changes. Inherited from FairTask.

◆ SetParContainers()

virtual void CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::SetParContainers
virtualinherited

Load the parameter container from the runtime database. Inherited from FairTask.

◆ SetWriteOutputFlag()

void CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::SetWriteOutputFlag ( Bool_t  bFlagIn)
inlineinherited

Task settings.

Definition at line 54 of file CbmOffsetDigiTime.h.

Member Data Documentation

◆ fArrayDigiIn

TClonesArray* CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fArrayDigiIn
privateinherited

Output vector of Digis, propagated to framework for output.

Input/Output Arrays (backup)

Definition at line 77 of file CbmOffsetDigiTime.h.

◆ fArrayDigiOut

TClonesArray* CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fArrayDigiOut
privateinherited

Input array of Digis, recovered from framework for input.

Definition at line 79 of file CbmOffsetDigiTime.h.

◆ fbWriteOutput

Bool_t CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fbWriteOutput
privateinherited

Control flags.

Definition at line 64 of file CbmOffsetDigiTime.h.

◆ fdCurrentOffset

Double_t CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fdCurrentOffset
privateinherited

Index is the first TS where the offset is valid.

Definition at line 86 of file CbmOffsetDigiTime.h.

◆ fmitNextOffset

std::map<UInt_t, Double_t>::iterator CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fmitNextOffset
privateinherited

Current offset in [ns].

Definition at line 87 of file CbmOffsetDigiTime.h.

◆ fmOffsets

std::map<UInt_t, Double_t> CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fmOffsets
privateinherited

Output array of Digis, propagated to framework for output.

List of offsets with their boundaries

Definition at line 84 of file CbmOffsetDigiTime.h.

◆ fsAddrToOffset

std::set<UInt_t> CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fsAddrToOffset
privateinherited

List of addresses to which the offset should be applied.

Definition at line 90 of file CbmOffsetDigiTime.h.

◆ fsDigiBranchDescrCal

TString CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fsDigiBranchDescrCal
privateinherited

Definition at line 96 of file CbmOffsetDigiTime.h.

◆ fsDigiBranchName

TString CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fsDigiBranchName
privateinherited

Addresses for which the digi time is offset, if empty applied to all.

Names for framework objects search

Definition at line 94 of file CbmOffsetDigiTime.h.

◆ fsDigiBranchNameCal

TString CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fsDigiBranchNameCal
privateinherited

Definition at line 95 of file CbmOffsetDigiTime.h.

◆ fulTsCounter

uint64_t CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fulTsCounter
privateinherited

If ON the output vector of digi is written to disk by FairRoot, otherwise just made available for higher stages.

Statistics

Definition at line 68 of file CbmOffsetDigiTime.h.

◆ fvDigiIn

std::vector<CbmMuchBeamTimeDigi > const* CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fvDigiIn
privateinherited

TS counter, not same as TS index!

Input/Output vectors (default)

Definition at line 71 of file CbmOffsetDigiTime.h.

◆ fvDigiOut

std::vector<CbmMuchBeamTimeDigi >* CbmOffsetDigiTime< CbmMuchBeamTimeDigi >::fvDigiOut
privateinherited

Input vector of Digis, recovered from framework for input.

Definition at line 73 of file CbmOffsetDigiTime.h.


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