CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018UnpackerTaskRich.h
Go to the documentation of this file.
1/* Copyright (C) 2019-2020 Justus-Liebig-Universitaet Giessen, Giessen
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Egor Ovcharenko [committer] */
4
11#ifndef CbmMcbm2018UnpackerTaskRich_H
12#define CbmMcbm2018UnpackerTaskRich_H
13
14#include "CbmMcbmUnpack.h" // mother class
15#include "CbmRichDigi.h"
16
17//class TList; // Needed?
18//class TClonesArray;
20
22public:
24
27
29
30 virtual Bool_t Init();
31
32 virtual Bool_t DoUnpack(const fles::Timeslice& ts, size_t component);
33
34 virtual void Reset();
35
36 virtual void Finish();
37
38 virtual void SetParContainers();
39
40 virtual Bool_t InitContainers();
41
42 virtual Bool_t ReInitContainers();
43
44 virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId);
45
46 virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb);
47
49 inline void SetMonitorMode(Bool_t bFlagIn = kTRUE) { fbMonitorMode = bFlagIn; }
50 void SetIgnoreOverlapMs(Bool_t bFlagIn = kTRUE);
51 void SetTimeOffsetNs(Double_t dOffsetIn = 0.0);
52 void DoTotCorr(Bool_t bDoToTCorr = kTRUE);
53
55 void SetWriteOutputFlag(Bool_t bFlagIn) { fbWriteOutput = bFlagIn; }
56
57private:
62
64 uint64_t fulTsCounter;
65
68
70 std::vector<CbmRichDigi>* fpvDigiRich = nullptr;
71
73};
74
75#endif // CbmMcbm2018UnpackerTaskRich_H
std::vector< CbmRichDigi > * fpvDigiRich
Output vectors.
CbmMcbm2018UnpackerAlgoRich * fUnpackerAlgo
Algo implementation of the unpacking.
ClassDef(CbmMcbm2018UnpackerTaskRich, 1)
CbmMcbm2018UnpackerTaskRich operator=(const CbmMcbm2018UnpackerTaskRich &)=delete
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
void DoTotCorr(Bool_t bDoToTCorr=kTRUE)
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
Algo settings setters.
uint64_t fulTsCounter
If ON the output TClonesArray of digi is written to disk.
void SetTimeOffsetNs(Double_t dOffsetIn=0.0)
void SetWriteOutputFlag(Bool_t bFlagIn)
Task settings.
void SetIgnoreOverlapMs(Bool_t bFlagIn=kTRUE)
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
Bool_t fbWriteOutput
Switch ON the filling of a additional set of histograms.
CbmMcbm2018UnpackerTaskRich(const CbmMcbm2018UnpackerTaskRich &)=delete