CbmRoot
CbmModelBase.h
Go to the documentation of this file.
1 /*
2  *====================================================================
3  *
4  * CBM Base Class for Models
5  *
6  * Authors: V.Vovchenko
7  *
8  * e-mail :
9  *
10  *====================================================================
11  *
12  * Base class for models
13  *
14  *====================================================================
15  */
16 
17 #ifndef _CbmModelBase_h_
18 #define _CbmModelBase_h_
19 
20 #include "FairTask.h"
21 
22 class FairRootManager;
23 class KFParticleTopoReconstructor;
24 
25 class CbmModelBase : public TObject {
26 public:
27  CbmModelBase(KFParticleTopoReconstructor* tr = 0) : fTopoReconstructor(tr) {}
29 
30  virtual void ReInit(FairRootManager*) {}
31  virtual void Init() {}
32  virtual void Exec() {}
33  virtual void Finish() {}
34 
36 
37 private:
40 
41 protected:
42  KFParticleTopoReconstructor* fTopoReconstructor;
43 };
44 
45 #endif
CbmModelBase::fTopoReconstructor
KFParticleTopoReconstructor * fTopoReconstructor
Definition: CbmModelBase.h:42
CbmModelBase::Exec
virtual void Exec()
Definition: CbmModelBase.h:32
CbmModelBase::~CbmModelBase
~CbmModelBase()
Definition: CbmModelBase.h:28
CbmModelBase::Init
virtual void Init()
Definition: CbmModelBase.h:31
CbmModelBase::CbmModelBase
CbmModelBase(const CbmModelBase &)
CbmModelBase::operator=
CbmModelBase & operator=(const CbmModelBase &)
CbmModelBase
Definition: CbmModelBase.h:25
CbmModelBase::ClassDef
ClassDef(CbmModelBase, 1)
CbmModelBase::ReInit
virtual void ReInit(FairRootManager *)
Definition: CbmModelBase.h:30
CbmModelBase::Finish
virtual void Finish()
Definition: CbmModelBase.h:33
CbmModelBase::CbmModelBase
CbmModelBase(KFParticleTopoReconstructor *tr=0)
Definition: CbmModelBase.h:27