BOSS 7.0.6
BESIII Offline Software System
Loading...
Searching...
No Matches
BesSim.hh
Go to the documentation of this file.
1#ifndef BesSim_h
2#define BesSim_h 1
3
4#include "GaudiKernel/Algorithm.h"
5#include "GaudiKernel/IEvtSelector.h"
6
8class G4Svc;
9
10/////////////////////////////////////////////////////////////////////////////
11
12class BesSim:public Algorithm {
13public:
14 BesSim(const std::string& name, ISvcLocator* pSvcLocator);
15 StatusCode initialize();
16 StatusCode execute();
17 StatusCode finalize();
18
19 StatusCode bookMdcRootFile();
20 StatusCode bookTofRootFile();
21 StatusCode bookEmcRootFile();
22 StatusCode bookMucRootFile();
23
24 StatusCode beginRun();
25
26private:
27 int m_nEvent;
28 int m_nRun;
29 G4Svc* m_G4Svc;
30
31 int m_mdc;
32 int m_tof;
33 int m_emc;
34 int m_muc;
35 int m_pipeSCM;
36 int m_field;
37 int m_physicsList;
38 int m_formatAR;
39 int m_tuning;
40 int m_hitOut;
41 bool m_TDSFlag;
42 double newcut;
43 std::vector<std::string> m_tuningFile;
44 std::string m_asciiFlag;
45 std::string m_asciiFile;
46 bool m_rootFlag;
47 std::string m_rootFile;
48
49
50
51 //caogf for random seed
52 IBesRndmGenSvc* p_BesRndmGenSvc;
53
54 int m_logLevel;
55};
56#endif
Definition: BesSim.hh:12
StatusCode bookEmcRootFile()
Definition: BesSim.cc:301
StatusCode execute()
Definition: BesSim.cc:340
StatusCode beginRun()
Definition: BesSim.cc:209
StatusCode bookMdcRootFile()
Definition: BesSim.cc:248
StatusCode finalize()
Definition: BesSim.cc:356
StatusCode bookMucRootFile()
Definition: BesSim.cc:325
StatusCode initialize()
Definition: BesSim.cc:74
StatusCode bookTofRootFile()
Definition: BesSim.cc:263
Definition: G4Svc.h:32
manage multiple CLHEP random engines as named streams