]> git.uio.no Git - u/mrichter/AliRoot.git/blame - ITS/AliITSv11GeometrySSD.h
Add protection on time stamp in macro to monitor SDD calibration
[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;
3cf6a656 22class TGeoRotation;
bf210566 23class TGeoXtru;
24class TGeoVolumeAssembly;
9acf2ecc 25#include "AliITSv11Geometry.h"
26class AliITSv11GeometrySSD: public AliITSv11Geometry {
d7599219 27public:
28 AliITSv11GeometrySSD();
44285dfa 29 AliITSv11GeometrySSD(const AliITSv11GeometrySSD &source);
30 AliITSv11GeometrySSD& operator=(const AliITSv11GeometrySSD &source);
d7599219 31 virtual ~AliITSv11GeometrySSD(){};
32 /////////////////////////////////////////////////////////////////////////
33 // Public methods
34 /////////////////////////////////////////////////////////////////////////
47f8de53 35 void CreateMaterials(); // Method setting the materials
9b0c60ab 36 TGeoMedium* GetMedium(const char* mediumName); // It returns the Medium
02d4acf9 37 const char* GetSenstiveVolumeName5() const {return fgSSDsensitiveVolName5;};
bf210566 38 // it returns the Sensitive Volume of Layer 5
02d4acf9 39 const char* GetSenstiveVolumeName6() const {return fgSSDsensitiveVolName6;};
bf210566 40 // it returns the Sensitive Volume of Layer 6
41 TGeoVolumeAssembly* GetLadderSegment(Int_t i){return fladdersegment[i];}; // Get Ladder Segment
42 TGeoVolumeAssembly* GetEndLadderSegment(Int_t i){return fendladdersegment[i];}; // Get End Ladder Segment
43 TGeoVolume* GetLadder(Int_t i) {return fladder[i];}; // Get Ladder
ca86fdb4 44// TGeoVolumeAssembly* GetLadder(Int_t i) {return fladder[i];}; // Get Ladder
e5bf64ae 45 TGeoVolumeAssembly* GetLayer(Int_t i)const {return i==5? fSSDLayer5 : fSSDLayer6;}; // Get Layer
9b0c60ab 46 TGeoVolume** GetEndCapAssembly(); // End Cap Assembly
bf210566 47 void SetLadderSegment(); // Set Ladder Elementary Segment
48 void SetEndLadderSegment(); // Set End Ladder Segment
49 void SetLadder(); // Set Ladder
50 void SetLayer(); // Set Layer
47f8de53 51 void SetSSDCone(); // Set SSD Cone
fcfbdd23 52 TGeoVolume* SetSSDCables(); // Set SSD Cables
bf210566 53 void Layer5(TGeoVolume* moth); // Setting Layer 5 into mother volume
54 void Layer6(TGeoVolume* moth); // Setting Layer 6 into mother volume
9b0c60ab 55 void LadderSupportLayer5(TGeoVolume* moth); // Setting Ladder Support of Layer 5
56 void LadderSupportLayer6(TGeoVolume* moth); // Setting Ladder Support of Layer 6
57 void EndCapSupportSystemLayer5(TGeoVolume* moth); // Setting End Cap Support + End Cap Assembly Layer 5
58 void EndCapSupportSystemLayer6(TGeoVolume* moth); // Setting End Cap Support + End Cap Assembly Layer 6
47f8de53 59 void SSDCone(TGeoVolume* moth); // Setting SSD Cone;
fcfbdd23 60 void SSDCables(TGeoVolume* moth); // Setting SSD Cables;
d7599219 61private:
bf210566 62 /////////////////////////////////////////////////////////////////////////////////
63 // Names of the Sensitive Volumes of Layer 5 and Layer 6
64 /////////////////////////////////////////////////////////////////////////////////
02d4acf9 65 static const char* fgSSDsensitiveVolName5; // sens. vol. name for lay. 5
66 static const char* fgSSDsensitiveVolName6; // sens. vol. name for lay. 6
e21cdd03 67 /////////////////////////////////////////////////////////////////////////////////
68 // Variable for Vertical Disalignement of Modules
69 /////////////////////////////////////////////////////////////////////////////////
70 static const Double_t fgkSSDModuleVerticalDisalignment; // Vertical Disalignement of Volume
0fb26117 71 static const Double_t fgkSSDModuleSideDisalignment; // Vertical Disalignement of Volume
160835d5 72 static const Double_t fgkSSDLadderVerticalDisalignment; // Extra space at ladder support for disalignment
ca86fdb4 73 static const Double_t fgkSSDTolerance; // SSD Tolerance
d7599219 74 /////////////////////////////////////////////////////////////////////////
75 // Layer5 (lengths are in mm and angles in degrees)
76 /////////////////////////////////////////////////////////////////////////
44285dfa 77 static const Double_t fgkSSDLay5LadderLength; // Ladder Layer5 Length
78 static const Int_t fgkSSDLay5SensorsNumber; // Ladder Layer5 Sensor Number
79 static const Int_t fgkSSDLay5LadderNumber; // Ladder Layer5 Number
80 static const Double_t fgkSSDLay5RadiusMin; // Ladder Layer5 Min Radius
81 static const Double_t fgkSSDLay5RadiusMax; // Ladder Layer5 Max Radius
82 static const Double_t fgkLay5CenterITSPosition; // ITS center position respect
83 // to Ladder Layer5
d7599219 84 /////////////////////////////////////////////////////////////////////////
85 // Layer6 (lengths are in mm and angles in degrees)
86 /////////////////////////////////////////////////////////////////////////
44285dfa 87 static const Double_t fgkSSDLay6LadderLength; // Ladder Layer6 Length
88 static const Int_t fgkSSDLay6SensorsNumber; // Ladder Layer6 Sensor Number
89 static const Int_t fgkSSDLay6LadderNumber; // Ladder Layer6 Number
90 static const Double_t fgkSSDLay6RadiusMin; // Ladder Layer6 Min Radius
91 static const Double_t fgkSSDLay6RadiusMax; // Ladder Layer6 Max Radius
92 static const Double_t fgkLay6CenterITSPosition; // ITS center position respect
93 // to Ladder Layer6
d7599219 94 /////////////////////////////////////////////////////////////////////////
95 // SSD Chips and Hybrid
96 /////////////////////////////////////////////////////////////////////////
44285dfa 97 static const Int_t fgkSSDChipNumber; // SSD Module Chip Number
98 static const Double_t fgkSSDChipLength; // SSD Module Chip Length
99 static const Double_t fgkSSDChipWidth; // SSD Module Chip Width
100 static const Double_t fgkSSDChipHeight; // SSD Module Chip Height
101 static const Double_t fgkSSDChipSeparationLength;// SSD Module Distance between Chips
102 static const Double_t fgkSSDChipGlueLength; // SSD Module Chip Glue Layer Length
103 static const Double_t fgkSSDChipGlueWidth; // SSD Module Chip Glue Layer Width
104 static const Double_t fgkSSDChipGlueHeight; // SSD Module Chip Glue Layer Height
44285dfa 105 /////////////////////////////////////////////////////////////////////////
106 // Stiffener Components
107 /////////////////////////////////////////////////////////////////////////
108 static const Double_t fgkSSDStiffenerLength; // SSD Module Stiffener Length
109 static const Double_t fgkSSDStiffenerWidth; // SSD Module Stiffener Width
110 static const Double_t fgkSSDStiffenerHeight; // SSD Module Stiffener Height
111 static const Double_t fgkSSDStiffenerToChipDist; // SSD Module Stiffener position respect
112 // to sensor Edge
113 static const Double_t fgkSSDCapacitor0603Length; // SSD Stiffener Capacitor 0603 Length
114 static const Double_t fgkSSDCapacitor0603Width; // SSD Stiffener Capacitor 0603 Width
115 static const Double_t fgkSSDCapacitor0603Height; // SSD Stiffener Capacitor 0603 Height
116 static const Double_t fgkSSDCapacitor1812Length; // SSD Stiffener Capacitor 1812 Length
117 static const Double_t fgkSSDCapacitor1812Width; // SSD Stiffener Capacitor 1812 Width
118 static const Double_t fgkSSDCapacitor1812Height; // SSD Stiffener Capacitor 1812 Height
119 static const Double_t fgkSSDWireLength; // SSD Stiffener Wire Length
120 static const Double_t fgkSSDWireRadius; // SSD Stiffener Wire Radius
121 static const Double_t fgkSSDConnectorPosition[2];// SSD Connector Position respect to Stiffener
122 static const Double_t fgkSSDConnectorSeparation; // SSD Connector separation distance
123 static const Double_t fgkSSDConnectorLength; // SSD Stiffener Connector Length
124 static const Double_t fgkSSDConnectorWidth; // SSD Stiffener Connector Width
125 static const Double_t fgkSSDConnectorHeight; // SSD Stiffener Connector Height
bf210566 126 static const Double_t fgkSSDConnectorAlHeight; // SSD Stiffener Connector Al Height
127 static const Double_t fgkSSDConnectorNiHeight; // SSD Stiffener Connector Ni Height
d7599219 128 /////////////////////////////////////////////////////////////////////////
129 // Flex
130 /////////////////////////////////////////////////////////////////////////
44285dfa 131 static const Double_t fgkSSDFlexFullLength; // SSD Flex Full Length
132 static const Double_t fgkSSDFlexLength[4]; // SSD Flex Components Length
133 static const Double_t fgkSSDFlexWidth[2]; // SSD Flex Components Width
cd2243fb 134 static const Double_t fgkSSDFlexHeight[2]; // SSD Flex Layers Height
44285dfa 135 static const Double_t fgkSSDFlexAngle; // SSD Flex Angle
136 static const Double_t fgkSSDFlexHoleLength; // SSD Flex Hole Length
137 static const Double_t fgkSSDFlexHoleWidth; // SSD Flex Hole Width
138 static const Double_t fgkSSDEndFlexCompLength[6];// SSD End-Flex Components Length
139 static const Double_t fgkSSDEndFlexCompWidth[3]; // SSD End-Flex Components Width
d7599219 140 /////////////////////////////////////////////////////////////////////////////////
141 // SSD Ladder Cable
142 /////////////////////////////////////////////////////////////////////////////////
44285dfa 143 static const Double_t fgkSSDLadderCableWidth; // SSD Ladder Cable Width
44285dfa 144 /////////////////////////////////////////////////////////////////////////
145 // SSD Module Components
146 /////////////////////////////////////////////////////////////////////////
147 static const Double_t fgkSSDModuleStiffenerPosition[2]; // SSD Module Stiffener position
148 // respect to Sensor Edge
149 static const Double_t fgkSSDModuleSensorSupportDistance;// SSD Module Sensor Support Position
150 // respect to Sensor Edge
151 static const Double_t fgkSSDModuleCoolingBlockToSensor; // SSD Cooling Block Position
152 // respect to sensor
d7599219 153 /////////////////////////////////////////////////////////////////////////
154 // Chip Cables
155 /////////////////////////////////////////////////////////////////////////
44285dfa 156 static const Double_t fgkSSDChipCablesLength[2]; // SSD Chip Cables Components Length
157 static const Double_t fgkSSDChipCablesHeight[4]; // SSD Chip Cables Components Height
158 static const Double_t fgkSSDChipCablesWidth[3]; // SSD Chip Cables Components Width
d7599219 159 /////////////////////////////////////////////////////////////////////////
160 // Cooling Block
161 /////////////////////////////////////////////////////////////////////////
44285dfa 162 static const Double_t fgkSSDCoolingBlockLength; // SSD Cooling Block Length
163 static const Double_t fgkSSDCoolingBlockWidth; // SSD Cooling Block Width
164 static const Double_t fgkSSDCoolingBlockHeight[3]; // SSD Cooling Block Heiht
165 static const Double_t fgkSSDCoolingBlockHoleRadius[2];// SSD Cooling Block Hole Radius
166 static const Double_t fgkSSDCoolingBlockHoleLength[2];// SSD Cooling Block Hole Length
167 static const Double_t fgkSSDCoolingBlockHoleCenter; // SSD Cooling Block Hole Ceneter Position
168 static const Double_t fgkSSDCoolingBlockHoleHeight; // SSD Cooling Block Hole Height
d7599219 169 /////////////////////////////////////////////////////////////////////////
170 // SSD Sensor
171 /////////////////////////////////////////////////////////////////////////
44285dfa 172 static const char* fgkSSDSensitiveVolName; // SSD Name of the Sensitive Part of the Sensor
173 static const Double_t fgkSSDSensorLength; // SSD Sensor Length
174 static const Double_t fgkSSDSensorHeight; // SSD Sensor Height
175 static const Double_t fgkSSDSensorWidth; // SSD Sensor Width
176 static const Double_t fgkSSDSensorOverlap; // SSD Sensor Beam Axis Overlap
177 static const Double_t fgkSSDSensorInsensitiveLength; // SSD Insensitive Part Length
178 static const Double_t fgkSSDSensorInsensitiveWidth; // SSD Insensitive Part Width
d7599219 179 /////////////////////////////////////////////////////////////////////////
180 // SSD Sensor Support
181 /////////////////////////////////////////////////////////////////////////
44285dfa 182 static const Double_t fgkSSDSensorSideSupportLength; // SSD Side Sensor Support Length
183 static const Double_t fgkSSDSensorSideSupportWidth; // SSD Side Sensor Support Width
184 static const Double_t fgkSSDSensorSideSupportHeight[2]; // SSD Side Sensor Support Height
185 static const Double_t fgkSSDSensorSideSupportThickness[2]; // SSD Side Sensor Support Thickness
186 static const Double_t fgkSSDSensorSideSupportPosition; // SSD Side Sensor Support Position
187 static const Double_t fgkSSDSensorCenterSupportLength; // SSD Center Sensor Support Length
188 static const Double_t fgkSSDSensorCenterSupportWidth; // SSD Center Sensor Support Width
189 static const Double_t fgkSSDSensorCenterSupportHeight[2]; // SSD Center Sensor Support Height
190 static const Double_t fgkSSDSensorCenterSupportThickness[2];// SSD Center Sensor Support Thickness
191 static const Double_t fgkSSDSensorCenterSupportPosition; // SSD Center Sensor Support Position
192 static const Int_t fgkSSDSensorSupportCombiTransNumber = 3; // Number of TGeoCombiTrans
193 // for positioning volumes in Sensor Support Assembly
d7599219 194 /////////////////////////////////////////////////////////////////////////
195 //Parameters for Carbon Fiber
196 /////////////////////////////////////////////////////////////////////////
44285dfa 197 static const Double_t fgkCarbonFiberTriangleLength; // Carbon Fiber Triangle Length
198 static const Double_t fgkCarbonFiberTriangleAngle; // Carbon Fiber Triangle Angle
199 static const Double_t fgkCarbonFiberSupportTopEdgeDist[2]; // Carbon Fiber Support Top Edge Components
200 static const Double_t fgkCarbonFiberSupportEdgeLength; // Carbon Fiber Support Edge Lenght
201 static const Double_t fgkCarbonFiberSupportWidth; // Carbon Fiber Support Edge Width
202 static const Double_t fgkCarbonFiberSupportXAxisLength; // Carbon Fiber Support X Axis Lenght
203 static const Double_t fgkCarbonFiberSupportYAxisLength; // Carbon Fiber Support Y Axis Lenght
204 static const Int_t fgkCarbonFiberAssemblyCombiTransNumber = 3; // Number of TGeoCombiTrans
205 // for positioning volumes in Carbon Fiber Assembly
d7599219 206 //////////////////////////////////////////////////////////////////////////////
207 // Carbon Fiber Junction Parameters
208 //////////////////////////////////////////////////////////////////////////////
44285dfa 209 static const Double_t fgkCarbonFiberJunctionLength; // Carbon Fiber Junction Length
210 static const Double_t fgkCarbonFiberJunctionWidth; // Carbon Fiber Junction Width
211 static const Double_t fgkCarbonFiberJunctionEdge[2]; // Carbon Fiber Junction Edge Length
212 static const Double_t fgkCarbonFiberJunctionAngle[2]; // Carbon Fiber Junction Angle
213 static const Double_t fgkCarbonFiberJunctionToSensorSupport; // Carbon Fiber Junction position respect to sensor
d7599219 214 /////////////////////////////////////////////////////////////////////////
215 //Parameters for Carbon Fiber Lower Support (lengths are in mm)
216 /////////////////////////////////////////////////////////////////////////
c40ebacc 217 static const Double_t fgkLowerSupportToSensorZ; // Distance from lower support to sensor center
44285dfa 218 static const Double_t fgkCarbonFiberLowerSupportWidth; // Lower Support of Carbon Fiber Width
219 static const Double_t fgkCarbonFiberLowerSupportLowerLenght; // Lower Support of Carbon Fiber Length
220 static const Double_t fgkCarbonFiberLowerSupportHeight; // Lower Support of Carbon Fiber Height
221 static const Double_t fgkCarbonFiberLowerSupportTransverseWidth; // Lower Support of Carbon Fiber Transverse separation
222 static const Double_t fgkCarbonFiberLowerSupportVolumeSeparation; // Distance between Lower Supports of Carbon Fiber
223 static const Double_t fgkCarbonFiberLowerSupportVolumePosition[2];// Carbon fiber lower Support Position
224 /////////////////////////////////////////////////////////////////////////
225 // End Ladder Carbon Fiber Lower Junction Parameters (lengths are in mm and angles in degrees)
226 /////////////////////////////////////////////////////////////////////////
227 static const Double_t fgkEndLadderCarbonFiberLowerJunctionLength[2]; // End Ladder Carbon Fiber Lower Up Support length
228 static const Double_t fgkEndLadderCarbonFiberUpperJunctionLength[2]; // End Ladder Carbon Fiber Lower Down Support length
229 static const Double_t fgkEndLadderMountingBlockPosition[2]; // End Ladder Mounting Block Position
9b0c60ab 230 static const Double_t fgkendladdercoolingsupportdistance[3]; // End Ladder Cooling Support Position
d7599219 231 /////////////////////////////////////////////////////////////////////////
232 // Cooling Tube Support (lengths are in mm and angles in degrees)
233 /////////////////////////////////////////////////////////////////////////
44285dfa 234 static const Double_t fgkCoolingTubeSupportRmax; // Cooling Tube Support Max Radius
235 static const Double_t fgkCoolingTubeSupportRmin; // Cooling Tube Support Min Radius
236 static const Double_t fgkCoolingTubeSupportLength; // Cooling Tube Support Length
237 static const Double_t fgkCoolingTubeSupportHeight; // Cooling Tube Support Height
238 static const Double_t fgkCoolingTubeSupportWidth; // Cooling Tube Support Width
239 static const Double_t fgkCoolingTubeSupportSeparation; // Cooling Tube Support Separation
240 static const Double_t fgkCoolingTubeSupportToCarbonFiber; // Cooling Tube Support position respect to Carbon Fiber
d7599219 241 /////////////////////////////////////////////////////////////////////////////////
242 // Cooling Tube (lengths are in mm and angles in degrees)
243 /////////////////////////////////////////////////////////////////////////////////
44285dfa 244 static const Double_t fgkCoolingTubeRmax; // Cooling Tube Max Radius
245 static const Double_t fgkCoolingTubeRmin; // Cooling Tube Min Radius
246 static const Double_t fgkCoolingTubeLength; // Cooling Tube Length
247 static const Double_t fgkCoolingTubeSeparation; // Cooling Tube Separation
9b0c60ab 248 static const Double_t fgkMountingBlockToSensorSupport; // Distance between Mounting block and Side Sensor Support
d7599219 249 /////////////////////////////////////////////////////////////////////////
250 // SSD Mounting Block Parameters (lengths are in mm and angles in degrees)
251 /////////////////////////////////////////////////////////////////////////
44285dfa 252 static const Double_t fgkSSDMountingBlockLength[3]; // SSD Mounting Block Components Lengths
253 static const Double_t fgkSSDMountingBlockHeight[4]; // SSD Mounting Block Components Heights
254 static const Double_t fgkSSDMountingBlockWidth; // SSD Mounting Block Width
255 static const Double_t fgkSSDMountingBlockHoleTrapezoidAngle; // SSD Mounting Block Hole Trapezoid Angle
256 static const Double_t fgkSSDMountingBlockHoleTrapezoidHeight; // SSD Mounting Block Hole Trapezoid Height
257 static const Double_t fgkSSDMountingBlockHoleTrapezoidUpBasis;// SSD Mounting Block Hole Trapezoid Up Basis Length
258 static const Double_t fgkSSDMountingBlockHoleTubeLength[2]; // SSD Mounting Block Hole Tube Lengths
259 static const Double_t fgkSSDMountingBlockHoleTubeWidth[2]; // SSD Mounting Block Hole Tube Width
260 static const Double_t fgkSSDMountingBlockHoleRadius; // SSD Mounting Block Hole radius
261 static const Double_t fgkSSDMountingBlockScrewHoleEdge; // SSD Mounting Block Screw Hole Edge
cd2243fb 262 static const Double_t fgkSSDMountingBlockScrewHoleHeight; // SSD Mounting Block Screw Hole Height
44285dfa 263 static const Double_t fgkSSDMountingBlockScrewHoleRadius[2]; // SSD Mounting Block Screw Hole Radii
d7599219 264 /////////////////////////////////////////////////////////////////////////
9b0c60ab 265 // SSD Mounting Block Clip Parameters (lengths are in mm and angles in degrees)
266 /////////////////////////////////////////////////////////////////////////
267 static const Double_t fgkMountingBlockClipLength; // SSD Mounting Block Clip Length
268 static const Double_t fgkMountingBlockClipThickness; // SSD Mounting Block Clip Thickness
269 static const Double_t fgkMountingBlockClibScrewRadius; // SSD Mounting Block Clip Radius
270 static const Double_t fgkMountingBlockClibScrewPosition; // SSD Mounting Block Clip Screw Position
271 static const Double_t fgkMountingBlockClibWidth; // SSD Mounting Block Clip
272 /////////////////////////////////////////////////////////////////////////////////
273 // SSD Mounting Block Support Parameters (lengths are in mm and angles in degrees)
274 /////////////////////////////////////////////////////////////////////////////////
275 static const Double_t fgkMountingBlockSupportWidth[2]; // SSD Mounting Block Support Width
cd2243fb 276 static const Double_t fgkMountingBlockSupportDownHeight; // SSD Mounting Block Support Down Height
9b0c60ab 277 static const Double_t fgkMountingBlockSupportRadius[2]; // SSD Mounting Block Support Radius
cd2243fb 278 static const Double_t fgkMountingBlockSupportUpHeight[2]; // SSD Mounting Block Support Height
279 static const Double_t fgkLadderSupportHeight; // SSD Ladder Support Width
9b0c60ab 280 static const Double_t fgkLadderSupportRingLay5Position; // SSD Ladder Support Ring Position Layer5 respect to ITS center
281 static const Double_t fgkLadderSupportRingLay6Position; // SSD Ladder Support Ring Position Layer6 respect to ITS center
282 /////////////////////////////////////////////////////////////////////////////////
283 // SSD End Cap Cover Plate Parameters (lengths are in mm and angles in degrees)
284 /////////////////////////////////////////////////////////////////////////////////
285 static const Double_t fgkEndCapCoverPlateSmallHoleRadius; // End Cap Cover Plate Hole Small Radious
286 static const Double_t fgkEndCapCoverPlateBigHoleRadius; // End Cap Cover Plate Hole Big Radious
287 static const Double_t fgkEndCapCoverPlateThickness; // End Cap Cover Plate Thickness
288 static const Double_t fgkEndCapCoverPlateSmallHoleSeparation[3]; // End Cap Cover Plate Hole Separation
289 static const Double_t fgkEndCapCoverPlateLength[6]; // End Cap Cover Plate Length
290 static const Double_t fgkEndCapCoverPlateWidth[3]; // End Cap Cover Plate Width
291 static const Double_t fgkEndCapCoverPlateScrewRadiusMin; // End Cap Cover Plate Screw Radius Min
292 static const Double_t fgkEndCapCoverPlateScrewRadiusMax; // End Cap Cover Plate Screw Radius Max
293 static const Double_t fgkEndCapCoverPlateClipLength; // End Cap Cover Plate Clip Length
294 static const Double_t fgkEndCapCoverPlateClipWidth; // End Cap Cover Plate Clip Width
295 static const Double_t fgkEndCapCoverPlateDownClipLength; // End Cap Cover Plate Down Clip Length
296 static const Double_t fgkEndCapCoverPlateDownClipWidth; // End Cap Cover Plate Down Clip Width
297 /////////////////////////////////////////////////////////////////////////////////
298 // SSD End Cap Cooling Tube Parameters (lengths are in mm and angles in degrees)
299 /////////////////////////////////////////////////////////////////////////////////
300 static const Double_t fgkEndCapCoolingTubeAxialRadius[2]; // End Cap Cooling Tube Axial Radius
301 static const Double_t fgkEndCapCoolingTubeRadiusMin; // End Cap Cooling Tube Min Radius
302 static const Double_t fgkEndCapCoolingTubeRadiusMax; // End Cap Cooling Tube Max Radius
303 static const Double_t fgkEndCapCoolingTubeAngle[5]; // End Cap Cooling Tube Angle
304 static const Double_t fgkEndCapCoolingTubeLength[5]; // End Cap Cooling Tube Length
305 static const Double_t fgkEndCapCoolingTubeToCoverSide; // End Cap Cooling Tube Position respect to CoverSide
306 /////////////////////////////////////////////////////////////////////////////////
307 // SSD End Cap Cover Side Parameters (lengths are in mm and angles in degrees)
308 /////////////////////////////////////////////////////////////////////////////////
309 static const Double_t fgkEndCapSideCoverLength[5]; // End Cap Cover Side Length
310 static const Double_t fgkEndCapSideCoverWidth[7]; // End Cap Cover Side Width
311 static const Double_t fgkEndCapSideCoverThickness; // End Cap Cover Side Thickness
312 /////////////////////////////////////////////////////////////////////////////////
313 // SSD End Cap Cards Parameters (lengths are in mm and angles in degrees)
314 /////////////////////////////////////////////////////////////////////////////////
315 static const Double_t fgkEndCapCardElectBoardBackLength[3]; // End Cap Card Electronic Board Back Length
316 static const Double_t fgkEndCapCardElectBoardBackWidth[2]; // End Cap Card Electronic Board Back Width
317 static const Double_t fgkEndCapCardElectBoardBackThickness; // End Cap Card Electronic Board Back Thickness
318 static const Double_t fgkEndCapCardElectBoardLength; // End Cap Card Electronic Board Length
319 static const Double_t fgkEndCapCardElectBoardLayerWidth[2]; // End Cap Card Electronic Board Layer Width
320 static const Double_t fgkEndCapCardElectBoardLayerThickness;// End Cap Card Electronic Board Layer Thickness
321 static const Double_t fgkEndCapCardJMDConnectorThickness; // End Cap Card JMD Connector Thickness
322 static const Double_t fgkEndCapCardJMDConnectorLength[2]; // End Cap Card JMD Connector Length
323 static const Double_t fgkEndCapCardJMDConnectorWidth[2]; // End Cap Card JMD Connector Width
324 static const Double_t fgkEndCapCardJMDConnectorToLayer; // End Cap Card JMD Connector to Layer Distance
325 static const Double_t fgkEndCapCardCableConnectorLength[3]; // End Cap Card Cable Connector Length
326 static const Double_t fgkEndCapCardCableConnectorWidth[2]; // End Cap Card Cable Connector Width
327 static const Double_t fgkEndCapCardCableConnectorThickness; // End Cap Card Cable Connector Thickness
328 static const Double_t fgkEndCapCardCableConnectorDistance; // End Cap Card Cable Connector Distance
329 static const Double_t fgkEndCapCardCableConnectorToLayer; // End Cap Card Cable Connector To Layer Distance
330 static const Double_t fgkEndCapStripConnectionLength; // End Cap Strip Connection Length
331 static const Double_t fgkEndCapStripConnectionThickness; // End Cap Strip Connection Thickness
332 static const Double_t fgkEndCapStripConnectionWidth; // End Cap Strip Connection Width
333 static const Double_t fgkEndCapInterfaceCardBLength[7]; // End Cap Interface CardB Length
334 static const Double_t fgkEndCapInterfaceCardBWidth[5]; // End Cap Interface CardB Width
335 static const Double_t fgkEndCapInterfaceCardBThickness; // End Cap Interface CardB Thickness
336 static const Double_t fgkEndCapInterfaceElectBoardCardBThickness; // End Cap Interface Elect Board CardB Thickness
337 static const Double_t fgkEndCapInterfaceCardBJMDConnectorSeparation; // End Cap Interface CardB JMD Connector Separation
338 static const Double_t fgkEndCapStiffenerLength; // End Cap Stiffener Length
339 static const Double_t fgkEndCapStiffenerWidth; // End Cap Stiffener Width
340 static const Double_t fgkEndCapStiffenerThickness; // End Cap Stiffener Thickness
341 static const Double_t fgkEndCapEffectiveCableRadiusMin; // End Cap Effective Cable Radius Min
342 static const Double_t fgkEndCapEffectiveCableRadiusMax; // End Cap Effective Cable Radius Max
343 /////////////////////////////////////////////////////////////////////////////////
344 // SSD End Cap SupportLayer5/6 Side Parameters (lengths are in mm and angles in degrees)
345 /////////////////////////////////////////////////////////////////////////////////
346 static const Double_t fgkEndCapLay5SupportLength; // End Cap Layer5 Support Length
347 static const Double_t fgkEndCapLay5SupportMiddleRadius; // End Cap Layer5 Support Middle Radius
348 static const Double_t fgkEndCapLay5SupportLowRadius; // End Cap Layer5 Support Low Radius
349 static const Double_t fgkEndCapLay5SupportHighWidth; // End Cap Layer5 High Radius
350 static const Double_t fgkEndCapLay5SupportLowWidth; // End Cap Layer5 Low Width
351 static const Double_t fgkEndCapSupportLength[2]; // End Cap Layer5/6 Support Length
352 static const Double_t fgkEndCapSupportMiddleRadius[2]; // End Cap Layer5/6 Support Middle Radius
353 static const Double_t fgkEndCapSupportLowRadius[2]; // End Cap Layer5/6 Support Low Radius
354 static const Double_t fgkEndCapSupportHighWidth; // End Cap Layer5/6 High Radius
355 static const Double_t fgkEndCapSupportLowWidth[2]; // End Cap Layer5/6 Low Width
356 static const Double_t fgkEndCapSupportCenterLay5ITSPosition; // End Cap Support Center ITS Position Layer 5
357 static const Double_t fgkEndCapSupportCenterLay5Position; // End Cap Support Position Respect Z Axis Origin Layer 5
358 static const Double_t fgkEndCapSupportCenterLay6ITSPosition; // End Cap Support Center ITS Position Layer 6
359 static const Double_t fgkEndCapSupportCenterLay6Position; // End Cap Support Position Respect Z Axis Origin Layer 6
360 /////////////////////////////////////////////////////////////////////////////////
361 // SSD End Cap Kapton Foil Parameters (lengths are in mm and angles in degrees)
362 ////////////////////////////////////////////////////////////////////////////////
363 static const Double_t fgkEndCapKaptonFoilThickness; // End Cap Kapton Foil Thickness
364 static const Double_t fgkEndCapKaptonFoilLength; // End Cap Kapton Foil Length
365 static const Double_t fgkEndCapKaptonFoilWidth ; // End Cap Kapton Foil Width
366 /////////////////////////////////////////////////////////////////////////
47f8de53 367 // SSD Cone
368 /////////////////////////////////////////////////////////////////////////
369 static const Double_t fgkSSDLowerPConeRadius; // SSD Cone Lower Radius
370 static const Double_t fgkSSDPConeAngle; // SSD Cone Angle
371 static const Double_t fgkSSDPConeZLength[2]; // SSD Cone ZLength
372 static const Double_t fgkSSDPConeLittleHoleRadius; // SSD Cone Little Hole Radius
373 static const Double_t fgkSSDPConeLittleHoleLength; // SSD Cone Little Hole Length
374 static const Double_t fgkSSDConeMiddleRadius; // SSD Cone Middle Radius
375 static const Double_t fgkSSDPConeMiddleLength; // SSD Cone Middle Length
376 static const Double_t fgkSSDPConeMiddleWidth; // SSD Cone Middle Width
377 static const Double_t fgkSSDPConeUpRadius; // SSD Cone Up Radius
378 static const Double_t fgkSSDPConeUpMaxRadius; // SSD Cone Up Max Radius
379 static const Double_t fgkSSDPConeUpMiddleRadius; // SSD Cone Up Middle Radius
380 static const Double_t fgkSSDPConeDownRadius; // SSD Cone Down Radius
381 static const Double_t fgkSSDPConeTrapezoidAngle; // SSD Cone Trapezoid Angle
382 static const Double_t fgkSSDPConeTrapezoidBasis; // SSD Cone Trapezoid Basis
383 static const Double_t fgkSSDPConeExternalRadius; // SSD Cone External Radius
384 static const Double_t fgkSSDPConeRadiusWidth; // SSD Cone Radius Width
385 static const Double_t fgkSSDPConeLength; // SSD Cone Length
386 static const Double_t fgkSSDCentralSupportLength; //SSD Central Support Length
387 static const Double_t fgkSSDCentralSupportRadius; // SSD Central Support Radius
388 static const Double_t fgkSSDCentralSupportWidth; // SSD Central Support Width
389 static const Double_t fgkSSDCentralAL3SupportLength; // SSD Central Support Length
390 static const Double_t fgkSSDCentralAL3SupportWidth; // SSD Central Support Width
391 /////////////////////////////////////////////////////////////////////////
392 // SSD Cables e Patch Panel
393 /////////////////////////////////////////////////////////////////////////
394 static const Double_t fgkSSDCablesLay5TubeRadiusMin; // Radius Min Cable Tube Layer 5
395 static const Double_t fgkSSDCablesLay6TubeRadiusMin; // Radius Min Cable Tube Layer 6
396 static const Double_t fgkSSDCablesLay5RightSideHeight; // Width Lay 5 Cables to be fixed in order to reproduce material budget
397 static const Double_t fgkSSDCablesLay6RightSideHeight; // // Width Lay 5 Cables to be fixed in order to reproduce material budget
398 static const Double_t fgkSSDCableAngle; // Angle Cable
399 static const Double_t fgkSSDCablesLay5RightSideWaterHeight; // Width Lay 5 Water Cables to be fixed in order to reproduce material budget
400 static const Double_t fgkSSDCablesPatchPanel2RB26Angle[2]; // Angle Position Patch Panel RB26
401 static const Double_t fgkSSDCablesPatchPanel2RB24Angle[2]; // Angle Position Patch Panel RB24
402 static const Double_t fgkSSDPatchPanel2RB26ITSDistance; // Patch Panel RB26 Position
403 static const Double_t fgkSSDPatchPanel2RB24ITSDistance; // Patch Panel RB24 Position
404 static const Double_t fgkSSDPatchPanel2RB26Radius; // Patch Panel Radius
405 static const Double_t fgkSSDPatchPanel2RB24Radius; // Patch Panel Radius
cd2243fb 406 static const Double_t fgkSSDPatchPanelHeight; // Patch Panel Height
47f8de53 407 static const Double_t fgkSSDCableMaterialBudgetHeight; // SSD Cable Material Budget
408 /////////////////////////////////////////////////////////////////////////
bf210566 409 // Private methods for private members generation
410 /////////////////////////////////////////////////////////////////////////
47f8de53 411
bf210566 412 void CreateTransformationMatrices(); // Method setting the transformation matrices
413 void CreateBasicObjects(); // Method creating the basic objects of ssd geometry
414 void SetSSDSensor(); // Method setting the SSD Layer 5 and 6 sensors
415 TList* GetCarbonFiberSupportList(); // Method generating CarbonFiberSupport
416 TGeoVolume* GetCarbonFiberJunction(Double_t width); // Method generating
417 // CarbonFiberJunction
418 TList* GetCarbonFiberLowerSupportList();
419 // Method generating CarbonFiberLowerSupport
420 TGeoVolume* GetSSDSensorSupport(Double_t length, Double_t height,
421 Double_t width, Double_t* thickness) const; //
422 // Method generating SSDSensorSupport
423 TGeoVolume* GetCoolingTubeSupport(Int_t nedges); // Method generating CoolingTubeSupport
424 TList* GetSSDHybridParts(); // Method setting Hybrid Components
425 TGeoVolume* GetCoolingBlockSystem(); // Method generating Cooling Block System
426 TGeoVolume* GetSSDStiffenerFlex()const; // Method generating StiffenerFlex
427 TGeoVolume* GetSSDEndFlex(); // Method generating EndFlex
428 TGeoVolume* GetSSDMountingBlock(); // Method generating Mounting Block
9b0c60ab 429 TGeoVolume* GetMountingBlockClip() const; // Method generating Mounting Block Clip
cd2243fb 430 void CreateCoolingTubes(); // Create/set cooling tubes
bf210566 431 TGeoVolume* GetSSDCoolingBlock(Int_t nedges);
432 // Method generating StiffenerFlex
3cf6a656 433 void GetSSDChipCables(TGeoVolume *&cableL, TGeoVolume *&cableR, Double_t SSDChipCablesHeigth, Int_t nedges);
bf210566 434 // Method setting ChipCables
3cf6a656 435 TGeoVolume* GetSSDChip() const; // Method generating Chips
bf210566 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 /////////////////////////////////////////
cd2243fb 558 TGeoHMatrix* fcoolingtubematrix[2]; // Cooling Tube Matrix
559 TGeoVolume* fcoolingtube; // Ladder Cooling Tube
560 static const Int_t fgkendladdercoolingtubenumber = 2; // End Ladder Cooling Tube Number
9b0c60ab 561 TGeoVolume* fendladdercoolingtube[fgkendladdercoolingtubenumber]; // End Ladder Cooling Tube
cd2243fb 562 TGeoHMatrix* fendladdercoolingtubematrix[fgkendladdercoolingtubenumber][2]; //End ladder cooling tube matrix
bf210566 563 /////////////////////////////////////////
564 // End Ladder Components
565 /////////////////////////////////////////
566 TGeoVolumeAssembly* fendladdersegment[2]; // End Ladder Segment
567 TGeoHMatrix** fendladdersegmentmatrix[2]; // End Ladder Matrix
9b0c60ab 568 /////////////////////////////////////////////////////////////
569 // End Ladder SSD Cooling Tube Support
570 /////////////////////////////////////////////////////////////
571 TGeoHMatrix*** fendladdercoolingtubesupportmatrix; //End ladder cooling tube support matrix
bf210566 572 ///////////////////////////////////
573 // End Ladder Carbon Fiber Junction
574 ///////////////////////////////////
575 static const Int_t fgkendlabbercarbonfiberjunctionumber = 2; // End Ladder Carbon fiber Junction Number
576 TGeoVolume** fendladdercarbonfiberjunction[fgkendlabbercarbonfiberjunctionumber]; // End Ladder Carbon fiber Junction Volumes
577 static const Int_t fgkendladdercabonfiberjunctionmatrixnumber = 3; // End Ladder Carbon fiber Junction Matrix Number
578 TGeoHMatrix** fendladdercarbonfiberjunctionmatrix[fgkendlabbercarbonfiberjunctionumber]; // End Ladder Carbon fiber Junction Matrix
579 ///////////////////////////////////
580 // End Ladder Carbon Fiber Support
581 ///////////////////////////////////
582 static const Int_t fgkendladdercarbonfibermatrixnumber = 2; // End Ladder Carbon fiber Matrix Number
583 TGeoHMatrix** fendladdercarbonfibermatrix[fgkendladdercarbonfibermatrixnumber]; // End Ladder Carbon fiber Matrix
584 ///////////////////////////////////
585 // End Ladder SSD Mounting Block
586 ///////////////////////////////////
587 static const Int_t fgkendladdermountingblocknumber = 2; // Mounting Block Number
588 TGeoVolume* fendladdermountingblock; // Mounting Block
9b0c60ab 589 TGeoVolume* fendladdermountingblockclip; // Mounting Block Clip
590 TGeoCombiTrans* fendladdermountingblockcombitrans[fgkendladdermountingblocknumber]; // End Ladder Mounting Block CombiTrans
591 TGeoHMatrix** fendladdermountingblockclipmatrix[fgkendladdermountingblocknumber]; // End Ladder Mounting Block Clip HMatrix
bf210566 592 ///////////////////////////////////
593 // End Ladder Lower Support
594 ///////////////////////////////////
595 static const Int_t fgkendladderlowersuppnumber = 2; // End Ladder Lower Support Number
596 TGeoTranslation* fendladderlowersupptrans[fgkendladderlowersuppnumber+1]; // End Ladder Lower Support Translations
d7599219 597 /////////////////////////////////////////////////////////////////////////
598 // LadderCables
599 /////////////////////////////////////////////////////////////////////////
bf210566 600 static const Int_t fgkladdercablematrixnumber = 4; // Number of TGeoCombiTrans
601 // for positioning Ladder Cable volumes
602 static const Int_t fgkladdercablesnumber = 2; // Number of Ladder Cables Layers
603 TGeoHMatrix **fladdercablematrix[fgkladdercablesnumber]; // TGeoCombiTrans for positioning
604 // Ladder Cables volumes
605 ///////////////////////////////////
606 // Ladder Segment
607 ///////////////////////////////////
608 static const Int_t fgkladdersegmentnumber = 2; // Ladder Segment Kinds Number
609 TGeoVolumeAssembly* fladdersegment[fgkladdersegmentnumber]; // Ladder Segment
610 ///////////////////////////////////
611 // Ladder
612 ///////////////////////////////////
613 static const Int_t fgkladdernumber = 2; // Ladder Number
614 TGeoVolume* fladder[fgkladdernumber]; //fladder[0]: ladder of Layer 5
615 //fladder[1]: ladder of Layer 6
ca86fdb4 616// TGeoVolumeAssembly* fladder[fgkladdernumber];
bf210566 617 TGeoHMatrix** fladdermatrix[fgkladdernumber]; // Ladder Matrix
618 ///////////////////////////////////
619 // SSD Sensor
620 ///////////////////////////////////
621 TGeoVolume* fSSDSensor5; // Layer 5 SSD Sensor
622 TGeoVolume* fSSDSensor6; // Layer 6 SSD Sensor
623 TGeoHMatrix** fssdsensormatrix[fgkladdernumber]; // SSD Sensor Matrix
624 ///////////////////////////////////
625 // SSD Layer
626 ///////////////////////////////////
627 static const Int_t fgklayernumber = 2; // Layer Number
e5bf64ae 628 TGeoVolumeAssembly* fSSDLayer5; // SSD Layer 5
629 TGeoVolumeAssembly* fSSDLayer6; // SSD Layer 6
bf210566 630 TGeoHMatrix** flayermatrix[fgklayernumber]; // Layer Transformations
d7599219 631 /////////////////////////////////////////////////////////////////////////
632 // Mother Volume
633 /////////////////////////////////////////////////////////////////////////
44285dfa 634 TGeoVolume *fMotherVol; // Mother volume for ITS Layer5 and Layer6
635 TGeoVolume* GetMotherVolume() const { return fMotherVol;}; // Method returning Mother Volume
d7599219 636 /////////////////////////////////////////////////////////////////////////
9b0c60ab 637 // Ladder Support
638 /////////////////////////////////////////////////////////////////////////
639 TGeoVolume* fLay5LadderSupport[2]; // Up and Down parts of Layer5 Ladder Support
640 TGeoVolume* fLay6LadderSupport[2]; // Up and Down parts of Layer6 Ladder Support
641 TGeoVolumeAssembly* fLay5LadderSupportRing; // Layer5 Ladder Support Ring
642 TGeoVolumeAssembly* fLay6LadderSupportRing; // Layer6 Ladder Support Ring
643 /////////////////////////////////////////////////////////////////////////
644 // End Cap Support + End Cap Assembly
645 /////////////////////////////////////////////////////////////////////////
e5bf64ae 646 TGeoVolume** fgkEndCapSupportSystem; // End Cap Support + End Cap Assembly
9b0c60ab 647 /////////////////////////////////////////////////////////////////////////
47f8de53 648 // SSD Cone
649 /////////////////////////////////////////////////////////////////////////
650 TGeoVolumeAssembly* fSSDCone; // SSD Cone
651 /////////////////////////////////////////////////////////////////////////
d7599219 652 // Color Display
653 /////////////////////////////////////////////////////////////////////////
44285dfa 654 Int_t fColorCarbonFiber; // display colors
655 Int_t fColorRyton; // ===
656 Int_t fColorPhynox; // ===
657 Int_t fColorSilicon; // ===
658 Int_t fColorAl; // ===
659 Int_t fColorKapton; // ===
660 Int_t fColorPolyhamide; // ===
661 Int_t fColorStiffener; // ===
662 Int_t fColorEpoxy; // ===
bf210566 663 Int_t fColorWater; // ===
664 Int_t fColorG10; // ===
cd2243fb 665ClassDef(AliITSv11GeometrySSD, 4) // ITS v11 SSD geometry
d7599219 666};
667#endif