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