CGEM BOSS 6.6.5.f
BESIII Offline Software System
Loading...
Searching...
No Matches
Reconstruction/TrkExtAlg/TrkExtAlg-00-00-60-p01/TrkExtAlg/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
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 ExtBesEmcParameter* 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
57 G4int GetCryInOneLayer(G4int nb){ return cryNumInOneLayer[nb]; }
58 G4int GetPentaInOneSector(G4int nb){ return pentaInOneSector[nb]; }
59
60 G4double GetTyvekThickness(){ return fTyvekThickness; }
61 G4double GetAlThickness(){ return fAlThickness; }
62 G4double GetMylarThickness(){ return fMylarThickness; }
63
64 G4double GetBSCRmin(){ return BSCRmin; }
65 G4double GetBSCDz(){ return BSCDz; }
66 G4double GetBSCRmin1(){ return BSCRmin1; }
67 G4double GetBSCRmax1(){ return BSCRmax1; }
68 G4double GetBSCRmin2(){ return BSCRmin2; }
69 G4double GetBSCRmax2(){ return BSCRmax2; }
70 G4double GetBSCDz1(){ return BSCDz1; }
71
72 G4double GetBSCAngleRotat(){ return BSCAngleRotat; }
73 G4int GetBSCNbPhi(){ return BSCNbPhi; }
74 G4int GetBSCNbTheta(){ return BSCNbTheta; }
75
76 G4double GetBSCYFront0(){ return BSCYFront0; }
77 G4double GetBSCYFront(){ return BSCYFront; }
78 G4double GetBSCYFront1(){ return BSCYFront1; }
79 G4double GetBSCPosition0(){ return BSCPosition0; }
80 G4double GetBSCPosition1(){ return BSCPosition1; }
81
82 G4double GetTaperRingDz(){ return TaperRingDz; }
83 G4double GetTaperRingThickness1(){ return TaperRingThickness1; }
84 G4double GetTaperRingThickness2(){ return TaperRingThickness2; }
85 G4double GetTaperRingThickness3(){ return TaperRingThickness3; }
86 G4double GetTaperRingTheta(){ return TaperRingTheta; }
87 G4double GetTaperRingInnerLength(){ return TaperRingInnerLength; }
88 G4double GetTaperRingOuterLength(){ return TaperRingOuterLength; }
89
90 G4double GetRearBoxLength(){ return rearBoxLength; }
91 G4double GetRearBoxDz(){ return rearBoxDz; }
92 G4double GetHangingPlateDz(){ return HangingPlateDz; }
93 G4double GetOCGirderAngle(){ return OCGirderAngle; }
94
95 G4double GetRearCasingThickness(){ return rearCasingThickness; }
96
97 G4double GetOrgGlassLengthX(){ return orgGlassLengthX; }
98 G4double GetOrgGlassLengthY(){ return orgGlassLengthY; }
99 G4double GetOrgGlassLengthZ(){ return orgGlassLengthZ; }
100
101 G4double GetPDLengthX(){ return PDLengthX; }
102 G4double GetPDLengthY(){ return PDLengthY; }
103 G4double GetPDLengthZ(){ return PDLengthZ; }
104
105 G4double GetAlPlateDz(){ return AlPlateDz; }
106 G4double GetPABoxDz(){ return PABoxDz; }
107 G4double GetPABoxThickness(){ return PABoxThickness; }
108
109 G4double GetCableDr(){ return cableDr; }
110 G4double GetWaterPipeDr(){ return waterPipeDr; }
111 G4double GetWaterPipeThickness(){ return waterPipeThickness; }
112
113 G4double GetSPBarThickness(){ return SPBarThickness; }
114 G4double GetSPBarThickness1(){ return SPBarThickness1; }
115 G4double GetSPBarwidth(){ return SPBarwidth; }
116
117 G4double GetEndRingDz(){ return EndRingDz; }
118 G4double GetEndRingDr(){ return EndRingDr; }
119 G4double GetEndRingRmin(){ return EndRingRmin; }
120
121 private:
122
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
145 G4int cryNumInOneLayer[6];
146 G4int pentaInOneSector[5];
147
148 //crystal casing parameter
149 G4double fTyvekThickness;
150 G4double fAlThickness;
151 G4double fMylarThickness;
152
153 //barrel geometry parameter
154 G4double BSCRmin;
155 G4double BSCDz;
156 G4double BSCRmin1;
157 G4double BSCRmax1;
158 G4double BSCRmin2;
159 G4double BSCRmax2;
160 G4double BSCDz1;
161
162 G4double BSCAngleRotat;
163 G4int BSCNbPhi;
164 G4int BSCNbTheta;
165
166 G4double BSCYFront0;
167 G4double BSCYFront;
168 G4double BSCYFront1;
169 G4double BSCPosition0;
170 G4double BSCPosition1;
171
172 //barrel support frame parameter
173 G4double TaperRingDz;
174 G4double TaperRingThickness1;
175 G4double TaperRingThickness2;
176 G4double TaperRingThickness3;
177 G4double TaperRingTheta;
178 G4double TaperRingInnerLength;
179 G4double TaperRingOuterLength;
180
181 G4double rearBoxLength;
182 G4double rearBoxDz;
183 G4double HangingPlateDz;
184 G4double OCGirderAngle;
185
186 G4double rearCasingThickness;
187
188 G4double orgGlassLengthX;
189 G4double orgGlassLengthY;
190 G4double orgGlassLengthZ;
191
192 G4double PDLengthX;
193 G4double PDLengthY;
194 G4double PDLengthZ;
195
196 G4double AlPlateDz;
197 G4double PABoxDz;
198 G4double PABoxThickness;
199
200 G4double cableDr;
201 G4double waterPipeDr;
202 G4double waterPipeThickness;
203
204 G4double SPBarThickness;
205 G4double SPBarThickness1;
206 G4double SPBarwidth;
207
208 G4double EndRingDz;
209 G4double EndRingDr;
210 G4double EndRingRmin;
211};
212
213#endif
static ExtBesEmcParameter & GetInstance()
static bool Exist()
static void Kill()