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