Fixed a bug in the Digit reader, moved clusterfinder to initialize from OCDB, Added...
[u/mrichter/AliRoot.git] / ITS / AliITSv11GeometrySDD.h
CommitLineData
db486a6e 1#ifndef ALIITSV11GEOMETRYSDD_H
2#define ALIITSV11GEOMETRYSDD_H
3
4/* Copyright(c) 1998-1999, ALICE Experiment at CERN, All rights reserved. *
5 * See cxx source for full Copyright notice */
6
73dfc864 7// $Id$
effd7456 8
b7943f00 9//*************************************************************************
effd7456 10//
11// SDD geometry, based on ROOT geometrical modeler
12//
13// Its integration to the aliroot framework is done in the AliITSv11Hybrid
14// class (AliITSv11 not being functionnal so far)
15//
16// This geometry has no dependence with aliroot, you can run it with root
17// only, provided that the AliITSv11GeomCable classes are also compiled
18//
b7943f00 19// Ludovic Gaudichet gaudichet@to.infn.it
20//*************************************************************************
db486a6e 21
effd7456 22
db486a6e 23class TGeoVolume;
e118532f 24class TGeoPcon;
108bd0fe 25class TGeoVolumeAssembly;
b7943f00 26class TGeoTranslation;
db486a6e 27class TGeoCombiTrans;
28class TGeoArb8;
c789ee28 29class TGeoNode;
b7943f00 30class TGeoMedium;
31class TGeoMatrix;
32class AliITSgeom;
33class AliITSv11GeomCableFlat;
db486a6e 34
b7943f00 35#include "AliITSv11Geometry.h"
db486a6e 36
c789ee28 37
db486a6e 38class AliITSv11GeometrySDD : public AliITSv11Geometry {
39
40 public:
41 AliITSv11GeometrySDD();
42 AliITSv11GeometrySDD(Int_t debug);
b7943f00 43 AliITSv11GeometrySDD(const AliITSv11GeometrySDD &source);
44 AliITSv11GeometrySDD& operator=(const AliITSv11GeometrySDD &source);
45 virtual ~AliITSv11GeometrySDD();
db486a6e 46
c789ee28 47 // Main functions
b7943f00 48 virtual void Layer3(TGeoVolume *moth);
49 virtual void Layer4(TGeoVolume *moth);
bf210566 50 virtual void ForwardLayer3(TGeoVolume *moth);
51 virtual void ForwardLayer4(TGeoVolume *moth);
e118532f 52 virtual void SDDCables(TGeoVolume *moth);
53
b7943f00 54 virtual Int_t ExportSensorGeometry(AliITSgeom *geom, Int_t iLaySDD,
55 Int_t startMod);
56 virtual Int_t GetCurrentLayLaddDet(Int_t &lay, Int_t &ladd, Int_t&det) const;
db486a6e 57
c789ee28 58 // Functions for coding, testing, debugging
b7943f00 59 void AddHybrids(bool b) {fAddHybrids = b;};
60 void AddSensors(bool b) {fAddSensors = b;};
61 void AddHVcables(bool b) {fAddHVcables = b;};
62 void AddCables(bool b) {fAddCables = b;};
63 void AddCoolingSyst(bool b) {fAddCoolingSyst= b;};
64
65 void CheckOverlaps(Double_t precision = 0.01);
66 void AddOnlyLay3Ladder(Int_t min,Int_t max){
67 fAddOnlyLadder3min = min; fAddOnlyLadder3max = max; };
68 void AddOnlyLay4Ladder(Int_t min,Int_t max) {
69 fAddOnlyLadder4min = min; fAddOnlyLadder4max = max;};
70 void ShowOnePiece(TGeoVolume *Moth);
71
72 virtual void SetParameters();
73 TGeoVolume* GetMotherVolume() const { return fMotherVol;};
108bd0fe 74 const char* GetSenstiveVolumeName3() const {return fgSDDsensitiveVolName3;};
75 const char* GetSenstiveVolumeName4() const {return fgSDDsensitiveVolName4;};
fa4639a3 76 Int_t GetLay3NLadders() const;
77 Int_t GetLay4NLadders() const;
db486a6e 78
79 private:
80
108bd0fe 81 virtual TGeoVolumeAssembly* CreateLadder(Int_t iLay);
82 virtual TGeoVolumeAssembly* CreateDetectorsAssembly(Int_t iLay);
73dfc864 83 virtual TGeoVolume* CreateLadderSegment(Int_t iLay, Int_t iSeg);
108bd0fe 84 virtual TGeoVolumeAssembly* CreateEndLadder(Int_t iLay);
85 virtual TGeoVolumeAssembly* CreateEndLadderCards(Int_t iLay);
bf210566 86 virtual TGeoVolume* CreateEndLadderCardsV(Int_t iLay);
108bd0fe 87 virtual TGeoVolumeAssembly* CreateSupportRing(Int_t iLay);
88
89 // Create some basic objects :
90 virtual void CreateSDDsensor();
91 virtual TGeoVolume* CreateHybrid(Int_t iLRSide);
92 virtual TGeoVolume* CreatePinSupport();
93 virtual TGeoVolume* CreateCoolPipeSupportL();
94 virtual TGeoVolume* CreateCoolPipeSupportR();
95 virtual TGeoVolume* CreateBaseThermalBridge();
96
73dfc864 97 virtual TGeoVolumeAssembly* CreateLadderFoot();
98 virtual TGeoVolumeAssembly* CreateCarlosCard(Int_t iLay);
99 virtual Int_t CreateLVCard();
108bd0fe 100 virtual TGeoVolumeAssembly* CreateHVCard(Int_t iLay);
101
102 void CreateBasicObjects();
e118532f 103 Double_t GetConeZ(Double_t r, Double_t refR1, Double_t refR2,
104 Double_t refZ1, Double_t refZ2);
105 TGeoPcon* CreateConeConstSection(Double_t r1max, Double_t z1,
106 Double_t r2max, Double_t z2,
107 Double_t section, Int_t nDiv=1);
108 Int_t CreateAndInsetConeCablePart(TGeoVolume *mother, Double_t angle,
109 Int_t nLay3, Int_t nLay4,
110 Double_t r1, Double_t z1,
111 Double_t r2, Double_t z2);
b7943f00 112
73dfc864 113 // Check that the medium exists
b7943f00 114 virtual TGeoMedium* GetMedium(const char* mediumName);
115
116 // Create a TGeoCombiTrans: general rotation in phi and (dy,dz) translation
c789ee28 117 TGeoCombiTrans* CreateCombiTrans( const char *name,
108bd0fe 118 Double_t dy, Double_t dz, Double_t dphi,
119 Bool_t planeSym=kFALSE);
db486a6e 120
121 // add (dx,dy,dz) translation to a initial TGeoCombiTrans
c789ee28 122 void AddTranslationToCombiTrans( TGeoCombiTrans* ct,
b7943f00 123 Double_t dx=0, Double_t dy=0, Double_t dz=0) const;
db486a6e 124
125 // Create one side of the CF corner of the CF structure
8f20b5e4 126 TGeoArb8* CreateLadderSide( const char *name,
127 Double_t dz, Double_t angle, Double_t xSign,
c789ee28 128 Double_t L, Double_t H, Double_t l);
db486a6e 129
b7943f00 130 //----------------------------
131 TGeoVolume* fPinSupport; //! pins glued to sensors
132 TGeoVolume* fCoolPipeSupportL; //! half of cooling pipe support
133 TGeoVolume* fCoolPipeSupportR; //! half of cooling pipe support
108bd0fe 134 TGeoVolume* fSDDsensor3; //! sensor of lay. 3 and HV cables on it
135 TGeoVolume* fSDDsensor4; //! sensor of lay. 4 and HV cables on it
b7943f00 136 TGeoVolume* fBaseThermalBridge; //! Base of hybrid thermal bridge
137 TGeoVolume* fHybrid; //! hybrid volume
73dfc864 138 TGeoVolumeAssembly *fLadderFoot;//! ladder foot in stesalite
139 TGeoVolumeAssembly *fCardLVR; //! low voltage card, right
140 TGeoVolumeAssembly *fCardLVL; //! low voltage card, left
141 TGeoVolumeAssembly *fCardHV; //! high voltage card
142 TGeoVolumeAssembly *fCardCarlos;//! end-ladder CARLOS card
143 TGeoVolumeAssembly *fRaccordoL; //! link between cooling tubes at end ladder
144 TGeoVolume* fCommonVol[2]; //! some common vol. used in several places
145 TGeoMatrix* fCommonTr[2]; //! some common transformations
b7943f00 146
147 static const Int_t fgkNladdSegCommonVol = 19; // Number of vol.
148 TGeoVolume* fLaddSegCommonVol[fgkNladdSegCommonVol];//! volumes in ladder
149 TGeoMatrix* fLaddSegCommonTr[fgkNladdSegCommonVol]; //! their transf.
150
151 AliITSv11GeomCableFlat *fDigitCableLay3A; // layer 3 cables, side A
108bd0fe 152 AliITSv11GeomCableFlat *fDigitCableLay3B; // layer 3 cables, side B
153 AliITSv11GeomCableFlat *fDigitCableLay4A; // layer 4 cables, side A
b7943f00 154 AliITSv11GeomCableFlat *fDigitCableLay4B; // layer 4 cables, side B
155
156 TGeoVolume *fMotherVol; //! mother volume given in LayerX() funct.
157 bool fAddHybrids; // Insert hybrids ? (default TRUE)
158 bool fAddSensors; // Insert sensors ? (default TRUE)
159 bool fAddHVcables; // Insert HV cables ? (default TRUE)
160 bool fAddCables; // Insert cables ? (default TRUE)
161 bool fAddCoolingSyst; // Insert cooling system ? (default TRUE)
162 bool fCoolingOn; // Insert cooling fluid ? (default TRUE)
163 Int_t fAddOnlyLadder3min; // first ladder index
164 Int_t fAddOnlyLadder3max; // last ladder index
165 Int_t fAddOnlyLadder4min; // first ladder index
166 Int_t fAddOnlyLadder4max; // last ladder index
167 Int_t fColorCarbonFiber; // display colors
168 Int_t fColorRyton; // ===
169 Int_t fColorPhynox; // ===
170 Int_t fColorSilicon; // ===
171 Int_t fColorAl; // ===
172 Int_t fColorPolyhamide; // ===
173 Int_t fColorGlass; // ===
174 Int_t fColorSMD; // ===
175 Int_t fColorSMDweld; // ===
108bd0fe 176 Int_t fColorStesalite; // ===
b7943f00 177
178 //-------------------------------------- parameters for the SDD geometry
179
73dfc864 180 static const char* fgSDDsensitiveVolName3; // sens. vol. name for lay. 3
181 static const char* fgSDDsensitiveVolName4; // sens. vol. name for lay. 4
b7943f00 182
183 static const Int_t fgkLay3Nladd; // 14
184 static const Int_t fgkLay3Ndet; // 6
185 static const Double_t fgkLay3Rmin; // min. radius of tube
186 static const Double_t fgkLay3Rmax; // max. radius of tube
187 static const Double_t fgkLay3Length; // length of layer 3 tube
188 static const Double_t fgkLay3LadderLength; // tot. length of ladder
189 static const Double_t fgkLay3DetShortRadius; // radius from beam axis
190 static const Double_t fgkLay3DetLongRadius; // radius from beam axis
191 static const Double_t fgkLay3LaddTopCornerEnd; // Ends of ladder 3
192 static const Double_t fgkLay3ZPlusEndLength; // ===
193
194 static const Int_t fgkLay4Nladd; // 22
195 static const Int_t fgkLay4Ndet; // 8
196 static const Double_t fgkLay4Rmin; // min. radius of tube
197 static const Double_t fgkLay4Rmax; // max. radius of tube
198 static const Double_t fgkLay4Length; // length of layer 4 tube
199 static const Double_t fgkLay4LadderLength; // tot. length of ladder
200 static const Double_t fgkLay4DetShortRadius; // radius from beam axis
201 static const Double_t fgkLay4DetLongRadius; // radius from beam axis
202 static const Double_t fgkLay4LaddTopCornerEnd; // Ends of ladder 3
203 static const Double_t fgkLay4ZPlusEndLength; // ===
204
bf210566 205 static const Double_t fgkEndLaddCardsShortRadiusLay3; // ref radius of end ladder cards
206 static const Double_t fgkEndLaddCardsShortRadiusLay4; // ref radius of end ladder cards
207 static const Double_t fgkDistEndLaddCardsLadd; // dist. between U cooling tube and ladder
208
b7943f00 209 static const Double_t fgkSegmentLength; // length of 1 ladder seg.
210 static const Double_t fgkLadderWidth; // carbon fiber structure
211 static const Double_t fgkLadderHeight; // including bottom beam
212 static const Double_t fgkLadderSegBoxDW; // To include hybrids in box
213 static const Double_t fgkLadderSegBoxDH; // To include hybrids in box
214
215 static const Double_t fgkLadderBeamRadius; // carbon fiber beam radius
216 static const Double_t fgkLadderLa; // parameters defining
217 static const Double_t fgkLadderHa; // the V side shape
218 static const Double_t fgkLadderLb; // of the carbon
219 static const Double_t fgkLadderHb; // fiber ladder
220 static const Double_t fgkLadderl; // ============
221
222 static const Double_t fgkBottomBeamAngle; // bottom beam angle
223 static const Double_t fgkBeamSidePhi; // side beam angle
224
225 static const Double_t fgkWaferThickness; // sensor thickness (Y)
226 static const Double_t fgkWaferWidth; // width (X)
227 static const Double_t fgkWaferLength; // length (Z)
228 static const Double_t fgkWaferThickSens; // sensitive volume thich
229 static const Double_t fgkWaferWidthSens; // sens. volume width
230 static const Double_t fgkWaferLengthSens; // sens. volume length
231
232 static const Double_t fgkSensorGlassLX; // dimensions of glass
233 static const Double_t fgkSensorGlassLZ; // (on which pins are
234 static const Double_t fgkSensorGlassLY; // glued)
235 static const Double_t fgkGlassDXOnSensor; // Position of glass
236 static const Double_t fgkGlassDZOnSensor; // on sensor
237
238 static const Double_t fgkLadWaferSep; // ladder-sensor dist.
239 static const Double_t fgkPinR; // pins radius
240 static const Double_t fgkPinSuppWidth; // ===
241 static const Double_t fgkPinSuppHeight; // ===
242 static const Double_t fgkPinSuppRmax; // Parameters for pin
243 static const Double_t fgkPinSuppLength; // supports on
244 static const Double_t fgkPinSuppThickness; // carbon fiber
245 static const Double_t fgkPinSuppConeAngle; // ladder
246 static const Double_t fgkPinDXminOnSensor; // ===
247 static const Double_t fgkPinPinDDXOnSensor; // ===
248 static const Double_t fgkPinDYOnSensor; // ===
249
250 static const Double_t fgkCoolPipeInnerDiam; // Water cooling
251 static const Double_t fgkCoolPipeOuterDiam; // pipe
252 static const Double_t fgkLay3CoolPipeSuppH; // Heights of water
253 static const Double_t fgkLay4CoolPipeSuppH; // pipes on ladders
254 static const Double_t fgkCoolPipeSuppHeight; // ===
255 static const Double_t fgkCoolPipeSuppMaxLength; // ===
256 static const Double_t fgkCoolPipeSuppWidthExt; // Parameters for
257 static const Double_t fgkCoolPipeSuppWidthIn; // cooling pipes
258 static const Double_t fgkCoolPipeSuppHoleDiam; // on carbon fiber
259 static const Double_t fgkCoolPipeSuppFulWidth; // ladder
260 static const Double_t fgkCoolPipeSuppTongW; // ===
261 static const Double_t fgkCoolPipeSuppAngle; // ===
262 static const Double_t fgkCoolPipeSuppSlitL; // ===
263 static const Double_t fgkCoolPipeSuppAxeDist; // ===
264
265 static const Double_t fgkBTBthick; // BTB for :
266 static const Double_t fgkBTBlength; // Base of Thermal Bridge
267 static const Double_t fgkBTBwidth; // =====================
268 static const Double_t fgkBTBaxisAtoBottom; // axis A is the same as
269 static const Double_t fgkBTBaxisAtoBase; // the cooling pipe axis
270 static const Double_t fgkRadiusAminBTB; // ===
271 static const Double_t fgkRadiusBminBTB; // ===
272 static const Double_t fgkBTBHoleLength; // ===
273 static const Double_t fgkBTBHolewidth; // ===
274 static const Double_t fgkBTBHoleRefX; // ===
275 static const Double_t fgkBTBHoleRefY; // ===
276
277 static const Double_t fgkHybridLength; // Hybrid parameters :
278 static const Double_t fgkHybridWidth; // ===
279 static const Double_t fgkHybridAngle; // Hybrid on ladder in phi
280
281 static const Double_t fgkHybRndHoleRad; // ===
282 static const Double_t fgkHybRndHoleZ; // ===
283 static const Double_t fgkHybRndHoleX; // ===
284
285 static const Double_t fgkHybFLlowHoleDZ; // FLlow : low flex
286 static const Double_t fgkHybFLlowHolePasDX; // ===
287 static const Double_t fgkHybFLlowHoleAmbDX; // ===
288 // (center of ships to the border)
289 static const Double_t fgkHybFLlowChipZ4; // Z1 to Z4 : position
290 static const Double_t fgkHybFLlowChipZ3; // in z of the chip
291 static const Double_t fgkHybFLlowChipZ2; // centers
292 static const Double_t fgkHybFLlowChipZ1; // ===
293 static const Double_t fgkHybFLlowPasX; // Pascal center X pos
294 static const Double_t fgkHybFLlowAmbX; // Ambra center X pos
295 static const Double_t fgkHybChipsDZ; // Z dimension of chips
296 static const Double_t fgkHybPascalDX; // X dimension of Pascal
297 static const Double_t fgkHybAmbraDX; // X dimension of Ambra
298 static const Double_t fgkHybFLUpperWidth; // bFLUpper : upper flex
299 static const Double_t fgkHybFLUpperLength; // ===
300 static const Double_t fgkHybFLUpperAlDZ; // ===
301 static const Double_t fgkHybFLUpperAldx; // ===
302
303 static const Double_t fgkHybridThBridgeThick; // Thicknesses :
304 static const Double_t fgkHybAlThick; // ===
305 static const Double_t fgkHybUpThick; // ===
306 static const Double_t fgkHybGlueScrnThick; // ===
307 static const Double_t fgkHybGlueLowThick; // ===
308 static const Double_t fgkHybGlueUpThick; // ===
309 static const Double_t fgkHybAlCCThick; // ===
310 static const Double_t fgkHybUpCCThick; // ===
311 static const Double_t fgkHybChipThick; // ===
312 static const Double_t fgkHybGlueAgThick; // ===
313 static const Double_t fgkHybUnderNiThick; // ===
314 static const Int_t fgkNHybSMD; // Number of SMD
315 static const Double_t fgkHybSMDposX[25]; // X pos. of SMD
316 static const Double_t fgkHybSMDposZ[25]; // Z pos. of SMD
317 static const Double_t fgkHybSMDmiddleW; // SMD width
318 static const Double_t fgkHybSMDmiddleL; // SMD length
319 static const Double_t fgkHybSMDendW; // end SMD witdh
320 static const Double_t fgkHybSMDendL; // end SMD length
321 static const Double_t fgkHybSMDheight; // SMD height
322
323 static const Double_t fgkDigitCablWidth; // Digital
324 static const Double_t fgkDigitCablAlThick; // cables
325 static const Double_t fgkDigitCablPolyThick; // ===
326
327 //HV cables
328 static const Double_t fgkWaHVcableAlThick; // Wrap-around
329 static const Double_t fgkWaHVcablePolyThick; // High Voltage
330 static const Double_t fgkWaHVcableLength; // cables
331 static const Double_t fgkWaHVcableWitdh; // (on sensor)
332 static const Double_t fgkWaHVcableDW; // ===
333
334 static const Double_t fgkTransitHVAlThick; // Transition
335 static const Double_t fgkTransitHVPolyThick; // High Voltage
336 static const Double_t fgkTransitHVHeadLX; // cables
337 static const Double_t fgkTransitHVHeadLZ; // (on sensor)
338 static const Double_t fgkTransitHVBondingLZ; // ===
339 static const Double_t fgkTransitHVtailLength; // ===
340 static const Double_t fgkTransitHVtailWidth; // ===
341 static const Double_t fgkTransitHVtailXpos; // ===
342 static const Double_t fgkTransitHVsideLZ; // ===
343 static const Double_t fgkTransitHVsideLeftZ; // ===
344 static const Double_t fgkTransitHVsideRightZ; // ===
345
346 static const Double_t fgkLongHVcablePolyThick; // Long High
347 static const Double_t fgkLongHVcableAlThick; // Voltage
348 static const Double_t fgkLongHVcableSeparation; // cables
349
108bd0fe 350
effd7456 351 static const Double_t fgkRubyDX; // ruby dx with respect to the middle (to ladder z axis)
352 static const Double_t fgkRubyZladd3; // Z of ruby, ladder 3
353 static const Double_t fgkRubyZladd4; // Z of ruby, ladder 4
354
355 static const Double_t fgkLadFootX; // Length of ladder foot
356 static const Double_t fgkLadFootZ; // width
357 static const Double_t fgkLadFootY; // thickness
358 static const Double_t fgkLadFootMiddleY; // thickness in the middle part
359 static const Double_t fgkLadBox1X; // size in X
360 static const Double_t fgkLadFingerPrintX; // size in X
361 static const Double_t fgkLadFingerPrintY ; // size in Y
362 static const Double_t fgkLadFingerPrintBorder; // size in X
363 static const Double_t fgkRubyCageHoleZ; // size in Z
364 static const Double_t fgkRubyCageHoleX; // size in X
365 static const Double_t fgkRubyCageHoleY; // size in Y
366 static const Double_t fgkRubyCageAxisShift; // shift in X
367 static const Double_t fgkScrewM4diam; // M4 screw standard diameter
368 static const Double_t fgkRubyScrewShiftToCenterY; // screw placement
369 static const Double_t fgkRubyHoleDiam; // guess what
108bd0fe 370
371// the end ladder cooling pipe and its heat exchanger
effd7456 372 static const Double_t fgkEndLadPipeUlengthLay3; // length in Z of the U cooling tube
373 static const Double_t fgkEndLadPipeUlengthLay4; // length in Z of the U cooling tube
374 static const Double_t fgkEndLadPipeUwidth; // width
375 static const Double_t fgkEndLadPipeRadius; // radius
376 static const Double_t fgkEndLadPipeInnerDiam; // InnerDiam
377 static const Double_t fgkEndLadPipeOuterDiam; // OuterDiam
378
379 static const Double_t fgkEndLadPipeArmZLay3; // the arms of the U cooling tube
380 static const Double_t fgkEndLadPipeArmZLay4; // (rectangular part surrounding the)
381 static const Double_t fgkEndLadPipeArmX; // the tube
382 static const Double_t fgkEndLadPipeArmY; // X, Y : size in the correxponding axis
383 static const Double_t fgkEndLadPipeArmBoxDY; // shift in Y of the arms from the axis
384 static const Double_t fgkEndLadPipeArmBoxDX; // shift in X of the arms from the axis
385 static const Double_t fgkEndLadPipeArmZpos; // position with respect to tube
108bd0fe 386
387
388 // approx dim for now - all of the following has to be checked
effd7456 389 // once Beppe provide the drawing...
108bd0fe 390
391 // Carlos Card :
effd7456 392 static const Double_t fgkLVcardX; // size of the card itself in X
393 static const Double_t fgkLVcardY; // size of the card itself in Y
394 static const Double_t fgkLVcardZ; // size of the card itself in Z
395 static const Double_t fgkLVcardCuZ; // Cu thickness
396
397 static const Double_t fgkLVChip0X; // chip #0
398 static const Double_t fgkLVChip0Y; // ...
399 static const Double_t fgkLVChip0Z; // thickness without si layer
400 static const Double_t fgkLVChip0SiZ; // Si layer thickness
401 static const Double_t fgkLVChip0PosX; // Position with respect to the card
402 static const Double_t fgkLVChip0PosY; // Position with respect to the card
403
404 static const Double_t fgkLVChip1X; // same
405 static const Double_t fgkLVChip1Y; // conventions
406 static const Double_t fgkLVChip1Z; // as
407 static const Double_t fgkLVChip1SiZ; // chip 0
408 static const Double_t fgkLVChip1PosX; // ==
409 static const Double_t fgkLVChip1PosY; // ==
410
411 static const Double_t fgkLVChip2X; // same
412 static const Double_t fgkLVChip2Y; // conventions
413 static const Double_t fgkLVChip2Z; // as
414 static const Double_t fgkLVChip2SiZ; // chip 0
415 static const Double_t fgkLVChip2PosX; // ==
416 static const Double_t fgkLVChip2PosY; // ==
417
418 static const Double_t fgkLVChip3X; // same
419 static const Double_t fgkLVChip3Y; // conventions
420 static const Double_t fgkLVChip3Z; // as
421 static const Double_t fgkLVChip3SiZ; // chip 0
422 static const Double_t fgkLVChip3PosX; // ==
423 static const Double_t fgkLVChip3PosY; // ==
424
425 static const Double_t fgkLVcoolX1; // pieces of alCu12
426 static const Double_t fgkLVcoolY1; // for heat exchange
427 static const Double_t fgkLVcoolZ1; // with the cooling tube
428
429 static const Double_t fgkLVcoolX2; // X,Y,Z are
430 static const Double_t fgkLVcoolY2; // dimensions
431 static const Double_t fgkLVcoolZ2; // of the pieces
432
433 static const Double_t fgkLVcoolX3; // ==
434 static const Double_t fgkLVcoolY3; // ==
435 static const Double_t fgkLVcoolPosY; // ==
108bd0fe 436
437 // HV card :
effd7456 438 static const Double_t fgkHVCardCeramX; // size in X of the ceramic card
439 static const Double_t fgkHVCardCeramY; // size in Y
440 static const Double_t fgkHVCardCeramZ; // size in Z
441
442 static const Double_t fgkHVCardCapa1X; // size in X of the capa 1
443 static const Double_t fgkHVCardCapa1Z; // size in Z
444 static const Double_t fgkHVCardCapa1Ymid; // size of the middle part
445 static const Double_t fgkHVCardCapa1Yend; // ...
446 static const Double_t fgkHVCardCapa1PosX; // position on the card
447 static const Double_t fgkHVCardCapa1PosY; // position on the card
448
449 static const Double_t fgkHVCardCapa2X; // idem for second type capa
450 static const Double_t fgkHVCardCapa2Z; // love me
451 static const Double_t fgkHVCardCapa2Ymid; // ...
452 static const Double_t fgkHVCardCapa2Yend; // tender,
453 static const Double_t fgkHVCardCapa2PosX; // ...
454 static const Double_t fgkHVCardCapa2PosY; // love me true
455
456 static const Double_t fgkHVCardCapa3Xmid; // idem for third type capa
457 static const Double_t fgkHVCardCapa3Xend; // ===
458 static const Double_t fgkHVCardCapa3Z; // ===
459 static const Double_t fgkHVCardCapa3Y; // ===
460
461 static const Double_t fgkHVCardCapa3PosX1; // this capa is placed
462 static const Double_t fgkHVCardCapa3PosX2; // in several positions
463 static const Double_t fgkHVCardCapa3PosX3; // ...
464 static const Double_t fgkHVCardCapa3PosX4; // ===
465 static const Double_t fgkHVCardCapa3PosX5; // ===
466 static const Double_t fgkHVCardCapa3PosY1; // ===
467 static const Double_t fgkHVCardCapa3PosY2; // ===
468 static const Double_t fgkHVCardCapa3PosY3; // ===
469
470 static const Double_t fgkHVCardCool1X; // cooling
471 static const Double_t fgkHVCardCool1Y; // pieces for
472 static const Double_t fgkHVCardCool1Z; // heat exchange
473 static const Double_t fgkHVCardCool2X; // with
474 static const Double_t fgkHVCardCool2Y; // cooling U tube
475 static const Double_t fgkHVCardCool2Z; // ===
476 static const Double_t fgkHVCardCool3X; // ===
477 static const Double_t fgkHVCardCool3Y; // ===
478 static const Double_t fgkHVCardCool3Z; // ===
479 static const Double_t fgkHVCardCoolDY; // ===
480
73dfc864 481 static const Double_t fgkCarlosSuppX1; // piece with which
effd7456 482 static const Double_t fgkCarlosSuppY1; // the carlos card
483 static const Double_t fgkCarlosSuppX2; // is fixed
484 static const Double_t fgkCarlosSuppY2; // ===
485 static const Double_t fgkCarlosSuppZ; // ===
486 static const Double_t fgkCarlosSuppAngle; // ===
487 static const Double_t fgkCarlosSuppX3; // ===
488 static const Double_t fgkCarlosSuppY3; // ===
489 static const Double_t fgkCarlosSuppZ3; // ===
490 static const Double_t fgkCarlosSuppTopLen; // ===
108bd0fe 491
73dfc864 492 // screws fixing the board on the U tube
493 static const Double_t fgkLittleScrewHeadR; // screws fixing boards
494 static const Double_t fgkLittleScrewHeadH; // Value to be checked
495 static const Double_t fgkLittleScrewR; // ===
496 static const Double_t fgkShiftLittleScrewLV; // ===
497 static const Double_t fgkLittleLVScrewHeadR; // ===
498
499 // CARLOS board
500 static const Double_t fgkCarlosCardX1; // length (first part of Carlos card)
501 static const Double_t fgkCarlosCardY1; // thickness
502 static const Double_t fgkCarlosCardZ1; // width
503 static const Double_t fgkCarlosCardCuY; // thickness of Cu layer (strips)
504 static const Double_t fgkCarlosCardX2; // length (2nd part of Carlos card)
505 static const Double_t fgkCarlosCardZ2; // width
506
507 static const Double_t fgkCarlosCardChipSiThick; // Carlos Chip thicknes - value to be checked
508 static const Double_t fgkCarlosCardShift; // (value to be checked) shift in z w.r.t. heat bridge
509
510 // size and position of various chips on carlos end-ladder board
511 static const Double_t fgkCarlosU1X; // chip size in X
512 static const Double_t fgkCarlosU1Y; // chip size in Y
513 static const Double_t fgkCarlosU1Z; // chip size in Z
514 static const Double_t fgkCarlosU1posX; // position in X
515 static const Double_t fgkCarlosU1posZ; // position in Z
516
517 static const Double_t fgkCarlosU2X; // chip size in X
518 static const Double_t fgkCarlosU2Y; // chip size in Y
519 static const Double_t fgkCarlosU2Z; // chip size in Z
520 static const Double_t fgkCarlosU2posX; // position in X
521 static const Double_t fgkCarlosU2posZ; // position in Z
522
523 static const Double_t fgkCarlosU3X; // same convention
524 static const Double_t fgkCarlosU3Y; // ===
525 static const Double_t fgkCarlosU3Z; // ===
526 static const Double_t fgkCarlosU3posX; // ===
527 static const Double_t fgkCarlosU3posZ; // ===
528
529 // U4 like U3
530 static const Double_t fgkCarlosU4posX; // same convention
531 static const Double_t fgkCarlosU4posZ; // ===
532
533 static const Double_t fgkCarlosU17X; // same convention
534 static const Double_t fgkCarlosU17Y; // ===
535 static const Double_t fgkCarlosU17Z; // ===
536 static const Double_t fgkCarlosU17posX; // ===
537 static const Double_t fgkCarlosU17posZ; // ===
538
539 static const Double_t fgkCarlosU35X; // same convention
540 static const Double_t fgkCarlosU35Y; // ===
541 static const Double_t fgkCarlosU35Z; // ===
542 static const Double_t fgkCarlosU35posX; // ===
543 static const Double_t fgkCarlosU35posZ; // ===
544
545 static const Double_t fgkCarlosU36X; // same convention
546 static const Double_t fgkCarlosU36Y; // ===
547 static const Double_t fgkCarlosU36Z; // ===
548 static const Double_t fgkCarlosU36posX; // ===
549 static const Double_t fgkCarlosU36posZ; // ===
550
551 static const Double_t fgkCarlosQZ1X; // same convention
552 static const Double_t fgkCarlosQZ1Y; // look more thick than design number (0.7) ! to be checked
553 static const Double_t fgkCarlosQZ1Z; // to be checked
554 static const Double_t fgkCarlosQZ1posX; // to be checked
555 static const Double_t fgkCarlosQZ1posZ; // to be checked
556
557 // some pieces at the end of the carbon fiber ladder
558 static const Double_t fgkCoolPipeLay3Len; // value to be checked
559 static const Double_t fgkCoolPipeLay4Len; // ===
560 static const Double_t fgkHVguideX1; // ===
561 static const Double_t fgkHVguideY1; // ===
562 static const Double_t fgkHVguideZ1; // ===
563 static const Double_t fgkHVguideZ2; // ===
564 static const Double_t fgkHVguideDX; // ===
565 static const Double_t fgkHVguideSuppFullZ; // ===
566
567 // Cooling connector between phynox and plastic cooling water tubes
568 static const Double_t fgkConnectorCoolTubeRmin; // internal radius
569 static const Double_t fgkConnectorCoolTubeR1; // value to be checked
570 static const Double_t fgkConnectorCoolTubeL1; // ===
571 static const Double_t fgkConnectorCoolTubeR2; // ===
572 static const Double_t fgkConnectorCoolTubeL2; // ===
573 static const Double_t fgkConnectorCoolTubeR3; // ===
574 static const Double_t fgkConnectorCoolTubeL3; // ===
575
e118532f 576 // parameters for coding SDD cables on SDD and SSD cones
577 static const Double_t fgkSectionCuPerMod; // area of copper per mod.
578 static const Double_t fgkSectionPlastPerMod; // area of plast per mod.
579 static const Double_t fgkSectionGlassPerMod; // area of optical fiber per mod.
580 static const Double_t fgkCableBendRatio; // ??? this factor account for the bending of cables
581
582 static const Double_t fgkConeSDDr1; // define SDD cone slope and pos
583 static const Double_t fgkConeSDDr2; // define SDD cone slope and pos
584 static const Double_t fgkConeSDDz1; // define SDD cone slope and pos
585 static const Double_t fgkConeSDDz2; // define SDD cone slope and pos
586
587 static const Double_t fgkSDDCableR1; // ??? // part 1 of "cable cone"
588 static const Double_t fgkSDDCableR2; // ??? // part 1/2 of "cable cone"
589 static const Double_t fgkSDDCableR3; // ??? // part 2 of "cable cone"
590
591 static const Double_t fgkSDDCableDZint; // length of intermediate cylinder
592 static const Double_t fgkSDDCableR5; // third part of "cable cone"
593 static const Double_t fgkSDDCableZ5; // third part of "cable cone"
594
595
596
73dfc864 597 // distance from the heat bridge center to the card center :
598 static const Double_t fgkCarlosCard2HeatBridge;// distance from the heat bridge center to the card center
599
b7943f00 600 static const Double_t fgkmu; // 1 micron, or more for debugging
601
602 // calculated parameters
603 Double_t fLay3LadderUnderSegDH; // To include HVcables in box
604 Double_t fLay4LadderUnderSegDH; // To include HVcables in box
605 Double_t fLay3LaddShortRadius; // ladder 3 to beam axis radius
606 Double_t fLay3LaddLongRadius; // ladder 3 to beam axis radius
607 Double_t fLay4LaddShortRadius; // ladder 4 to beam axis radius
608 Double_t fLay4LaddLongRadius; // ladder 4 to beam axis radius
609
73dfc864 610 // parameters that can be modified
b7943f00 611 Double_t fLay3sensorZPos[6]; // Z pos of sensors in layer 3
612 Double_t fLay4sensorZPos[8]; // Z pos of sensors in layer 4
db486a6e 613
73dfc864 614 ClassDef(AliITSv11GeometrySDD,0) // ITS v11 SDD geometry
db486a6e 615};
616
617
db486a6e 618#endif