1 /**************************************************************************
2 * Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
4 * Author: The ALICE Off-line Project. *
5 * Contributors are mentioned in the code where appropriate. *
7 * Permission to use, copy, modify and distribute this software and its *
8 * documentation strictly for non-commercial purposes is hereby granted *
9 * without fee, provided that the above copyright notice appears in all *
10 * copies and that both the copyright notice and this permission notice *
11 * appear in the supporting documentation. The authors make no claims *
12 * about the suitability of this software for any purpose. It is *
13 * provided "as is" without express or implied warranty. *
14 **************************************************************************/
18 //_________________________________________________________________________
19 // Geometry class for PHOS : EMCA (Electromagnetic Calorimeter)
20 // Its data members provide geometry parametrization of EMCA
21 // which can be changed in the constructor only.
22 // Author : Yves Schutz (SUBATECH)
23 // Modified : Yuri Kharlov (IHEP, Protvino)
25 // Modified : Dmitri Peressounko (RRC "Kurchatov Institute")
28 // --- AliRoot header files ---
30 #include "AliPHOSEMCAGeometry.h"
32 ClassImp(AliPHOSEMCAGeometry)
34 //____________________________________________________________________________
35 AliPHOSEMCAGeometry::AliPHOSEMCAGeometry():
37 fStripWallWidthOut(0.f),
38 fStripWallWidthIn(0.f),
40 fInnerThermoWidthX(0.f),
41 fInnerThermoWidthY(0.f),
42 fInnerThermoWidthZ(0.f),
49 fAlCoverThickness(0.f),
50 fOuterThermoWidthXUp(0.f),
51 fOuterThermoWidthXLow(0.f),
52 fOuterThermoWidthY(0.f),
53 fOuterThermoWidthZ(0.f),
56 fFiberGlassSup2X(0.f),
57 fFiberGlassSup1X(0.f),
63 fWarmUpperThickness(0.f),
64 fWarmBottomThickness(0.f),
65 fWarmAlCoverWidthX(0.f),
66 fWarmAlCoverWidthY(0.f),
67 fWarmAlCoverWidthZ(0.f),
68 fFiberGlassSup1Y(0.f),
69 fFiberGlassSup2Y(0.f),
71 fTSupport1Thickness(0.f),
72 fTSupport2Thickness(0.f),
75 fIPtoOuterCoverDistance(0.f),
76 fIPtoCrystalSurface(0.f),
77 fSupportPlateThickness(0.f),
88 // Initializes the EMC parameters
89 // Coordinate system chosen: x across beam, z along beam, y out of beam.
90 // Reference point for all volumes incide module is
91 // center of module in x,z on the upper surface of support beam
93 //Distance from IP to surface of the crystals
94 fIPtoCrystalSurface = 460.0 ;
99 fCrystalHalfSize[0] = 2.2 /2 ; //Half-Sizes of crystall
100 fCrystalHalfSize[1] = 18.0 /2 ;
101 fCrystalHalfSize[2] = 2.2 /2 ;
105 //fPinDiodeSize[0] = 1.71 ; //Values of ame PIN diode
106 //fPinDiodeSize[1] = 0.0280 ; // OHO 0.0280 is the depth of active layer
107 //fPinDiodeSize[2] = 1.61 ;
109 fPinDiodeHalfSize[0] = 0.5000 /2 ; // APD 5 mm side
110 fPinDiodeHalfSize[1] = 0.0100 /2 ; // APD bulk thickness
111 fPinDiodeHalfSize[2] = 0.5000 /2 ; // APD 5 mm side
113 fPreampHalfSize[0] = 1.5 / 2 ; // Preamplifier
114 fPreampHalfSize[1] = 0.5 / 2 ;
115 fPreampHalfSize[2] = 1.5 / 2 ;
117 //Strip unit (8x2 crystals)
119 fNCellsXInStrip = 8 ; //Number of crystals in strip unit along x-axis
120 fNCellsZInStrip = 2 ; //Number of crystals in strip unit along z-axis
121 fNStripX = 8 ; //Number of strip units across along x-axis
122 fNStripZ = 28 ; //Number of strips along z-axis
124 fStripWallWidthOut = 0.01 ; // Side to another strip
125 fStripWallWidthIn = 0.02 ; // Side betveen crystals in one strip
127 fTyvecThickness = 0.01 ; //Thickness of the tyvec
129 fAirGapLed = 1.5 - 2 * fPreampHalfSize[1] - 2 * fPinDiodeHalfSize[1] ; // Air gap before crystalls for LED system
130 // Note, that Cell in Strip 1.5 longer then crystall
132 //---Now calculate thechnical sizes for GEANT implementation
134 fWrappedHalfSize[0] = (2*fTyvecThickness + 2*fCrystalHalfSize[0])/2 ; //This will be size of crystall
135 fWrappedHalfSize[1] = fCrystalHalfSize[1] ; //wrapped into tyvec
136 fWrappedHalfSize[2] = (2*fTyvecThickness + 2*fCrystalHalfSize[2])/2 ; //
138 fAirCellHalfSize[0] = fWrappedHalfSize[0] ; //This is HALF-size of one cell
139 fAirCellHalfSize[1] = (fAirGapLed + 2*fPreampHalfSize[1] +
140 2*fPinDiodeHalfSize[1] + 2*fWrappedHalfSize[1])/2 ; //in strip
141 fAirCellHalfSize[2] = fWrappedHalfSize[2] ; //
143 fSupportPlateHalfSize[0] = ( (fNCellsXInStrip-1)*fStripWallWidthIn + 2*fStripWallWidthOut +
144 fNCellsXInStrip * (2*fTyvecThickness + 2*fCrystalHalfSize[0]) )/2 ;
145 fSupportPlateHalfSize[1] = 6.0 /2 ;
146 fSupportPlateHalfSize[2] = ( (fNCellsZInStrip-1)*fStripWallWidthIn + 2*fStripWallWidthOut +
147 fNCellsZInStrip * (2*fTyvecThickness + 2*fCrystalHalfSize[2]) )/2;
149 fSupportPlateThickness = 0.3 ;
150 fSupportPlateInHalfSize[0] = fSupportPlateHalfSize[0] ; //Half-sizes of the air
151 fSupportPlateInHalfSize[1] = fSupportPlateHalfSize[1]-fSupportPlateThickness ; //box in the support plate
152 fSupportPlateInHalfSize[2] = fSupportPlateHalfSize[2]-fSupportPlateThickness/2 ;
154 fStripHalfSize[0]= fSupportPlateHalfSize[0] ;
155 fStripHalfSize[1]= ( 2*fSupportPlateHalfSize[1] + 2*fAirCellHalfSize[1] )/2;
156 fStripHalfSize[2]= fSupportPlateHalfSize[2] ;
158 // ------- Inner hermoinsulation ---------------
159 fInnerThermoWidthX = 2.0 ; // Width of the innerthermoinsulation across the beam
160 fInnerThermoWidthY = 2.0 ; // Width of the upper cover of innerthermoinsulation
161 fInnerThermoWidthZ = 2.0 ; // Width of the innerthermoinsulation along the beam
163 fInnerThermoHalfSize[0] = (2 * fStripHalfSize[0] * fNStripX + 2 * fInnerThermoWidthX ) /2 ;
164 fInnerThermoHalfSize[1] = (2 * fStripHalfSize[1] + fInnerThermoWidthY ) /2 ;
165 fInnerThermoHalfSize[2] = (2 * fStripHalfSize[2] * fNStripZ + 2 * fInnerThermoWidthZ ) /2 ;
167 // ------- Air gap between inner thermoinsulation and passive coller ---------
169 fAirGapWidthX = 0.2 ; // Width of the air gap across the beam
170 fAirGapWidthY = 0.2 ; // Width of the upper air gap
171 fAirGapWidthZ = 0.2 ; // Width of the air gap along the beam
173 fAirGapHalfSize[0] = (2 * fInnerThermoHalfSize[0] + 2 * fAirGapWidthX ) /2 ;
174 fAirGapHalfSize[1] = (2 * fInnerThermoHalfSize[1] + fAirGapWidthY ) /2 ;
175 fAirGapHalfSize[2] = (2 * fInnerThermoHalfSize[2] + 2 * fAirGapWidthZ ) /2 ;
177 // ------- Passive Cooler ------------------------
179 fCoolerWidthX = 2.0 ; // Width of the passive coller across the beam
180 fCoolerWidthY = 0.3 ; // Width of the upper cover of cooler
181 fCoolerWidthZ = 2.0 ; // Width of the passive cooler along the beam
183 fCoolerHalfSize[0] = (2 * fAirGapHalfSize[0] + 2 * fCoolerWidthX ) /2 ;
184 fCoolerHalfSize[1] = (2 * fAirGapHalfSize[1] + fCoolerWidthY ) /2 ;
185 fCoolerHalfSize[2] = (2 * fAirGapHalfSize[2] + 2 * fCoolerWidthZ ) /2 ;
187 // ------- Outer thermoinsulation and Al cover -------------------------------
189 fAlCoverThickness = 0.1 ; //Thickness of the Al cover of the module
191 fOuterThermoWidthXUp = 156.0 - fAlCoverThickness ;
192 //width of the upper surface of the PHOS module accross the beam
193 fOuterThermoWidthY = 6.0 ; // with of the upper cover of outer thermoinsulation
194 fOuterThermoWidthZ = 6.0 ; //width of the thermoinsulation along the beam
196 fAlFrontCoverX = 6.0 ; //Width of Al strip around fiberglass window: across
197 fAlFrontCoverZ = 6.0 ; //and along the beam
200 // Calculate distance from IP to upper cover
201 fIPtoOuterCoverDistance = fIPtoCrystalSurface - fAirGapLed - fInnerThermoWidthY - fAirGapWidthY -
202 fCoolerWidthY - fOuterThermoWidthY - fAlCoverThickness ;
204 Float_t tanA = fOuterThermoWidthXUp / (2.*fIPtoOuterCoverDistance) ;
205 // tan(a) where A = angle between IP to center and IP to side across beam
207 fOuterThermoWidthXLow = fOuterThermoWidthXUp +
208 2 * (2* fCoolerHalfSize[1] + fOuterThermoWidthY) * tanA
209 - fAlCoverThickness ;
210 //width of the lower surface of the COOL section accross the beam
213 fOuterThermoParams[0] = fOuterThermoWidthXUp / 2 ; // half-length along x at the z surface positioned at -DZ;
214 fOuterThermoParams[1] = fOuterThermoWidthXLow/ 2 ; // half-length along x at the z surface positioned at +DZ;
215 fOuterThermoParams[2] = ( 2 * fCoolerHalfSize[2] + 2 * fOuterThermoWidthZ ) / 2 ;
216 // `half-length along the y-axis' in out case this is z axis
217 fOuterThermoParams[3] = ( 2* fCoolerHalfSize[1] + fOuterThermoWidthY) /2 ;
218 // `half-length along the z-axis' in our case this is y axis
220 fAlCoverParams[0] = fOuterThermoParams[0] + fAlCoverThickness ;
221 fAlCoverParams[1] = fOuterThermoParams[1] + fAlCoverThickness ;
222 fAlCoverParams[2] = fOuterThermoParams[2] + fAlCoverThickness ;
223 fAlCoverParams[3] = fOuterThermoParams[3] + fAlCoverThickness /2 ;
226 fFiberGlassHalfSize[0] = fAlCoverParams[0] - fAlFrontCoverX ;
227 fFiberGlassHalfSize[1] = fAlCoverParams[2] - fAlFrontCoverZ ; //Note, here other ref. system
228 fFiberGlassHalfSize[2] = fAlCoverThickness / 2 ;
231 //============Now warm section======================
233 fWarmAlCoverWidthX = 2 * fAlCoverParams[1] ; //Across beam
234 fWarmAlCoverWidthY = 159.0 ; //along beam
237 fTSupport1Thickness = 3.5 ;
238 fTSupport2Thickness = 5.0 ;
239 fTSupport1Width = 10.6 ;
240 fTSupport2Width = 3.1 ;
241 fNTSupports = fNStripX + 1 ;
242 fTSupportDist = 7.48 ;
245 fAirSpaceFeeX = 148.6 ; //Across beam
246 fAirSpaceFeeY = 135.0 ; //along beam
247 fAirSpaceFeeZ = 19.0 ; //out of beam
250 fWarmBottomThickness = 4.0 ;
251 fWarmUpperThickness = 4.0 ;
254 fFrameThickness = 5.0 ;
255 fFrameHeight = 15.0 ;
258 fFiberGlassSup1X = 6.0 ;
259 fFiberGlassSup1Y = 4.0 + fWarmUpperThickness ;
261 fFiberGlassSup2X = 3.0 ;
262 fFiberGlassSup2Y = fFrameHeight ;
264 //Now calculate Half-sizes
266 fWarmAlCoverWidthZ = fAirSpaceFeeZ + fWarmBottomThickness + fWarmUpperThickness +
267 fTSupport1Thickness + fTSupport2Thickness ;
270 fWarmAlCoverHalfSize[0] = fWarmAlCoverWidthX / 2 ;
271 fWarmAlCoverHalfSize[1] = fWarmAlCoverWidthY / 2 ;
272 fWarmAlCoverHalfSize[2] = fWarmAlCoverWidthZ / 2 ;
275 fWarmThermoHalfSize[0] = fWarmAlCoverHalfSize[0] - fAlCoverThickness ;
276 fWarmThermoHalfSize[1] = fWarmAlCoverHalfSize[1] - fAlCoverThickness ;
277 fWarmThermoHalfSize[2] = fWarmAlCoverHalfSize[2] - fAlCoverThickness /2 ;
281 fTSupport1HalfSize[0] = fTSupport1Width /2 ; //Across beam
282 fTSupport1HalfSize[1] = (fAirSpaceFeeY + 2*fFiberGlassSup1X) /2 ; //along beam
283 fTSupport1HalfSize[2] = fTSupport1Thickness /2; //out of beam
285 fTSupport2HalfSize[0] = fTSupport2Width /2; //Across beam
286 fTSupport2HalfSize[1] = fTSupport1HalfSize[1] ; //along beam
287 fTSupport2HalfSize[2] = fTSupport2Thickness /2; //out of beam
290 fTCables1HalfSize[0] = (2*fTSupport1HalfSize[0]*fNTSupports + (fNTSupports-1)* fTSupportDist) / 2 ; //Across beam
291 fTCables1HalfSize[1] = fTSupport1HalfSize[1] ; //along beam
292 fTCables1HalfSize[2] = fTSupport1HalfSize[2] ; //out of beam
294 fTCables2HalfSize[0] = fTCables1HalfSize[0] ; //Across beam
295 fTCables2HalfSize[1] = fTSupport2HalfSize[1] ; //along beam
296 fTCables2HalfSize[2] = fTSupport2HalfSize[2] ; //out of beam
298 //frame: we define two frames along beam ...Z and across beam ...X
299 fFrameXHalfSize[0] = (fAirSpaceFeeX + 2 * fFiberGlassSup2X + 2* fFrameThickness) /2 ;
300 fFrameXHalfSize[1] = fFrameThickness /2 ;
301 fFrameXHalfSize[2] = fFrameHeight /2 ;
303 fFrameXPosition[0] = 0 ;
304 fFrameXPosition[1] = fAirSpaceFeeY /2 + fFiberGlassSup2X + fFrameXHalfSize[1] ;
305 fFrameXPosition[2] = fWarmThermoHalfSize[2] - fFrameHeight/ 2 - fWarmBottomThickness ;
307 fFrameZHalfSize[0] = fFrameThickness /2 ;
308 fFrameZHalfSize[1] = (fAirSpaceFeeY + 2 * fFiberGlassSup2X) /2 ;
309 fFrameZHalfSize[2] = fFrameHeight /2 ;
311 fFrameZPosition[0] = fAirSpaceFeeX /2 + fFiberGlassSup2X + fFrameZHalfSize[0] ;
312 fFrameZPosition[1] = 0 ;
313 fFrameZPosition[2] = fWarmThermoHalfSize[2] - fFrameHeight/ 2 - fWarmBottomThickness ;
315 //Fiberglass support define 4 fiber glass supports 2 along Z and 2 along X
317 fFGupXHalfSize[0] = fFrameXHalfSize[0] ;
318 fFGupXHalfSize[1] = fFiberGlassSup1X /2 ;
319 fFGupXHalfSize[2] = fFiberGlassSup1Y /2;
321 fFGupXPosition[0] = 0 ;
322 fFGupXPosition[1] = fAirSpaceFeeY /2 + fFGupXHalfSize[1] ;
323 fFGupXPosition[2] = fWarmThermoHalfSize[2] - fFrameHeight - fWarmBottomThickness - fFGupXHalfSize[2] ;
325 fFGupZHalfSize[0] = fFiberGlassSup1X /2 ;
326 fFGupZHalfSize[1] = fAirSpaceFeeY /2 ;
327 fFGupZHalfSize[2] = fFiberGlassSup1Y /2;
329 fFGupZPosition[0] = fAirSpaceFeeX /2 + fFGupZHalfSize[0] ;
330 fFGupZPosition[1] = 0 ;
331 fFGupZPosition[2] = fWarmThermoHalfSize[2] - fFrameHeight - fWarmBottomThickness - fFGupXHalfSize[2] ;
333 fFGlowXHalfSize[0] = fFrameXHalfSize[0] - 2*fFrameZHalfSize[0] ;
334 fFGlowXHalfSize[1] = fFiberGlassSup2X /2 ;
335 fFGlowXHalfSize[2] = fFrameXHalfSize[2] ;
337 fFGlowXPosition[0] = 0 ;
338 fFGlowXPosition[1] = fAirSpaceFeeY /2 + fFGlowXHalfSize[1] ;
339 fFGlowXPosition[2] = fWarmThermoHalfSize[2] - fWarmBottomThickness - fFGlowXHalfSize[2] ;
341 fFGlowZHalfSize[0] = fFiberGlassSup2X /2 ;
342 fFGlowZHalfSize[1] = fAirSpaceFeeY /2 ;
343 fFGlowZHalfSize[2] = fFrameZHalfSize[2] ;
345 fFGlowZPosition[0] = fAirSpaceFeeX /2 + fFGlowZHalfSize[0] ;
346 fFGlowZPosition[1] = 0 ;
347 fFGlowZPosition[2] = fWarmThermoHalfSize[2] - fWarmBottomThickness - fFGlowXHalfSize[2] ;
350 // --- Air Gap for FEE ----
352 fFEEAirHalfSize[0] = fAirSpaceFeeX /2 ;
353 fFEEAirHalfSize[1] = fAirSpaceFeeY /2;
354 fFEEAirHalfSize[2] = fAirSpaceFeeZ /2;
356 fFEEAirPosition[0] = 0 ;
357 fFEEAirPosition[1] = 0 ;
358 fFEEAirPosition[2] = fWarmThermoHalfSize[2] - fWarmBottomThickness - fFEEAirHalfSize[2] ;
360 // --- Calculate the oveol dimentions of the EMC module
362 fEMCParams[3] = fAlCoverParams[3] + fWarmAlCoverHalfSize[2] ; //Size out of beam
363 fEMCParams[0] = fAlCoverParams[0] ; //Upper size across the beam
364 fEMCParams[1] = (fAlCoverParams[1] - fAlCoverParams[0])*fEMCParams[3]/fAlCoverParams[3]
365 + fAlCoverParams[0] ; //Lower size across the beam
366 fEMCParams[2] = fWarmAlCoverHalfSize[1] ; // Size along the beam
368 fNPhi = fNStripX * fNCellsXInStrip ; //number of crystals across the beam
369 fNZ = fNStripZ * fNCellsZInStrip ; //number of crystals along the beam