BOSS 7.1.2
BESIII Offline Software System
Loading...
Searching...
No Matches
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
23{
24 public:
25 BesAsciiIO(G4int, G4int, G4int, G4int,
26 G4int, G4int ,G4int, G4int, G4String) ;
28
29 public:
30 void SetMdcTruFlag(G4int flag) {m_mdcTruFlag=flag;}
31 void SetTofTruFlag(G4int flag) {m_tofTruFlag=flag;}
32 void SetEmcTruFlag(G4int flag) {m_emcTruFlag=flag;}
33 void SetMucTruFlag(G4int flag) {m_mucTruFlag=flag;}
34
35 void SetMdcDigiFlag(G4int flag) {m_mdcDigiFlag=flag;}
36 void SetTofDigiFlag(G4int flag) {m_tofDigiFlag=flag;}
37 void SetEmcDigiFlag(G4int flag) {m_emcDigiFlag=flag;}
38 void SetMucDigiFlag(G4int flag) {m_mucDigiFlag=flag;}
39 void SetAsciiFile(G4String name) {m_asciiFile=name;}
40
41 void SaveAsciiEvents(G4int, const G4Event*);
42
43 void SaveDecayMode(EVENT& );
44 void SaveTrackTruth( EVENT& );
45 void SaveVertexTruth( EVENT& );
46 void SaveMdcTruth( EVENT& );
47 void SaveTofTruth( EVENT& );
48 void SaveEmcTruth( EVENT& );
49 void SaveMucTruth( EVENT& );
50
51 void SaveMdcDigits( EVENT& );
52 void SaveTofDigits( EVENT& );
53 void SaveEmcDigits( EVENT& );
54 void SaveMucDigits( EVENT& );
55
56 //Below used when do MC tuning. Now only Mdc is implemented.
57 //yuany 2007-10-31
58 void SaveHitAsciiEvents(G4int, const G4Event*);
59
60 void SaveDecayMode(HitEVENT& );
61 void SaveTrackTruth( HitEVENT& );
63 void SaveMdcTruth( HitEVENT& );
67
68 void SaveMdcHits( HitEVENT& );
69 void SaveTofHits( HitEVENT& ) {};
70 void SaveEmcHits( HitEVENT& ) {};
71 void SaveMucHits( HitEVENT& ) {};
72
73 private:
74
75 G4int m_mdcTruFlag;
76 G4int m_mdcDigiFlag;
77 G4int m_tofTruFlag;
78 G4int m_tofDigiFlag;
79 G4int m_emcTruFlag;
80 G4int m_emcDigiFlag;
81 G4int m_mucTruFlag;
82 G4int m_mucDigiFlag;
83 G4String m_asciiFile;
84
85 G4DigiManager* m_DigiMan;
86};
87
88#endif
void SaveMdcHits(HitEVENT &)
void SetTofTruFlag(G4int flag)
Definition BesAsciiIO.hh:31
void SetMucTruFlag(G4int flag)
Definition BesAsciiIO.hh:33
void SaveMucTruth(HitEVENT &)
Definition BesAsciiIO.hh:66
void SaveMucHits(HitEVENT &)
Definition BesAsciiIO.hh:71
void SetTofDigiFlag(G4int flag)
Definition BesAsciiIO.hh:36
void SetAsciiFile(G4String name)
Definition BesAsciiIO.hh:39
void SaveMucDigits(EVENT &)
void SaveTrackTruth(EVENT &)
void SaveDecayMode(EVENT &)
void SetMdcTruFlag(G4int flag)
Definition BesAsciiIO.hh:30
BesAsciiIO(G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4int, G4String)
Definition BesAsciiIO.cc:42
void SaveMdcDigits(EVENT &)
void SaveMucTruth(EVENT &)
void SaveEmcDigits(EVENT &)
void SaveEmcHits(HitEVENT &)
Definition BesAsciiIO.hh:70
void SetMdcDigiFlag(G4int flag)
Definition BesAsciiIO.hh:35
void SetMucDigiFlag(G4int flag)
Definition BesAsciiIO.hh:38
void SaveEmcTruth(HitEVENT &)
Definition BesAsciiIO.hh:65
void SaveEmcTruth(EVENT &)
void SaveTofTruth(EVENT &)
void SetEmcDigiFlag(G4int flag)
Definition BesAsciiIO.hh:37
void SaveTofTruth(HitEVENT &)
Definition BesAsciiIO.hh:64
void SaveHitAsciiEvents(G4int, const G4Event *)
void SaveTofHits(HitEVENT &)
Definition BesAsciiIO.hh:69
void SaveMdcTruth(EVENT &)
void SaveTofDigits(EVENT &)
void SaveVertexTruth(EVENT &)
void SaveAsciiEvents(G4int, const G4Event *)
Definition BesAsciiIO.cc:61
void SetEmcTruFlag(G4int flag)
Definition BesAsciiIO.hh:32