BOSS 6.6.4.p01
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
18{
19 protected:
22
23 public:
25
26 G4int GetnScinBr() {return nScinBr;}
27 G4double GetBr1L() {return br1L;}
28 G4double GetBr1TrapW1() {return br1TrapW1;}
29 G4double GetBr1TrapW2() {return br1TrapW2;}
30 G4double GetBr1TrapH() {return br1TrapH;}
31 G4double GetBr1R1() {return br1R1;}
32 G4double GetAlThickness() {return AlThickness;}
33 G4double GetPVFThickness() {return PVFThickness;}
34
35 G4double GetBr2L() {return br2L;}
36 G4double GetBr2TrapW1() {return br2TrapW1;}
37 G4double GetBr2TrapW2() {return br2TrapW2;}
38 G4double GetBr2TrapH() {return br2TrapH;}
39 G4double GetBr2R1() {return br2R1;}
40
41 G4double GetBucketDBr() {return bucketDBr;}
42 G4double GetBucketLBr() {return bucketLBr;}
43
44 G4int GetnScinEc() {return nScinEc;}
45 G4double GetEcL() {return ecL;}
46 G4double GetEcTrapW1() {return ecTrapW1;}
47 G4double GetEcTrapW2() {return ecTrapW2;}
48 G4double GetEcTrapH() {return ecTrapH;}
49 G4double GetEcTrapH1() {return ecTrapH1;}
50 G4double GetzPosEastEc() {return zPosEastEc;}
51 G4double GetzPosWestEc() {return zPosWestEc;}
52 G4double GetEcR1() {return ecR1;}
53 G4double GetEcR2() {return ecR2;}
54
55
56 G4double GetBucketDEc() {return bucketDEc;}
57 G4double GetBucketLEc() {return bucketLEc;}
58 G4double GetBucketPosR() {return bucketPosR;}
59
60 G4double GetTau1() {return m_tau1;}
61 G4double GetTau2() {return m_tau2;}
62 G4double GetTau3() {return m_tau3;}
63 G4double GetTauRatio() {return m_tauRatio;}
64 G4double GetRefIndex() {return m_refIndex;}
65 G4double GetPhNConst() {return m_phNConst;}
66 G4double GetCpe2pmt() {return m_Cpe2pmt;}
67 G4double GetRAngle() {return m_rAngle;}
68 G4double GetQE() {return m_QE;}
69 G4double GetCE() {return m_CE;}
70 G4double GetPeCorFac() {return m_peCorFac;}
71 G4double GetAtten(int i) {return m_atten[i];}
72
73 G4double GetTTSmean() {return m_ttsMean;}
74 G4double GetTTSsigma() {return m_ttsSigma;}
75 G4double GetPMTgain() {return m_PMTgain;}
76 G4double GetCe() {return m_Ce;}
77 G4double GetRiseTime() {return m_riseTime;}
78 G4double GetLLthresh() {return m_LLthresh;}
79 G4double GetHLthresh() {return m_HLthresh;}
80 G4double GetPreGain() {return m_preGain;}
81 G4double GetNoiseSigma() {return m_noiseSigma;}
82
83 G4double GetTau1Ec() {return m_tau1Ec;}
84 G4double GetTau2Ec() {return m_tau2Ec;}
85 G4double GetTau3Ec() {return m_tau3Ec;}
86 G4double GetTauRatioEc() {return m_tauRatioEc;}
87 G4double GetRefIndexEc() {return m_refIndexEc;}
88 G4double GetPhNConstEc() {return m_phNConstEc;}
89 G4double GetCpe2pmtEc() {return m_Cpe2pmtEc;}
90 G4double GetRAngleEc() {return m_rAngleEc;}
91 G4double GetQEEc() {return m_QEEc;}
92 G4double GetCEEc() {return m_CEEc;}
93 G4double GetPeCorFacEc() {return m_peCorFacEc;}
94 G4double GetAttenEc() {return m_attenEc;}
95
96 G4double GetTTSmeanEc() {return m_ttsMeanEc;}
97 G4double GetTTSsigmaEc() {return m_ttsSigmaEc;}
98 G4double GetPMTgainEc() {return m_PMTgainEc;}
99 G4double GetCeEc() {return m_CeEc;}
100 G4double GetRiseTimeEc() {return m_riseTimeEc;}
101 G4double GetLLthreshEc() {return m_LLthreshEc;}
102 G4double GetHLthreshEc() {return m_HLthreshEc;}
103 G4double GetPreGainEc() {return m_preGainEc;}
104 G4double GetNoiseSigmaEc() {return m_noiseSigmaEc;}
105 //++++++++++
106 //tian added, for barrel parameters
107 G4double GetBrEPMTgain(int scinNb) { return m_BrEPMTgain[scinNb]; }
108 G4double GetBrERiseTime(int scinNb) { return m_BrERiseTime[scinNb];}
109 G4double GetBrWPMTgain(int scinNb) { return m_BrWPMTgain[scinNb]; }
110 G4double GetBrWRiseTime(int scinNb) { return m_BrWRiseTime[scinNb];}
111
112 //MRPC ENDCAP TOF
113 G4int GetnLayers_mrpc(){return nLayers_mrpc;}
114 G4int GetnDevices_mrpc(){return nDevices_mrpc;}
115 G4int GetnReadout_mrpc(){return nReadout_mrpc;}
116
117
118
119
120
121
122
123
124
125
126 private:
127 static BesTofGeoParameter* m_instance;
128 G4String m_dataPath;
129 G4int nScinBr;
130 G4double br1L;
131 G4double br1TrapW1;
132 G4double br1TrapW2;
133 G4double br1TrapH;
134 G4double br1R1;
135 G4double AlThickness;
136 G4double PVFThickness;
137
138 G4double br2L;
139 G4double br2TrapW1;
140 G4double br2TrapW2;
141 G4double br2TrapH;
142 G4double br2R1;
143
144
145 G4double bucketDBr;
146 G4double bucketLBr;
147
148 G4int nScinEc;
149 G4double ecL;
150 G4double ecTrapW1;
151 G4double ecTrapW2;
152 G4double ecTrapH;
153 G4double ecTrapH1;
154 G4double zPosEastEc;
155 G4double zPosWestEc;
156 G4double ecR1;
157 G4double ecR2;
158
159 G4double bucketDEc;
160 G4double bucketLEc;
161 G4double bucketPosR;
162
163 //MRPC part
164 G4int nLayers_mrpc;
165 G4int nDevices_mrpc;
166 G4int nReadout_mrpc;
167
168
169
170
171
172
173
174 G4double m_tau1;
175 G4double m_tau2;
176 G4double m_tau3;
177 G4double m_tauRatio;
178 G4double m_refIndex;
179 G4double m_phNConst;
180 G4double m_QE;
181 G4double m_CE;
182 G4double m_rAngle;
183 G4double m_Cpe2pmt;
184 G4double m_peCorFac;
185
186 G4double m_ttsMean;
187 G4double m_ttsSigma;
188 G4double m_PMTgain;
189 G4double m_Ce;
190 G4double m_riseTime;
191 G4double m_LLthresh;
192 G4double m_HLthresh;
193 G4double m_preGain;
194 G4double m_noiseSigma;
195
196 G4double m_tau1Ec;
197 G4double m_tau2Ec;
198 G4double m_tau3Ec;
199 G4double m_tauRatioEc;
200 G4double m_refIndexEc;
201 G4double m_phNConstEc;
202 G4double m_Cpe2pmtEc;
203 G4double m_rAngleEc;
204 G4double m_QEEc;
205 G4double m_CEEc;
206 G4double m_peCorFacEc;
207 G4double m_attenEc;
208
209 G4double m_ttsMeanEc;
210 G4double m_ttsSigmaEc;
211 G4double m_PMTgainEc;
212 G4double m_CeEc;
213 G4double m_riseTimeEc;
214 G4double m_LLthreshEc;
215 G4double m_HLthreshEc;
216 G4double m_preGainEc;
217 G4double m_noiseSigmaEc;
218//==========
219//tianhl, for reading barrel parameters
220 void ReadData();
221 void ReadBrData();
222
223 G4double m_atten[176];
224 G4double m_BrEPMTgain[176] ;
225 G4double m_BrERiseTime[176];
226 G4double m_BrWPMTgain[176] ;
227 G4double m_BrWRiseTime[176];
228};
229
230#endif
231
G4double GetBrWRiseTime(int scinNb)
G4double GetAtten(int i)
static BesTofGeoParameter * GetInstance()
G4double GetBrEPMTgain(int scinNb)
G4double GetBrERiseTime(int scinNb)
G4double GetBrWPMTgain(int scinNb)