BOSS 6.6.4.p03
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
10#include "G4Event.hh"
11#include "TFile.h"
12#include "TTree.h"
13
14class BesEventAction;
15class G4DigiManager;
16
18{
19 public:
20 BesRootIO(G4int, G4int, G4int, G4int,
21 G4int, G4int ,G4int, G4int, G4String);
22
23 TFile *f;
24 TTree *HitTree;
25
26 ~BesRootIO();
27
28 public:
29 void SetMdcDigiFlag(G4int flag) {m_mdcDigiFlag=flag;}
30
32 void SaveHitRootEvent(G4int, const G4Event*);
33 void SaveMdcHitRoot();
34 void SaveTofHitRoot();
35 private:
36 G4int m_mdcTruFlag;
37 G4int m_mdcDigiFlag;
38 G4int m_tofTruFlag;
39 G4int m_tofDigiFlag;
40 G4int m_emcTruFlag;
41 G4int m_emcDigiFlag;
42 G4int m_mucTruFlag;
43 G4int m_mucDigiFlag;
44 G4String m_rootFile;
45
46
47 Int_t m_trackIndex;
48
49 TMcHitEvent* m_TMcHitEvent;
50 TMcHitTof* m_TMcHitTof;
51 TMcHitMdc* m_TMcHitMdc;
52 TEmcDigi* m_TMmcDigi;
53
54 G4DigiManager* m_DigiMan;
55};
56
57#endif
~BesRootIO()
Definition: BesRootIO.cc:60
TFile * f
Definition: BesRootIO.hh:23
void SaveMdcHitRoot()
Definition: BesRootIO.cc:117
void SaveHitRootEvent(G4int, const G4Event *)
Definition: BesRootIO.cc:65
void SetMdcDigiFlag(G4int flag)
Definition: BesRootIO.hh:29
void SaveEmcDigiRootEvent()
Definition: BesRootIO.cc:85
TTree * HitTree
Definition: BesRootIO.hh:24
void SaveTofHitRoot()
Definition: BesRootIO.cc:158