CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Simulation/BOOST/BesSim/BesSim-00-04-16/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 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);
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
void GetMdcHits(void)
void GetCgemHits(void)
BesTuningIO(std::vector< std::string >)
void GetEmcRootDigi()
void GetTofRootHits()
void GetEmcDigi(void)
void GetCgemRootHits()
void GetMdcRootHits()
void GetRootEvent(int evtID)
void GetNextEvents(void)