CbmRoot
CbmUnpackTaskBase.h
Go to the documentation of this file.
1 // -----------------------------------------------------------------------------
2 // ----- -----
3 // ----- CbmUnpackTaskBase -----
4 // ----- Created 13.02.2020 by P.-A. Loizeau -----
5 // ----- -----
6 // -----------------------------------------------------------------------------
7 
8 #ifndef CBMUNPACKTASKBASE_H
9 #define CBMUNPACKTASKBASE_H
10 
12 #include "Timeslice.hpp"
13 
15 
17 #include "TObject.h"
18 
20 
21 class CbmUnpackTaskBase : public TObject {
22 public:
24  virtual ~CbmUnpackTaskBase();
25 
26  virtual Bool_t Init() = 0;
27 
28  virtual Bool_t DoUnpack(const fles::Timeslice& ts, size_t component) = 0;
29 
30  virtual void Reset() = 0;
31 
32  virtual void Finish() = 0;
33 
34  virtual void SetParContainers() = 0;
35 
36  virtual Bool_t InitContainers() { return kTRUE; }
37 
38  virtual Bool_t ReInitContainers() { return kTRUE; }
39 
40  virtual void AddMsComponentToList(size_t component,
41  UShort_t usDetectorId) = 0;
42  virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb) = 0;
43 };
44 
45 #endif // CBMUNPACKTASKBASE_H
CbmUnpackTaskBase::AddMsComponentToList
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)=0
CbmUnpackTaskBase::SetNbMsInTs
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)=0
CbmUnpackTaskBase::SetParContainers
virtual void SetParContainers()=0
CbmUnpackTaskBase::~CbmUnpackTaskBase
virtual ~CbmUnpackTaskBase()
Definition: CbmUnpackTaskBase.cxx:11
CbmUnpackTaskBase::Init
virtual Bool_t Init()=0
CbmUnpackTaskBase::Reset
virtual void Reset()=0
CbmUnpackTaskBase::DoUnpack
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)=0
CbmUnpackTaskBase::InitContainers
virtual Bool_t InitContainers()
Definition: CbmUnpackTaskBase.h:36
CbmUnpackTaskBase::CbmUnpackTaskBase
CbmUnpackTaskBase()
Definition: CbmUnpackTaskBase.cxx:9
CbmUnpackTaskBase::Finish
virtual void Finish()=0
CbmUnpackTaskBase
CbmRoot (+externals) headers.
Definition: CbmUnpackTaskBase.h:21
CbmUnpackTaskBase::ReInitContainers
virtual Bool_t ReInitContainers()
Definition: CbmUnpackTaskBase.h:38