CGEM BOSS 6.6.5.g
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
24class G4DigiManager;
25
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);
47 void GetMdcRootHits();
48 void GetCgemRootHits();
49 void GetTofRootHits();
50 void GetEmcRootDigi();
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)
Definition: BesTuningIO.cc:120
void GetCgemHits(void)
Definition: BesTuningIO.cc:163
TChain * HitChain
Definition: BesTuningIO.hh:45
void GetEmcRootDigi()
Definition: BesTuningIO.cc:246
void GetTofRootHits()
Definition: BesTuningIO.cc:420
TFile * f
Definition: BesTuningIO.hh:43
void GetEmcDigi(void)
Definition: BesTuningIO.cc:221
void GetCgemRootHits()
Definition: BesTuningIO.cc:343
void GetMucHits(void)
Definition: BesTuningIO.hh:40
TTree * HitTree
Definition: BesTuningIO.hh:44
void GetTofHits(void)
Definition: BesTuningIO.hh:38
void GetMdcRootHits()
Definition: BesTuningIO.cc:294
void GetRootEvent(int evtID)
Definition: BesTuningIO.cc:233
void GetNextEvents(void)
Definition: BesTuningIO.cc:91