BOSS 7.0.9
BESIII Offline Software System
Loading...
Searching...
No Matches
BesTofGeoParameter.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description:
5//Author: Dengzy
6//Created: Mar, 2004
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10//$ID: BesTofGeoParameter.hh
11
12#ifndef BesTofGeoParameter_h
13#define BesTofGeoParameter_h 1
14
15#include "globals.hh"
16#include <map>
17#include <vector>
18
19typedef std::vector<double> VEC;
20typedef std::map<std::string, double> CONTAINER;
21typedef std::map<std::string, VEC> CONTAINER2;
22
24{
25 protected:
28
29 public:
31 double Get(std::string key);
32 VEC GetVec(std::string key);
33 void Get_deadChannel(int deadChannel[72][12]);
34
35 G4int GetnScinBr() {return nScinBr;}
36 G4double GetBr1L() {return br1L;}
37 G4double GetBr1TrapW1() {return br1TrapW1;}
38 G4double GetBr1TrapW2() {return br1TrapW2;}
39 G4double GetBr1TrapH() {return br1TrapH;}
40 G4double GetBr1R1() {return br1R1;}
41 G4double GetAlThickness() {return AlThickness;}
42 G4double GetPVFThickness() {return PVFThickness;}
43
44 G4double GetBr2L() {return br2L;}
45 G4double GetBr2TrapW1() {return br2TrapW1;}
46 G4double GetBr2TrapW2() {return br2TrapW2;}
47 G4double GetBr2TrapH() {return br2TrapH;}
48 G4double GetBr2R1() {return br2R1;}
49
50 G4double GetBucketDBr() {return bucketDBr;}
51 G4double GetBucketLBr() {return bucketLBr;}
52
53 G4int GetnScinEc() {return nScinEc;}
54 G4double GetEcL() {return ecL;}
55 G4double GetEcTrapW1() {return ecTrapW1;}
56 G4double GetEcTrapW2() {return ecTrapW2;}
57 G4double GetEcTrapH() {return ecTrapH;}
58 G4double GetEcTrapH1() {return ecTrapH1;}
59 G4double GetzPosEastEc() {return zPosEastEc;}
60 G4double GetzPosWestEc() {return zPosWestEc;}
61 G4double GetEcR1() {return ecR1;}
62 G4double GetEcR2() {return ecR2;}
63
64
65 G4double GetBucketDEc() {return bucketDEc;}
66 G4double GetBucketLEc() {return bucketLEc;}
67 G4double GetBucketPosR() {return bucketPosR;}
68
69 G4double GetTau1() {return m_tau1;}
70 G4double GetTau2() {return m_tau2;}
71 G4double GetTau3() {return m_tau3;}
72 G4double GetTauRatio() {return m_tauRatio;}
73 G4double GetRefIndex() {return m_refIndex;}
74 G4double GetPhNConst() {return m_phNConst;}
75 G4double GetCpe2pmt() {return m_Cpe2pmt;}
76 G4double GetRAngle() {return m_rAngle;}
77 G4double GetQE() {return m_QE;}
78 G4double GetCE() {return m_CE;}
79 G4double GetPeCorFac() {return m_peCorFac;}
80 G4double GetAtten(int i) {return m_atten[i];}
81
82 G4double GetTTSmean() {return m_ttsMean;}
83 G4double GetTTSsigma() {return m_ttsSigma;}
84 G4double GetPMTgain() {return m_PMTgain;}
85 G4double GetCe() {return m_Ce;}
86 G4double GetRiseTime() {return m_riseTime;}
87 G4double GetLLthresh() {return m_LLthresh;}
88 G4double GetHLthresh() {return m_HLthresh;}
89 G4double GetPreGain() {return m_preGain;}
90 G4double GetNoiseSigma() {return m_noiseSigma;}
91
92 G4double GetTau1Ec() {return m_tau1Ec;}
93 G4double GetTau2Ec() {return m_tau2Ec;}
94 G4double GetTau3Ec() {return m_tau3Ec;}
95 G4double GetTauRatioEc() {return m_tauRatioEc;}
96 G4double GetRefIndexEc() {return m_refIndexEc;}
97 G4double GetPhNConstEc() {return m_phNConstEc;}
98 G4double GetCpe2pmtEc() {return m_Cpe2pmtEc;}
99 G4double GetRAngleEc() {return m_rAngleEc;}
100 G4double GetQEEc() {return m_QEEc;}
101 G4double GetCEEc() {return m_CEEc;}
102 G4double GetPeCorFacEc() {return m_peCorFacEc;}
103 G4double GetAttenEc() {return m_attenEc;}
104
105 G4double GetTTSmeanEc() {return m_ttsMeanEc;}
106 G4double GetTTSsigmaEc() {return m_ttsSigmaEc;}
107 G4double GetPMTgainEc() {return m_PMTgainEc;}
108 G4double GetCeEc() {return m_CeEc;}
109 G4double GetRiseTimeEc() {return m_riseTimeEc;}
110 G4double GetLLthreshEc() {return m_LLthreshEc;}
111 G4double GetHLthreshEc() {return m_HLthreshEc;}
112 G4double GetPreGainEc() {return m_preGainEc;}
113 G4double GetNoiseSigmaEc() {return m_noiseSigmaEc;}
114 //++++++++++
115 //tian added, for barrel parameters
116 G4double GetBrEPMTgain(int scinNb) { return m_BrEPMTgain[scinNb]; }
117 G4double GetBrERiseTime(int scinNb) { return m_BrERiseTime[scinNb];}
118 G4double GetBrWPMTgain(int scinNb) { return m_BrWPMTgain[scinNb]; }
119 G4double GetBrWRiseTime(int scinNb) { return m_BrWRiseTime[scinNb];}
120
121
122
123 private:
124 //tianhl, for reading barrel parameters
125 void ReadData();
126 void ReadBrData();
127 void ReadMrpcData();
128
129
130 static BesTofGeoParameter* m_instance;
131 G4String m_dataPath;
132 CONTAINER container;
133 CONTAINER UNIT;
134 CONTAINER2 container2;
135 int m_deadChannel[72][12];
136
137 G4int nScinBr;
138 G4double br1L;
139 G4double br1TrapW1;
140 G4double br1TrapW2;
141 G4double br1TrapH;
142 G4double br1R1;
143 G4double AlThickness;
144 G4double PVFThickness;
145
146 G4double br2L;
147 G4double br2TrapW1;
148 G4double br2TrapW2;
149 G4double br2TrapH;
150 G4double br2R1;
151
152
153 G4double bucketDBr;
154 G4double bucketLBr;
155
156 G4int nScinEc;
157 G4double ecL;
158 G4double ecTrapW1;
159 G4double ecTrapW2;
160 G4double ecTrapH;
161 G4double ecTrapH1;
162 G4double zPosEastEc;
163 G4double zPosWestEc;
164 G4double ecR1;
165 G4double ecR2;
166
167 G4double bucketDEc;
168 G4double bucketLEc;
169 G4double bucketPosR;
170
171 G4double m_tau1;
172 G4double m_tau2;
173 G4double m_tau3;
174 G4double m_tauRatio;
175 G4double m_refIndex;
176 G4double m_phNConst;
177 G4double m_QE;
178 G4double m_CE;
179 G4double m_rAngle;
180 G4double m_Cpe2pmt;
181 G4double m_peCorFac;
182
183 G4double m_ttsMean;
184 G4double m_ttsSigma;
185 G4double m_PMTgain;
186 G4double m_Ce;
187 G4double m_riseTime;
188 G4double m_LLthresh;
189 G4double m_HLthresh;
190 G4double m_preGain;
191 G4double m_noiseSigma;
192
193 G4double m_tau1Ec;
194 G4double m_tau2Ec;
195 G4double m_tau3Ec;
196 G4double m_tauRatioEc;
197 G4double m_refIndexEc;
198 G4double m_phNConstEc;
199 G4double m_Cpe2pmtEc;
200 G4double m_rAngleEc;
201 G4double m_QEEc;
202 G4double m_CEEc;
203 G4double m_peCorFacEc;
204 G4double m_attenEc;
205
206 G4double m_ttsMeanEc;
207 G4double m_ttsSigmaEc;
208 G4double m_PMTgainEc;
209 G4double m_CeEc;
210 G4double m_riseTimeEc;
211 G4double m_LLthreshEc;
212 G4double m_HLthreshEc;
213 G4double m_preGainEc;
214 G4double m_noiseSigmaEc;
215
216 G4double m_atten[176];
217 G4double m_BrEPMTgain[176] ;
218 G4double m_BrERiseTime[176];
219 G4double m_BrWPMTgain[176] ;
220 G4double m_BrWRiseTime[176];
221};
222
223#endif
224
std::vector< double > VEC
std::map< std::string, double > CONTAINER
std::map< std::string, VEC > CONTAINER2
*************DOUBLE PRECISION m_pi *DOUBLE PRECISION m_HvecTau2 DOUBLE PRECISION m_HvClone2 DOUBLE PRECISION m_gamma1 DOUBLE PRECISION m_gamma2 DOUBLE PRECISION m_thet1 DOUBLE PRECISION m_thet2 INTEGER m_IFPHOT *COMMON c_Taupair $ !Spin Polarimeter vector first Tau $ !Spin Polarimeter vector second Tau $ !Clone Spin Polarimeter vector first Tau $ !Clone Spin Polarimeter vector second Tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning st tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !Random Euler angle for cloning nd tau $ !phi of HvecTau1 $ !theta of HvecTau1 $ !phi of HvecTau2 $ !theta of HvecTau2 $ !super key
Definition: Taupair.h:42
G4double GetBrWRiseTime(int scinNb)
double Get(std::string key)
void Get_deadChannel(int deadChannel[72][12])
G4double GetAtten(int i)
static BesTofGeoParameter * GetInstance()
VEC GetVec(std::string key)
G4double GetBrEPMTgain(int scinNb)
G4double GetBrERiseTime(int scinNb)
G4double GetBrWPMTgain(int scinNb)