CbmRoot
CbmAlgo.h
Go to the documentation of this file.
1
// -----------------------------------------------------------------------------
2
// ----- -----
3
// ----- CbmAlgo -----
4
// ----- -----
5
// -----------------------------------------------------------------------------
6
7
#ifndef CbmAlgo_H
8
#define CbmAlgo_H
9
10
#include "Rtypes.h"
11
12
#include <vector>
13
14
class
TList;
15
16
template
<
class
Input,
class
Output>
17
class
CbmAlgo
{
18
public
:
19
CbmAlgo
() =
default
;
20
virtual
~CbmAlgo
() =
default
;
21
CbmAlgo
(
const
CbmAlgo
&) =
delete
;
22
CbmAlgo
&
operator=
(
const
CbmAlgo
&) =
delete
;
23
24
virtual
Bool_t
Init
() = 0;
25
virtual
void
Reset
() = 0;
26
virtual
void
Finish
() = 0;
27
virtual
Bool_t
InitContainers
() = 0;
28
virtual
Bool_t
ReInitContainers
() = 0;
29
virtual
TList*
GetParList
() = 0;
30
31
virtual
std::vector<Output>
ProcessInputData
(
const
std::vector<Input>&) = 0;
32
33
protected
:
35
TList*
fParCList
{
nullptr
};
36
37
private
:
38
};
39
40
#endif
CbmAlgo::~CbmAlgo
virtual ~CbmAlgo()=default
CbmAlgo::operator=
CbmAlgo & operator=(const CbmAlgo &)=delete
CbmAlgo::Finish
virtual void Finish()=0
CbmAlgo::ReInitContainers
virtual Bool_t ReInitContainers()=0
CbmAlgo::CbmAlgo
CbmAlgo(const CbmAlgo &)=delete
CbmAlgo::InitContainers
virtual Bool_t InitContainers()=0
CbmAlgo::Init
virtual Bool_t Init()=0
CbmAlgo::Reset
virtual void Reset()=0
CbmAlgo::fParCList
TList * fParCList
Parameter management.
Definition:
CbmAlgo.h:35
CbmAlgo::ProcessInputData
virtual std::vector< Output > ProcessInputData(const std::vector< Input > &)=0
CbmAlgo::GetParList
virtual TList * GetParList()=0
CbmAlgo::CbmAlgo
CbmAlgo()=default
CbmAlgo
Definition:
CbmAlgo.h:17
tutorials
TaskToAlgo
CbmAlgo.h
Generated on Wed Oct 28 2020 15:11:33 for CbmRoot by
1.8.18