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