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