CGEM BOSS
6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTuningIO.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 : Yuan Ye
6
7
////Created: Dec, 2007
8
////Modified:
9
////Comment:
10
////---------------------------------------------------------------------------//
11
//// $Id:BesTuningIO.hh
12
13
#ifndef BesTuningIO_h
14
#define BesTuningIO_h 1
15
16
#include "
AsciiDmp/AsciiData.hh
"
17
#include <iostream>
18
#include <fstream>
19
#include "TFile.h"
20
#include "TTree.h"
21
#include "TChain.h"
22
#include <vector>
23
24
class
G4DigiManager;
25
26
class
BesTuningIO
27
{
28
public
:
29
BesTuningIO
(std::vector<std::string>) ;
30
~BesTuningIO
();
31
32
public
:
33
34
void
GetNextEvents
(
void
);
35
36
void
GetMdcHits
(
void
);
37
void
GetCgemHits
(
void
);
38
void
GetTofHits
(
void
) {};
39
void
GetEmcDigi
(
void
);
40
void
GetMucHits
(
void
) {};
41
42
43
TFile *
f
;
44
TTree *
HitTree
;
45
TChain *
HitChain
;
46
void
GetRootEvent
(
int
evtID);
47
void
GetMdcRootHits
();
48
void
GetCgemRootHits
();
49
void
GetTofRootHits
();
50
void
GetEmcRootDigi
();
51
52
private
:
53
54
std::vector<std::string> m_tuningFile;
55
std::ifstream* m_inputFileStream;
56
FRMTVERSION
m_version;
// version numbers
57
HitEVENT
* m_evt;
58
G4DigiManager* m_DigiMan;
59
60
const
TMcHitEvent
* m_TMcHitEvent;
61
const
TMcHitTof
* m_TMcHitTof;
62
const
TMcHitMdc
* m_TMcHitMdc;
63
const
TMcHitCgem
* m_TMcHitCgem;
64
const
TMcDigiEmc
* m_TMcDigiEmc;
65
66
private
:
67
G4int trackIndex ;
68
G4int layerNo ;
69
G4int cellNo ;
70
G4double posX ;
71
G4double posY ;
72
G4double posZ ;
73
G4double energyDeposit ;
74
G4double driftDistance ;
75
G4double globalT ;
76
G4double theta ;
77
G4double enterAngle ;
78
G4double posFlag ;
79
80
};
81
82
#endif
AsciiData.hh
BesTuningIO
Definition
BesTuningIO.hh:27
BesTuningIO::GetMdcHits
void GetMdcHits(void)
Definition
BesTuningIO.cc:120
BesTuningIO::GetCgemHits
void GetCgemHits(void)
Definition
BesTuningIO.cc:163
BesTuningIO::BesTuningIO
BesTuningIO(std::vector< std::string >)
Definition
BesTuningIO.cc:41
BesTuningIO::HitChain
TChain * HitChain
Definition
BesTuningIO.hh:45
BesTuningIO::GetEmcRootDigi
void GetEmcRootDigi()
Definition
BesTuningIO.cc:246
BesTuningIO::GetTofRootHits
void GetTofRootHits()
Definition
BesTuningIO.cc:420
BesTuningIO::f
TFile * f
Definition
BesTuningIO.hh:43
BesTuningIO::GetEmcDigi
void GetEmcDigi(void)
Definition
BesTuningIO.cc:221
BesTuningIO::GetCgemRootHits
void GetCgemRootHits()
Definition
BesTuningIO.cc:343
BesTuningIO::GetMucHits
void GetMucHits(void)
Definition
BesTuningIO.hh:40
BesTuningIO::HitTree
TTree * HitTree
Definition
BesTuningIO.hh:44
BesTuningIO::~BesTuningIO
~BesTuningIO()
Definition
BesTuningIO.cc:86
BesTuningIO::GetTofHits
void GetTofHits(void)
Definition
BesTuningIO.hh:38
BesTuningIO::GetMdcRootHits
void GetMdcRootHits()
Definition
BesTuningIO.cc:294
BesTuningIO::GetRootEvent
void GetRootEvent(int evtID)
Definition
BesTuningIO.cc:233
BesTuningIO::GetNextEvents
void GetNextEvents(void)
Definition
BesTuningIO.cc:91
FRMTVERSION
Definition
AsciiData.hh:12
HitEVENT
Definition
AsciiData.hh:536
TMcDigiEmc
Definition
TMcDigiEmc.h:8
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
BesTuningIO.hh
Generated by
1.12.0