CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
BesRootIO.hh
Go to the documentation of this file.
1#ifndef BesRootIO_h
2#define BesRootIO_h 1
3
4
11#include "G4Event.hh"
12#include "TFile.h"
13#include "TTree.h"
14
15class BesEventAction;
16class G4DigiManager;
17
19{
20 public:
21 BesRootIO(G4int, G4int, G4int, G4int, G4int, G4int,
22 G4int, G4int ,G4int, G4int, G4String);
23
24 TFile *f;
25 TTree *HitTree;
26
27 ~BesRootIO();
28
29 public:
30 void SetMdcDigiFlag(G4int flag) {m_mdcDigiFlag=flag;}
31 void SetCgemDigiFlag(G4int flag) {m_cgemDigiFlag=flag;}
32
34 void SaveHitRootEvent(G4int, const G4Event*);
35 void SaveMdcHitRoot();
36 void SaveCgemHitRoot();
37 void SaveTofHitRoot();
38 private:
39 G4int m_mdcTruFlag;
40 G4int m_cgemTruFlag;
41 G4int m_mdcDigiFlag;
42 G4int m_cgemDigiFlag;
43 G4int m_tofTruFlag;
44 G4int m_tofDigiFlag;
45 G4int m_emcTruFlag;
46 G4int m_emcDigiFlag;
47 G4int m_mucTruFlag;
48 G4int m_mucDigiFlag;
49 G4String m_rootFile;
50
51
52 Int_t m_trackIndex;
53
54 TMcHitEvent* m_TMcHitEvent;
55 TMcHitTof* m_TMcHitTof;
56 TMcHitMdc* m_TMcHitMdc;
57 TMcHitCgem* m_TMcHitCgem;
58 TEmcDigi* m_TMmcDigi;
59
60 G4DigiManager* m_DigiMan;
61};
62
63#endif
TFile * f
Definition BesRootIO.hh:24
void SaveMdcHitRoot()
Definition BesRootIO.cc:124
void SaveHitRootEvent(G4int, const G4Event *)
Definition BesRootIO.cc:68
void SaveCgemHitRoot()
Definition BesRootIO.cc:165
void SetMdcDigiFlag(G4int flag)
Definition BesRootIO.hh:30
void SaveEmcDigiRootEvent()
Definition BesRootIO.cc:92
BesRootIO(G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4String)
Definition BesRootIO.cc:41
void SetCgemDigiFlag(G4int flag)
Definition BesRootIO.hh:31
TTree * HitTree
Definition BesRootIO.hh:25
void SaveTofHitRoot()
Definition BesRootIO.cc:230