BOSS
7.1.1
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
GetTofHits
(
void
) {};
38
void
GetEmcDigi
(
void
);
39
void
GetMucHits
(
void
) {};
40
41
42
TFile *
f
;
43
TTree *
HitTree
;
44
TChain *
HitChain
;
45
void
GetRootEvent
(
int
evtID);
46
void
GetMdcRootHits
();
47
void
GetTofRootHits
();
48
void
GetEmcRootDigi
();
49
50
private
:
51
52
std::vector<std::string> m_tuningFile;
53
std::ifstream* m_inputFileStream;
54
FRMTVERSION
m_version;
// version numbers
55
HitEVENT
* m_evt;
56
G4DigiManager* m_DigiMan;
57
58
const
TMcHitEvent
* m_TMcHitEvent;
59
const
TMcHitTof
* m_TMcHitTof;
60
const
TMcHitMdc
* m_TMcHitMdc;
61
const
TMcDigiEmc
* m_TMcDigiEmc;
62
63
private
:
64
G4int trackIndex ;
65
G4int layerNo ;
66
G4int cellNo ;
67
G4double posX ;
68
G4double posY ;
69
G4double posZ ;
70
G4double energyDeposit ;
71
G4double driftDistance ;
72
G4double globalT ;
73
G4double theta ;
74
G4double enterAngle ;
75
G4double posFlag ;
76
77
};
78
79
#endif
AsciiData.hh
BesTuningIO
Definition
BesTuningIO.hh:27
BesTuningIO::GetMdcHits
void GetMdcHits(void)
Definition
BesTuningIO.cc:118
BesTuningIO::BesTuningIO
BesTuningIO(std::vector< std::string >)
Definition
BesTuningIO.cc:39
BesTuningIO::HitChain
TChain * HitChain
Definition
BesTuningIO.hh:44
BesTuningIO::GetEmcRootDigi
void GetEmcRootDigi()
Definition
BesTuningIO.cc:185
BesTuningIO::GetTofRootHits
void GetTofRootHits()
Definition
BesTuningIO.cc:282
BesTuningIO::f
TFile * f
Definition
BesTuningIO.hh:42
BesTuningIO::GetEmcDigi
void GetEmcDigi(void)
Definition
BesTuningIO.cc:161
BesTuningIO::GetMucHits
void GetMucHits(void)
Definition
BesTuningIO.hh:39
BesTuningIO::HitTree
TTree * HitTree
Definition
BesTuningIO.hh:43
BesTuningIO::~BesTuningIO
~BesTuningIO()
Definition
BesTuningIO.cc:84
BesTuningIO::GetTofHits
void GetTofHits(void)
Definition
BesTuningIO.hh:37
BesTuningIO::GetMdcRootHits
void GetMdcRootHits()
Definition
BesTuningIO.cc:233
BesTuningIO::GetRootEvent
void GetRootEvent(int evtID)
Definition
BesTuningIO.cc:173
BesTuningIO::GetNextEvents
void GetNextEvents(void)
Definition
BesTuningIO.cc:89
FRMTVERSION
Definition
AsciiData.hh:12
HitEVENT
Definition
AsciiData.hh:409
TMcDigiEmc
Definition
TMcDigiEmc.h:8
TMcHitEvent
Definition
TMcHitEvent.h:12
TMcHitMdc
Definition
TMcHitMdc.h:8
TMcHitTof
Definition
TMcHitTof.h:8
7.1.1
Simulation
BOOST
BesSim
BesSim-00-01-30
BesSim
BesTuningIO.hh
Generated by
1.12.0