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