Do not use special characters in AliWarning
[u/mrichter/AliRoot.git] / ITS / AliITSv11GeometrySSD.h
CommitLineData
9b0c60ab 1#ifndef ALIITSV11GEOMETRYSSD_H
2#define ALIITSV11GEOMETRYSSD_H
d7599219 3//*************************************************************************
4// class AliITSv11GeometrySSD
5// Enrico Cattaruzza ecattar@ts.infn.it
6//*************************************************************************
9b0c60ab 7/* Copyright(c) 2007-2009, ALICE Experiment at CERN, All rights reserved. *
8 * See cxx source for full Copyright notice */
9/* $Id$ */
d7599219 10class TGeoVolume;
851c0ce3 11class TGeoShape;
d7599219 12class TGeoCombiTrans;
13class TGeoMedium;
14class TGeoCompositeShape;
44285dfa 15class TGeoMatrix;
d7599219 16class TVector3;
17class TGeoArb8;
18class TList;
19class TGeoTube;
20class TGeoHMatrix;
bf210566 21class TGeoTranslation;
22class TGeoXtru;
23class TGeoVolumeAssembly;
9acf2ecc 24#include "AliITSv11Geometry.h"
25class AliITSv11GeometrySSD: public AliITSv11Geometry {
d7599219 26public:
27 AliITSv11GeometrySSD();
44285dfa 28 AliITSv11GeometrySSD(const AliITSv11GeometrySSD &source);
29 AliITSv11GeometrySSD& operator=(const AliITSv11GeometrySSD &source);
d7599219 30 virtual ~AliITSv11GeometrySSD(){};
31 /////////////////////////////////////////////////////////////////////////
32 // Public methods
33 /////////////////////////////////////////////////////////////////////////
47f8de53 34 void CreateMaterials(); // Method setting the materials
9b0c60ab 35 TGeoMedium* GetMedium(const char* mediumName); // It returns the Medium
02d4acf9 36 const char* GetSenstiveVolumeName5() const {return fgSSDsensitiveVolName5;};
bf210566 37 // it returns the Sensitive Volume of Layer 5
02d4acf9 38 const char* GetSenstiveVolumeName6() const {return fgSSDsensitiveVolName6;};
bf210566 39 // it returns the Sensitive Volume of Layer 6
40 TGeoVolumeAssembly* GetLadderSegment(Int_t i){return fladdersegment[i];}; // Get Ladder Segment
41 TGeoVolumeAssembly* GetEndLadderSegment(Int_t i){return fendladdersegment[i];}; // Get End Ladder Segment
42 TGeoVolume* GetLadder(Int_t i) {return fladder[i];}; // Get Ladder
ca86fdb4 43// TGeoVolumeAssembly* GetLadder(Int_t i) {return fladder[i];}; // Get Ladder
e5bf64ae 44 TGeoVolumeAssembly* GetLayer(Int_t i)const {return i==5? fSSDLayer5 : fSSDLayer6;}; // Get Layer
9b0c60ab 45 TGeoVolume** GetEndCapAssembly(); // End Cap Assembly
bf210566 46 void SetLadderSegment(); // Set Ladder Elementary Segment
47 void SetEndLadderSegment(); // Set End Ladder Segment
48 void SetLadder(); // Set Ladder
49 void SetLayer(); // Set Layer
47f8de53 50 void SetSSDCone(); // Set SSD Cone
fcfbdd23 51 TGeoVolume* SetSSDCables(); // Set SSD Cables
bf210566 52 void Layer5(TGeoVolume* moth); // Setting Layer 5 into mother volume
53 void Layer6(TGeoVolume* moth); // Setting Layer 6 into mother volume
9b0c60ab 54 void LadderSupportLayer5(TGeoVolume* moth); // Setting Ladder Support of Layer 5
55 void LadderSupportLayer6(TGeoVolume* moth); // Setting Ladder Support of Layer 6
56 void EndCapSupportSystemLayer5(TGeoVolume* moth); // Setting End Cap Support + End Cap Assembly Layer 5
57 void EndCapSupportSystemLayer6(TGeoVolume* moth); // Setting End Cap Support + End Cap Assembly Layer 6
47f8de53 58 void SSDCone(TGeoVolume* moth); // Setting SSD Cone;
fcfbdd23 59 void SSDCables(TGeoVolume* moth); // Setting SSD Cables;
d7599219 60private:
bf210566 61 /////////////////////////////////////////////////////////////////////////////////
62 // Names of the Sensitive Volumes of Layer 5 and Layer 6
63 /////////////////////////////////////////////////////////////////////////////////
02d4acf9 64 static const char* fgSSDsensitiveVolName5; // sens. vol. name for lay. 5
65 static const char* fgSSDsensitiveVolName6; // sens. vol. name for lay. 6
e21cdd03 66 /////////////////////////////////////////////////////////////////////////////////
67 // Variable for Vertical Disalignement of Modules
68 /////////////////////////////////////////////////////////////////////////////////
69 static const Double_t fgkSSDModuleVerticalDisalignment; // Vertical Disalignement of Volume
ca86fdb4 70 static const Double_t fgkSSDModuleVerticalDisalignment2; // Vertical Disalignement of Volume
71 static const Double_t fgkSSDTolerance; // SSD Tolerance
d7599219 72 /////////////////////////////////////////////////////////////////////////
73 // Layer5 (lengths are in mm and angles in degrees)
74 /////////////////////////////////////////////////////////////////////////
44285dfa 75 static const Double_t fgkSSDLay5LadderLength; // Ladder Layer5 Length
76 static const Int_t fgkSSDLay5SensorsNumber; // Ladder Layer5 Sensor Number
77 static const Int_t fgkSSDLay5LadderNumber; // Ladder Layer5 Number
78 static const Double_t fgkSSDLay5RadiusMin; // Ladder Layer5 Min Radius
79 static const Double_t fgkSSDLay5RadiusMax; // Ladder Layer5 Max Radius
80 static const Double_t fgkLay5CenterITSPosition; // ITS center position respect
81 // to Ladder Layer5
d7599219 82 /////////////////////////////////////////////////////////////////////////
83 // Layer6 (lengths are in mm and angles in degrees)
84 /////////////////////////////////////////////////////////////////////////
44285dfa 85 static const Double_t fgkSSDLay6LadderLength; // Ladder Layer6 Length
86 static const Int_t fgkSSDLay6SensorsNumber; // Ladder Layer6 Sensor Number
87 static const Int_t fgkSSDLay6LadderNumber; // Ladder Layer6 Number
88 static const Double_t fgkSSDLay6RadiusMin; // Ladder Layer6 Min Radius
89 static const Double_t fgkSSDLay6RadiusMax; // Ladder Layer6 Max Radius
90 static const Double_t fgkLay6CenterITSPosition; // ITS center position respect
91 // to Ladder Layer6
d7599219 92 /////////////////////////////////////////////////////////////////////////
93 // SSD Chips and Hybrid
94 /////////////////////////////////////////////////////////////////////////
44285dfa 95 static const Int_t fgkSSDChipNumber; // SSD Module Chip Number
96 static const Double_t fgkSSDChipLength; // SSD Module Chip Length
97 static const Double_t fgkSSDChipWidth; // SSD Module Chip Width
98 static const Double_t fgkSSDChipHeight; // SSD Module Chip Height
99 static const Double_t fgkSSDChipSeparationLength;// SSD Module Distance between Chips
100 static const Double_t fgkSSDChipGlueLength; // SSD Module Chip Glue Layer Length
101 static const Double_t fgkSSDChipGlueWidth; // SSD Module Chip Glue Layer Width
102 static const Double_t fgkSSDChipGlueHeight; // SSD Module Chip Glue Layer Height
44285dfa 103 /////////////////////////////////////////////////////////////////////////
104 // Stiffener Components
105 /////////////////////////////////////////////////////////////////////////
106 static const Double_t fgkSSDStiffenerLength; // SSD Module Stiffener Length
107 static const Double_t fgkSSDStiffenerWidth; // SSD Module Stiffener Width
108 static const Double_t fgkSSDStiffenerHeight; // SSD Module Stiffener Height
109 static const Double_t fgkSSDStiffenerToChipDist; // SSD Module Stiffener position respect
110 // to sensor Edge
111 static const Double_t fgkSSDCapacitor0603Length; // SSD Stiffener Capacitor 0603 Length
112 static const Double_t fgkSSDCapacitor0603Width; // SSD Stiffener Capacitor 0603 Width
113 static const Double_t fgkSSDCapacitor0603Height; // SSD Stiffener Capacitor 0603 Height
114 static const Double_t fgkSSDCapacitor1812Length; // SSD Stiffener Capacitor 1812 Length
115 static const Double_t fgkSSDCapacitor1812Width; // SSD Stiffener Capacitor 1812 Width
116 static const Double_t fgkSSDCapacitor1812Height; // SSD Stiffener Capacitor 1812 Height
117 static const Double_t fgkSSDWireLength; // SSD Stiffener Wire Length
118 static const Double_t fgkSSDWireRadius; // SSD Stiffener Wire Radius
119 static const Double_t fgkSSDConnectorPosition[2];// SSD Connector Position respect to Stiffener
120 static const Double_t fgkSSDConnectorSeparation; // SSD Connector separation distance
121 static const Double_t fgkSSDConnectorLength; // SSD Stiffener Connector Length
122 static const Double_t fgkSSDConnectorWidth; // SSD Stiffener Connector Width
123 static const Double_t fgkSSDConnectorHeight; // SSD Stiffener Connector Height
bf210566 124 static const Double_t fgkSSDConnectorAlHeight; // SSD Stiffener Connector Al Height
125 static const Double_t fgkSSDConnectorNiHeight; // SSD Stiffener Connector Ni Height
d7599219 126 /////////////////////////////////////////////////////////////////////////
127 // Flex
128 /////////////////////////////////////////////////////////////////////////
44285dfa 129 static const Double_t fgkSSDFlexFullLength; // SSD Flex Full Length
130 static const Double_t fgkSSDFlexLength[4]; // SSD Flex Components Length
131 static const Double_t fgkSSDFlexWidth[2]; // SSD Flex Components Width
132 static const Double_t fgkSSDFlexHeight[2]; // SSD Flex Layers Heigth
133 static const Double_t fgkSSDFlexAngle; // SSD Flex Angle
134 static const Double_t fgkSSDFlexHoleLength; // SSD Flex Hole Length
135 static const Double_t fgkSSDFlexHoleWidth; // SSD Flex Hole Width
136 static const Double_t fgkSSDEndFlexCompLength[6];// SSD End-Flex Components Length
137 static const Double_t fgkSSDEndFlexCompWidth[3]; // SSD End-Flex Components Width
d7599219 138 /////////////////////////////////////////////////////////////////////////////////
139 // SSD Ladder Cable
140 /////////////////////////////////////////////////////////////////////////////////
44285dfa 141 static const Double_t fgkSSDLadderCableWidth; // SSD Ladder Cable Width
44285dfa 142 /////////////////////////////////////////////////////////////////////////
143 // SSD Module Components
144 /////////////////////////////////////////////////////////////////////////
145 static const Double_t fgkSSDModuleStiffenerPosition[2]; // SSD Module Stiffener position
146 // respect to Sensor Edge
147 static const Double_t fgkSSDModuleSensorSupportDistance;// SSD Module Sensor Support Position
148 // respect to Sensor Edge
149 static const Double_t fgkSSDModuleCoolingBlockToSensor; // SSD Cooling Block Position
150 // respect to sensor
d7599219 151 /////////////////////////////////////////////////////////////////////////
152 // Chip Cables
153 /////////////////////////////////////////////////////////////////////////
44285dfa 154 static const Double_t fgkSSDChipCablesLength[2]; // SSD Chip Cables Components Length
155 static const Double_t fgkSSDChipCablesHeight[4]; // SSD Chip Cables Components Height
156 static const Double_t fgkSSDChipCablesWidth[3]; // SSD Chip Cables Components Width
d7599219 157 /////////////////////////////////////////////////////////////////////////
158 // Cooling Block
159 /////////////////////////////////////////////////////////////////////////
44285dfa 160 static const Double_t fgkSSDCoolingBlockLength; // SSD Cooling Block Length
161 static const Double_t fgkSSDCoolingBlockWidth; // SSD Cooling Block Width
162 static const Double_t fgkSSDCoolingBlockHeight[3]; // SSD Cooling Block Heiht
163 static const Double_t fgkSSDCoolingBlockHoleRadius[2];// SSD Cooling Block Hole Radius
164 static const Double_t fgkSSDCoolingBlockHoleLength[2];// SSD Cooling Block Hole Length
165 static const Double_t fgkSSDCoolingBlockHoleCenter; // SSD Cooling Block Hole Ceneter Position
166 static const Double_t fgkSSDCoolingBlockHoleHeight; // SSD Cooling Block Hole Height
d7599219 167 /////////////////////////////////////////////////////////////////////////
168 // SSD Sensor
169 /////////////////////////////////////////////////////////////////////////
44285dfa 170 static const char* fgkSSDSensitiveVolName; // SSD Name of the Sensitive Part of the Sensor
171 static const Double_t fgkSSDSensorLength; // SSD Sensor Length
172 static const Double_t fgkSSDSensorHeight; // SSD Sensor Height
173 static const Double_t fgkSSDSensorWidth; // SSD Sensor Width
174 static const Double_t fgkSSDSensorOverlap; // SSD Sensor Beam Axis Overlap
175 static const Double_t fgkSSDSensorInsensitiveLength; // SSD Insensitive Part Length
176 static const Double_t fgkSSDSensorInsensitiveWidth; // SSD Insensitive Part Width
d7599219 177 /////////////////////////////////////////////////////////////////////////
178 // SSD Sensor Support
179 /////////////////////////////////////////////////////////////////////////
44285dfa 180 static const Double_t fgkSSDSensorSideSupportLength; // SSD Side Sensor Support Length
181 static const Double_t fgkSSDSensorSideSupportWidth; // SSD Side Sensor Support Width
182 static const Double_t fgkSSDSensorSideSupportHeight[2]; // SSD Side Sensor Support Height
183 static const Double_t fgkSSDSensorSideSupportThickness[2]; // SSD Side Sensor Support Thickness
184 static const Double_t fgkSSDSensorSideSupportPosition; // SSD Side Sensor Support Position
185 static const Double_t fgkSSDSensorCenterSupportLength; // SSD Center Sensor Support Length
186 static const Double_t fgkSSDSensorCenterSupportWidth; // SSD Center Sensor Support Width
187 static const Double_t fgkSSDSensorCenterSupportHeight[2]; // SSD Center Sensor Support Height
188 static const Double_t fgkSSDSensorCenterSupportThickness[2];// SSD Center Sensor Support Thickness
189 static const Double_t fgkSSDSensorCenterSupportPosition; // SSD Center Sensor Support Position
190 static const Int_t fgkSSDSensorSupportCombiTransNumber = 3; // Number of TGeoCombiTrans
191 // for positioning volumes in Sensor Support Assembly
d7599219 192 /////////////////////////////////////////////////////////////////////////
193 //Parameters for Carbon Fiber
194 /////////////////////////////////////////////////////////////////////////
44285dfa 195 static const Double_t fgkCarbonFiberTriangleLength; // Carbon Fiber Triangle Length
196 static const Double_t fgkCarbonFiberTriangleAngle; // Carbon Fiber Triangle Angle
197 static const Double_t fgkCarbonFiberSupportTopEdgeDist[2]; // Carbon Fiber Support Top Edge Components
198 static const Double_t fgkCarbonFiberSupportEdgeLength; // Carbon Fiber Support Edge Lenght
199 static const Double_t fgkCarbonFiberSupportWidth; // Carbon Fiber Support Edge Width
200 static const Double_t fgkCarbonFiberSupportXAxisLength; // Carbon Fiber Support X Axis Lenght
201 static const Double_t fgkCarbonFiberSupportYAxisLength; // Carbon Fiber Support Y Axis Lenght
202 static const Int_t fgkCarbonFiberAssemblyCombiTransNumber = 3; // Number of TGeoCombiTrans
203 // for positioning volumes in Carbon Fiber Assembly
d7599219 204 //////////////////////////////////////////////////////////////////////////////
205 // Carbon Fiber Junction Parameters
206 //////////////////////////////////////////////////////////////////////////////
44285dfa 207 static const Double_t fgkCarbonFiberJunctionLength; // Carbon Fiber Junction Length
208 static const Double_t fgkCarbonFiberJunctionWidth; // Carbon Fiber Junction Width
209 static const Double_t fgkCarbonFiberJunctionEdge[2]; // Carbon Fiber Junction Edge Length
210 static const Double_t fgkCarbonFiberJunctionAngle[2]; // Carbon Fiber Junction Angle
211 static const Double_t fgkCarbonFiberJunctionToSensorSupport; // Carbon Fiber Junction position respect to sensor
d7599219 212 /////////////////////////////////////////////////////////////////////////
213 //Parameters for Carbon Fiber Lower Support (lengths are in mm)
214 /////////////////////////////////////////////////////////////////////////
44285dfa 215 static const Double_t fgkCarbonFiberLowerSupportWidth; // Lower Support of Carbon Fiber Width
216 static const Double_t fgkCarbonFiberLowerSupportLowerLenght; // Lower Support of Carbon Fiber Length
217 static const Double_t fgkCarbonFiberLowerSupportHeight; // Lower Support of Carbon Fiber Height
218 static const Double_t fgkCarbonFiberLowerSupportTransverseWidth; // Lower Support of Carbon Fiber Transverse separation
219 static const Double_t fgkCarbonFiberLowerSupportVolumeSeparation; // Distance between Lower Supports of Carbon Fiber
220 static const Double_t fgkCarbonFiberLowerSupportVolumePosition[2];// Carbon fiber lower Support Position
221 /////////////////////////////////////////////////////////////////////////
222 // End Ladder Carbon Fiber Lower Junction Parameters (lengths are in mm and angles in degrees)
223 /////////////////////////////////////////////////////////////////////////
224 static const Double_t fgkEndLadderCarbonFiberLowerJunctionLength[2]; // End Ladder Carbon Fiber Lower Up Support length
225 static const Double_t fgkEndLadderCarbonFiberUpperJunctionLength[2]; // End Ladder Carbon Fiber Lower Down Support length
226 static const Double_t fgkEndLadderMountingBlockPosition[2]; // End Ladder Mounting Block Position
9b0c60ab 227 static const Double_t fgkendladdercoolingsupportdistance[3]; // End Ladder Cooling Support Position
d7599219 228 /////////////////////////////////////////////////////////////////////////
229 // Cooling Tube Support (lengths are in mm and angles in degrees)
230 /////////////////////////////////////////////////////////////////////////
44285dfa 231 static const Double_t fgkCoolingTubeSupportRmax; // Cooling Tube Support Max Radius
232 static const Double_t fgkCoolingTubeSupportRmin; // Cooling Tube Support Min Radius
233 static const Double_t fgkCoolingTubeSupportLength; // Cooling Tube Support Length
234 static const Double_t fgkCoolingTubeSupportHeight; // Cooling Tube Support Height
235 static const Double_t fgkCoolingTubeSupportWidth; // Cooling Tube Support Width
236 static const Double_t fgkCoolingTubeSupportSeparation; // Cooling Tube Support Separation
237 static const Double_t fgkCoolingTubeSupportToCarbonFiber; // Cooling Tube Support position respect to Carbon Fiber
d7599219 238 /////////////////////////////////////////////////////////////////////////////////
239 // Cooling Tube (lengths are in mm and angles in degrees)
240 /////////////////////////////////////////////////////////////////////////////////
44285dfa 241 static const Double_t fgkCoolingTubeRmax; // Cooling Tube Max Radius
242 static const Double_t fgkCoolingTubeRmin; // Cooling Tube Min Radius
243 static const Double_t fgkCoolingTubeLength; // Cooling Tube Length
244 static const Double_t fgkCoolingTubeSeparation; // Cooling Tube Separation
9b0c60ab 245 static const Double_t fgkMountingBlockToSensorSupport; // Distance between Mounting block and Side Sensor Support
d7599219 246 /////////////////////////////////////////////////////////////////////////
247 // SSD Mounting Block Parameters (lengths are in mm and angles in degrees)
248 /////////////////////////////////////////////////////////////////////////
44285dfa 249 static const Double_t fgkSSDMountingBlockLength[3]; // SSD Mounting Block Components Lengths
250 static const Double_t fgkSSDMountingBlockHeight[4]; // SSD Mounting Block Components Heights
251 static const Double_t fgkSSDMountingBlockWidth; // SSD Mounting Block Width
252 static const Double_t fgkSSDMountingBlockHoleTrapezoidAngle; // SSD Mounting Block Hole Trapezoid Angle
253 static const Double_t fgkSSDMountingBlockHoleTrapezoidHeight; // SSD Mounting Block Hole Trapezoid Height
254 static const Double_t fgkSSDMountingBlockHoleTrapezoidUpBasis;// SSD Mounting Block Hole Trapezoid Up Basis Length
255 static const Double_t fgkSSDMountingBlockHoleTubeLength[2]; // SSD Mounting Block Hole Tube Lengths
256 static const Double_t fgkSSDMountingBlockHoleTubeWidth[2]; // SSD Mounting Block Hole Tube Width
257 static const Double_t fgkSSDMountingBlockHoleRadius; // SSD Mounting Block Hole radius
258 static const Double_t fgkSSDMountingBlockScrewHoleEdge; // SSD Mounting Block Screw Hole Edge
259 static const Double_t fgkSSDMountingBlockScrewHoleHeigth; // SSD Mounting Block Screw Hole Height
260 static const Double_t fgkSSDMountingBlockScrewHoleRadius[2]; // SSD Mounting Block Screw Hole Radii
d7599219 261 /////////////////////////////////////////////////////////////////////////
9b0c60ab 262 // SSD Mounting Block Clip Parameters (lengths are in mm and angles in degrees)
263 /////////////////////////////////////////////////////////////////////////
264 static const Double_t fgkMountingBlockClipLength; // SSD Mounting Block Clip Length
265 static const Double_t fgkMountingBlockClipThickness; // SSD Mounting Block Clip Thickness
266 static const Double_t fgkMountingBlockClibScrewRadius; // SSD Mounting Block Clip Radius
267 static const Double_t fgkMountingBlockClibScrewPosition; // SSD Mounting Block Clip Screw Position
268 static const Double_t fgkMountingBlockClibWidth; // SSD Mounting Block Clip
269 /////////////////////////////////////////////////////////////////////////////////
270 // SSD Mounting Block Support Parameters (lengths are in mm and angles in degrees)
271 /////////////////////////////////////////////////////////////////////////////////
272 static const Double_t fgkMountingBlockSupportWidth[2]; // SSD Mounting Block Support Width
273 static const Double_t fgkMountingBlockSupportDownHeight; // SSD Mounting Block Support Down Heigth
274 static const Double_t fgkMountingBlockSupportRadius[2]; // SSD Mounting Block Support Radius
275 static const Double_t fgkMountingBlockSupportUpHeight[2]; // SSD Mounting Block Support Heigth
276 static const Double_t fgkLadderSupportHeigth; // SSD Ladder Support Width
277 static const Double_t fgkLadderSupportRingLay5Position; // SSD Ladder Support Ring Position Layer5 respect to ITS center
278 static const Double_t fgkLadderSupportRingLay6Position; // SSD Ladder Support Ring Position Layer6 respect to ITS center
279 /////////////////////////////////////////////////////////////////////////////////
280 // SSD End Cap Cover Plate Parameters (lengths are in mm and angles in degrees)
281 /////////////////////////////////////////////////////////////////////////////////
282 static const Double_t fgkEndCapCoverPlateSmallHoleRadius; // End Cap Cover Plate Hole Small Radious
283 static const Double_t fgkEndCapCoverPlateBigHoleRadius; // End Cap Cover Plate Hole Big Radious
284 static const Double_t fgkEndCapCoverPlateThickness; // End Cap Cover Plate Thickness
285 static const Double_t fgkEndCapCoverPlateSmallHoleSeparation[3]; // End Cap Cover Plate Hole Separation
286 static const Double_t fgkEndCapCoverPlateLength[6]; // End Cap Cover Plate Length
287 static const Double_t fgkEndCapCoverPlateWidth[3]; // End Cap Cover Plate Width
288 static const Double_t fgkEndCapCoverPlateScrewRadiusMin; // End Cap Cover Plate Screw Radius Min
289 static const Double_t fgkEndCapCoverPlateScrewRadiusMax; // End Cap Cover Plate Screw Radius Max
290 static const Double_t fgkEndCapCoverPlateClipLength; // End Cap Cover Plate Clip Length
291 static const Double_t fgkEndCapCoverPlateClipWidth; // End Cap Cover Plate Clip Width
292 static const Double_t fgkEndCapCoverPlateDownClipLength; // End Cap Cover Plate Down Clip Length
293 static const Double_t fgkEndCapCoverPlateDownClipWidth; // End Cap Cover Plate Down Clip Width
294 /////////////////////////////////////////////////////////////////////////////////
295 // SSD End Cap Cooling Tube Parameters (lengths are in mm and angles in degrees)
296 /////////////////////////////////////////////////////////////////////////////////
297 static const Double_t fgkEndCapCoolingTubeAxialRadius[2]; // End Cap Cooling Tube Axial Radius
298 static const Double_t fgkEndCapCoolingTubeRadiusMin; // End Cap Cooling Tube Min Radius
299 static const Double_t fgkEndCapCoolingTubeRadiusMax; // End Cap Cooling Tube Max Radius
300 static const Double_t fgkEndCapCoolingTubeAngle[5]; // End Cap Cooling Tube Angle
301 static const Double_t fgkEndCapCoolingTubeLength[5]; // End Cap Cooling Tube Length
302 static const Double_t fgkEndCapCoolingTubeToCoverSide; // End Cap Cooling Tube Position respect to CoverSide
303 /////////////////////////////////////////////////////////////////////////////////
304 // SSD End Cap Cover Side Parameters (lengths are in mm and angles in degrees)
305 /////////////////////////////////////////////////////////////////////////////////
306 static const Double_t fgkEndCapSideCoverLength[5]; // End Cap Cover Side Length
307 static const Double_t fgkEndCapSideCoverWidth[7]; // End Cap Cover Side Width
308 static const Double_t fgkEndCapSideCoverThickness; // End Cap Cover Side Thickness
309 /////////////////////////////////////////////////////////////////////////////////
310 // SSD End Cap Cards Parameters (lengths are in mm and angles in degrees)
311 /////////////////////////////////////////////////////////////////////////////////
312 static const Double_t fgkEndCapCardElectBoardBackLength[3]; // End Cap Card Electronic Board Back Length
313 static const Double_t fgkEndCapCardElectBoardBackWidth[2]; // End Cap Card Electronic Board Back Width
314 static const Double_t fgkEndCapCardElectBoardBackThickness; // End Cap Card Electronic Board Back Thickness
315 static const Double_t fgkEndCapCardElectBoardLength; // End Cap Card Electronic Board Length
316 static const Double_t fgkEndCapCardElectBoardLayerWidth[2]; // End Cap Card Electronic Board Layer Width
317 static const Double_t fgkEndCapCardElectBoardLayerThickness;// End Cap Card Electronic Board Layer Thickness
318 static const Double_t fgkEndCapCardJMDConnectorThickness; // End Cap Card JMD Connector Thickness
319 static const Double_t fgkEndCapCardJMDConnectorLength[2]; // End Cap Card JMD Connector Length
320 static const Double_t fgkEndCapCardJMDConnectorWidth[2]; // End Cap Card JMD Connector Width
321 static const Double_t fgkEndCapCardJMDConnectorToLayer; // End Cap Card JMD Connector to Layer Distance
322 static const Double_t fgkEndCapCardCableConnectorLength[3]; // End Cap Card Cable Connector Length
323 static const Double_t fgkEndCapCardCableConnectorWidth[2]; // End Cap Card Cable Connector Width
324 static const Double_t fgkEndCapCardCableConnectorThickness; // End Cap Card Cable Connector Thickness
325 static const Double_t fgkEndCapCardCableConnectorDistance; // End Cap Card Cable Connector Distance
326 static const Double_t fgkEndCapCardCableConnectorToLayer; // End Cap Card Cable Connector To Layer Distance
327 static const Double_t fgkEndCapStripConnectionLength; // End Cap Strip Connection Length
328 static const Double_t fgkEndCapStripConnectionThickness; // End Cap Strip Connection Thickness
329 static const Double_t fgkEndCapStripConnectionWidth; // End Cap Strip Connection Width
330 static const Double_t fgkEndCapInterfaceCardBLength[7]; // End Cap Interface CardB Length
331 static const Double_t fgkEndCapInterfaceCardBWidth[5]; // End Cap Interface CardB Width
332 static const Double_t fgkEndCapInterfaceCardBThickness; // End Cap Interface CardB Thickness
333 static const Double_t fgkEndCapInterfaceElectBoardCardBThickness; // End Cap Interface Elect Board CardB Thickness
334 static const Double_t fgkEndCapInterfaceCardBJMDConnectorSeparation; // End Cap Interface CardB JMD Connector Separation
335 static const Double_t fgkEndCapStiffenerLength; // End Cap Stiffener Length
336 static const Double_t fgkEndCapStiffenerWidth; // End Cap Stiffener Width
337 static const Double_t fgkEndCapStiffenerThickness; // End Cap Stiffener Thickness
338 static const Double_t fgkEndCapEffectiveCableRadiusMin; // End Cap Effective Cable Radius Min
339 static const Double_t fgkEndCapEffectiveCableRadiusMax; // End Cap Effective Cable Radius Max
340 /////////////////////////////////////////////////////////////////////////////////
341 // SSD End Cap SupportLayer5/6 Side Parameters (lengths are in mm and angles in degrees)
342 /////////////////////////////////////////////////////////////////////////////////
343 static const Double_t fgkEndCapLay5SupportLength; // End Cap Layer5 Support Length
344 static const Double_t fgkEndCapLay5SupportMiddleRadius; // End Cap Layer5 Support Middle Radius
345 static const Double_t fgkEndCapLay5SupportLowRadius; // End Cap Layer5 Support Low Radius
346 static const Double_t fgkEndCapLay5SupportHighWidth; // End Cap Layer5 High Radius
347 static const Double_t fgkEndCapLay5SupportLowWidth; // End Cap Layer5 Low Width
348 static const Double_t fgkEndCapSupportLength[2]; // End Cap Layer5/6 Support Length
349 static const Double_t fgkEndCapSupportMiddleRadius[2]; // End Cap Layer5/6 Support Middle Radius
350 static const Double_t fgkEndCapSupportLowRadius[2]; // End Cap Layer5/6 Support Low Radius
351 static const Double_t fgkEndCapSupportHighWidth; // End Cap Layer5/6 High Radius
352 static const Double_t fgkEndCapSupportLowWidth[2]; // End Cap Layer5/6 Low Width
353 static const Double_t fgkEndCapSupportCenterLay5ITSPosition; // End Cap Support Center ITS Position Layer 5
354 static const Double_t fgkEndCapSupportCenterLay5Position; // End Cap Support Position Respect Z Axis Origin Layer 5
355 static const Double_t fgkEndCapSupportCenterLay6ITSPosition; // End Cap Support Center ITS Position Layer 6
356 static const Double_t fgkEndCapSupportCenterLay6Position; // End Cap Support Position Respect Z Axis Origin Layer 6
357 /////////////////////////////////////////////////////////////////////////////////
358 // SSD End Cap Kapton Foil Parameters (lengths are in mm and angles in degrees)
359 ////////////////////////////////////////////////////////////////////////////////
360 static const Double_t fgkEndCapKaptonFoilThickness; // End Cap Kapton Foil Thickness
361 static const Double_t fgkEndCapKaptonFoilLength; // End Cap Kapton Foil Length
362 static const Double_t fgkEndCapKaptonFoilWidth ; // End Cap Kapton Foil Width
363 /////////////////////////////////////////////////////////////////////////
47f8de53 364 // SSD Cone
365 /////////////////////////////////////////////////////////////////////////
366 static const Double_t fgkSSDLowerPConeRadius; // SSD Cone Lower Radius
367 static const Double_t fgkSSDPConeAngle; // SSD Cone Angle
368 static const Double_t fgkSSDPConeZLength[2]; // SSD Cone ZLength
369 static const Double_t fgkSSDPConeLittleHoleRadius; // SSD Cone Little Hole Radius
370 static const Double_t fgkSSDPConeLittleHoleLength; // SSD Cone Little Hole Length
371 static const Double_t fgkSSDConeMiddleRadius; // SSD Cone Middle Radius
372 static const Double_t fgkSSDPConeMiddleLength; // SSD Cone Middle Length
373 static const Double_t fgkSSDPConeMiddleWidth; // SSD Cone Middle Width
374 static const Double_t fgkSSDPConeUpRadius; // SSD Cone Up Radius
375 static const Double_t fgkSSDPConeUpMaxRadius; // SSD Cone Up Max Radius
376 static const Double_t fgkSSDPConeUpMiddleRadius; // SSD Cone Up Middle Radius
377 static const Double_t fgkSSDPConeDownRadius; // SSD Cone Down Radius
378 static const Double_t fgkSSDPConeTrapezoidAngle; // SSD Cone Trapezoid Angle
379 static const Double_t fgkSSDPConeTrapezoidBasis; // SSD Cone Trapezoid Basis
380 static const Double_t fgkSSDPConeExternalRadius; // SSD Cone External Radius
381 static const Double_t fgkSSDPConeRadiusWidth; // SSD Cone Radius Width
382 static const Double_t fgkSSDPConeLength; // SSD Cone Length
383 static const Double_t fgkSSDCentralSupportLength; //SSD Central Support Length
384 static const Double_t fgkSSDCentralSupportRadius; // SSD Central Support Radius
385 static const Double_t fgkSSDCentralSupportWidth; // SSD Central Support Width
386 static const Double_t fgkSSDCentralAL3SupportLength; // SSD Central Support Length
387 static const Double_t fgkSSDCentralAL3SupportWidth; // SSD Central Support Width
388 /////////////////////////////////////////////////////////////////////////
389 // SSD Cables e Patch Panel
390 /////////////////////////////////////////////////////////////////////////
391 static const Double_t fgkSSDCablesLay5TubeRadiusMin; // Radius Min Cable Tube Layer 5
392 static const Double_t fgkSSDCablesLay6TubeRadiusMin; // Radius Min Cable Tube Layer 6
393 static const Double_t fgkSSDCablesLay5RightSideHeight; // Width Lay 5 Cables to be fixed in order to reproduce material budget
394 static const Double_t fgkSSDCablesLay6RightSideHeight; // // Width Lay 5 Cables to be fixed in order to reproduce material budget
395 static const Double_t fgkSSDCableAngle; // Angle Cable
396 static const Double_t fgkSSDCablesLay5RightSideWaterHeight; // Width Lay 5 Water Cables to be fixed in order to reproduce material budget
397 static const Double_t fgkSSDCablesPatchPanel2RB26Angle[2]; // Angle Position Patch Panel RB26
398 static const Double_t fgkSSDCablesPatchPanel2RB24Angle[2]; // Angle Position Patch Panel RB24
399 static const Double_t fgkSSDPatchPanel2RB26ITSDistance; // Patch Panel RB26 Position
400 static const Double_t fgkSSDPatchPanel2RB24ITSDistance; // Patch Panel RB24 Position
401 static const Double_t fgkSSDPatchPanel2RB26Radius; // Patch Panel Radius
402 static const Double_t fgkSSDPatchPanel2RB24Radius; // Patch Panel Radius
403 static const Double_t fgkSSDPatchPanelHeigth; // Patch Panel Height
404 static const Double_t fgkSSDCableMaterialBudgetHeight; // SSD Cable Material Budget
405 /////////////////////////////////////////////////////////////////////////
bf210566 406 // Private methods for private members generation
407 /////////////////////////////////////////////////////////////////////////
47f8de53 408
bf210566 409 void CreateTransformationMatrices(); // Method setting the transformation matrices
410 void CreateBasicObjects(); // Method creating the basic objects of ssd geometry
411 void SetSSDSensor(); // Method setting the SSD Layer 5 and 6 sensors
412 TList* GetCarbonFiberSupportList(); // Method generating CarbonFiberSupport
413 TGeoVolume* GetCarbonFiberJunction(Double_t width); // Method generating
414 // CarbonFiberJunction
415 TList* GetCarbonFiberLowerSupportList();
416 // Method generating CarbonFiberLowerSupport
417 TGeoVolume* GetSSDSensorSupport(Double_t length, Double_t height,
418 Double_t width, Double_t* thickness) const; //
419 // Method generating SSDSensorSupport
420 TGeoVolume* GetCoolingTubeSupport(Int_t nedges); // Method generating CoolingTubeSupport
421 TList* GetSSDHybridParts(); // Method setting Hybrid Components
422 TGeoVolume* GetCoolingBlockSystem(); // Method generating Cooling Block System
423 TGeoVolume* GetSSDStiffenerFlex()const; // Method generating StiffenerFlex
424 TGeoVolume* GetSSDEndFlex(); // Method generating EndFlex
425 TGeoVolume* GetSSDMountingBlock(); // Method generating Mounting Block
9b0c60ab 426 TGeoVolume* GetMountingBlockClip() const; // Method generating Mounting Block Clip
bf210566 427 TList* GetCoolingTubeList()const; // Method generating list of Tubes
428 TGeoVolume* GetSSDCoolingBlock(Int_t nedges);
429 // Method generating StiffenerFlex
430 TGeoVolume* GetSSDChipCables(Double_t SSDChipCablesHeigth, Int_t nedges);
431 // Method setting ChipCables
432 TList* GetSSDChipSystem(); // Method setting Chip System
433 TGeoVolume* GetSSDChips() const; // Method generating Chips
434 TList* GetLadderCableSegment(Double_t ssdendladdercablelength);
435 // Method generating LadderCableSegment
436 TGeoVolume* GetLadderCable(Int_t n, Double_t ssdendladdercablelength);
437 // Method generating Ladder Cable
438 TGeoVolume* GetLadderCableAssembly(Int_t n, Double_t ssdendladdercablelength);
439 // Method generating Ladder Cable Assembly
440 TList* GetLadderCableAssemblyList(Int_t n, Double_t ssdendladdercablelength);
441 // Method generating Ladder Cable List
9b0c60ab 442 TList* GetMountingBlockSupport(Int_t nedges); // Get Mounting Block Support
443 void SetLadderSupport(Int_t nedges); // It generates the ladder support
444 TGeoVolume* GetEndCapCoolingTube(); // End Cap Cooling Tube
445 TGeoVolume* GetEndCapCoverPlate(); // End Cap Cover Plate
446 TGeoVolume* GetEndCapSideCover() const; // End Cap Side Cover
447 TGeoVolume** GetEndCapCards() const; // End Cap Cards
448 TGeoVolume** EndCapSupport(); // End Cap Support Layer 5 and Layer 6
449 void SetEndCapSupportAssembly(); // EndCap Support + End Cap Layer 5 and 6
450 TGeoVolume* GetEndCapEffectiveCables(Double_t radiusmin, Double_t radiusmax,
451 Double_t width,Int_t ncables,char* volname); // End Cap Effective HV Cables
bf210566 452 TGeoXtru* GetArcShape(Double_t phi, Double_t rmin,
453 Double_t rmax, Int_t nedges, Double_t height);
454 //Auxiliary Method for Arc Shape
455 TGeoArb8* GetArbShape(TVector3* vertexpos[],Double_t* width,
456 Double_t height,char* shapename,Int_t isign = 1) const;
457 // Method generating an Arb shape
851c0ce3 458 TGeoShape* GetScrewShape(Double_t* radius,Int_t* edgesnumber,Double_t* section) const;// Method Generating the Screw Shape
459 TGeoShape* GetHoleShape(Double_t radius, Int_t nedges, Double_t *section) const;// Method Generating the Hole Shape
bf210566 460 TVector3* GetReflection(TVector3* vector,Double_t* param) const;
461 // Given an axis specified by param,
462 // it gives the reflection of the point respect to the axis
463 TGeoHMatrix* AddTranslationToHMatrix(TGeoHMatrix* ct,Double_t dx,Double_t dy,
464 Double_t dz) const;
465 // add (dx,dy,dz) translation to a initial TGeoCombiTrans
d7599219 466 /////////////////////////////////////////////////////////////////////////
bf210566 467 // Private members
44285dfa 468 /////////////////////////////////////////////////////////////////////////
bf210566 469 // Materials
44285dfa 470 /////////////////////////////////////////////////////////////////////////
bf210566 471 TGeoMedium* fSSDChipMedium; // SSD Module Chip Medium
472 TGeoMedium* fSSDChipGlueMedium; // SSD Module Chip Glue Layer Medium
473 TGeoMedium* fSSDStiffenerMedium; // SSDStiffener Medium
474 TGeoMedium* fSSDStiffenerConnectorMedium; // SSD Stiffener Connector Medium
475 TGeoMedium* fSSDStiffener0603CapacitorMedium; // SSD Stiffener Capacitor 0603 Medium
476 TGeoMedium* fSSDStiffener1812CapacitorMedium; // SSD Stiffener Capacitor 1812 Medium
477 TGeoMedium* fSSDStiffenerHybridWireMedium; // SSD Stiffener Wire Medium
478 TGeoMedium* fSSDKaptonFlexMedium; // SSD Flex Kapton Layer Medium
479 TGeoMedium* fSSDAlTraceFlexMedium; // SSD Flex Al Layer Medium
480 TGeoMedium* fSSDAlTraceLadderCableMedium; // SSD Ladder Cable Al Layer Medium
481 TGeoMedium* fSSDKaptonLadderCableMedium; // SSD Ladder Cable Kapton Layer Medium
482 TGeoMedium* fSSDKaptonChipCableMedium; // SSD Chip Cables Kapton Layer Medium
483 TGeoMedium* fSSDAlTraceChipCableMedium; // SSD Chip Cables Al Layer Medium
484 TGeoMedium* fSSDAlCoolBlockMedium; // SSD Cooling Block Al Medium
485 TGeoMedium* fSSDSensorMedium; // SSD Sensor Medium
486 TGeoMedium* fSSDSensorSupportMedium; // SSD Sensor Support Medium
487 TGeoMedium* fSSDCarbonFiberMedium; // SSD Carbon Fiber Medium
488 TGeoMedium* fSSDTubeHolderMedium; // Cooling Tube Support Medium
489 TGeoMedium* fSSDCoolingTubeWater; // Medium for Inner Part of Cooling Tube
490 TGeoMedium* fSSDCoolingTubePhynox; // Medium for Cooling Tube
9b0c60ab 491 TGeoMedium* fSSDSupportRingAl; // Medium for Support Ring
bf210566 492 TGeoMedium* fSSDMountingBlockMedium; // Medium for SSD Mounting Block
47f8de53 493 TGeoMedium* fSSDRohaCellCone; // Medium for SSD Ring Cone Support
bf210566 494 TGeoMedium* fSSDAir; // SSD Air
47f8de53 495 TGeoMedium* fSSDCopper; // Copper for SSD Cables
bf210566 496 /////////////////////////////////////////////////////////////////////////
497 Bool_t fCreateMaterials; // Bool variable which verifies if materials have been created
498 Bool_t fTransformationMatrices; // Bool variable which verifies if matrices have been allocated
499 Bool_t fBasicObjects; // Bool variable which verifies if basic objects have been allocated
500 /////////////////////////////////////////////////////////////////////////
501 // Carbon Fiber Support Matrices and Objects
502 ////////////////////////////////////////////
503 static const Int_t fgkcarbonfibersupportnumber = 2; // Support Number
504 TGeoVolume* fcarbonfibersupport[fgkcarbonfibersupportnumber]; // Support
505 TGeoHMatrix* fcarbonfibersupportmatrix[fgkcarbonfibersupportnumber]; // Support Matrix
506 /////////////////////////
507 // Carbon Fiber Junction
508 ////////////////////////
509 static const Int_t fgkcarbonfiberjunctionumber = 3; // Carbon Fiber Number
510 TGeoVolume* fcarbonfiberjunction; // Carbon Fiber
511 TGeoHMatrix* fcarbonfiberjunctionmatrix[fgkcarbonfiberjunctionumber]; // Carbon Fiber Matrix
512 /////////////////////////////
513 // Carbon Fiber Lower Support
514 /////////////////////////////
515 static const Int_t fgkcarbonfiberlowersupportnumber = 2; // Carbon Fiber Lower Support Number
516 TGeoVolume* fcarbonfiberlowersupport[fgkcarbonfiberlowersupportnumber]; // Carbon Fiber Lower Support
517 TGeoTranslation* fcarbonfiberlowersupportrans[fgkcarbonfiberlowersupportnumber];// Carbon Fiber Lower Support Translation
518 /////////////////////////////
519 // SSD Sensor Support
520 /////////////////////////////
521 static const Int_t fgkvolumekind = 2; // volumekind = 0 : side ssd support
522 // volumekind = 1 : central ssd support
523 static const Int_t fgkssdsensorsupportnumber = 3; // SSD Sensor Support Number
524 TGeoVolume** fssdsensorsupport[fgkvolumekind]; // SSD Sensor
525 TGeoHMatrix* fssdsensorsupportmatrix[fgkssdsensorsupportnumber]; // SSD Sensor Matrix
526 /////////////////////////////////////////////////////////////
527 // SSD Cooling Tube Support
528 /////////////////////////////////////////////////////////////
529 static const Int_t fgkcoolingtubesupportnumber = 2; // Cooling Tube Support Number
530 TGeoVolume* fcoolingtubesupport; // Cooling Tube Support
531 TGeoHMatrix* fcoolingtubesupportmatrix[fgkcoolingtubesupportnumber]; // Cooling Tube Support Matrix
532 /////////////////////////////////////////////////////////////
533 // SSD Hybrid
534 /////////////////////////////////////////////////////////////
535 static const Int_t fgkhybridcompnumber = 3; // Hybrid number
536 TGeoVolume* fssdhybridcomponent[fgkhybridcompnumber]; // Hybrid Components
537 TGeoHMatrix* fhybridmatrix; // Hybrid Matrix
538 /////////////////////////////////////////////////////////////
539 // SSD Cooling Block System
540 /////////////////////////////////////////////////////////////
541 static const Int_t fgkcoolingblocknumber = 4; // Cooling Block Number
542 TGeoVolume* fssdcoolingblocksystem; // Cooling Block
543 TGeoHMatrix* fcoolingblocksystematrix; // Cooling Block Matrix
544 TGeoHMatrix* fcoolingblockmatrix[fgkcoolingblocknumber]; // Cooling System Matrix
545 /////////////////////////////////////////////////////////////
546 // SSD Flex
547 /////////////////////////////////////////////////////////////
548 static const Int_t fgkflexnumber = 2; // Flex Number
549 TGeoVolume* fssdstiffenerflex; // Stiffener Flex
550 TGeoVolume* fssdendflex; // End flex
551 TGeoHMatrix* fstiffenerflexmatrix[fgkflexnumber]; // Stiffener Flex Matrix
552 TGeoHMatrix* fendflexmatrix[fgkflexnumber]; // End Flex Matrix
553 /////////////////////////////////////////
554 // Cooling Tube
555 /////////////////////////////////////////
556 static const Int_t fgkcoolingtubenumber = 3; // Coling Tube Number
557 TGeoHMatrix** fcoolingtubematrix[fgkcoolingtubenumber+1]; // Cooling Tube Matrix
9b0c60ab 558 TGeoVolume* fcoolingtube[fgkcoolingtubenumber]; // Ladder Cooling Tube
559 static const Int_t fgkendladdercoolingtubenumber = 5; // End Ladder Cooling Tube Number
560 TGeoVolume* fendladdercoolingtube[fgkendladdercoolingtubenumber]; // End Ladder Cooling Tube
561 TGeoHMatrix** fendladdercoolingtubematrix[2]; //End ladder cooling tube matrix
bf210566 562 /////////////////////////////////////////
563 // End Ladder Components
564 /////////////////////////////////////////
565 TGeoVolumeAssembly* fendladdersegment[2]; // End Ladder Segment
566 TGeoHMatrix** fendladdersegmentmatrix[2]; // End Ladder Matrix
9b0c60ab 567 /////////////////////////////////////////////////////////////
568 // End Ladder SSD Cooling Tube Support
569 /////////////////////////////////////////////////////////////
570 TGeoHMatrix*** fendladdercoolingtubesupportmatrix; //End ladder cooling tube support matrix
bf210566 571 ///////////////////////////////////
572 // End Ladder Carbon Fiber Junction
573 ///////////////////////////////////
574 static const Int_t fgkendlabbercarbonfiberjunctionumber = 2; // End Ladder Carbon fiber Junction Number
575 TGeoVolume** fendladdercarbonfiberjunction[fgkendlabbercarbonfiberjunctionumber]; // End Ladder Carbon fiber Junction Volumes
576 static const Int_t fgkendladdercabonfiberjunctionmatrixnumber = 3; // End Ladder Carbon fiber Junction Matrix Number
577 TGeoHMatrix** fendladdercarbonfiberjunctionmatrix[fgkendlabbercarbonfiberjunctionumber]; // End Ladder Carbon fiber Junction Matrix
578 ///////////////////////////////////
579 // End Ladder Carbon Fiber Support
580 ///////////////////////////////////
581 static const Int_t fgkendladdercarbonfibermatrixnumber = 2; // End Ladder Carbon fiber Matrix Number
582 TGeoHMatrix** fendladdercarbonfibermatrix[fgkendladdercarbonfibermatrixnumber]; // End Ladder Carbon fiber Matrix
583 ///////////////////////////////////
584 // End Ladder SSD Mounting Block
585 ///////////////////////////////////
586 static const Int_t fgkendladdermountingblocknumber = 2; // Mounting Block Number
587 TGeoVolume* fendladdermountingblock; // Mounting Block
9b0c60ab 588 TGeoVolume* fendladdermountingblockclip; // Mounting Block Clip
589 TGeoCombiTrans* fendladdermountingblockcombitrans[fgkendladdermountingblocknumber]; // End Ladder Mounting Block CombiTrans
590 TGeoHMatrix** fendladdermountingblockclipmatrix[fgkendladdermountingblocknumber]; // End Ladder Mounting Block Clip HMatrix
bf210566 591 ///////////////////////////////////
592 // End Ladder Lower Support
593 ///////////////////////////////////
594 static const Int_t fgkendladderlowersuppnumber = 2; // End Ladder Lower Support Number
595 TGeoTranslation* fendladderlowersupptrans[fgkendladderlowersuppnumber+1]; // End Ladder Lower Support Translations
d7599219 596 /////////////////////////////////////////////////////////////////////////
597 // LadderCables
598 /////////////////////////////////////////////////////////////////////////
bf210566 599 static const Int_t fgkladdercablematrixnumber = 4; // Number of TGeoCombiTrans
600 // for positioning Ladder Cable volumes
601 static const Int_t fgkladdercablesnumber = 2; // Number of Ladder Cables Layers
602 TGeoHMatrix **fladdercablematrix[fgkladdercablesnumber]; // TGeoCombiTrans for positioning
603 // Ladder Cables volumes
604 ///////////////////////////////////
605 // Ladder Segment
606 ///////////////////////////////////
607 static const Int_t fgkladdersegmentnumber = 2; // Ladder Segment Kinds Number
608 TGeoVolumeAssembly* fladdersegment[fgkladdersegmentnumber]; // Ladder Segment
609 ///////////////////////////////////
610 // Ladder
611 ///////////////////////////////////
612 static const Int_t fgkladdernumber = 2; // Ladder Number
613 TGeoVolume* fladder[fgkladdernumber]; //fladder[0]: ladder of Layer 5
614 //fladder[1]: ladder of Layer 6
ca86fdb4 615// TGeoVolumeAssembly* fladder[fgkladdernumber];
bf210566 616 TGeoHMatrix** fladdermatrix[fgkladdernumber]; // Ladder Matrix
617 ///////////////////////////////////
618 // SSD Sensor
619 ///////////////////////////////////
620 TGeoVolume* fSSDSensor5; // Layer 5 SSD Sensor
621 TGeoVolume* fSSDSensor6; // Layer 6 SSD Sensor
622 TGeoHMatrix** fssdsensormatrix[fgkladdernumber]; // SSD Sensor Matrix
623 ///////////////////////////////////
624 // SSD Layer
625 ///////////////////////////////////
626 static const Int_t fgklayernumber = 2; // Layer Number
e5bf64ae 627 TGeoVolumeAssembly* fSSDLayer5; // SSD Layer 5
628 TGeoVolumeAssembly* fSSDLayer6; // SSD Layer 6
bf210566 629 TGeoHMatrix** flayermatrix[fgklayernumber]; // Layer Transformations
d7599219 630 /////////////////////////////////////////////////////////////////////////
631 // Mother Volume
632 /////////////////////////////////////////////////////////////////////////
44285dfa 633 TGeoVolume *fMotherVol; // Mother volume for ITS Layer5 and Layer6
634 TGeoVolume* GetMotherVolume() const { return fMotherVol;}; // Method returning Mother Volume
d7599219 635 /////////////////////////////////////////////////////////////////////////
9b0c60ab 636 // Ladder Support
637 /////////////////////////////////////////////////////////////////////////
638 TGeoVolume* fLay5LadderSupport[2]; // Up and Down parts of Layer5 Ladder Support
639 TGeoVolume* fLay6LadderSupport[2]; // Up and Down parts of Layer6 Ladder Support
640 TGeoVolumeAssembly* fLay5LadderSupportRing; // Layer5 Ladder Support Ring
641 TGeoVolumeAssembly* fLay6LadderSupportRing; // Layer6 Ladder Support Ring
642 /////////////////////////////////////////////////////////////////////////
643 // End Cap Support + End Cap Assembly
644 /////////////////////////////////////////////////////////////////////////
e5bf64ae 645 TGeoVolume** fgkEndCapSupportSystem; // End Cap Support + End Cap Assembly
9b0c60ab 646 /////////////////////////////////////////////////////////////////////////
47f8de53 647 // SSD Cone
648 /////////////////////////////////////////////////////////////////////////
649 TGeoVolumeAssembly* fSSDCone; // SSD Cone
650 /////////////////////////////////////////////////////////////////////////
d7599219 651 // Color Display
652 /////////////////////////////////////////////////////////////////////////
44285dfa 653 Int_t fColorCarbonFiber; // display colors
654 Int_t fColorRyton; // ===
655 Int_t fColorPhynox; // ===
656 Int_t fColorSilicon; // ===
657 Int_t fColorAl; // ===
658 Int_t fColorKapton; // ===
659 Int_t fColorPolyhamide; // ===
660 Int_t fColorStiffener; // ===
661 Int_t fColorEpoxy; // ===
bf210566 662 Int_t fColorWater; // ===
663 Int_t fColorG10; // ===
9b0c60ab 664ClassDef(AliITSv11GeometrySSD, 3) // ITS v11 SSD geometry
d7599219 665};
666#endif