BOSS
7.0.3
BESIII Offline Software System
Loading...
Searching...
No Matches
InstallArea/include/BesSim/BesSim/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
BesTuningIO
Definition:
InstallArea/include/BesSim/BesSim/BesTuningIO.hh:27
BesTuningIO::GetMdcHits
void GetMdcHits(void)
Definition:
BesTuningIO.cc:118
BesTuningIO::HitChain
TChain * HitChain
Definition:
InstallArea/include/BesSim/BesSim/BesTuningIO.hh:44
BesTuningIO::GetEmcRootDigi
void GetEmcRootDigi()
Definition:
BesTuningIO.cc:185
BesTuningIO::GetTofRootHits
void GetTofRootHits()
Definition:
BesTuningIO.cc:282
BesTuningIO::GetEmcDigi
void GetEmcDigi(void)
Definition:
BesTuningIO.cc:161
BesTuningIO::GetMucHits
void GetMucHits(void)
Definition:
InstallArea/include/BesSim/BesSim/BesTuningIO.hh:39
BesTuningIO::~BesTuningIO
~BesTuningIO()
Definition:
BesTuningIO.cc:84
BesTuningIO::GetTofHits
void GetTofHits(void)
Definition:
InstallArea/include/BesSim/BesSim/BesTuningIO.hh:37
BesTuningIO::f
TFile * f
Definition:
InstallArea/include/BesSim/BesSim/BesTuningIO.hh:42
BesTuningIO::HitTree
TTree * HitTree
Definition:
InstallArea/include/BesSim/BesSim/BesTuningIO.hh:43
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:
Event/AsciiDmp/AsciiDmp-01-03-01/AsciiDmp/AsciiData.hh:12
HitEVENT
Definition:
Event/AsciiDmp/AsciiDmp-01-03-01/AsciiDmp/AsciiData.hh:409
TMcDigiEmc
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcDigiEmc.h:8
TMcHitEvent
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcHitEvent.h:12
TMcHitMdc
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcHitMdc.h:8
TMcHitTof
Definition:
Event/RootEventData/RootEventData-00-03-80/RootEventData/TMcHitTof.h:8
source
InstallArea
include
BesSim
BesSim
BesTuningIO.hh
Generated by
1.9.6