CbmRoot
Loading...
Searching...
No Matches
CbmMcbmUnpack.h
Go to the documentation of this file.
1/* Copyright (C) 2018-2019 Facility for Antiproton and Ion Research in Europe, Darmstadt
2 SPDX-License-Identifier: GPL-3.0-only
3 Authors: Pierre-Alain Loizeau [committer], Florian Uhlig */
4
5// -----------------------------------------------------------------------------
6// ----- -----
7// ----- CbmMcbmUnpack -----
8// ----- Created 09.07.2018 by P.-A. Loizeau -----
9// ----- -----
10// -----------------------------------------------------------------------------
11
12#ifndef CBMMCBMUNPACK_H
13#define CBMMCBMUNPACK_H
14
15#include "Timeslice.hpp"
16
17#include "TObject.h"
18
19class CbmMcbmUnpack : public TObject {
20public:
22 virtual ~CbmMcbmUnpack();
23
24 virtual Bool_t Init() = 0;
25
26 virtual Bool_t DoUnpack(const fles::Timeslice& ts, size_t component) = 0;
27
28 virtual void Reset() = 0;
29
30 virtual void Finish() = 0;
31
32 virtual void SetParContainers() = 0;
33
34 virtual Bool_t InitContainers() { return kTRUE; }
35
36 virtual Bool_t ReInitContainers() { return kTRUE; }
37
38 virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId) = 0;
39 virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb) = 0;
40
41 ClassDef(CbmMcbmUnpack, 0)
42};
43
44#endif
virtual void SetParContainers()=0
virtual void Reset()=0
virtual Bool_t DoUnpack(const fles::Timeslice &ts, size_t component)=0
virtual void AddMsComponentToList(size_t component, UShort_t usDetectorId)=0
virtual Bool_t Init()=0
virtual ~CbmMcbmUnpack()
virtual Bool_t ReInitContainers()
virtual Bool_t InitContainers()
virtual void SetNbMsInTs(size_t uCoreMsNb, size_t uOverlapMsNb)=0
virtual void Finish()=0