Go to the documentation of this file.
7 #ifndef CbmMcbm2018UnpackerTaskTrdR_H
8 #define CbmMcbm2018UnpackerTaskTrdR_H
42 virtual Bool_t
Init();
45 virtual Bool_t
DoUnpack(
const fles::Timeslice& ts,
size_t component);
68 virtual void SetNbMsInTs(
size_t uCoreMsNb,
size_t uOverlapMsNb);
Bool_t fbDebugWriteOutput
If ON the output vector of raw messages is filled and written to disk.
std::vector< bool > fIsActiveHistoVec
virtual void SetParContainers()
Timeslice unpacker FairTask for Spadic v.2.2 .
TString fMonitorHistoFileName
Bool_t fbBaselineAvg
Set to true if Baseline Averaging is activated in Spadic.
void SetBaselineAvg(Bool_t bFlagIn=kTRUE)
Call this when Spadic Average-Baseline feature is enabled.
void SetIgnoreOverlapMs(Bool_t bFlagIn=kTRUE)
void SetMsSizeInNs(Double_t msSizeInNs)
Bool_t fbWriteOutput
If ON the output Vector of digis is written to disk.
Bool_t fbDebugSortOutput
If ON the output vector of raw messages is sorted in time.
virtual Bool_t ReInitContainers()
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
std::uint8_t fSystemIdentifier
by default set to: fles::SubsystemIdentifier::TRD, changable via setter
CbmMcbm2018UnpackerTaskTrdR(const CbmMcbm2018UnpackerTaskTrdR &)
void SetTimeOffsetNs(Double_t dOffsetIn=0.0)
void SetActiveHistograms(std::vector< bool > isActiveHistoVec)
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
Sets numbers of Core Microslices and overlap Microslices per Timeslice.
virtual Bool_t Init()
Registers output-data containers at the FairRootManager.
void SetDebugSortOutput(Bool_t bFlagIn=kTRUE)
Double_t fdMsSizeInNs
microslice size in ns to be passed to the unpacker // TODO handle this with asic parameter files
void SetDebugMonitorMode(Bool_t bFlagIn=kTRUE)
void SetFirstChannelsElinkEven(bool isEven)
virtual ~CbmMcbm2018UnpackerTaskTrdR()
void SetHistoFileName(TString filename)
Bool_t fbMonitorMode
< Set wether channels 00..15 are on the even (true) or the odd (false and default) elink
virtual Bool_t InitContainers()
std::vector< CbmTrdDigi > * fTrdDigiVector
Output Digi vector.
CbmMcbm2018UnpackerTaskTrdR operator=(const CbmMcbm2018UnpackerTaskTrdR &)
void SetSystemIdentifier(std::uint8_t id)
Bool_t fbDebugMonitorMode
Switch ON the filling of a additional set of histograms.
bool fIsFirstChannelsElinkEven
define if the first 16 channels (00..15) are found on the even (set true) or odd (false) eLinkId,...
std::vector< std::pair< std::uint64_t, std::uint64_t > > * fSpadicInfoMsgVector
vector< pair< fulltime, word > >
std::vector< CbmTrdRawMessageSpadic > * fTrdRawMessageVector
Output Spadic raw messages for debugging.
CbmMcbm2018UnpackerAlgoTrdR * fUnpackerAlgo
Processing algo.
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)
Adds an input component to the list of active components for this unpacker.
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
CbmMcbm2018UnpackerTaskTrdR()
void SetWriteOutput(Bool_t bFlagIn=kTRUE)
void SetDebugWriteOutput(Bool_t bFlagIn=kTRUE)
Timeslice unpacker algorithm for Spadic v.2.2 .