BOSS
8.0.0
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
#include "G4Event.hh"
5
#include "RootEventData/TDigiEvent.h"
6
#include "RootEventData/TEmcDigi.h"
7
#include "RootEventData/TMcHitEvent.h"
8
#include "RootEventData/TMcHitMdc.h"
9
#include "RootEventData/TMcHitTof.h"
10
#include "TFile.h"
11
#include "TTree.h"
12
13
class
BesEventAction
;
14
class
G4DigiManager;
15
16
class
BesRootIO
{
17
public
:
18
BesRootIO
( G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4String );
19
20
TFile*
f
;
21
TTree*
HitTree
;
22
23
~BesRootIO
();
24
25
public
:
26
void
SetMdcDigiFlag
( G4int
flag
) { m_mdcDigiFlag =
flag
; }
27
28
void
SaveEmcDigiRootEvent
();
29
void
SaveHitRootEvent
( G4int,
const
G4Event* );
30
void
SaveMdcHitRoot
();
31
void
SaveTofHitRoot
();
32
33
private
:
34
G4int m_mdcTruFlag;
35
G4int m_mdcDigiFlag;
36
G4int m_tofTruFlag;
37
G4int m_tofDigiFlag;
38
G4int m_emcTruFlag;
39
G4int m_emcDigiFlag;
40
G4int m_mucTruFlag;
41
G4int m_mucDigiFlag;
42
G4String m_rootFile;
43
44
Int_t m_trackIndex;
45
46
TMcHitEvent
* m_TMcHitEvent;
47
TMcHitTof
* m_TMcHitTof;
48
TMcHitMdc
* m_TMcHitMdc;
49
TEmcDigi
* m_TMmcDigi;
50
51
G4DigiManager* m_DigiMan;
52
};
53
54
#endif
flag
long int flag
Definition
Eepipi/src/ee2eepp/basesv5.1/f2c.h:43
BesEventAction
Definition
BesEventAction.hh:13
BesRootIO::~BesRootIO
~BesRootIO()
Definition
BesRootIO.cc:62
BesRootIO::f
TFile * f
Definition
BesRootIO.hh:20
BesRootIO::SaveMdcHitRoot
void SaveMdcHitRoot()
Definition
BesRootIO.cc:110
BesRootIO::SaveHitRootEvent
void SaveHitRootEvent(G4int, const G4Event *)
Definition
BesRootIO.cc:64
BesRootIO::SetMdcDigiFlag
void SetMdcDigiFlag(G4int flag)
Definition
BesRootIO.hh:26
BesRootIO::SaveEmcDigiRootEvent
void SaveEmcDigiRootEvent()
Definition
BesRootIO.cc:75
BesRootIO::HitTree
TTree * HitTree
Definition
BesRootIO.hh:21
BesRootIO::SaveTofHitRoot
void SaveTofHitRoot()
Definition
BesRootIO.cc:149
BesRootIO::BesRootIO
BesRootIO(G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4String)
Definition
BesRootIO.cc:40
TEmcDigi
Definition
Event/RootEventData/include/RootEventData/TEmcDigi.h:6
TMcHitEvent
Definition
Event/RootEventData/include/RootEventData/TMcHitEvent.h:12
TMcHitMdc
Definition
Event/RootEventData/include/RootEventData/TMcHitMdc.h:8
TMcHitTof
Definition
Event/RootEventData/include/RootEventData/TMcHitTof.h:8
8.0.0
BOSS_Source
Simulation
BOOST
BesSim
src
BesRootIO.hh
Generated by
1.16.1