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