CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/BesSim/BesSim-00-04-16/BesSim/BesAsciiIO.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2//// BOOST --- BESIII Object_Oriented Simulation Tool //
3////---------------------------------------------------------------------------//
4////Description: Persistent store of objects in BOOST
5////Author : Dengzy
6
7////Created: Mar, 2004
8////Modified:
9////Comment:
10////---------------------------------------------------------------------------//
11//// $Id:BesAsciiIO.hh
12
13#ifndef BesAsciiIO_h
14#define BesAsciiIO_h 1
15
16#include "G4Event.hh"
17#include "AsciiDmp/AsciiData.hh"
18
19class BesEventAction;
20class G4DigiManager;
21
22class BesAsciiIO
23{
24 public:
25 BesAsciiIO(G4int, G4int, G4int, G4int, G4int,
26 G4int, G4int ,G4int, G4int, G4int, G4String) ;
28
29 public:
30 void SetMdcTruFlag (G4int flag) { m_mdcTruFlag=flag ;}
31 void SetCgemTruFlag (G4int flag) { m_cgemTruFlag=flag ;}
32 void SetTofTruFlag (G4int flag) { m_tofTruFlag=flag ;}
33 void SetEmcTruFlag (G4int flag) { m_emcTruFlag=flag ;}
34 void SetMucTruFlag (G4int flag) { m_mucTruFlag=flag ;}
35
36 void SetMdcDigiFlag ( G4int flag ) { m_mdcDigiFlag=flag ;}
37 void SetCgemDigiFlag ( G4int flag ) { m_cgemDigiFlag=flag ;}
38 void SetTofDigiFlag ( G4int flag ) { m_tofDigiFlag=flag ;}
39 void SetEmcDigiFlag ( G4int flag ) { m_emcDigiFlag=flag ;}
40 void SetMucDigiFlag ( G4int flag ) { m_mucDigiFlag=flag ;}
41 void SetAsciiFile ( G4String name ) { m_asciiFile=name ;}
42
43 void SaveAsciiEvents(G4int, const G4Event*);
44
53
59
60 //Below used when do MC tuning. Now only Mdc is implemented.
61 //Below used when do MC tuning. Now only Cgem is implemented.
62 //yuany 2007-10-31
63 void SaveHitAsciiEvents(G4int, const G4Event*);
64
70 void SaveTofTruth ( HitEVENT& ) {};
71 void SaveEmcTruth ( HitEVENT& ) {};
72 void SaveMucTruth ( HitEVENT& ) {};
73
76 void SaveTofHits ( HitEVENT& ) {};
77 void SaveEmcHits ( HitEVENT& ) {};
78 void SaveMucHits ( HitEVENT& ) {};
79
80 private:
81
82 G4int m_mdcTruFlag;
83 G4int m_cgemTruFlag;
84 G4int m_mdcDigiFlag;
85 G4int m_cgemDigiFlag;
86 G4int m_tofTruFlag;
87 G4int m_tofDigiFlag;
88 G4int m_emcTruFlag;
89 G4int m_emcDigiFlag;
90 G4int m_mucTruFlag;
91 G4int m_mucDigiFlag;
92 G4String m_asciiFile;
93
94 G4DigiManager* m_DigiMan;
95};
96
97#endif
BesAsciiIO(G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4String)
void SaveMdcHits(HitEVENT &)
void SaveCgemDigits(EVENT &)
void SaveMdcTruth(HitEVENT &)
void SaveCgemTruth(HitEVENT &)
void SaveMucDigits(EVENT &)
void SaveTrackTruth(EVENT &)
void SaveVertexTruth(HitEVENT &)
void SaveDecayMode(EVENT &)
void SaveMdcDigits(EVENT &)
void SaveMucTruth(EVENT &)
void SaveEmcDigits(EVENT &)
void SaveCgemHits(HitEVENT &)
void SaveCgemTruth(EVENT &)
void SaveDecayMode(HitEVENT &)
void SaveTrackTruth(HitEVENT &)
void SaveEmcTruth(EVENT &)
void SaveTofTruth(EVENT &)
void SaveHitAsciiEvents(G4int, const G4Event *)
void SaveMdcTruth(EVENT &)
void SaveTofDigits(EVENT &)
void SaveVertexTruth(EVENT &)
void SaveAsciiEvents(G4int, const G4Event *)