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
30class G4DigiManager;
31
33public:
34 BesTuningIO( std::vector<std::string> );
36
37public:
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
53private:
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
65private:
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
void GetMdcHits(void)
BesTuningIO(std::vector< std::string >)
TChain * HitChain
void GetEmcRootDigi()
void GetTofRootHits()
void GetEmcDigi(void)
void GetMucHits(void)
TTree * HitTree
void GetTofHits(void)
void GetMdcRootHits()
void GetRootEvent(int evtID)
void GetNextEvents(void)