BOSS 7.0.2
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/BesSim/BesSim-00-01-24/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
24class G4DigiManager;
25
26class BesTuningIO
27{
28 public:
29 BesTuningIO(std::vector<std::string>) ;
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);
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
void GetMdcHits(void)
BesTuningIO(std::vector< std::string >)
void GetEmcRootDigi()
void GetTofRootHits()
void GetEmcDigi(void)
void GetMdcRootHits()
void GetRootEvent(int evtID)
void GetNextEvents(void)