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