CGEM BOSS 6.6.5.g
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 bookCgemRootFile();
21 StatusCode bookTofRootFile();
22 StatusCode bookEmcRootFile();
23 StatusCode bookMucRootFile();
24
25 StatusCode beginRun();
26
27private:
28 int m_nEvent;
29 int m_nRun;
30 G4Svc* m_G4Svc;
31
32 int m_mdc;
33 int m_cgem;
34 int m_CgemDigitizer;
35 int m_cgem_misAligned;
36 int m_tof;
37 int m_emc;
38 int m_muc;
39 int m_pipeSCM;
40 int m_field;
41 int m_physicsList;
42 int m_formatAR;
43 int m_tuning;
44 int m_hitOut;
45 bool m_TDSFlag;
46 double newcut;
47 std::vector<std::string> m_tuningFile;
48 std::string m_asciiFlag;
49 std::string m_asciiFile;
50 bool m_rootFlag;
51 std::string m_rootFile;
52
53 //caogf for random seed
54 IBesRndmGenSvc* p_BesRndmGenSvc;
55
56 int m_logLevel;
57};
58#endif
Definition: BesSim.hh:12
StatusCode bookEmcRootFile()
Definition: BesSim.cc:315
StatusCode execute()
Definition: BesSim.cc:354
StatusCode beginRun()
Definition: BesSim.cc:207
StatusCode bookMdcRootFile()
Definition: BesSim.cc:247
StatusCode bookCgemRootFile()
Definition: BesSim.cc:260
StatusCode finalize()
Definition: BesSim.cc:370
StatusCode bookMucRootFile()
Definition: BesSim.cc:339
StatusCode initialize()
Definition: BesSim.cc:78
StatusCode bookTofRootFile()
Definition: BesSim.cc:275
Definition: G4Svc.h:32
manage multiple CLHEP random engines as named streams