CbmRoot
Loading...
Searching...
No Matches
CbmMcbm2018UnpackerTaskRich2020.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], Pierre-Alain Loizeau */
4
11#ifndef CbmMcbm2018UnpackerTaskRich2020_H
12#define CbmMcbm2018UnpackerTaskRich2020_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 // CbmMcbm2018UnpackerTaskRich2020_H
CbmMcbm2018UnpackerAlgoRich2020 * fUnpackerAlgo
Algo implementation of the unpacking.
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)
ClassDef(CbmMcbm2018UnpackerTaskRich2020, 1)
std::vector< CbmRichDigi > * fpvDigiRich
Output vectors.
Bool_t fbWriteOutput
Switch ON the filling of a additional set of histograms.
void SetMonitorMode(Bool_t bFlagIn=kTRUE)
Algo settings setters.
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)
CbmMcbm2018UnpackerTaskRich2020 operator=(const CbmMcbm2018UnpackerTaskRich2020 &)=delete
Bool_t fbDebugMonitorMode
Switch ON the filling of a minimal set of histograms.
CbmMcbm2018UnpackerTaskRich2020(const CbmMcbm2018UnpackerTaskRich2020 &)=delete
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)
void SetWriteOutputFlag(Bool_t bFlagIn)
Task settings.
uint64_t fulTsCounter
If ON the output TClonesArray of digi is written to disk.