Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Geometry/ForwardCommonData/data/dev/castor.xml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0"?>
0002 <DDDefinition xmlns="http://www.cern.ch/cms/DDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.cern.ch/cms/DDL ../../../DetectorDescription/Schema/DDLSchema.xsd">
0003     <ConstantsSection label="castor.xml" eval="true">
0004         <Constant name="castLength" value="1583.3*mm" />
0005         <Constant name="CASTFarTiltAngle" value="0*deg" />
0006         <Constant name="CASTNearTiltAngle" value="0*deg" />
0007         <Constant name="LGAngleBegin" value="11.6287*deg"/>
0008         <Constant name="LGAngleDelta" value="21.74255*deg"/>
0009         <Constant name="LGrShift" value="1*mm/tan([castor:LGAngleDelta]/2)"/>
0010         <Constant name="LGxShift" value="[castor:LGrShift] * cos([castor:LGAngleBegin]+[castor:LGAngleDelta]/2)"/>
0011         <Constant name="LGyShift" value="[castor:LGrShift] * sin([castor:LGAngleBegin]+[castor:LGAngleDelta]/2)"/>
0012     </ConstantsSection>
0013     <RotationSection label="castor.xml">
0014         <Rotation name="CASTFarTilt"  thetaX="90*deg+[CASTFarTiltAngle]" phiX="0*deg" thetaY="90*deg" phiY="90*deg" thetaZ="0*deg+[CASTFarTiltAngle]" phiZ="0*deg" />
0015         <Rotation name="CASTNearTilt" thetaX="90*deg+[CASTNearTiltAngle]" phiX="0*deg" thetaY="90*deg" phiY="90*deg" thetaZ="0*deg+[CASTNearTiltAngle]" phiZ="0*deg" />
0016         <!-- Rotations for the subtraction boxes SubtractBox1/2 used to cut the high-eta edges of the volumes CAEL, CAEA, CAEF, CAHL, CAHA CAHF -->
0017         <Rotation name="SubtractBoxRot1" 
0018                   thetaX ="90*deg" phiX="(22.5+33.75)*deg" 
0019                   thetaY="90*deg" phiY="(90+22.5+33.75)*deg" 
0020                   thetaZ="0*deg" phiZ="0*deg"/>
0021         <Rotation name="SubtractBoxRot2" 
0022                   thetaX ="90*deg" phiX="(22.5-33.75)*deg" 
0023                   thetaY="90*deg" phiY="(90+22.5-33.75)*deg" 
0024                   thetaZ="0*deg" phiZ="0*deg"/>
0025     </RotationSection>
0026     <SolidSection label="castor.xml">
0027         <!--  -->
0028         <!-- main CASTOR volume  -->
0029         <!--  -->
0030         <Polyhedra name="CASTFar" numSide="4" startPhi="-90.0*deg" deltaPhi="180.0*deg" >
0031             <ZSection rMin="39.00*mm"   rMax="40.00*mm"    z="0.0*mm" />
0032             <ZSection rMin="39.00*mm"   rMax="303.20*mm"   z="263.2*mm" />
0033             <ZSection rMin="39.00*mm"   rMax="303.20*mm"   z="1320.1*mm" />
0034             <ZSection rMin="303.20*mm"  rMax="303.20*mm"   z="[castLength]" />
0035         </Polyhedra>
0036         <Polyhedra name="CASTNear" numSide="4" startPhi="90.0*deg" deltaPhi="180.0*deg" >
0037             <ZSection rMin="39.00*mm"   rMax="40.00*mm"    z="0.0*mm" />
0038             <ZSection rMin="39.00*mm"   rMax="303.20*mm"   z="263.2*mm" />
0039             <ZSection rMin="39.00*mm"   rMax="303.20*mm"   z="1320.1*mm" />
0040             <ZSection rMin="303.20*mm"  rMax="303.20*mm"   z="[castLength]" />
0041         </Polyhedra>
0042         <Polyhedra name="CAST" numSide="4" startPhi="0.0*deg" deltaPhi="180.0*deg">
0043             <ZSection rMin="39.00*mm" rMax="40.00*mm" z="0.0*mm"/>
0044             <ZSection rMin="39.00*mm" rMax="303.20*mm" z="263.2*mm"/>
0045             <ZSection rMin="39.00*mm" rMax="303.20*mm" z="1320.1*mm"/>
0046             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="[castLength]"/>
0047         </Polyhedra>
0048         <!--  -->
0049         <!--  -->
0050         <!-- 5mm Aluminium, separating EM + H sections -->
0051         <Polyhedra name="CAAI" numSide="4" startPhi="0.0*deg" deltaPhi="180.0*deg">
0052             <ZSection rMin="40.00*mm" rMax="40.00*mm" z="0.0*mm"/>
0053             <ZSection rMin="40.00*mm" rMax="45.00*mm" z="5.0*mm"/>
0054             <ZSection rMin="139.50*mm" rMax="144.50*mm" z="104.5*mm"/>
0055             <ZSection rMin="144.50*mm" rMax="144.50*mm" z="109.5*mm"/>
0056         </Polyhedra>
0057         <!--  -->
0058         <!-- START OF ELECTROMAGNETIC CALO  -->
0059         <!--  CASC - StainlessSteel -->
0060         <Polyhedra name="CAEC" numSide="4" startPhi="0.0*deg" deltaPhi="180.0*deg">
0061             <ZSection rMin="40.00*mm" rMax="40.00*mm" z="0.00*mm"/>
0062             <ZSection rMin="40.00*mm" rMax="143.00*mm" z="103.00*mm"/>
0063             <ZSection rMin="40.50*mm" rMax="143.50*mm" z="103.50*mm"/>
0064             <ZSection rMin="143.50*mm" rMax="143.50*mm" z="206.50*mm"/>
0065         </Polyhedra>
0066         <!-- to have octant StainlessSteel skeleton to support WQ plates  -->
0067         <!-- CASS sector - Air, 8 copies with deltaPhi=45.0  -->
0068         <Polyhedra name="CAES" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0069             <ZSection rMin="40.00*mm" rMax="40.00*mm" z="0.00*mm"/>
0070             <ZSection rMin="40.00*mm" rMax="143.00*mm" z="103.00*mm"/>
0071             <ZSection rMin="40.50*mm" rMax="143.50*mm" z="103.50*mm"/>
0072             <ZSection rMin="143.50*mm" rMax="143.50*mm" z="206.50*mm"/>
0073         </Polyhedra>
0074         <!-- EM read-out channel  with StainlessSteel size  1 copy -->
0075         <Polyhedra name="CAER" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0076             <ZSection rMin="40.00*mm" rMax="40.00*mm" z="0.00*mm"/>
0077             <ZSection rMin="40.00*mm" rMax="91.50*mm" z="51.50*mm"/>
0078             <ZSection rMin="92.00*mm" rMax="143.50*mm" z="103.50*mm"/>
0079             <ZSection rMin="143.50*mm" rMax="143.50*mm" z="155.00*mm"/>
0080         </Polyhedra>
0081         <!-- Air volume -->
0082         <!-- reduced rMin, rMax by (1.mm (StainlessSteel)/tg(22.5)) -1mm = 1.41mm-->
0083         <!-- the special X,Y shifts are needed to construct a wall thickness of 1mm. -->
0084         <!-- Start the volume below (1.41mm) and then shift upwards in r by (1.41+1)mm.  -->
0085         <!-- => wall thickness = deltaR*tan(22.5deg) = 2.41mm*tan(22.5deg) = 1mm --> 
0086         <!-- Shifts are defined further down the code.  -->
0087         <!-- the shifts are: x = (2.41)*cos(22.5) = 2.23, y=...*sin(22.5)=0.92  1 copy     -->
0088 
0089         <Polyhedra name="CERR" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0090             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0091             <ZSection rMin="38.59*mm" rMax="90.09*mm" z="52.50*mm"/>
0092             <ZSection rMin="89.59*mm" rMax="141.09*mm" z="103.50*mm"/>
0093             <ZSection rMin="141.09*mm" rMax="141.09*mm" z="155.00*mm"/>
0094         </Polyhedra>
0095         <!-- layer    5 copies (5.mm+2mm)/sin(45deg) + 0.40mm = 10.3 (7.07+2.83+0.40) -->
0096         <!-- 0.4 mm air gap included -->
0097         <!-- CAEL: Tungsten layer, CAEA: air layer, CAEF: AIR -->
0098         <!-- The two high-eta corners (in r-phi-plane) of the plates are cut off -->
0099         <!-- For that a boolean subtraction with the volumes SubtractBox1 and SubtractBox2 is used. -->
0100         <!-- The initial polyhedron without cuts is called "CAEL_helper1". -->
0101         <!-- Then the corner with smaller phi is cut with SubtractBox1 and the produced helper-volume with one cut corner is called "CAEL_helper2"-->
0102         <!-- At last the volume "CAEL_helper2" is cut again with SubtractBox2 and the final W/Q plate is called CAEL/CAEA/CAEF -->
0103 
0104         <Box name="SubtractBox1" dx="1.9445*mm" dy="10*mm" dz="40*mm"/> 
0105         <Box name="SubtractBox2" dx="1.9445*mm" dy="10*mm" dz="40*mm"/> 
0106 
0107         <Polyhedra name="CAEL_helper1" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0108             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0109             <ZSection rMin="38.59*mm" rMax="48.89*mm" z="11.30*mm"/>
0110             <ZSection rMin="130.79*mm" rMax="141.09*mm" z="103.50*mm"/>
0111             <ZSection rMin="141.09*mm" rMax="141.09*mm" z="113.80*mm"/>
0112         </Polyhedra>
0113         <SubtractionSolid name="castor:CAEL_helper2">
0114           <rSolid name="castor:CAEL_helper1"/>
0115           <rSolid name="castor:SubtractBox1"/>
0116           <rRotation name="castor:SubtractBoxRot1"/>
0117           <Translation x="(37.59/cos(22.5*deg))*mm" y="0.*mm" z="1.*mm"/>
0118         </SubtractionSolid>
0119         <SubtractionSolid name="castor:CAEL">
0120           <rSolid name="castor:CAEL_helper2"/>
0121           <rSolid name="castor:SubtractBox2"/>
0122           <rRotation name="castor:SubtractBoxRot2"/>
0123           <Translation x="37.59*cos(45*deg)/cos(22.5*deg)*mm" y="2*37.59*sin(22.5*deg)*mm" z="1.*mm"/>
0124         </SubtractionSolid>
0125         <Polyhedra name="CAEA_helper1" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0126             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0127             <ZSection rMin="38.59*mm" rMax="41.82*mm" z="4.23*mm"/>
0128             <ZSection rMin="137.86*mm" rMax="141.09*mm" z="103.50*mm"/>
0129             <ZSection rMin="141.09*mm" rMax="141.09*mm" z="106.73*mm"/>
0130         </Polyhedra>
0131         <SubtractionSolid name="castor:CAEA_helper2">
0132           <rSolid name="castor:CAEA_helper1"/>
0133           <rSolid name="castor:SubtractBox1"/>
0134           <rRotation name="castor:SubtractBoxRot1"/>
0135           <Translation x="(37.59/cos(22.5*deg))*mm" y="0.*mm" z="1.*mm"/>
0136         </SubtractionSolid>
0137         <SubtractionSolid name="castor:CAEA">
0138           <rSolid name="castor:CAEA_helper2"/>
0139           <rSolid name="castor:SubtractBox2"/>
0140           <rRotation name="castor:SubtractBoxRot2"/>
0141           <Translation x="37.59*cos(45*deg)/cos(22.5*deg)*mm" y="2*37.59*sin(22.5*deg)*mm" z="1.*mm"/>
0142         </SubtractionSolid>
0143         <Polyhedra name="CAEF_helper1" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0144             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0145             <ZSection rMin="38.59*mm" rMax="41.42*mm" z="3.83*mm"/>
0146             <ZSection rMin="138.26*mm" rMax="141.09*mm" z="103.50*mm"/>
0147             <ZSection rMin="141.09*mm" rMax="141.09*mm" z="106.33*mm"/>
0148         </Polyhedra>
0149         <SubtractionSolid name="castor:CAEF_helper2">
0150           <rSolid name="castor:CAEF_helper1"/>
0151           <rSolid name="castor:SubtractBox1"/>
0152           <rRotation name="castor:SubtractBoxRot1"/>
0153           <Translation x="(37.59/cos(22.5*deg))*mm" y="0.*mm" z="1.*mm"/>
0154         </SubtractionSolid>
0155         <SubtractionSolid name="castor:CAEF">
0156           <rSolid name="castor:CAEF_helper2"/>
0157           <rSolid name="castor:SubtractBox2"/>
0158           <rRotation name="castor:SubtractBoxRot2"/>
0159           <Translation x="37.59*cos(45*deg)/cos(22.5*deg)*mm" y="2*37.59*sin(22.5*deg)*mm" z="1.*mm"/>
0160         </SubtractionSolid>
0161         <!-- shape to be used for Intersection to create C3TF,C4TF semi-trapezoid solids   -->
0162         <!-- box defined from center of box (rotated therefore x!=x_global) -->
0163         <!-- dz=Height of plate/2 + 3 mm (arbitrary) ; dy = plate width/2 -->
0164         <Box name="C2EF" dz="76.890*mm" dy="(29.79)*mm" dx="1.495*mm"/>
0165         <IntersectionSolid name="castor:C3EF">
0166             <rSolid name="castor:CAEF"/>
0167             <rSolid name="castor:C2EF"/>
0168             <rRotation name="rotations:CARM"/>
0169             <Translation x="93.75198195*mm" y="6.57782247*mm" z="53.6642067*mm"/> 
0170         </IntersectionSolid>
0171         <IntersectionSolid name="castor:C4EF">
0172             <rSolid name="castor:CAEF"/>
0173             <rSolid name="castor:C2EF"/>
0174             <rRotation name="rotations:CARM"/>
0175             <Translation x="70.94403509*mm" y="61.64098148*mm" z="53.66420678*mm"/>
0176         </IntersectionSolid>
0177         <!--  -->
0178         <!-- tree with HADRONIC calorimeter 1 copy 8x14x7x(10.5) -->
0179         <!--  -->
0180         <!--  -->
0181         <Polyhedra name="CAHC" numSide="4" startPhi="0.0*deg" deltaPhi="180.0*deg">
0182             <ZSection rMin="40.00*mm" rMax="40.00*mm" z="0.0*mm"/>
0183             <ZSection rMin="40.00*mm" rMax="177.40*mm" z="137.4*mm"/>
0184             <ZSection rMin="40.00*mm" rMax="177.40*mm" z="1212.0*mm"/>
0185             <ZSection rMin="177.40*mm" rMax="177.40*mm" z="1349.4*mm"/>
0186         </Polyhedra>
0187         <!-- to have octant StainlessSteel skeleton to support WQ plates  -->
0188         <!-- CAHS sector - Air, 8 copies with deltaPhi=45.0  -->
0189         <Polyhedra name="CAHS" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0190             <ZSection rMin="40.00*mm" rMax="40.00*mm" z="0.0*mm"/>
0191             <ZSection rMin="40.00*mm" rMax="177.40*mm" z="137.4*mm"/>
0192             <ZSection rMin="40.00*mm" rMax="177.40*mm" z="1212.0*mm"/>
0193             <ZSection rMin="177.40*mm" rMax="177.40*mm" z="1349.4*mm"/>
0194         </Polyhedra>
0195         <!-- HAD read-out channel  with StainlessSteel size  12 copies -->
0196         <Polyhedra name="CAHR" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0197             <ZSection rMin="40.00*mm" rMax="40.00*mm" z="0.0*mm"/>
0198             <ZSection rMin="40.00*mm" rMax="141.00*mm" z="101.0*mm"/>
0199             <ZSection rMin="76.40*mm" rMax="177.40*mm" z="137.4*mm"/>
0200             <ZSection rMin="177.40*mm" rMax="177.40*mm" z="238.4*mm"/>
0201         </Polyhedra>
0202         <!-- reduced rMin,rMax by (1.mm (StainlessSteel)/tg(22.5)) -1mm = 1.41mm-->
0203         <!-- the special X,Y shifts are needed (see CERR) -->
0204         <Polyhedra name="CHRR" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0205             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0206             <ZSection rMin="38.59*mm" rMax="139.59*mm" z="102.00*mm"/>
0207             <ZSection rMin="73.99*mm" rMax="174.99*mm" z="137.40*mm"/>
0208             <ZSection rMin="174.99*mm" rMax="174.99*mm" z="238.40*mm"/>
0209         </Polyhedra>
0210         <!-- layer    7 copies (10.+4.+0.4)/sin(45deg)=20.2  (14.14+5.66+0.60) -->
0211         <!-- tungsten layer -->
0212         <Polyhedra name="CAHL_helper1" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0213             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0214             <ZSection rMin="38.59*mm" rMax="58.79*mm" z="21.20*mm"/>
0215             <ZSection rMin="154.79*mm" rMax="174.99*mm" z="137.40*mm"/>
0216             <ZSection rMin="174.99*mm" rMax="174.99*mm" z="157.60*mm"/>
0217         </Polyhedra>
0218         <SubtractionSolid name="castor:CAHL_helper2">
0219           <rSolid name="castor:CAHL_helper1"/>
0220           <rSolid name="castor:SubtractBox1"/>
0221           <rRotation name="castor:SubtractBoxRot1"/>
0222           <Translation x="(37.59/cos(22.5*deg))*mm" y="0.*mm" z="1.*mm"/>
0223         </SubtractionSolid>
0224         <SubtractionSolid name="castor:CAHL">
0225           <rSolid name="castor:CAHL_helper2"/>
0226           <rSolid name="castor:SubtractBox2"/>
0227           <rRotation name="castor:SubtractBoxRot2"/>
0228           <Translation x="37.59*cos(45*deg)/cos(22.5*deg)*mm" y="2*37.59*sin(22.5*deg)*mm" z="1.*mm"/>
0229         </SubtractionSolid>
0230         <!-- quartz volume layer where wrapping (here simply air?) is included?-->
0231         <Polyhedra name="CAHA_helper1" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0232             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0233             <ZSection rMin="38.59*mm" rMax="44.65*mm" z="7.06*mm"/>
0234             <ZSection rMin="168.93*mm" rMax="174.99*mm" z="137.40*mm"/>
0235             <ZSection rMin="174.99*mm" rMax="174.99*mm" z="143.46*mm"/>
0236         </Polyhedra>
0237         <SubtractionSolid name="castor:CAHA_helper2">
0238           <rSolid name="castor:CAHA_helper1"/>
0239           <rSolid name="castor:SubtractBox1"/>
0240           <rRotation name="castor:SubtractBoxRot1"/>
0241           <Translation x="(37.59/cos(22.5*deg))*mm" y="0.*mm" z="1.*mm"/>
0242         </SubtractionSolid>
0243         <SubtractionSolid name="castor:CAHA">
0244           <rSolid name="castor:CAHA_helper2"/>
0245           <rSolid name="castor:SubtractBox2"/>
0246           <rRotation name="castor:SubtractBoxRot2"/>
0247           <Translation x="37.59*cos(45*deg)/cos(22.5*deg)*mm" y="2*37.59*sin(22.5*deg)*mm" z="1.*mm"/>
0248         </SubtractionSolid>
0249         <!-- quartz volume without wrapping where will be intersected -->
0250         <Polyhedra name="CAHF_helper1" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0251             <ZSection rMin="38.59*mm" rMax="38.59*mm" z="1.00*mm"/>
0252             <ZSection rMin="38.59*mm" rMax="44.25*mm" z="6.66*mm"/>
0253             <ZSection rMin="169.33*mm" rMax="174.99*mm" z="137.40*mm"/>
0254             <ZSection rMin="174.99*mm" rMax="174.99*mm" z="143.06*mm"/>
0255         </Polyhedra>
0256         <SubtractionSolid name="castor:CAHF_helper2">
0257           <rSolid name="castor:CAHF_helper1"/>
0258           <rSolid name="castor:SubtractBox1"/>
0259           <rRotation name="castor:SubtractBoxRot1"/>
0260           <Translation x="(37.59/cos(22.5*deg))*mm" y="0.*mm" z="1.*mm"/>
0261         </SubtractionSolid>
0262         <SubtractionSolid name="castor:CAHF">
0263           <rSolid name="castor:CAHF_helper2"/>
0264           <rSolid name="castor:SubtractBox2"/>
0265           <rRotation name="castor:SubtractBoxRot2"/>
0266           <Translation x="37.59*cos(45*deg)/cos(22.5*deg)*mm" y="2*37.59*sin(22.5*deg)*mm" z="1.*mm"/>
0267         </SubtractionSolid>
0268         <!--  -->
0269         <!--  -->
0270         <!-- shape to be used for Intersection to create C3TF,C4TF solids   -->
0271         <Box name="C2HF" dz="100.865*mm" dy="36.35*mm" dx="2.980*mm"/>
0272         <IntersectionSolid name="castor:C3HF">
0273             <rSolid name="castor:CAHF"/>
0274             <rSolid name="castor:C2HF"/>
0275             <rRotation name="rotations:CARM"/>
0276             <Translation x="110.861741*mm" y="6.71078*mm" z="69.9071*mm"/>
0277         </IntersectionSolid>
0278         <IntersectionSolid name="castor:C4HF">
0279             <rSolid name="castor:CAHF"/>
0280             <rSolid name="castor:C2HF"/>
0281             <rRotation name="rotations:CARM"/>
0282             <Translation x="83.13641*mm" y="73.645852*mm" z="69.9071*mm"/>
0283         </IntersectionSolid>
0284         <!--  -->
0285         <!-- tree with EM dead material  1 copy 8x2  -->
0286         <!--  -->
0287         <Polyhedra name="CEDC" numSide="4" startPhi="0.0*deg" deltaPhi="180.0*deg">
0288             <ZSection rMin="144.50*mm" rMax="144.50*mm" z="104.5*mm"/>
0289             <ZSection rMin="144.50*mm" rMax="247.50*mm" z="207.5*mm"/>
0290             <ZSection rMin="200.20*mm" rMax="303.20*mm" z="263.2*mm"/>
0291             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="366.2*mm"/>
0292         </Polyhedra>
0293         <!-- one sector  8 copies -->
0294         <Polyhedra name="CEDS" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0295             <ZSection rMin="144.50*mm" rMax="144.50*mm" z="104.5*mm"/>
0296             <ZSection rMin="144.50*mm" rMax="247.50*mm" z="207.5*mm"/>
0297             <ZSection rMin="200.20*mm" rMax="303.20*mm" z="263.2*mm"/>
0298             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="366.2*mm"/>
0299         </Polyhedra>
0300         <!-- read-out channel  2 copies -->
0301         <Polyhedra name="CEDR" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0302             <ZSection rMin="144.50*mm" rMax="144.50*mm" z="104.5*mm"/>
0303             <ZSection rMin="144.50*mm" rMax="196.00*mm" z="156.0*mm"/>
0304             <ZSection rMin="251.70*mm" rMax="303.20*mm" z="263.2*mm"/>
0305             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="314.7*mm"/>
0306         </Polyhedra>
0307         <!-- compartment with Air lightguide (1 mm wall strength) (external part)  1 copy -->
0308         <Polyhedra name="CEAL" numSide="1" startPhi="[castor:LGAngleBegin]" deltaPhi="[castor:LGAngleDelta]">
0309             <ZSection rMin="67.6913*mm" rMax="67.6913*mm" z="13.50*mm"/>
0310             <ZSection rMin="67.6913*mm" rMax="98.829*mm" z="39.5*mm"/>
0311             <ZSection rMin="105.2413*mm" rMax="149.9623*mm" z="82.27*mm"/>
0312             <ZSection rMin="149.9623*mm" rMax="149.9623*mm" z="133.27*mm"/>
0313         </Polyhedra>
0314         <!-- Air compartment in CEAL (lightguide) (internal part of LG)  1 copy -->
0315         <Polyhedra name="CEAI" numSide="1" startPhi="[castor:LGAngleBegin]" deltaPhi="[castor:LGAngleDelta]">
0316            <ZSection rMin="62.48432*mm" rMax="62.48432*mm" z="14.50*mm"/>
0317            <ZSection rMin="62.48432*mm" rMax="91.22937*mm" z="38.50*mm"/>
0318            <ZSection rMin="101.78906*mm" rMax="144.75532*mm" z="83.27*mm"/>
0319            <ZSection rMin="144.75532*mm" rMax="144.75532*mm" z="132.27*mm"/>
0320         </Polyhedra>
0321         <!-- Air volume to be filled by PMT  1 copy -->
0322         <!-- volume for PMT's -->
0323         <!-- Air volume to be filled by PMT box   1 copy -->
0324         <Polyhedra name="CEEL" numSide="1" startPhi="19.4709*deg" deltaPhi="6.0582*deg">
0325             <ZSection rMin="226.771*mm" rMax="226.771*mm" z="214.771*mm"/>
0326             <ZSection rMin="226.771*mm" rMax="250.771*mm" z="238.771*mm"/>
0327             <ZSection rMin="258.271*mm" rMax="282.271*mm" z="270.271*mm"/>
0328             <ZSection rMin="282.271*mm" rMax="282.271*mm" z="294.271*mm"/>
0329         </Polyhedra>
0330         <!-- -->
0331         <!--  -->
0332         <!-- tree with Hadronic dead material  1 copy 8x12 -->
0333         <!--  -->
0334         <Polyhedra name="CHDC" numSide="4" startPhi="0.0*deg" deltaPhi="180.0*deg">
0335             <ZSection rMin="178.40*mm" rMax="178.40*mm" z="241.4*mm"/>
0336             <ZSection rMin="178.40*mm" rMax="303.20*mm" z="366.2*mm"/>
0337             <ZSection rMin="178.40*mm" rMax="303.20*mm" z="1453.4*mm"/>
0338             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="1578.2*mm"/>
0339         </Polyhedra>
0340         <!-- one sector  8 copies -->
0341         <!-- radius of LG + PMT housing = 124.8 mm -->
0342         <Polyhedra name="CHDS" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0343             <ZSection rMin="178.40*mm" rMax="178.40*mm" z="241.4*mm"/>
0344             <ZSection rMin="178.40*mm" rMax="303.20*mm" z="366.2*mm"/>
0345             <ZSection rMin="178.40*mm" rMax="303.20*mm" z="1453.4*mm"/>
0346             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="1578.2*mm"/>
0347         </Polyhedra>
0348         <!-- read-out channel  12 copies -->
0349         <Polyhedra name="CHDR" numSide="1" startPhi="0.0*deg" deltaPhi="45.0*deg">
0350             <ZSection rMin="178.40*mm" rMax="178.40*mm" z="241.4*mm"/>
0351             <ZSection rMin="178.40*mm" rMax="279.40*mm" z="342.4*mm"/>
0352             <ZSection rMin="217.60*mm" rMax="303.20*mm" z="381.6*mm"/>
0353             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="467.2*mm"/>
0354         </Polyhedra>
0355         <!--  Aluminium (1mm) compartment with Air lightguide (external part)  1 copy -->
0356         <Polyhedra name="CHAL" numSide="1" startPhi="7.1364*deg" deltaPhi="30.7273*deg">
0357             <ZSection rMin="45.1808*mm" rMax="45.1808*mm" z="21.65*mm"/>
0358             <ZSection rMin="45.1808*mm" rMax="83.2830*mm" z="48.65*mm"/>
0359             <ZSection rMin="64.6976*mm" rMax="119.3108*mm" z="74.13*mm"/>
0360             <ZSection rMin="119.3108*mm" rMax="119.3108*mm" z="145.43*mm"/>
0361         </Polyhedra>
0362         <Polyhedra name="CHAI" numSide="1" startPhi="7.1364*deg" deltaPhi="30.7273*deg">
0363             <ZSection rMin="43.5074*mm" rMax="43.5074*mm" z="22.15*mm"/>
0364             <ZSection rMin="43.5074*mm" rMax="80.1985*mm" z="48.15*mm"/>
0365             <ZSection rMin="63.7902*mm" rMax="117.6374*mm" z="74.63*mm"/>
0366             <ZSection rMin="117.6374*mm" rMax="117.6374*mm" z="144.93*mm"/>
0367         </Polyhedra>
0368         <!-- Air volume to be filled by PMT  1 copy -->
0369         <!-- volume for PMT's -->
0370         <Polyhedra name="CHEL" numSide="1" startPhi="19.5531*deg" deltaPhi="5.89386*deg">
0371             <ZSection rMin="252.53*mm" rMax="252.53*mm" z="239.53*mm"/>
0372             <ZSection rMin="252.53*mm" rMax="278.53*mm" z="264.53*mm"/>
0373             <ZSection rMin="277.20*mm" rMax="303.20*mm" z="290.2*mm"/>
0374             <ZSection rMin="303.20*mm" rMax="303.20*mm" z="316.2*mm"/>
0375         </Polyhedra>
0376     </SolidSection>
0377     <!--  -->
0378     <!-- MATERIALS -->
0379     <LogicalPartSection label="castor.xml">
0380         <!--  -->
0381         <!--  -->
0382         <LogicalPart name="CAST" category="unspecified">
0383             <rSolid name="CAST"/>
0384             <rMaterial name="materials:Air"/>
0385         </LogicalPart>
0386         <LogicalPart name="CASTFar" category="unspecified">
0387             <rSolid name="CASTFar"/>
0388             <rMaterial name="materials:Air"/>
0389         </LogicalPart>
0390         <LogicalPart name="CASTNear" category="unspecified">
0391             <rSolid name="CASTNear"/>
0392             <rMaterial name="materials:Air"/>
0393         </LogicalPart>
0394         <!-- -->
0395         <!--  Aluminium separation of EM+H sections  -->
0396         <LogicalPart name="CAAI" category="unspecified">
0397             <rSolid name="CAAI"/>
0398             <rMaterial name="materials:Aluminium"/>
0399         </LogicalPart>
0400         <!-- -->
0401         <!--  Materials for EM calorimeter -->
0402         <!-- -->
0403         <LogicalPart name="CAEC" category="unspecified">
0404             <rSolid name="CAEC"/>
0405             <rMaterial name="materials:StainlessSteel"/>
0406         </LogicalPart>
0407         <LogicalPart name="CAES" category="unspecified">
0408             <rSolid name="CAES"/>
0409             <rMaterial name="materials:StainlessSteel"/>
0410         </LogicalPart>
0411         <LogicalPart name="CAER" category="unspecified">
0412             <rSolid name="CAER"/>
0413             <rMaterial name="materials:StainlessSteel"/>
0414         </LogicalPart>
0415         <LogicalPart name="CERR" category="unspecified">
0416             <rSolid name="CERR"/>
0417             <rMaterial name="materials:Air"/>
0418         </LogicalPart>
0419         <LogicalPart name="CAEL" category="unspecified">
0420             <rSolid name="CAEL"/>
0421             <rMaterial name="materials:Tungsten"/>
0422         </LogicalPart>
0423         <LogicalPart name="CAEA" category="unspecified">
0424             <rSolid name="CAEA"/>
0425             <rMaterial name="materials:Air"/>
0426         </LogicalPart>
0427         <LogicalPart name="CAEF" category="unspecified">
0428             <rSolid name="CAEF"/>
0429             <rMaterial name="materials:Air"/>
0430         </LogicalPart>
0431         <!-- quartz plates -->
0432         <LogicalPart name="C3EF" category="unspecified">
0433             <rSolid name="C3EF"/>
0434             <rMaterial name="materials:Quartz"/>
0435         </LogicalPart>
0436         <LogicalPart name="C4EF" category="unspecified">
0437             <rSolid name="C4EF"/>
0438             <rMaterial name="materials:Quartz"/>
0439         </LogicalPart>
0440         <!-- dead volume materials -->
0441         <LogicalPart name="CEDC" category="unspecified">
0442             <rSolid name="CEDC"/>
0443             <rMaterial name="materials:Air"/>
0444         </LogicalPart>
0445         <LogicalPart name="CEDS" category="unspecified">
0446             <rSolid name="CEDS"/>
0447             <rMaterial name="materials:Air"/>
0448         </LogicalPart>
0449         <LogicalPart name="CEDR" category="unspecified">
0450             <rSolid name="CEDR"/>
0451             <rMaterial name="materials:Air"/>
0452         </LogicalPart>
0453         <LogicalPart name="CEAL" category="unspecified">
0454             <rSolid name="CEAL"/>
0455             <rMaterial name="materials:Aluminium"/>
0456         </LogicalPart>
0457         <LogicalPart name="CEAI" category="unspecified">
0458             <rSolid name="CEAI"/>
0459             <rMaterial name="materials:Air"/>
0460         </LogicalPart>
0461         <LogicalPart name="CEEL" category="unspecified">
0462             <rSolid name="CEEL"/>
0463             <rMaterial name="materials:Castor_Electronics averag"/>
0464         </LogicalPart>
0465         <!-- materials for HAD section -->
0466         <LogicalPart name="CAHC" category="unspecified">
0467             <rSolid name="CAHC"/>
0468             <rMaterial name="materials:StainlessSteel"/>
0469         </LogicalPart>
0470         <LogicalPart name="CAHS" category="unspecified">
0471             <rSolid name="CAHS"/>
0472             <rMaterial name="materials:StainlessSteel"/>
0473         </LogicalPart>
0474         <LogicalPart name="CAHR" category="unspecified">
0475             <rSolid name="CAHR"/>
0476             <rMaterial name="materials:StainlessSteel"/>
0477         </LogicalPart>
0478         <LogicalPart name="CHRR" category="unspecified">
0479             <rSolid name="CHRR"/>
0480             <rMaterial name="materials:Air"/>
0481         </LogicalPart>
0482         <LogicalPart name="CAHL" category="unspecified">
0483             <rSolid name="CAHL"/>
0484             <rMaterial name="materials:Tungsten"/>
0485         </LogicalPart>
0486         <LogicalPart name="CAHA" category="unspecified">
0487             <rSolid name="CAHA"/>
0488             <rMaterial name="materials:Air"/>
0489         </LogicalPart>
0490         <LogicalPart name="CAHF" category="unspecified">
0491             <rSolid name="CAHF"/>
0492             <rMaterial name="materials:Air"/>
0493         </LogicalPart>
0494         <LogicalPart name="C3HF" category="unspecified">
0495             <rSolid name="C3HF"/>
0496             <rMaterial name="materials:Quartz"/>
0497         </LogicalPart>
0498         <LogicalPart name="C4HF" category="unspecified">
0499             <rSolid name="C4HF"/>
0500             <rMaterial name="materials:Quartz"/>
0501         </LogicalPart>
0502         <!-- materials for the dead HAD volumes -->
0503         <LogicalPart name="CHDC" category="unspecified">
0504             <rSolid name="CHDC"/>
0505             <rMaterial name="materials:Air"/>
0506         </LogicalPart>
0507         <LogicalPart name="CHDS" category="unspecified">
0508             <rSolid name="CHDS"/>
0509             <rMaterial name="materials:Air"/>
0510         </LogicalPart>
0511         <LogicalPart name="CHDR" category="unspecified">
0512             <rSolid name="CHDR"/>
0513             <rMaterial name="materials:Air"/>
0514         </LogicalPart>
0515         <LogicalPart name="CHAL" category="unspecified">
0516             <rSolid name="CHAL"/>
0517             <rMaterial name="materials:Aluminium"/>
0518         </LogicalPart>
0519         <LogicalPart name="CHAI" category="unspecified">
0520             <rSolid name="CHAI"/>
0521             <rMaterial name="materials:Air"/>
0522         </LogicalPart>
0523         <LogicalPart name="CHEL" category="unspecified">
0524             <rSolid name="CHEL"/>
0525             <rMaterial name="materials:Castor_Electronics averag"/>
0526         </LogicalPart>
0527         <!--  -->
0528     </LogicalPartSection>
0529     <PosPartSection label="castor.xml">
0530         <!--  -->
0531         <!--  -->
0532         <!-- main CASTOR volume inside polycone "forward:Castor" -->
0533         <!--  -->
0534         <PosPart copyNumber="1">
0535             <rParent name="forward:CastorB"/>
0536             <rChild name="castor:CASTFar"/>
0537             <rRotation name="castor:CASTFarTilt"/>
0538             <!-- please multiply x by -1 since CASTOR on eta minus side is mirrored-->
0539             <!-- the tilt is defined so that the face position center face position does not change-->
0540             <Translation x="0.0*cm - [castor:castLength]*sin([castor:CASTFarTiltAngle])"
0541                          y="0.0*cm"
0542                          z="0*mm + [castor:castLength]*(1-cos([castor:CASTFarTiltAngle]))"/>
0543         </PosPart>
0544         <PosPart copyNumber="1">
0545             <rParent name="forward:CastorB"/>
0546             <rChild name="castor:CASTNear"/>
0547             <rRotation name="castor:CASTNearTilt"/>
0548             <!-- please multiply x by -1 since CASTOR on eta minus side is mirrored-->
0549             <!-- the tilt is defined so that the face position center face position does not change-->
0550             <Translation x="0.0*cm - [castor:castLength]*sin([castor:CASTNearTiltAngle])"
0551                          y="0.0*cm"
0552                          z="0*mm + [castor:castLength]*(1-cos([castor:CASTNearTiltAngle]))"/>
0553         </PosPart>
0554 
0555         <PosPart copyNumber="2">
0556             <rParent name="castor:CASTNear"/>
0557             <rChild name="castor:CAST"/>
0558             <rRotation name="rotations:R090"/>
0559             <Translation x="0.0*cm" y="0.0*cm" z="-0.1*mm" />
0560         </PosPart>
0561 
0562         <PosPart copyNumber="3">
0563             <rParent name="castor:CASTFar"/>
0564             <rChild name="castor:CAST"/>
0565             <rRotation name="rotations:R270"/>
0566             <Translation x="0.0*cm" y="0.0*cm" z="-0.1*mm" />
0567         </PosPart>
0568         <!--  -->
0569         <!-- Aluminium volume between EM & HAD sections : 1 copy  -->
0570         <PosPart copyNumber="1">
0571             <rParent name="castor:CAST"/>
0572             <rChild name="castor:CAAI"/>
0573             <rRotation name="rotations:000D"/>
0574             <Translation x="0.0*cm" y="0.0*cm" z="103.1*mm"/>
0575         </PosPart>
0576         <!-- EM calorimeter  1 copy -->
0577         <!--  -->
0578         <PosPart copyNumber="1">
0579             <rParent name="castor:CAST"/>
0580             <rChild name="castor:CAEC"/>
0581             <rRotation name="rotations:000D"/>
0582             <Translation x="0.0*cm" y="0.0*cm" z="0.1*mm"/>
0583         </PosPart>
0584         <!-- HADRONIC calorimeter 1 copy  -->
0585         <PosPart copyNumber="1">
0586             <rParent name="castor:CAST"/>
0587             <rChild name="castor:CAHC"/>
0588             <rRotation name="rotations:000D"/>
0589             <Translation x="0.0*cm" y="0.0*cm" z="108.1*mm"/>
0590         </PosPart>
0591         <!--  -->
0592         <!--  -->
0593         <!-- one EM-sector 4 copies in each half-->
0594         <!--  -->
0595         <PosPart copyNumber="1">
0596             <rParent name="castor:CAEC"/>
0597             <rChild name="castor:CAES"/>
0598             <rRotation name="rotations:000D"/>
0599         </PosPart>
0600         <PosPart copyNumber="2">
0601             <rParent name="castor:CAEC"/>
0602             <rChild name="castor:CAES"/>
0603             <rRotation name="rotations:R045"/>
0604         </PosPart>
0605         <PosPart copyNumber="3">
0606             <rParent name="castor:CAEC"/>
0607             <rChild name="castor:CAES"/>
0608             <rRotation name="rotations:R090"/>
0609         </PosPart>
0610         <PosPart copyNumber="4">
0611             <rParent name="castor:CAEC"/>
0612             <rChild name="castor:CAES"/>
0613             <rRotation name="rotations:R135"/>
0614         </PosPart>
0615         <!--  -->
0616         <!-- HADRONIC part sector :  4 copies in each half-->
0617         <!--  -->
0618         <PosPart copyNumber="1">
0619             <rParent name="castor:CAHC"/>
0620             <rChild name="castor:CAHS"/>
0621             <rRotation name="rotations:000D"/>
0622         </PosPart>
0623         <PosPart copyNumber="2">
0624             <rParent name="castor:CAHC"/>
0625             <rChild name="castor:CAHS"/>
0626             <rRotation name="rotations:R045"/>
0627         </PosPart>
0628         <PosPart copyNumber="3">
0629             <rParent name="castor:CAHC"/>
0630             <rChild name="castor:CAHS"/>
0631             <rRotation name="rotations:R090"/>
0632         </PosPart>
0633         <PosPart copyNumber="4">
0634             <rParent name="castor:CAHC"/>
0635             <rChild name="castor:CAHS"/>
0636             <rRotation name="rotations:R135"/>
0637         </PosPart>
0638         <!--  -->
0639         <!--  -->
0640         <!-- EM read-out channels, 2 copies 5 layers each -->
0641         <!--  -->
0642         <PosPart copyNumber="1">
0643             <rParent name="castor:CAES"/>
0644             <rChild name="castor:CAER"/>
0645             <rRotation name="rotations:000D"/>
0646             <Translation x="0.0*mm" y="0.0*mm" z="0.0*mm"/>
0647         </PosPart>
0648         <PosPart copyNumber="2">
0649             <rParent name="castor:CAES"/>
0650             <rChild name="castor:CAER"/>
0651             <rRotation name="rotations:000D"/>
0652             <Translation x="0.0*mm" y="0.0*mm" z="51.5*mm"/>
0653         </PosPart>
0654         <!-- reduced rmin, rmax volume  -->
0655         <PosPart copyNumber="1">
0656             <rParent name="castor:CAER"/>
0657             <rChild name="castor:CERR"/>
0658             <rRotation name="rotations:000D"/>
0659             <Translation x="2.41*cos(22.5*deg)*mm" y="2.41*sin(22.5*deg)*mm" z="0.0*mm"/>
0660             
0661         </PosPart>
0662         <!--  -->
0663         <!-- HAD read-out channel  12 copies include 5 layers -->
0664         <!--  -->
0665         <PosPart copyNumber="1">
0666             <rParent name="castor:CAHS"/>
0667             <rChild name="castor:CAHR"/>
0668             <rRotation name="rotations:000D"/>
0669             <Translation x="0.0*mm" y="0.0*mm" z="0.0*mm"/>
0670         </PosPart>
0671         <PosPart copyNumber="2">
0672             <rParent name="castor:CAHS"/>
0673             <rChild name="castor:CAHR"/>
0674             <rRotation name="rotations:000D"/>
0675             <Translation x="0.0*mm" y="0.0*mm" z="101.0*mm"/>
0676         </PosPart>
0677         <PosPart copyNumber="3">
0678             <rParent name="castor:CAHS"/>
0679             <rChild name="castor:CAHR"/>
0680             <rRotation name="rotations:000D"/>
0681             <Translation x="0.0*mm" y="0.0*mm" z="202.0*mm"/>
0682         </PosPart>
0683         <PosPart copyNumber="4">
0684             <rParent name="castor:CAHS"/>
0685             <rChild name="castor:CAHR"/>
0686             <rRotation name="rotations:000D"/>
0687             <Translation x="0.0*mm" y="0.0*mm" z="303.0*mm"/>
0688         </PosPart>
0689         <PosPart copyNumber="5">
0690             <rParent name="castor:CAHS"/>
0691             <rChild name="castor:CAHR"/>
0692             <rRotation name="rotations:000D"/>
0693             <Translation x="0.0*mm" y="0.0*mm" z="404.0*mm"/>
0694         </PosPart>
0695         <PosPart copyNumber="6">
0696             <rParent name="castor:CAHS"/>
0697             <rChild name="castor:CAHR"/>
0698             <rRotation name="rotations:000D"/>
0699             <Translation x="0.0*mm" y="0.0*mm" z="505.0*mm"/>
0700         </PosPart>
0701         <PosPart copyNumber="7">
0702             <rParent name="castor:CAHS"/>
0703             <rChild name="castor:CAHR"/>
0704             <rRotation name="rotations:000D"/>
0705             <Translation x="0.0*mm" y="0.0*mm" z="606.0*mm"/>
0706         </PosPart>
0707         <PosPart copyNumber="8">
0708             <rParent name="castor:CAHS"/>
0709             <rChild name="castor:CAHR"/>
0710             <rRotation name="rotations:000D"/>
0711             <Translation x="0.0*mm" y="0.0*mm" z="707.0*mm"/>
0712         </PosPart>
0713         <PosPart copyNumber="9">
0714             <rParent name="castor:CAHS"/>
0715             <rChild name="castor:CAHR"/>
0716             <rRotation name="rotations:000D"/>
0717             <Translation x="0.0*mm" y="0.0*mm" z="808.0*mm"/>
0718         </PosPart>
0719         <PosPart copyNumber="10">
0720             <rParent name="castor:CAHS"/>
0721             <rChild name="castor:CAHR"/>
0722             <rRotation name="rotations:000D"/>
0723             <Translation x="0.0*mm" y="0.0*mm" z="909.0*mm"/>
0724         </PosPart>
0725         <PosPart copyNumber="11">
0726             <rParent name="castor:CAHS"/>
0727             <rChild name="castor:CAHR"/>
0728             <rRotation name="rotations:000D"/>
0729             <Translation x="0.0*mm" y="0.0*mm" z="1010.0*mm"/>
0730         </PosPart>
0731         <PosPart copyNumber="12">
0732             <rParent name="castor:CAHS"/>
0733             <rChild name="castor:CAHR"/>
0734             <rRotation name="rotations:000D"/>
0735             <Translation x="0.0*mm" y="0.0*mm" z="1111.0*mm"/>
0736         </PosPart>
0737         <!-- reduced rmin, rmax volumes -->
0738         <PosPart copyNumber="1">
0739             <rParent name="castor:CAHR"/>
0740             <rChild name="castor:CHRR"/>
0741             <rRotation name="rotations:000D"/>
0742             <Translation x="2.41*cos(22.5*deg)*mm" y="2.41*sin(22.5*deg)*mm" z="0.0*mm"/>
0743         </PosPart>
0744         <!--  -->
0745         <!-- EM layers :   5 copies -->
0746         <!--  -->
0747         <PosPart copyNumber="1">
0748             <rParent name="castor:CERR"/>
0749             <rChild name="castor:CAEL"/>
0750             <rRotation name="rotations:000D"/>
0751             <Translation x="0.0*mm" y="0.0*mm" z="0.0*mm"/>
0752         </PosPart>
0753         <PosPart copyNumber="2">
0754             <rParent name="castor:CERR"/>
0755             <rChild name="castor:CAEL"/>
0756             <rRotation name="rotations:000D"/>
0757             <Translation x="0.0*mm" y="0.0*mm" z="10.30*mm"/>
0758         </PosPart>
0759         <PosPart copyNumber="3">
0760             <rParent name="castor:CERR"/>
0761             <rChild name="castor:CAEL"/>
0762             <rRotation name="rotations:000D"/>
0763             <Translation x="0.0*mm" y="0.0*mm" z="20.60*mm"/>
0764         </PosPart>
0765         <PosPart copyNumber="4">
0766             <rParent name="castor:CERR"/>
0767             <rChild name="castor:CAEL"/>
0768             <rRotation name="rotations:000D"/>
0769             <Translation x="0.0*mm" y="0.0*mm" z="30.90*mm"/>
0770         </PosPart>
0771         <PosPart copyNumber="5">
0772             <rParent name="castor:CERR"/>
0773             <rChild name="castor:CAEL"/>
0774             <rRotation name="rotations:000D"/>
0775             <Translation x="0.0*mm" y="0.0*mm" z="41.20*mm"/>
0776         </PosPart>
0777         <!--  -->
0778         <!-- HAD layers : 5 copies -->
0779         <!--  -->
0780         <PosPart copyNumber="1">
0781             <rParent name="castor:CHRR"/>
0782             <rChild name="castor:CAHL"/>
0783             <rRotation name="rotations:000D"/>
0784             <Translation x="0.0*mm" y="0.0*mm" z="0.0*mm"/>
0785         </PosPart>
0786         <PosPart copyNumber="2">
0787             <rParent name="castor:CHRR"/>
0788             <rChild name="castor:CAHL"/>
0789             <rRotation name="rotations:000D"/>
0790             <Translation x="0.0*mm" y="0.0*mm" z="20.20*mm"/>
0791         </PosPart>
0792         <PosPart copyNumber="3">
0793             <rParent name="castor:CHRR"/>
0794             <rChild name="castor:CAHL"/>
0795             <rRotation name="rotations:000D"/>
0796             <Translation x="0.0*mm" y="0.0*mm" z="40.40*mm"/>
0797         </PosPart>
0798         <PosPart copyNumber="4">
0799             <rParent name="castor:CHRR"/>
0800             <rChild name="castor:CAHL"/>
0801             <rRotation name="rotations:000D"/>
0802             <Translation x="0.0*mm" y="0.0*mm" z="60.60*mm"/>
0803         </PosPart>
0804         <PosPart copyNumber="5">
0805             <rParent name="castor:CHRR"/>
0806             <rChild name="castor:CAHL"/>
0807             <rRotation name="rotations:000D"/>
0808             <Translation x="0.0*mm" y="0.0*mm" z="80.80*mm"/>
0809         </PosPart>
0810         <!--  -->
0811         <!--  -->
0812         <!-- EM section: Air-Paper-Quartz volumes 1 by 1 by 1 copies -->
0813         <!--  -->
0814         <PosPart copyNumber="1">
0815             <rParent name="castor:CAEL"/>
0816             <rChild name="castor:CAEA"/>
0817             <rRotation name="rotations:000D"/>
0818             <Translation x="0.0*mm" y="0.0*mm" z="7.07*mm"/>
0819         </PosPart>
0820         <PosPart copyNumber="1">
0821             <rParent name="castor:CAEA"/>
0822             <rChild name="castor:CAEF"/>
0823             <rRotation name="rotations:000D"/>
0824             <Translation x="0.0*mm" y="0.0*mm" z="0.2*mm"/>
0825         </PosPart>
0826         <PosPart copyNumber="1">
0827             <rParent name="castor:CAEF"/>
0828             <rChild name="castor:C3EF"/>
0829             <rRotation name="rotations:000D"/>
0830             <Translation x="0.0*mm" y="0.0*mm" z="0.000*mm"/>
0831         </PosPart>
0832         <PosPart copyNumber="1">
0833             <rParent name="castor:CAEF"/>
0834             <rChild name="castor:C4EF"/>
0835             <rRotation name="rotations:000D"/>
0836             <Translation x="0.0*mm" y="0.0*mm" z="0.000*mm"/>
0837         </PosPart>
0838         <!-- HAD sampling unit : Air-Paper-Quartz volumes 1 by 1 by 1 copies -->
0839         <!--  -->
0840         <PosPart copyNumber="1">
0841             <rParent name="castor:CAHL"/>
0842             <rChild name="castor:CAHA"/>
0843             <rRotation name="rotations:000D"/>
0844             <Translation x="0.0*mm" y="0.0*mm" z="14.14*mm"/>
0845         </PosPart>
0846         <PosPart copyNumber="1">
0847             <rParent name="castor:CAHA"/>
0848             <rChild name="castor:CAHF"/>
0849             <rRotation name="rotations:000D"/>
0850             <Translation x="0.0*mm" y="0.0*mm" z="0.28142*mm"/>
0851         </PosPart>
0852         <PosPart copyNumber="1">
0853             <rParent name="castor:CAHF"/>
0854             <rChild name="castor:C3HF"/>
0855             <rRotation name="rotations:000D"/>
0856             <Translation x="0.0*mm" y="0.0*mm" z="0.000*mm"/>
0857         </PosPart>
0858         <PosPart copyNumber="1">
0859             <rParent name="castor:CAHF"/>
0860             <rChild name="castor:C4HF"/>
0861             <rRotation name="rotations:000D"/>
0862             <Translation x="0.0*mm" y="0.0*mm" z="0.000*mm"/>
0863         </PosPart>
0864         <!--  -->
0865         <!-- copies for dead material -->
0866         <!-- EM dead material -->
0867         <PosPart copyNumber="1">
0868             <rParent name="castor:CAST"/>
0869             <rChild name="castor:CEDC"/>
0870             <rRotation name="rotations:000D"/>
0871         </PosPart>
0872         <PosPart copyNumber="1">
0873             <rParent name="castor:CEDC"/>
0874             <rChild name="castor:CEDS"/>
0875             <rRotation name="rotations:000D"/>
0876         </PosPart>
0877         <PosPart copyNumber="2">
0878             <rParent name="castor:CEDC"/>
0879             <rChild name="castor:CEDS"/>
0880             <rRotation name="rotations:R045"/>
0881         </PosPart>
0882         <PosPart copyNumber="3">
0883             <rParent name="castor:CEDC"/>
0884             <rChild name="castor:CEDS"/>
0885             <rRotation name="rotations:R090"/>
0886         </PosPart>
0887         <PosPart copyNumber="4">
0888             <rParent name="castor:CEDC"/>
0889             <rChild name="castor:CEDS"/>
0890             <rRotation name="rotations:R135"/>
0891         </PosPart>
0892         <PosPart copyNumber="1">
0893             <rParent name="castor:CEDS"/>
0894             <rChild name="castor:CEDR"/>
0895             <rRotation name="rotations:000D"/>
0896             <Translation x="0.0*mm" y="0.0*mm" z="0.0*mm"/>
0897         </PosPart>
0898         <PosPart copyNumber="2">
0899             <rParent name="castor:CEDS"/>
0900             <rChild name="castor:CEDR"/>
0901             <rRotation name="rotations:000D"/>
0902             <Translation x="0.0*mm" y="0.0*mm" z="51.5*mm"/>
0903         </PosPart>
0904         <!-- HAD dead volumes -->
0905         <PosPart copyNumber="1">
0906             <rParent name="castor:CAST"/>
0907             <rChild name="castor:CHDC"/>
0908             <rRotation name="rotations:000D"/>
0909         </PosPart>
0910         <PosPart copyNumber="1">
0911             <rParent name="castor:CHDC"/>
0912             <rChild name="castor:CHDS"/>
0913             <rRotation name="rotations:000D"/>
0914         </PosPart>
0915         <PosPart copyNumber="2">
0916             <rParent name="castor:CHDC"/>
0917             <rChild name="castor:CHDS"/>
0918             <rRotation name="rotations:R045"/>
0919         </PosPart>
0920         <PosPart copyNumber="3">
0921             <rParent name="castor:CHDC"/>
0922             <rChild name="castor:CHDS"/>
0923             <rRotation name="rotations:R090"/>
0924         </PosPart>
0925         <PosPart copyNumber="4">
0926             <rParent name="castor:CHDC"/>
0927             <rChild name="castor:CHDS"/>
0928             <rRotation name="rotations:R135"/>
0929         </PosPart>
0930         <PosPart copyNumber="1">
0931             <rParent name="castor:CHDS"/>
0932             <rChild name="castor:CHDR"/>
0933             <rRotation name="rotations:000D"/>
0934             <Translation x="0.0*mm" y="0.0*mm" z="0.0*mm"/>
0935         </PosPart>
0936         <PosPart copyNumber="2">
0937             <rParent name="castor:CHDS"/>
0938             <rChild name="castor:CHDR"/>
0939             <rRotation name="rotations:000D"/>
0940             <Translation x="0.0*mm" y="0.0*mm" z="101.0*mm"/>
0941         </PosPart>
0942         <PosPart copyNumber="3">
0943             <rParent name="castor:CHDS"/>
0944             <rChild name="castor:CHDR"/>
0945             <rRotation name="rotations:000D"/>
0946             <Translation x="0.0*mm" y="0.0*mm" z="202.0*mm"/>
0947         </PosPart>
0948         <PosPart copyNumber="4">
0949             <rParent name="castor:CHDS"/>
0950             <rChild name="castor:CHDR"/>
0951             <rRotation name="rotations:000D"/>
0952             <Translation x="0.0*mm" y="0.0*mm" z="303.0*mm"/>
0953         </PosPart>
0954         <PosPart copyNumber="5">
0955             <rParent name="castor:CHDS"/>
0956             <rChild name="castor:CHDR"/>
0957             <rRotation name="rotations:000D"/>
0958             <Translation x="0.0*mm" y="0.0*mm" z="404.0*mm"/>
0959         </PosPart>
0960         <PosPart copyNumber="6">
0961             <rParent name="castor:CHDS"/>
0962             <rChild name="castor:CHDR"/>
0963             <rRotation name="rotations:000D"/>
0964             <Translation x="0.0*mm" y="0.0*mm" z="505.0*mm"/>
0965         </PosPart>
0966         <PosPart copyNumber="7">
0967             <rParent name="castor:CHDS"/>
0968             <rChild name="castor:CHDR"/>
0969             <rRotation name="rotations:000D"/>
0970             <Translation x="0.0*mm" y="0.0*mm" z="606.0*mm"/>
0971         </PosPart>
0972         <PosPart copyNumber="8">
0973             <rParent name="castor:CHDS"/>
0974             <rChild name="castor:CHDR"/>
0975             <rRotation name="rotations:000D"/>
0976             <Translation x="0.0*mm" y="0.0*mm" z="707.0*mm"/>
0977         </PosPart>
0978         <PosPart copyNumber="9">
0979             <rParent name="castor:CHDS"/>
0980             <rChild name="castor:CHDR"/>
0981             <rRotation name="rotations:000D"/>
0982             <Translation x="0.0*mm" y="0.0*mm" z="808.0*mm"/>
0983         </PosPart>
0984         <PosPart copyNumber="10">
0985             <rParent name="castor:CHDS"/>
0986             <rChild name="castor:CHDR"/>
0987             <rRotation name="rotations:000D"/>
0988             <Translation x="0.0*mm" y="0.0*mm" z="909.0*mm"/>
0989         </PosPart>
0990         <PosPart copyNumber="11">
0991             <rParent name="castor:CHDS"/>
0992             <rChild name="castor:CHDR"/>
0993             <rRotation name="rotations:000D"/>
0994             <Translation x="0.0*mm" y="0.0*mm" z="1010.0*mm"/>
0995         </PosPart>
0996         <PosPart copyNumber="12">
0997             <rParent name="castor:CHDS"/>
0998             <rChild name="castor:CHDR"/>
0999             <rRotation name="rotations:000D"/>
1000             <Translation x="0.0*mm" y="0.0*mm" z="1111.0*mm"/>
1001         </PosPart>
1002         <PosPart copyNumber="1">
1003             <rParent name="castor:CEDR"/>
1004             <rChild name="castor:CEAL"/>
1005             <rRotation name="rotations:CABK"/>
1006             <Translation x="283.5002*mm" y="85.037*mm" z="239.2853*mm"/>
1007         </PosPart>
1008         <PosPart copyNumber="2">
1009             <rParent name="castor:CEDR"/>
1010             <rChild name="castor:CEAL"/>
1011             <rRotation name="rotations:CABK"/>
1012             <Translation x="260.5945*mm" y="140.33465*mm" z="239.2853*mm"/>
1013         </PosPart>
1014         <!-- shift back by rShift in direction of axis -->
1015         <PosPart copyNumber="1">
1016             <rParent name="castor:CEAL"/>
1017             <rChild name="castor:CEAI"/>
1018             <rRotation name="rotations:000D"/>
1019             <Translation x="[castor:LGxShift]"
1020                          y="[castor:LGyShift]"
1021                          z="0.0*mm"/>
1022         </PosPart>
1023         <PosPart copyNumber="1">
1024             <rParent name="castor:CEDR"/>
1025             <rChild name="castor:CEEL"/>
1026             <rRotation name="rotations:000D"/>
1027             <Translation x="11.4525*mm" y="-27.6488*mm" z="-13.0*mm"/>
1028         </PosPart>
1029         <PosPart copyNumber="2">
1030             <rParent name="castor:CEDR"/>
1031             <rChild name="castor:CEEL"/>
1032             <rRotation name="rotations:000D"/>
1033             <Translation x="-11.4525*mm" y="27.6488*mm" z="-13.0*mm"/>
1034         </PosPart>
1035         <PosPart copyNumber="1">
1036             <rParent name="castor:CHDR"/>
1037             <rChild name="castor:CHAL"/>
1038             <rRotation name="rotations:CABK"/>
1039             <Translation x="289.1883*mm" y="79.7934*mm" z="404.6267*mm"/>
1040         </PosPart>
1041         <PosPart copyNumber="2">
1042             <rParent name="castor:CHDR"/>
1043             <rChild name="castor:CHAL"/>
1044             <rRotation name="rotations:CABK"/>
1045             <Translation x="260.9096*mm" y="148.0646*mm" z="404.6267*mm"/>
1046         </PosPart>
1047         <PosPart copyNumber="1">
1048             <rParent name="castor:CHAL"/>
1049             <rChild name="castor:CHAI"/>
1050             <rRotation name="rotations:000D"/>
1051             <Translation x="1.5460*mm" y="0.6404*mm" z="0.0*mm"/>
1052         </PosPart>
1053         <PosPart copyNumber="1">
1054             <rParent name="castor:CHDR"/>
1055             <rChild name="castor:CHEL"/>
1056             <rRotation name="rotations:000D"/>
1057             <Translation x="14.1393*mm" y="-34.1354*mm" z="109.5*mm"/>
1058         </PosPart>
1059         <PosPart copyNumber="2">
1060             <rParent name="castor:CHDR"/>
1061             <rChild name="castor:CHEL"/>
1062             <rRotation name="rotations:000D"/>
1063             <Translation x="-14.1393*mm" y="34.1354*mm" z="109.5*mm"/>
1064         </PosPart>
1065     </PosPartSection>
1066 </DDDefinition>