BOSS
7.0.4
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/BesSim/BesSim/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/TMcHitEvent.h"
8
#include "RootEventData/TDigiEvent.h"
9
#include "RootEventData/TEmcDigi.h"
10
#include "G4Event.hh"
11
#include "TFile.h"
12
#include "TTree.h"
13
14
class
BesEventAction
;
15
class
G4DigiManager;
16
17
class
BesRootIO
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
31
void
SaveEmcDigiRootEvent
();
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
flag
long int flag
Definition:
Eepipi/Eepipi-00-00-06/src/ee2eepp/basesv5.1/f2c.h:39
BesEventAction
Definition:
InstallArea/include/BesSim/BesSim/BesEventAction.hh:15
BesRootIO
Definition:
InstallArea/include/BesSim/BesSim/BesRootIO.hh:18
BesRootIO::~BesRootIO
~BesRootIO()
Definition:
BesRootIO.cc:60
BesRootIO::SaveMdcHitRoot
void SaveMdcHitRoot()
Definition:
BesRootIO.cc:117
BesRootIO::SaveHitRootEvent
void SaveHitRootEvent(G4int, const G4Event *)
Definition:
BesRootIO.cc:65
BesRootIO::HitTree
TTree * HitTree
Definition:
InstallArea/include/BesSim/BesSim/BesRootIO.hh:24
BesRootIO::SetMdcDigiFlag
void SetMdcDigiFlag(G4int flag)
Definition:
InstallArea/include/BesSim/BesSim/BesRootIO.hh:29
BesRootIO::SaveEmcDigiRootEvent
void SaveEmcDigiRootEvent()
Definition:
BesRootIO.cc:85
BesRootIO::f
TFile * f
Definition:
InstallArea/include/BesSim/BesSim/BesRootIO.hh:23
BesRootIO::SaveTofHitRoot
void SaveTofHitRoot()
Definition:
BesRootIO.cc:158
TEmcDigi
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TEmcDigi.h:6
TMcHitEvent
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcHitEvent.h:12
TMcHitMdc
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcHitMdc.h:8
TMcHitTof
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcHitTof.h:8
source
InstallArea
include
BesSim
BesSim
BesRootIO.hh
Generated by
1.9.6