er  dev
ERRecoMCApplication.h
1 // -------------------------------------------------------------------------
2 // ----- ERRecoMCApplication header file -----
3 // ----- Created 04/16 by V. Schetinin -----
4 // -------------------------------------------------------------------------
5 
6 #ifndef ERRecoMCApplication_H
7 #define ERRecoMCApplication_H
8 
9 #include "FairMCApplication.h"
10 
11 class ERRecoMCApplication : public FairMCApplication{
12 
13 public:
14 
15  ERRecoMCApplication(const char* name, const char* title, TObjArray* ModList, const char* MatName);
21  virtual ~ERRecoMCApplication();
22 
23  ERRecoMCApplication* Instance();
24 
25  //Заглушка. FairMCApplication::AddParticles дергает FairRunSim.
26  virtual void AddParticles(){}
27  virtual void InitGeometry(){}
28 
29  ClassDef(ERRecoMCApplication,1) //Interface to MonteCarlo application
30 };
31 
32 // inline functions
33 
34 inline ERRecoMCApplication* ERRecoMCApplication::Instance()
35 { return (ERRecoMCApplication*)(TVirtualMCApplication::Instance());}
36 
37 #endif