BOSS 7.1.2
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 bool m_besGenAction;
48 std::string m_rootFile;
49
50
51
52 //caogf for random seed
53 IBesRndmGenSvc* p_BesRndmGenSvc;
54
55 int m_logLevel;
56};
57#endif
StatusCode bookEmcRootFile()
Definition BesSim.cc:332
StatusCode execute()
Definition BesSim.cc:371
StatusCode beginRun()
Definition BesSim.cc:240
StatusCode bookMdcRootFile()
Definition BesSim.cc:279
StatusCode finalize()
Definition BesSim.cc:387
StatusCode bookMucRootFile()
Definition BesSim.cc:356
BesSim(const std::string &name, ISvcLocator *pSvcLocator)
Definition BesSim.cc:57
StatusCode initialize()
Definition BesSim.cc:84
StatusCode bookTofRootFile()
Definition BesSim.cc:294
Definition G4Svc.h:33
manage multiple CLHEP random engines as named streams