BOSS 7.0.1
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/BesSim/BesSim-00-01-24/BesSim/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
StatusCode bookEmcRootFile()
StatusCode execute()
StatusCode beginRun()
StatusCode bookMdcRootFile()
StatusCode finalize()
StatusCode bookMucRootFile()
BesSim(const std::string &name, ISvcLocator *pSvcLocator)
StatusCode initialize()
StatusCode bookTofRootFile()
manage multiple CLHEP random engines as named streams