BOSS
8.0.0
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 "TChain.h"
18
#include "TFile.h"
19
#include "TTree.h"
20
#include <fstream>
21
#include <iostream>
22
#include <vector>
23
24
#include "G4Types.hh"
25
#include "RootEventData/TMcDigiEmc.h"
26
#include "RootEventData/TMcHitEvent.h"
27
#include "RootEventData/TMcHitMdc.h"
28
#include "RootEventData/TMcHitTof.h"
29
30
class
G4DigiManager;
31
32
class
BesTuningIO
{
33
public
:
34
BesTuningIO
( std::vector<std::string> );
35
~BesTuningIO
();
36
37
public
:
38
void
GetNextEvents
(
void
);
39
40
void
GetMdcHits
(
void
);
41
void
GetTofHits
(
void
){};
42
void
GetEmcDigi
(
void
);
43
void
GetMucHits
(
void
){};
44
45
TFile*
f
;
46
TTree*
HitTree
;
47
TChain*
HitChain
;
48
void
GetRootEvent
(
int
evtID );
49
void
GetMdcRootHits
();
50
void
GetTofRootHits
();
51
void
GetEmcRootDigi
();
52
53
private
:
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
TMcDigiEmc
* m_TMcDigiEmc;
64
65
private
:
66
G4int trackIndex;
67
G4int layerNo;
68
G4int cellNo;
69
G4double posX;
70
G4double posY;
71
G4double posZ;
72
G4double energyDeposit;
73
G4double driftDistance;
74
G4double globalT;
75
G4double theta;
76
G4double enterAngle;
77
G4double posFlag;
78
};
79
80
#endif
BesTuningIO::GetMdcHits
void GetMdcHits(void)
Definition
BesTuningIO.cc:117
BesTuningIO::BesTuningIO
BesTuningIO(std::vector< std::string >)
Definition
BesTuningIO.cc:38
BesTuningIO::HitChain
TChain * HitChain
Definition
BesTuningIO.hh:47
BesTuningIO::GetEmcRootDigi
void GetEmcRootDigi()
Definition
BesTuningIO.cc:184
BesTuningIO::GetTofRootHits
void GetTofRootHits()
Definition
BesTuningIO.cc:279
BesTuningIO::f
TFile * f
Definition
BesTuningIO.hh:45
BesTuningIO::GetEmcDigi
void GetEmcDigi(void)
Definition
BesTuningIO.cc:159
BesTuningIO::GetMucHits
void GetMucHits(void)
Definition
BesTuningIO.hh:43
BesTuningIO::HitTree
TTree * HitTree
Definition
BesTuningIO.hh:46
BesTuningIO::~BesTuningIO
~BesTuningIO()
Definition
BesTuningIO.cc:84
BesTuningIO::GetTofHits
void GetTofHits(void)
Definition
BesTuningIO.hh:41
BesTuningIO::GetMdcRootHits
void GetMdcRootHits()
Definition
BesTuningIO.cc:231
BesTuningIO::GetRootEvent
void GetRootEvent(int evtID)
Definition
BesTuningIO.cc:173
BesTuningIO::GetNextEvents
void GetNextEvents(void)
Definition
BesTuningIO.cc:89
FRMTVERSION
Definition
Event/AsciiDmp/include/AsciiDmp/AsciiData.hh:12
HitEVENT
Definition
Event/AsciiDmp/include/AsciiDmp/AsciiData.hh:437
TMcDigiEmc
Definition
Event/RootEventData/include/RootEventData/TMcDigiEmc.h:8
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
BesTuningIO.hh
Generated by
1.16.1