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