CGEM BOSS 6.6.5.i
BESIII Offline Software System
Loading...
Searching...
No Matches
BesEmcParameter.hh
Go to the documentation of this file.
1//---------------------------------------------------------------------------//
2// BOOST --- BESIII Object_Oriented Simulation Tool //
3//---------------------------------------------------------------------------//
4//Description:
5//Author: He Miao
6//Created: Nov,12 2004
7//Modified:
8//Comment:
9//---------------------------------------------------------------------------//
10//$ID: BesEmcParameter.hh
11
12#ifndef BesEmcParameter_h
13#define BesEmcParameter_h 1
14
15#include "globals.hh"
16
18{
19 public:
20
23
24 //static member functions
26 static bool Exist();
27 static void Kill();
28
29 private:
30 //static data members
31 static BesEmcParameter* fpInstance;
32
33 public:
34
35 void ReadData();
36
37 G4long GetArraySize(){ return array_size; }
38 G4double GetTau(){ return m_tau; }
39 G4double GetHighRange(){ return m_highRange; }
40 G4double GetMidRange(){ return m_midRange; }
41 G4double GetLowRange(){ return m_lowRange; }
42 G4double GetSampleTime(){ return m_sampleTime; }
43 G4double GetPeakTime() { return m_peakTime; }
44 G4double GetTimeOffset() { return m_timeOffset; }
45 G4int GetADCbit(){ return m_bitNb; }
46 G4double GetPhotonsPerMeV(){ return m_photonsPerMeV; }
47 G4double GetNonuniformity(){ return m_nonuniformity; }
48
49 G4double GetWorldRmin1(){ return WorldRmin1; }
50 G4double GetWorldRmax1(){ return WorldRmax1; }
51 G4double GetWorldRmin2(){ return WorldRmin2; }
52 G4double GetWorldRmax2(){ return WorldRmax2; }
53 G4double GetWorldDz(){ return WorldDz; }
54 G4double GetWorldZPosition(){ return WorldZPosition; }
55 G4double GetCrystalLength(){ return CrystalLength; }
56 G4double GetCrystalLength1(){ return CrystalLength1; }
57
58 G4int GetCryInOneLayer(G4int nb){ return cryNumInOneLayer[nb]; }
59 G4int GetPentaInOneSector(G4int nb){ return pentaInOneSector[nb]; }
60
61 G4double GetTyvekThickness(){ return fTyvekThickness; }
62 G4double GetAlThickness(){ return fAlThickness; }
63 G4double GetMylarThickness(){ return fMylarThickness; }
64
65 G4double GetBSCRmin(){ return BSCRmin; }
66 G4double GetBSCDz(){ return BSCDz; }
67 G4double GetBSCRmin1(){ return BSCRmin1; }
68 G4double GetBSCRmax1(){ return BSCRmax1; }
69 G4double GetBSCRmin2(){ return BSCRmin2; }
70 G4double GetBSCRmax2(){ return BSCRmax2; }
71 G4double GetBSCDz1(){ return BSCDz1; }
72
73 G4double GetBSCAngleRotat(){ return BSCAngleRotat; }
74 G4int GetBSCNbPhi(){ return BSCNbPhi; }
75 G4int GetBSCNbTheta(){ return BSCNbTheta; }
76
77 G4double GetBSCYFront0(){ return BSCYFront0; }
78 G4double GetBSCYFront(){ return BSCYFront; }
79 G4double GetBSCYFront1(){ return BSCYFront1; }
80 G4double GetBSCPosition0(){ return BSCPosition0; }
81 G4double GetBSCPosition1(){ return BSCPosition1; }
82
83 G4double GetTaperRingDz(){ return TaperRingDz; }
84 G4double GetTaperRingThickness1(){ return TaperRingThickness1; }
85 G4double GetTaperRingThickness2(){ return TaperRingThickness2; }
86 G4double GetTaperRingThickness3(){ return TaperRingThickness3; }
87 G4double GetTaperRingTheta(){ return TaperRingTheta; }
88 G4double GetTaperRingInnerLength(){ return TaperRingInnerLength; }
89 G4double GetTaperRingOuterLength(){ return TaperRingOuterLength; }
90
91 G4double GetRearBoxLength(){ return rearBoxLength; }
92 G4double GetRearBoxDz(){ return rearBoxDz; }
93 G4double GetHangingPlateDz(){ return HangingPlateDz; }
94 G4double GetOCGirderAngle(){ return OCGirderAngle; }
95
96 G4double GetRearCasingThickness(){ return rearCasingThickness; }
97
98 G4double GetOrgGlassLengthX(){ return orgGlassLengthX; }
99 G4double GetOrgGlassLengthY(){ return orgGlassLengthY; }
100 G4double GetOrgGlassLengthZ(){ return orgGlassLengthZ; }
101
102 G4double GetPDLengthX(){ return PDLengthX; }
103 G4double GetPDLengthY(){ return PDLengthY; }
104 G4double GetPDLengthZ(){ return PDLengthZ; }
105
106 G4double GetAlPlateDz(){ return AlPlateDz; }
107 G4double GetPABoxDz(){ return PABoxDz; }
108 G4double GetPABoxThickness(){ return PABoxThickness; }
109
110 G4double GetCableDr(){ return cableDr; }
111 G4double GetWaterPipeDr(){ return waterPipeDr; }
112 G4double GetWaterPipeThickness(){ return waterPipeThickness; }
113
114 G4double GetSPBarThickness(){ return SPBarThickness; }
115 G4double GetSPBarThickness1(){ return SPBarThickness1; }
116 G4double GetSPBarwidth(){ return SPBarwidth; }
117
118 G4double GetEndRingDz(){ return EndRingDz; }
119 G4double GetEndRingDr(){ return EndRingDr; }
120 G4double GetEndRingRmin(){ return EndRingRmin; }
121
122 G4double GetLightOutput(G4int i){ return lightOutput[i]; }
123 G4double GetLightOutput(G4int, G4int, G4int);
124
125 private:
126
127 //digitise parameter
128 G4long array_size;
129 G4double m_tau;
130 G4double m_highRange;
131 G4double m_midRange;
132 G4double m_lowRange;
133 G4double m_sampleTime;
134 G4double m_peakTime;
135 G4double m_timeOffset;
136 G4int m_bitNb;
137 G4double m_photonsPerMeV;
138 G4double m_nonuniformity;
139
140 //endcap geometry parameter
141 G4double WorldRmin1;
142 G4double WorldRmax1;
143 G4double WorldRmin2;
144 G4double WorldRmax2;
145 G4double WorldDz;
146 G4double WorldZPosition;
147 G4double CrystalLength;
148 G4double CrystalLength1;
149
150 G4int cryNumInOneLayer[6];
151 G4int pentaInOneSector[5];
152
153 //crystal casing parameter
154 G4double fTyvekThickness;
155 G4double fAlThickness;
156 G4double fMylarThickness;
157
158 //barrel geometry parameter
159 G4double BSCRmin;
160 G4double BSCDz;
161 G4double BSCRmin1;
162 G4double BSCRmax1;
163 G4double BSCRmin2;
164 G4double BSCRmax2;
165 G4double BSCDz1;
166
167 G4double BSCAngleRotat;
168 G4int BSCNbPhi;
169 G4int BSCNbTheta;
170
171 G4double BSCYFront0;
172 G4double BSCYFront;
173 G4double BSCYFront1;
174 G4double BSCPosition0;
175 G4double BSCPosition1;
176
177 //barrel support frame parameter
178 G4double TaperRingDz;
179 G4double TaperRingThickness1;
180 G4double TaperRingThickness2;
181 G4double TaperRingThickness3;
182 G4double TaperRingTheta;
183 G4double TaperRingInnerLength;
184 G4double TaperRingOuterLength;
185
186 G4double rearBoxLength;
187 G4double rearBoxDz;
188 G4double HangingPlateDz;
189 G4double OCGirderAngle;
190
191 G4double rearCasingThickness;
192
193 G4double orgGlassLengthX;
194 G4double orgGlassLengthY;
195 G4double orgGlassLengthZ;
196
197 G4double PDLengthX;
198 G4double PDLengthY;
199 G4double PDLengthZ;
200
201 G4double AlPlateDz;
202 G4double PABoxDz;
203 G4double PABoxThickness;
204
205 G4double cableDr;
206 G4double waterPipeDr;
207 G4double waterPipeThickness;
208
209 G4double SPBarThickness;
210 G4double SPBarThickness1;
211 G4double SPBarwidth;
212
213 G4double EndRingDz;
214 G4double EndRingDr;
215 G4double EndRingRmin;
216
217 //crystal light yield
218 G4double lightOutput[6240];
219};
220
221#endif
G4double GetOrgGlassLengthY()
G4double GetBSCYFront0()
G4double GetWorldZPosition()
G4double GetHighRange()
G4double GetBSCPosition1()
G4double GetEndRingDr()
G4double GetCrystalLength()
G4double GetBSCRmax1()
G4double GetRearCasingThickness()
G4double GetPeakTime()
G4double GetOrgGlassLengthZ()
G4int GetCryInOneLayer(G4int nb)
G4double GetWorldRmax1()
G4double GetOCGirderAngle()
G4double GetBSCRmin2()
G4double GetPDLengthX()
G4double GetSPBarThickness()
G4double GetBSCYFront1()
G4double GetBSCRmax2()
static void Kill()
G4double GetBSCPosition0()
G4double GetTaperRingInnerLength()
G4double GetTaperRingThickness1()
static BesEmcParameter & GetInstance()
G4double GetBSCYFront()
G4double GetTyvekThickness()
G4double GetOrgGlassLengthX()
G4double GetTaperRingDz()
G4double GetNonuniformity()
G4double GetRearBoxDz()
G4double GetSPBarwidth()
G4double GetTaperRingThickness3()
G4double GetBSCRmin1()
G4double GetMylarThickness()
G4double GetBSCRmin()
G4double GetWaterPipeThickness()
G4double GetPDLengthY()
G4double GetWorldRmin1()
G4double GetPDLengthZ()
G4double GetWorldRmin2()
G4double GetAlPlateDz()
G4double GetLightOutput(G4int i)
G4double GetWaterPipeDr()
G4double GetTaperRingTheta()
G4double GetHangingPlateDz()
G4double GetMidRange()
G4double GetRearBoxLength()
G4double GetWorldRmax2()
G4double GetEndRingRmin()
G4double GetCrystalLength1()
G4double GetEndRingDz()
G4double GetTimeOffset()
G4double GetSPBarThickness1()
static bool Exist()
G4double GetTaperRingThickness2()
G4double GetTaperRingOuterLength()
G4double GetWorldDz()
G4int GetPentaInOneSector(G4int nb)
G4double GetLowRange()
G4double GetAlThickness()
G4double GetPABoxThickness()
G4double GetPhotonsPerMeV()
G4double GetBSCAngleRotat()
G4double GetSampleTime()