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
5
#include "
RootEventData/TMcHitTof.h
"
6
#include "
RootEventData/TMcHitMdc.h
"
7
#include "
RootEventData/TMcHitCgem.h
"
8
#include "
RootEventData/TMcHitEvent.h
"
9
#include "
RootEventData/TDigiEvent.h
"
10
#include "
RootEventData/TEmcDigi.h
"
11
#include "G4Event.hh"
12
#include "TFile.h"
13
#include "TTree.h"
14
15
class
BesEventAction
;
16
class
G4DigiManager;
17
18
class
BesRootIO
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
33
void
SaveEmcDigiRootEvent
();
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
TDigiEvent.h
TEmcDigi.h
TMcHitCgem.h
TMcHitEvent.h
TMcHitMdc.h
TMcHitTof.h
BesEventAction
Definition
BesEventAction.hh:15
BesRootIO
Definition
BesRootIO.hh:19
BesRootIO::~BesRootIO
~BesRootIO()
Definition
BesRootIO.cc:63
BesRootIO::f
TFile * f
Definition
BesRootIO.hh:24
BesRootIO::SaveMdcHitRoot
void SaveMdcHitRoot()
Definition
BesRootIO.cc:124
BesRootIO::SaveHitRootEvent
void SaveHitRootEvent(G4int, const G4Event *)
Definition
BesRootIO.cc:68
BesRootIO::SaveCgemHitRoot
void SaveCgemHitRoot()
Definition
BesRootIO.cc:165
BesRootIO::SetMdcDigiFlag
void SetMdcDigiFlag(G4int flag)
Definition
BesRootIO.hh:30
BesRootIO::SaveEmcDigiRootEvent
void SaveEmcDigiRootEvent()
Definition
BesRootIO.cc:92
BesRootIO::BesRootIO
BesRootIO(G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4String)
Definition
BesRootIO.cc:41
BesRootIO::SetCgemDigiFlag
void SetCgemDigiFlag(G4int flag)
Definition
BesRootIO.hh:31
BesRootIO::HitTree
TTree * HitTree
Definition
BesRootIO.hh:25
BesRootIO::SaveTofHitRoot
void SaveTofHitRoot()
Definition
BesRootIO.cc:230
TEmcDigi
Definition
TEmcDigi.h:6
TMcHitCgem
Definition
TMcHitCgem.h:9
TMcHitEvent
Definition
TMcHitEvent.h:13
TMcHitMdc
Definition
TMcHitMdc.h:8
TMcHitTof
Definition
TMcHitTof.h:8
6.6.5.i
Simulation
BOOST
BesSim
BesSim-00-04-18
BesSim
BesRootIO.hh
Generated by
1.12.0