Go to the documentation of this file.
8 #ifndef CBMOFFSETDIGITIME_H
9 #define CBMOFFSETDIGITIME_H
17 #include "TClonesArray.h"
28 TString sDigiCalBranchName =
"",
29 TString sDigiCalBranchDescr =
"");
45 virtual void Exec(Option_t*);
102 #include "CbmOffsetDigiTime.tmpl"
104 #endif // CBMOFFSETDIGITIME_H
virtual void SetParContainers()
std::map< UInt_t, Double_t > fmOffsets
Output array of Digis, propagated to framework for output.
TString fsDigiBranchNameCal
Double_t fdCurrentOffset
Index is the first TS where the offset is valid.
Bool_t fbWriteOutput
Control flags.
TClonesArray * fArrayDigiIn
Output vector of Digis, propagated to framework for output.
std::map< UInt_t, Double_t >::iterator fmitNextOffset
Current offset in [ns].
CbmOffsetDigiTime operator=(const CbmOffsetDigiTime &)=delete
virtual void Exec(Option_t *)
CbmRoot (+externals) headers.
virtual InitStatus Init()
void SetWriteOutputFlag(Bool_t bFlagIn)
Task settings.
CbmOffsetDigiTime(TString sDigiBranchName, TString sDigiCalBranchName="", TString sDigiCalBranchDescr="")
TString fsDigiBranchName
Addresses for which the digi time is offset, if empty applied to all.
void AddAddressToOffset(UInt_t uDigiAddress)
TString fsDigiBranchDescrCal
std::vector< TDigi > * fvDigiOut
Input vector of Digis, recovered from framework for input.
CbmOffsetDigiTime(const CbmOffsetDigiTime &)=delete
std::set< UInt_t > fsAddrToOffset
List of addresses to which the offset should be applied.
TClonesArray * fArrayDigiOut
Input array of Digis, recovered from framework for input.
ClassDef(CbmOffsetDigiTime, 0)
virtual InitStatus ReInit()
std::vector< TDigi > const * fvDigiIn
TS counter, not same as TS index!
void AddOffsetPoint(UInt_t uIndexTS, Double_t dOffset)
uint64_t fulTsCounter
If ON the output vector of digi is written to disk by FairRoot, otherwise just made available for hig...