Back to home page

Project CMSSW displayed by LXR

 
 

    


Warning, /Geometry/FP420CommonData/data/hhhrectangle.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     <!--    -->
0004     <ConstantsSection label="hhhrectangle.xml" eval="true">
0005         <!--  -->
0006         <!--  -->
0007         <!-- DEFINE 3D IN Y DIRECTION; IT WILL BE ROTATED THEN IN 90 DEGREE TO LIE AS IN REALITY (IN X) -->
0008         <!--  -->
0009         <!-- external radius of beam pipe in pocket area  (it was 33.35 before)) -->
0010         <Constant name="TubR" value="35.0*mm"/>
0011         <!-- external radius of beam pipe out pocket area    -->
0012         <Constant name="OutTubR" value="40.0*mm"/>
0013         <!--  -->
0014         <!--  -->
0015         <!-- x-size of pocket:it's not possible to have BoxDx bigger TubR    -->
0016         <!-- 2.* BoxDx(=15) must be bigger   2*XSiStation   -->
0017         <Constant name="BoxDx" value="34.0*mm"/>
0018         <!-- copper x-thickness of pocket  -->
0019         <Constant name="DxThickCop" value="0.05*mm"/>
0020         <!-- st.steel x-thickness of pocket  -->
0021         <Constant name="DxThickSte" value="0.15*mm"/>
0022         <!--Copper -->
0023         <!-- copper thickness for beam pipe Radius in pocket range -->
0024         <Constant name="dRcopper" value="0.05*mm"/>
0025         <!-- copper thickness (in Y) in range of flat pocket part -->
0026         <Constant name="dYcopper" value="0.05*mm"/>
0027         <!-- copper thickness of window    0.05 was                   -->
0028         <Constant name="dZcopper" value="0.05*mm"/>
0029         <!--  -->
0030         <!--StainlessSteel  -->
0031         <!-- StainlessSteel thickness of beam pipe in pocket region -->
0032         <Constant name="dRsteel" value="2.00*mm"/>
0033         <!-- StSteel thickness (in Y) in range of flat pocket part -->
0034         <Constant name="dYsteel" value="0.15*mm"/>
0035         <!-- StSteel thickness of window       0.15 was               -->
0036         <Constant name="dZsteel" value="0.45*mm"/>
0037         <!--  -->
0038         <!--  -->
0039         <!-- technical/safety value to construct SubtractionSolid -->
0040         <Constant name="delta" value="0.01*mm"/>
0041         <!--  -->
0042         <!--  -->
0043         <!--  -->
0044         <!-- y-size from tube center to bottom of flat horizontal pocket part -->
0045         <Constant name="gap" value="1.6*mm"/>
0046         <!--  <Constant name="gap"      value="4.3*mm"/>t -->
0047         <!--                          +4.3+0.05+0.15 = 4.5     -->
0048         <!--  -->
0049         <!--    y-distance from tube center to top of flat pocket part:  -->
0050         <!-- it's used because of previous set up , re-calculated as:  -->
0051         <Constant name="BoxYshft" value="[gap]+[dYcopper]+[dYsteel]"/>
0052         <!--  -->
0053         <!--  -->
0054         <!-- dYGap is a gap between top of flat horizontal part of pocket and detector(YSiStation) bottom -->
0055         <Constant name="dYGap" value="0.2*mm"/>
0056         <!-- so, y-size from tube center to detector bottom is 4.5+0.2=4.7-->
0057         <!--  -->
0058         <!--    Complete Unit size for tube with radius TubR: -->
0059         <!--  -->
0060         <!-- area 2*ZinWidth = Zmiddle for flanze in frame of (TubR) internal pockets area  -->
0061         <!-- besides, Zmiddle - distance between two neigb. pockets HPS240SBST, HPS240SBSTG (for St1, St3.)  -->
0062         <Constant name="ZinWidth" value="35.*mm"/>
0063         <Constant name="Zmiddle" value="2*[ZinWidth]"/>
0064         <!-- external Flanze radius -->
0065         <Constant name="RinFlanze" value="50.*mm"/>
0066         <!-- z-size of Flanze -->
0067         <Constant name="ZinFlanze" value="14.*mm"/>
0068         <!--  -->
0069         <!-- outside the pocket: -->
0070         <!-- area 2) it's area of other flanze and bellows: HPS240E2 -->
0071         <!-- 2*ZoutWidth for flanze and bellow out of pocket area (for tube radius OutTubR) -->
0072         <!-- total width of area 2)  -->
0073         <Constant name="ZoutWidth" value="100.*mm"/>
0074         <!-- other flantz width in area 2) -->
0075         <Constant name="ZoutFlanze" value="20.*mm"/>
0076         <!-- thickness of tube in area 2) , so, R = OutTubR-ZoutFlanze to OutTubR    -->
0077         <Constant name="RoutThick" value="4.0*mm"/>
0078         <!-- bellows shift from flanze   -->
0079         <Constant name="BellowsShift" value="10.*mm"/>
0080         <!-- total width of bellows   -->
0081         <Constant name="BellowsWidth" value="2*([ZoutWidth]/2 - [ZoutFlanze])-[BellowsShift]"/>
0082         <!-- <Constant name="BellowsWidth"            value="50.0*mm"/>  -->
0083         <!-- StSteel thickness of bellows   -->
0084         <Constant name="BellowsT" value="1.0*mm"/>
0085         <!--  -->
0086         <!--  -->
0087         <!--       ZUnit -length of Ex1,      ZUnit1 -length of Ex2,   ZUnit2 -length of Ex3            -->
0088         <!--ZD2-between centers of 1st and 2nd stations;  ZD3 - between centers of 1st and 3rd stations -->
0089         <!--  -->
0090         <!-- put values for ZUnit,ZD2,ZD3 and then ZUnit1 and ZUnit2 calculated via known formulas -->
0091         <!--  -->
0092         <!--  -->
0093         <!--case 1m between 1st and 2nd stations                                                                -->
0094         <!-- <Constant name="ZD2"           value="1000.*mm"/> -->
0095         <!-- <Constant name="ZD3"           value="8000.*mm"/> -->
0096         <!-- <Constant name="ZUnit"           value="1000.*mm"/> -->
0097         <!--  -->
0098         <!-- case equidistant distance between stations d2=4m. Put zUnit=4000 to have the same for ZUnit1,ZUnit2-->
0099         <!--  <Constant name="ZD2"           value="4000.*mm"/> -->
0100         <!--  <Constant name="ZD3"           value="8000.*mm"/> -->
0101         <!--  <Constant name="ZUnit"         value="4000.*mm"/> -->
0102         <!--  -->
0103         <!--  -->
0104         <!--  -->
0105         <!--                              2 Stations only                                                       -->
0106         <!-- 8m -->
0107         <Constant name="ZD2" value="4000.*mm"/>
0108         <Constant name="ZD3" value="8000.*mm"/>
0109         <Constant name="ZUnit" value="8000.*mm"/>
0110         <!-- 4m -->
0111         <!-- <Constant name="ZD2"           value="2000.*mm"/> -->
0112         <!-- <Constant name="ZD3"           value="4000.*mm"/> -->
0113         <!-- <Constant name="ZUnit"         value="4000.*mm"/> -->
0114         <!-- 2 -->
0115         <!--  <Constant name="ZD2"           value="1000.*mm"/>  -->
0116         <!--  <Constant name="ZD3"           value="2000.*mm"/>  -->
0117         <!--  <Constant name="ZUnit"         value="2000.*mm"/>  -->
0118         <!-- 1 -->
0119         <!-- <Constant name="ZD2"           value="500.*mm"/>  -->
0120         <!-- <Constant name="ZD3"           value="1000.*mm"/>  -->
0121         <!-- <Constant name="ZUnit"         value="1000.*mm"/>  -->
0122         <!--  -->
0123         <!--                                                                                                     -->
0124         <!--  -->
0125         <!--  -->
0126         <!--  -->
0127         <!--  -->
0128         <!--  -->
0129         <Constant name="ZUnit1" value="2*[ZD2]-[ZUnit]"/>
0130         <Constant name="ZUnit2" value="2*[ZD3]-2*[ZUnit1]-[ZUnit]"/>
0131         <!--  -->
0132         <!--  -->
0133         <!--                                                                              Parameter Values for station:  -->
0134         <!--  -->
0135         <!--              GasTof                 -->
0136         <Constant name="XGasWall" value="30.0*mm"/>
0137         <Constant name="XGasWThick" value="0.200*mm"/>
0138         <Constant name="XGasTof" value="[XGasWall]-2*[XGasWThick]"/>
0139         <Constant name="YGasWall" value="30.0*mm"/>
0140         <Constant name="YGasWThick" value="0.200*mm"/>
0141         <Constant name="YGasTof" value="[YGasWall]-2*[YGasWThick]"/>
0142         <Constant name="ZGasWall" value="360.0*mm"/>
0143         <Constant name="ZGasWThick" value="0.200*mm"/>
0144         <Constant name="ZGasTof" value="[ZGasWall]-2*[ZGasWThick]"/>
0145         <!--  -->
0146         <!-- Station itself: -->
0147         <!--  -->
0148         <Constant name="XSiStation" value="102.0*mm"/>
0149         <Constant name="XSiPlane" value="101.0*mm"/>
0150         <Constant name="XSiDet" value="7.2*mm"/>
0151         <Constant name="XSiDetCer" value="10.0*mm"/>
0152         <Constant name="XSiOutCer" value="10.0*mm"/>
0153         <Constant name="XSiOut0Cer" value="10.0*mm"/>
0154         <Constant name="XTurnPlate" value="20.0*mm"/>
0155         <Constant name="XTurn0Plate" value="30.0*mm"/>
0156         <Constant name="XFlexes" value="50.0*mm"/>
0157         <Constant name="XMccCard" value="100.0*mm"/>
0158         <!--  -->
0159         <Constant name="XDropOutCer" value="([XSiDetCer]+[XSiOutCer])/2"/>
0160         <Constant name="XDropTurnPlate" value="([XSiDetCer]+[XTurnPlate])/2+[XSiOutCer]"/>
0161         <!--  -->
0162         <!--  -->
0163         <Constant name="YSiStation" value="182.0*mm"/>
0164         <Constant name="YSiPlane" value="181.0*mm"/>
0165         <Constant name="YSiDet" value="8.0*mm"/>
0166         <Constant name="YSiDetCer" value="30.0*mm"/>
0167         <Constant name="YSiOutCer" value="40.0*mm"/>
0168         <Constant name="YSiOut0Cer" value="10.0*mm"/>
0169         <Constant name="YTurnPlate" value="60.0*mm"/>
0170         <Constant name="YTurn0Plate" value="20.0*mm"/>
0171         <Constant name="YFlexes" value="40.0*mm"/>
0172         <Constant name="YMccCard" value="80.0*mm"/>
0173         <!--  -->
0174         <Constant name="YDropPlane" value="-([YSiStation]-[YSiPlane])/2"/>
0175         <Constant name="YDropDet1" value="-([YSiPlane]-[YSiDet])/2"/>
0176         <Constant name="YDropDet2" value="-([YSiPlane]-[YSiDet])/2+[YSiDet]"/>
0177         <Constant name="YDropDet3" value="-([YSiPlane]-[YSiDet])/2+[YSiDet]+[YSiDet]"/>
0178         <Constant name="YDropDetCer" value="-([YSiPlane]-[YSiDetCer])/2"/>
0179         <Constant name="YDropOutCer" value="-([YSiPlane]-[YSiOutCer])/2"/>
0180         <Constant name="YDropOut0Cer" value="-([YSiPlane]-[YSiOut0Cer])/2+[YSiDetCer]"/>
0181         <Constant name="YDropTurnPlate" value="-([YSiPlane]-[YTurnPlate])/2"/>
0182         <Constant name="YDropTurn0Plate" value="-([YSiPlane]-[YTurn0Plate])/2+[YSiOutCer]"/>
0183         <Constant name="YDropFlexes" value="-([YSiPlane]-[YFlexes])/2+[YTurnPlate]"/>
0184         <Constant name="YDropMccCard" value="-([YSiPlane]-[YMccCard])/2+[YTurnPlate]+[YFlexes]"/>
0185         <!--  -->
0186         <Constant name="YDropGas" value="-([YSiStation]-[YGasWall])/2"/>
0187         <!--  -->
0188         <!--  -->
0189         <Constant name="zFlexes" value="1.0*mm"/>
0190         <Constant name="zMccCard" value="2.0*mm"/>
0191         <!--  -->
0192         <Constant name="zBlade" value="5.0*mm"/>
0193         <Constant name="gapBlade" value="1.6*mm"/>
0194         <Constant name="gapSupplane" value="1.6*mm"/>
0195         <!-- z- dimension of one plane -->
0196         <!-- <Constant name="ZSiPlane"          value="2.000*mm"/>-->
0197         <Constant name="ZSiPlane" value="2*[zBlade]+[gapBlade]+[gapSupplane]"/>
0198         <!-- plane containe the next content: -->
0199         <!-- z-size of sensitive Si plate  -->
0200         <Constant name="ZSiDet" value="0.250*mm"/>
0201         <!-- z-size of glue material between plates       -->
0202         <Constant name="ZBoundDet" value="0.020*mm"/>
0203         <!-- z-size of electronic Si plate  -->
0204         <Constant name="ZSiElectr" value="0.250*mm"/>
0205         <!-- z-size of sensor  -->
0206         <Constant name="ZSensor" value="[ZSiDet]+[ZBoundDet]+[ZSiElectr]"/>
0207         <!-- z-size of ceramic plate in active area inside superplane (it was 1.0,0.5,0.3 before)-->
0208         <Constant name="ZCeramDet" value="0.5*mm"/>
0209         <!-- z dimention of left gap at the beginning of Si plate  -->
0210         <!--  <Constant name="ZGapLDet"           value="0.100*mm"/> -->
0211         <Constant name="ZGapLDet" value="[zBlade]/2-([ZSensor]+[ZCeramDet]/2)"/>
0212         <!--   -->
0213         <Constant name="Zbeg2plane" value="-[ZSiPlane]/2+[zBlade]+[gapBlade]"/>
0214         <!--  -->
0215         <!--        before left sensor of 1-st plane in superplane                  -->
0216         <Constant name="Zsen11" value="-[ZSiPlane]/2+[ZGapLDet]"/>
0217         <!--        before right sensor of 1-st plane in superplane                  -->
0218         <Constant name="Zsen12" value="-[ZSiPlane]/2+[zBlade]/2+[ZCeramDet]/2"/>
0219         <!--        before left sensor of 2-nd plane in superplane                  -->
0220         <Constant name="Zsen21" value="[Zbeg2plane]+[ZGapLDet]"/>
0221         <!--        before right sensor of 2-nd plane in superplane                  -->
0222         <Constant name="Zsen22" value="[Zbeg2plane]+[zBlade]/2+[ZCeramDet]/2"/>
0223         <!--  -->
0224         <!-- distanse between superplanes-->
0225         <Constant name="ZKapton" value="0.100*mm"/>
0226         <Constant name="ZSiStep" value="[ZSiPlane]+[ZKapton]"/>
0227         <!-- z-size of solid to keep all superplanes together and plus 2 Frames-->
0228         <Constant name="ZStFrame" value="6.000*mm"/>
0229         <Constant name="NumberPl" value="5"/>
0230         <Constant name="Zedge1" value="11.0*mm"/>
0231         <Constant name="Zedge2" value="12.0*mm"/>
0232         <Constant name="ZedgeG1" value="11.0*mm"/>
0233         <Constant name="ZedgeG2" value="12.0*mm"/>
0234         <Constant name="ZSiStation" value="[NumberPl]*[ZSiStep]+2*[ZStFrame]"/>
0235         <!--  ZSiStation = 8*(2*(5.+1.6)+0.1)+2*6.+0.0 = 118.4  -->
0236         <!--  ZSiStation = 5*(2*(5.+1.6)+0.1)+2*6.+1.0 =  79.5  -->
0237         <!--  -->
0238         <!-- Z^Station_center = -(e1+e2+s)/2 + e1 + s/2 = (e1-e2)/2   -->
0239         <!--  -->
0240         <!--z-size of flat part of pocket = 2*BoxDz ()  -->
0241         <Constant name="BoxDz" value="([ZSiStation]+[Zedge1]+[Zedge2])/2"/>
0242         <Constant name="BoxDzG" value="([ZGasWall]+[ZedgeG1]+[ZedgeG2])/2"/>
0243         <!--  -->
0244         <!--  unit of tube of the same radius with one pocket include:     -->
0245         <!--     pocket inclined area and area for flanze:  -->
0246         <!-- area 1) 2*[BoxDz] + 2*[ZinWidth]  = 2*TubZ -->
0247         <!--where 2*BoxDz=8*13.3+2*6(=118.4)+300+160(=578.4)+0.1 - 578.5  -->
0248         <!--  -->
0249         <!--old:-->
0250         <!--         2*( 25    +(  33.35-16.82113357428167003697)/0.2679492)+2.*20. = 213.37313509962582432065  -->
0251         <!--  -->
0252         <!-- So, 2*TubZ = 1)   -->
0253         <Constant name="TubZ" value="[BoxDz]+[ZinWidth]"/>
0254         <Constant name="TubZG" value="[BoxDzG]+[ZinWidth]"/>
0255         <!-- area 3): thickness of this tube the same as for 2): RoutThick    -->
0256         <!-- 2*ZpureTube just tube (OutTubR) to complete space between pockets  -->
0257         <!-- TubZ=[BoxDz] + [ZinWidth] = 289.25+25=314.25-->
0258         <!-- 2*(TubZ+ZoutWidth)=2*(314.25+100)=828.5-->
0259         <!-- total Unit dimension is 1) (2*TubZ) + 2) (2*ZoutWidth) + 3) (2*ZpureTube) = [ZUnit]  -->
0260         <!--  -->
0261         <!--old:-->
0262         <!-- if we want 2500.mm between Stations centers do calculations:  -->
0263         <!-- (2500.-(2.*213.37313509962582432065   + 2.*100.))/2. = 936.62686490037417567935 -->
0264         <!--  <Constant name="ZpureTube"           value="936.62686490037417567935*mm"/> -->
0265         <Constant name="ZpureTubeL" value="([ZUnit]/2.-([TubZ]+[ZoutWidth]))"/>
0266         <Constant name="ZpureTubeR" value="([ZUnit]/2.-([TubZ]+2*[TubZG]+[ZoutWidth]))"/>
0267         <Constant name="ZpureTube1" value="([ZUnit1]-2*([TubZ]+[ZoutWidth]))/2."/>
0268         <Constant name="ZpureTubeL2" value="([ZUnit2]/2.-([TubZ]+[ZoutWidth]))"/>
0269         <Constant name="ZpureTubeR2" value="([ZUnit2]/2.-([TubZ]+2*[TubZG]+[ZoutWidth]))"/>
0270         <!--  -->
0271         <!-- So, total Unit dimension is 1) (2*TubZ) + 2) (2*ZoutWidth) + 3) (2*ZpureTube) = [ZUnit]  -->
0272         <!-- 2.*213.37313509962582432065   + 2.*100.    +2.*936.62686490037417567935   =  2500.    -->
0273         <!--  -->
0274         <!-- With ZsafetyShift variable one can change global z-position of pocket -->
0275         <!--  -->
0276         <!-- to put pocket in the center of beam pipe unit:  -->
0277         <Constant name="ZsafetyShift" value="[TubZ]-[BoxDz]"/>
0278         <Constant name="ZsafetyShiftG" value="[TubZG]-[BoxDzG]"/>
0279         <!-- instead of arbitrary shift from right edge of beam pipe unit: -->
0280         <!--      <Constant name="ZsafetyShift"  value="400*mm"/>     -->
0281         <!--  -->
0282         <!--  -->
0283         <!--  -->
0284         <!-- Parameter Values for pitch of read-out in X and Y -->
0285         <!--  -->
0286         <!-- PitchX was 0.040 -->
0287         <!--     <Constant name="PitchX"                value="0.000001*mm"/>  -->
0288         <!--    <Constant name="PitchXW"               value="0.000001*mm"/>    -->
0289         <!--  -->
0290         <!-- <Constant name="PitchX"                value="0.050*mm"/>   -->
0291         <!-- <Constant name="PitchXW"               value="0.400*mm"/>   -->
0292         <!--  -->
0293         <Constant name="PitchX" value="0.100*mm"/>
0294         <Constant name="PitchXW" value="0.150*mm"/>
0295         <!--  -->
0296         <!--  -->
0297         <!--  -->
0298         <!-- to lift up the station just use work value ~ 100mm -->
0299         <Constant name="work" value="0.000*mm"/>
0300         <!--  -->
0301     </ConstantsSection>
0302     <!-- -->
0303     <!-- -->
0304     <!-- -->
0305     <!-- -->
0306     <!--                                                                                                                                  -->
0307     <!-- -->
0308     <!-- -->
0309     <!-- -->
0310     <!-- -->
0311     <SolidSection label="hhhrectangle.xml">
0312         <!-- -->
0313         <Tubs name="HPS240Ex1" rMin="[hps240:Rmin]" rMax="[hps240:HfpR]" dz="[ZUnit]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0314         <Tubs name="HPS240Ex3" rMin="[hps240:Rmin]" rMax="[hps240:HfpR]" dz="[ZUnit2]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0315         <!-- -->
0316         <!--for area 2) -->
0317         <!-- -->
0318         <Tubs name="HPS240FlIn" rMin="[TubR]" rMax="[RinFlanze]" dz="[ZinFlanze]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0319         <!-- -->
0320         <Tubs name="HPS240E2" rMin="[hps240:Rmin]" rMax="[RinFlanze]" dz="[ZoutWidth]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0321         <!-- -->
0322         <Tubs name="HPS240FlOut" rMin="[OutTubR]" rMax="[RinFlanze]" dz="[ZoutFlanze]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0323         <Tubs name="HPS240FlOutIn" rMin="[TubR]" rMax="[OutTubR]-[RoutThick]" dz="[ZoutFlanze]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0324         <Tubs name="HPS240EdgeOut" rMin="[hps240:Rmin]" rMax="[OutTubR]" dz="[ZoutWidth]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0325         <Tubs name="HPS240EdgeIn" rMin="[hps240:Rmin]" rMax="[OutTubR]-[RoutThick]" dz="[ZoutWidth]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0326         <Tubs name="HPS240BellowsIn" rMin="[OutTubR]-[RoutThick]" rMax="[OutTubR]" dz="[BellowsWidth]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0327         <!-- 10 part of Bellow; if you want 15, change 20 to 30 and add some lines to have at end 30.:30 -->
0328         <Polycone name="HPS240Bellows" startPhi="0*deg" deltaPhi="360*deg">
0329             <ZSection z="-[BellowsWidth]/2+(0./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0330             <ZSection z="-[BellowsWidth]/2+(1./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0331             <ZSection z="-[BellowsWidth]/2+(2./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0332             <ZSection z="-[BellowsWidth]/2+(3./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0333             <ZSection z="-[BellowsWidth]/2+(4./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0334             <ZSection z="-[BellowsWidth]/2+(5./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0335             <ZSection z="-[BellowsWidth]/2+(6./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0336             <ZSection z="-[BellowsWidth]/2+(7./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0337             <ZSection z="-[BellowsWidth]/2+(8./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0338             <ZSection z="-[BellowsWidth]/2+(9./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0339             <ZSection z="-[BellowsWidth]/2+(10./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0340             <ZSection z="-[BellowsWidth]/2+(11./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0341             <ZSection z="-[BellowsWidth]/2+(12./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0342             <ZSection z="-[BellowsWidth]/2+(13./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0343             <ZSection z="-[BellowsWidth]/2+(14./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0344             <ZSection z="-[BellowsWidth]/2+(15./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0345             <ZSection z="-[BellowsWidth]/2+(16./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0346             <ZSection z="-[BellowsWidth]/2+(17./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0347             <ZSection z="-[BellowsWidth]/2+(18./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0348             <ZSection z="-[BellowsWidth]/2+(19./20)*[BellowsWidth]" rMin="[RinFlanze]-[BellowsT]" rMax="[RinFlanze]"/>
0349             <ZSection z="-[BellowsWidth]/2+(20./20)*[BellowsWidth]" rMin="[OutTubR]" rMax="[OutTubR]+[BellowsT]"/>
0350         </Polycone>
0351         <!--for area 3) -->
0352         <!--  -->
0353         <Tubs name="HPS240EdgeLOut3" rMin="[hps240:Rmin]" rMax="[OutTubR]" dz="[ZpureTubeL]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0354         <Tubs name="HPS240EdgeLIn3" rMin="[hps240:Rmin]" rMax="[OutTubR]-[RoutThick]" dz="[ZpureTubeL]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0355         <!-- -->
0356         <!--  -->
0357         <Tubs name="HPS240EdgeROut3" rMin="[hps240:Rmin]" rMax="[OutTubR]" dz="[ZpureTubeR]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0358         <Tubs name="HPS240EdgeRIn3" rMin="[hps240:Rmin]" rMax="[OutTubR]-[RoutThick]" dz="[ZpureTubeR]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0359         <!-- -->
0360         <!--  -->
0361         <!--  -->
0362         <!--  -->
0363         <Tubs name="HPS240EdgeL2Out3" rMin="[hps240:Rmin]" rMax="[OutTubR]" dz="[ZpureTubeL2]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0364         <Tubs name="HPS240EdgeL2In3" rMin="[hps240:Rmin]" rMax="[OutTubR]-[RoutThick]" dz="[ZpureTubeL2]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0365         <!-- -->
0366         <!--  -->
0367         <Tubs name="HPS240EdgeR2Out3" rMin="[hps240:Rmin]" rMax="[OutTubR]" dz="[ZpureTubeR2]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0368         <Tubs name="HPS240EdgeR2In3" rMin="[hps240:Rmin]" rMax="[OutTubR]-[RoutThick]" dz="[ZpureTubeR2]/2" startPhi="0*deg" deltaPhi="360*deg"/>
0369         <!-- -->
0370         <!-- -->
0371         <!-- -->
0372         <!-- -->
0373         <!-- -->
0374         <!--for area 1) -->
0375         <!-- -->
0376         <!-- Create Pocket for Stations!!!!!!!!!!!! placement: -->
0377         <!-- -->
0378         <!-- HPS240SBST:HPS240BPST-HPS240BOST     Copper -->
0379         <!--  -->
0380         <Tubs name="HPS240BPST" rMin="[hps240:Rmin]" rMax="[TubR]" dz="[TubZ]" startPhi="0*deg" deltaPhi="360*deg"/>
0381         <!-- -->
0382         <Trd1 name="HPS240BOST" dx1="[BoxDx]" dx2="[BoxDx]" dz="([TubR]-[BoxYshft]+[delta])/2" dy1="[BoxDz]" dy2="[BoxDz]"/>
0383         <!-- -->
0384         <Box name="HPS240CURR" dx="[BoxDx]" dy="([TubR]-[gap])/2" dz="[BoxDz]"/>
0385         <!-- -->
0386         <SubtractionSolid name="HPS240SBS1">
0387             <rSolid name="HPS240BPST"/>
0388             <rSolid name="HPS240BOST"/>
0389             <Translation x="0*fm" y="([TubR]+[BoxYshft]+[delta])/2" z="[TubZ]-[ZsafetyShift]-[BoxDz]"/>
0390             <rRotation name="FP420Rot:FP42090"/>
0391         </SubtractionSolid>
0392         <!-- -->
0393         <SubtractionSolid name="HPS240SBST">
0394             <rSolid name="HPS240SBS1"/>
0395             <rSolid name="HPS240CURR"/>
0396             <Translation x="0*fm" y="([TubR]+[gap])/2." z="[TubZ]-[ZsafetyShift]-[BoxDz]"/>
0397             <rRotation name="FP420Rot:FP420MAIN"/>
0398         </SubtractionSolid>
0399         <!-- -->
0400         <!-- -->
0401         <!-- -->
0402         <!-- HPS240SBSTs:HPS240BPSTs-HPS240BOSTs     StainlessSteel   -->
0403         <!--  -->
0404         <Tubs name="HPS240BPSTs" rMin="[hps240:Rmin]" rMax="[TubR]-[dRcopper]" dz="([TubZ])" startPhi="0*deg" deltaPhi="360*deg"/>
0405         <!-- -->
0406         <Trd1 name="HPS240BOSTs" dx1="[BoxDx]+[DxThickCop]" dx2="[BoxDx]+[DxThickCop]" dz="([TubR]-[dRcopper]-[BoxYshft]+[dYcopper]+[delta])/2" dy1="[BoxDz]+[dZcopper]" dy2="[BoxDz]"/>
0407         <!-- -->
0408         <SubtractionSolid name="HPS240SBS1s">
0409             <rSolid name="HPS240BPSTs"/>
0410             <rSolid name="HPS240BOSTs"/>
0411             <Translation x="0*fm" y="([TubR]-[dRcopper]+[BoxYshft]-[dYcopper]+[delta])/2" z="[TubZ]-[ZsafetyShift]-[BoxDz]"/>
0412             <rRotation name="FP420Rot:FP42090"/>
0413         </SubtractionSolid>
0414         <!-- -->
0415         <SubtractionSolid name="HPS240SBSTs">
0416             <rSolid name="HPS240SBS1s"/>
0417             <rSolid name="HPS240CURR"/>
0418             <Translation x="0*fm" y=" ([TubR]+[gap])/2-[dYcopper]" z="[TubZ]-[ZsafetyShift]-[BoxDz]"/>
0419             <rRotation name="FP420Rot:FP420MAIN"/>
0420         </SubtractionSolid>
0421         <!-- -->
0422         <!-- -->
0423         <!-- HPS240SBSTm:HPS240BPSTm-HPS240BOSTm     Vacuum -->
0424         <!--  -->
0425         <Tubs name="HPS240BPSTm" rMin="[hps240:Rmin]" rMax="[TubR]-[dRsteel]-[dRcopper]" dz="([TubZ])" startPhi="0*deg" deltaPhi="360*deg"/>
0426         <!-- -->
0427         <Trd1 name="HPS240BOSTm" dx1="[BoxDx]+[DxThickCop]+[DxThickSte]" dx2="[BoxDx]+[DxThickCop]+[DxThickSte]" dz="([TubR]-[dRsteel]-[dRcopper]-[BoxYshft]+[dYsteel]+[dYcopper]+[delta])/2" dy1="[BoxDz]+[dZsteel]+[dZcopper]" dy2="[BoxDz]"/>
0428         <!-- -->
0429         <SubtractionSolid name="HPS240SBS1m">
0430             <rSolid name="HPS240BPSTm"/>
0431             <rSolid name="HPS240BOSTm"/>
0432             <Translation x="0*fm" y="([TubR]-[dRsteel]-[dRcopper]+[BoxYshft]-[dYsteel]-[dYcopper]+[delta])/2" z="[TubZ]-[ZsafetyShift]-[BoxDz]"/>
0433             <rRotation name="FP420Rot:FP42090"/>
0434         </SubtractionSolid>
0435         <!-- -->
0436         <SubtractionSolid name="HPS240SBSTm">
0437             <rSolid name="HPS240SBS1m"/>
0438             <rSolid name="HPS240CURR"/>
0439             <Translation x="0*fm" y="( [TubR]+[gap])/2. - [dYsteel] - [dYcopper]" z="[TubZ]-[ZsafetyShift]-[BoxDz]"/>
0440             <rRotation name="FP420Rot:FP420MAIN"/>
0441         </SubtractionSolid>
0442         <!-- -->
0443         <!-- -->
0444         <!-- -->
0445         <!-- -->
0446         <!-- -->
0447         <!-- Create Pocket for GasTof and QUARTIC !!!!!!!!!!!! placement: -->
0448         <!-- -->
0449         <!-- HPS240SBST:HPS240BPST-HPS240BOST     Copper -->
0450         <!--  -->
0451         <Tubs name="HPS240BPSTG" rMin="[hps240:Rmin]" rMax="[TubR]" dz="[TubZG]" startPhi="0*deg" deltaPhi="360*deg"/>
0452         <!-- -->
0453         <Trd1 name="HPS240BOSTG" dx1="[BoxDx]" dx2="[BoxDx]" dz="([TubR]-[BoxYshft]+[delta])/2" dy1="[BoxDzG]" dy2="[BoxDzG]"/>
0454         <!-- -->
0455         <Box name="HPS240CURRG" dx="[BoxDx]" dy="([TubR]-[gap])/2" dz="[BoxDzG]"/>
0456         <!-- -->
0457         <SubtractionSolid name="HPS240SBS1G">
0458             <rSolid name="HPS240BPSTG"/>
0459             <rSolid name="HPS240BOSTG"/>
0460             <Translation x="0*fm" y="([TubR]+[BoxYshft]+[delta])/2" z="[TubZG]-[ZsafetyShiftG]-[BoxDzG]"/>
0461             <rRotation name="FP420Rot:FP42090"/>
0462         </SubtractionSolid>
0463         <!-- -->
0464         <SubtractionSolid name="HPS240SBSTG">
0465             <rSolid name="HPS240SBS1G"/>
0466             <rSolid name="HPS240CURRG"/>
0467             <Translation x="0*fm" y="([TubR]+[gap])/2." z="[TubZG]-[ZsafetyShiftG]-[BoxDzG]"/>
0468             <rRotation name="FP420Rot:FP420MAIN"/>
0469         </SubtractionSolid>
0470         <!-- -->
0471         <!-- -->
0472         <!-- -->
0473         <!-- HPS240SBSTs:HPS240BPSTs-HPS240BOSTs     StainlessSteel   -->
0474         <!--  -->
0475         <Tubs name="HPS240BPSTGs" rMin="[hps240:Rmin]" rMax="[TubR]-[dRcopper]" dz="[TubZG]" startPhi="0*deg" deltaPhi="360*deg"/>
0476         <!-- -->
0477         <Trd1 name="HPS240BOSTGs" dx1="[BoxDx]+[DxThickCop]" dx2="[BoxDx]+[DxThickCop]" dz="([TubR]-[dRcopper]-[BoxYshft]+[dYcopper]+[delta])/2" dy1="[BoxDzG]+[dZcopper]" dy2="[BoxDzG]"/>
0478         <!-- -->
0479         <SubtractionSolid name="HPS240SBS1Gs">
0480             <rSolid name="HPS240BPSTGs"/>
0481             <rSolid name="HPS240BOSTGs"/>
0482             <Translation x="0*fm" y="([TubR]-[dRcopper]+[BoxYshft]-[dYcopper]+[delta])/2" z="[TubZG]-[ZsafetyShiftG]-[BoxDzG]"/>
0483             <rRotation name="FP420Rot:FP42090"/>
0484         </SubtractionSolid>
0485         <!-- -->
0486         <SubtractionSolid name="HPS240SBSTGs">
0487             <rSolid name="HPS240SBS1Gs"/>
0488             <rSolid name="HPS240CURRG"/>
0489             <Translation x="0*fm" y=" ([TubR]+[gap])/2-[dYcopper]" z="[TubZG]-[ZsafetyShiftG]-[BoxDzG]"/>
0490             <rRotation name="FP420Rot:FP420MAIN"/>
0491         </SubtractionSolid>
0492         <!-- -->
0493         <!-- -->
0494         <!-- HPS240SBSTm:HPS240BPSTm-HPS240BOSTm     Vacuum -->
0495         <!--  -->
0496         <Tubs name="HPS240BPSTGm" rMin="[hps240:Rmin]" rMax="[TubR]-[dRsteel]-[dRcopper]" dz="([TubZG])" startPhi="0*deg" deltaPhi="360*deg"/>
0497         <!-- -->
0498         <Trd1 name="HPS240BOSTGm" dx1="[BoxDx]+[DxThickCop]+[DxThickSte]" dx2="[BoxDx]+[DxThickCop]+[DxThickSte]" dz="([TubR]-[dRsteel]-[dRcopper]-[BoxYshft]+[dYsteel]+[dYcopper]+[delta])/2" dy1="[BoxDzG]+[dZsteel]+[dZcopper]" dy2="[BoxDzG]"/>
0499         <!-- -->
0500         <SubtractionSolid name="HPS240SBS1Gm">
0501             <rSolid name="HPS240BPSTGm"/>
0502             <rSolid name="HPS240BOSTGm"/>
0503             <Translation x="0*fm" y="([TubR]-[dRsteel]-[dRcopper]+[BoxYshft]-[dYsteel]-[dYcopper]+[delta])/2" z="[TubZG]-[ZsafetyShiftG]-[BoxDzG]"/>
0504             <rRotation name="FP420Rot:FP42090"/>
0505         </SubtractionSolid>
0506         <!-- -->
0507         <SubtractionSolid name="HPS240SBSTGm">
0508             <rSolid name="HPS240SBS1Gm"/>
0509             <rSolid name="HPS240CURRG"/>
0510             <Translation x="0*fm" y="( [TubR]+[gap])/2. - [dYsteel] - [dYcopper]" z="[TubZG]-[ZsafetyShiftG]-[BoxDzG]"/>
0511             <rRotation name="FP420Rot:FP420MAIN"/>
0512         </SubtractionSolid>
0513         <!-- -->
0514         <!-- -->
0515         <!-- -->
0516         <!--  -->
0517         <!-- Si Det.:SISTATION:SIPLANE:(SIDETL+BOUNDDET        +SIDETR + CERAMDET) -->
0518         <!--         Air:      Air:     Si:    Boron Polyethyl.: Si:      Ceramic: -->
0519         <!--  -->
0520         <Box name="HPS240SISTATION" dx="[XSiStation]/2" dy="[YSiStation]/2" dz="[ZSiStation]/2"/>
0521         <!-- -->
0522         <Box name="HPS240SIPLANE" dx="[XSiPlane]/2" dy="[YSiPlane]/2" dz="[ZSiPlane]/2"/>
0523         <!-- -->
0524         <Box name="HPS240SENSOR1" dx="[XSiDet]/2" dy="[YSiDet]/2" dz="[ZSensor]/2"/>
0525         <Box name="HPS240SENSOR2" dx="[XSiDet]/2" dy="[YSiDet]/2" dz="[ZSensor]/2"/>
0526         <Box name="HPS240SIDETL" dx="[XSiDet]/2" dy="[YSiDet]/2" dz="[ZSiDet]/2"/>
0527         <Box name="HPS240BOUNDDET" dx="[XSiDet]/2" dy="[YSiDet]/2" dz="[ZBoundDet]/2"/>
0528         <Box name="HPS240SIDETR" dx="[XSiDet]/2" dy="[YSiDet]/2" dz="[ZSiDet]/2"/>
0529         <Box name="HPS240SIELECTR" dx="[XSiDet]/2" dy="[YSiDet]/2" dz="[ZSiElectr]/2"/>
0530         <!-- -->
0531         <Box name="HPS240CERAMDET" dx="[XSiDetCer]/2" dy="[YSiDetCer]/2" dz="[ZCeramDet]/2"/>
0532         <Box name="HPS240CERAMOUT" dx="[XSiOutCer]/2" dy="[YSiOutCer]/2" dz="[zBlade]/2"/>
0533         <Box name="HPS240CERAMOUT0" dx="[XSiOut0Cer]/2" dy="[YSiOut0Cer]/2" dz="[zBlade]/2"/>
0534         <Box name="HPS240TurnPlate" dx="[XTurnPlate]/2" dy="[YTurnPlate]/2" dz="[zBlade]/2"/>
0535         <Box name="HPS240Turn0Plate" dx="[XTurn0Plate]/2" dy="[YTurn0Plate]/2" dz="[zBlade]/2"/>
0536         <Box name="HPS240Flexes" dx="[XFlexes]/2" dy="[YFlexes]/2" dz="[zFlexes]/2"/>
0537         <Box name="HPS240MccCard" dx="[XMccCard]/2" dy="[YMccCard]/2" dz="[zMccCard]/2"/>
0538         <!-- -->
0539         <!-- Si Det.:HPS240SISTATION:HPS240SIPLANE:(HPS240SIDETL+HPS240BOUNDDET        +HPS240SIDETR + HPS240CERAMDET) -->
0540         <Box name="HPS240GASTOFALL" dx="[XGasWall]/2" dy="[YGasWall]/2" dz="[ZGasWall]/2"/>
0541         <Box name="HPS240GASTOF" dx="[XGasTof]/2" dy="[YGasTof]/2" dz="[ZGasTof]/2"/>
0542         <!-- -->
0543         <!-- -->
0544     </SolidSection>
0545     <!-- -->
0546     <!-- -->
0547     <!-- -->
0548     <!-- -->
0549     <!-- -->
0550     <!--                                                                                                                                  -->
0551     <!-- -->
0552     <!-- -->
0553     <!-- -->
0554     <!-- -->
0555     <!-- -->
0556     <!--  -->
0557     <LogicalPartSection label="hhhrectangle.xml">
0558         <!--    -->
0559         <LogicalPart name="HPS240Ex1" category="unspecified">
0560             <rSolid name="HPS240Ex1"/>
0561             <rMaterial name="materialsfp420:Air"/>
0562         </LogicalPart>
0563         <LogicalPart name="HPS240Ex3" category="unspecified">
0564             <rSolid name="HPS240Ex3"/>
0565             <rMaterial name="materialsfp420:Air"/>
0566         </LogicalPart>
0567         <!--  -->
0568         <!-- Pocket area: -->
0569         <!--  -->
0570         <LogicalPart name="HPS240SBST" category="unspecified">
0571             <rSolid name="HPS240SBST"/>
0572             <rMaterial name="materialsfp420:Copper"/>
0573         </LogicalPart>
0574         <LogicalPart name="HPS240SBSTs" category="unspecified">
0575             <rSolid name="HPS240SBSTs"/>
0576             <rMaterial name="materialsfp420:StainlessSteel"/>
0577         </LogicalPart>
0578         <LogicalPart name="HPS240SBSTm" category="unspecified">
0579             <rSolid name="HPS240SBSTm"/>
0580             <rMaterial name="materialsfp420:Vacuum"/>
0581         </LogicalPart>
0582         <!--  -->
0583         <LogicalPart name="HPS240SBSTG" category="unspecified">
0584             <rSolid name="HPS240SBSTG"/>
0585             <rMaterial name="materialsfp420:Copper"/>
0586         </LogicalPart>
0587         <LogicalPart name="HPS240SBSTGs" category="unspecified">
0588             <rSolid name="HPS240SBSTGs"/>
0589             <rMaterial name="materialsfp420:StainlessSteel"/>
0590         </LogicalPart>
0591         <LogicalPart name="HPS240SBSTGm" category="unspecified">
0592             <rSolid name="HPS240SBSTGm"/>
0593             <rMaterial name="materialsfp420:Vacuum"/>
0594         </LogicalPart>
0595         <!--  -->
0596         <!-- Detector area: -->
0597         <!--  -->
0598         <LogicalPart name="HPS240SISTATION" category="unspecified">
0599             <rSolid name="HPS240SISTATION"/>
0600             <rMaterial name="materialsfp420:Air"/>
0601         </LogicalPart>
0602         <LogicalPart name="HPS240SENSOR1" category="unspecified">
0603             <rSolid name="HPS240SENSOR1"/>
0604             <rMaterial name="materialsfp420:Air"/>
0605         </LogicalPart>
0606         <LogicalPart name="HPS240SENSOR2" category="unspecified">
0607             <rSolid name="HPS240SENSOR2"/>
0608             <rMaterial name="materialsfp420:Air"/>
0609         </LogicalPart>
0610         <LogicalPart name="HPS240SIPLANE" category="unspecified">
0611             <rSolid name="HPS240SIPLANE"/>
0612             <rMaterial name="materialsfp420:Air"/>
0613         </LogicalPart>
0614         <LogicalPart name="HPS240SIDETL" category="unspecified">
0615             <rSolid name="HPS240SIDETL"/>
0616             <rMaterial name="materialsfp420:Silicon"/>
0617         </LogicalPart>
0618         <LogicalPart name="HPS240BOUNDDET" category="unspecified">
0619             <rSolid name="HPS240BOUNDDET"/>
0620             <rMaterial name="materialsfp420:Boron Polyethyl."/>
0621         </LogicalPart>
0622         <LogicalPart name="HPS240SIELECTR" category="unspecified">
0623             <rSolid name="HPS240SIELECTR"/>
0624             <rMaterial name="materialsfp420:Silicon"/>
0625         </LogicalPart>
0626         <LogicalPart name="HPS240SIDETR" category="unspecified">
0627             <rSolid name="HPS240SIDETR"/>
0628             <rMaterial name="materialsfp420:Silicon"/>
0629         </LogicalPart>
0630         <LogicalPart name="HPS240CERAMDET" category="unspecified">
0631             <rSolid name="HPS240CERAMDET"/>
0632             <rMaterial name="materialsfp420:BladeSi70Al30"/>
0633         </LogicalPart>
0634         <!--  -->
0635         <!--   <rMaterial name="materialsfp420:BladeSi70Al30"/>  -->
0636         <!--   <rMaterial name="materialsfp420:Ceramic"/>   -->
0637         <!--  -->
0638         <!--   <rMaterial name="materialsfp420:Carbon"/>  -->
0639         <!--   <rMaterial name="materialsfp420:CarbonVar176"/>  -->
0640         <!--   <rMaterial name="materialsfp420:Carbon fibre str."/>  -->
0641         <!--   <rMaterial name="materialsfp420:Carbon fib.str."/>  -->
0642         <!--   <rMaterial name="materialsfp420:CarbonVar130"/>  -->
0643         <!--   <rMaterial name="materialsfp420:CarbonVar125"/>  -->
0644         <!--  -->
0645         <!--   <rMaterial name="materialsfp420:Beryllium"/>  -->
0646         <!--  -->
0647         <!--   <rMaterial name="materialsfp420:Silicon"/>      -->
0648         <!--   <rMaterial name="materialsfp420:Si O_2"/>       -->
0649         <!--   <rMaterial name="materialsfp420:Doped Quartz"/> -->
0650         <LogicalPart name="HPS240CERAMOUT" category="unspecified">
0651             <rSolid name="HPS240CERAMOUT"/>
0652             <rMaterial name="materialsfp420:Air"/>
0653         </LogicalPart>
0654         <LogicalPart name="HPS240CERAMOUT0" category="unspecified">
0655             <rSolid name="HPS240CERAMOUT0"/>
0656             <rMaterial name="materialsfp420:Air"/>
0657         </LogicalPart>
0658         <LogicalPart name="HPS240TurnPlate" category="unspecified">
0659             <rSolid name="HPS240TurnPlate"/>
0660             <rMaterial name="materialsfp420:Air"/>
0661         </LogicalPart>
0662         <LogicalPart name="HPS240Turn0Plate" category="unspecified">
0663             <rSolid name="HPS240Turn0Plate"/>
0664             <rMaterial name="materialsfp420:Air"/>
0665         </LogicalPart>
0666         <LogicalPart name="HPS240Flexes" category="unspecified">
0667             <rSolid name="HPS240Flexes"/>
0668             <rMaterial name="materialsfp420:Air"/>
0669         </LogicalPart>
0670         <LogicalPart name="HPS240MccCard" category="unspecified">
0671             <rSolid name="HPS240MccCard"/>
0672             <rMaterial name="materialsfp420:Air"/>
0673         </LogicalPart>
0674         <!--  -->
0675         <!--                    HPS240GASTOFALL   StainlessSteel   Air     -->
0676         <!--                    GasC4F10   GasC4F10        Air      -->
0677         <!--  -->
0678         <LogicalPart name="HPS240GASTOFALL" category="unspecified">
0679             <rSolid name="HPS240GASTOFALL"/>
0680             <rMaterial name="materialsfp420:StainlessSteel"/>
0681         </LogicalPart>
0682         <LogicalPart name="HPS240GASTOF" category="unspecified">
0683             <rSolid name="HPS240GASTOF"/>
0684             <rMaterial name="materialsfp420:GasC4F10"/>
0685         </LogicalPart>
0686         <!--  -->
0687         <!-- Dead material around: -->
0688         <!--  -->
0689         <LogicalPart name="HPS240FlIn" category="unspecified">
0690             <rSolid name="HPS240FlIn"/>
0691             <rMaterial name="materialsfp420:StainlessSteel"/>
0692         </LogicalPart>
0693         <LogicalPart name="HPS240E2" category="unspecified">
0694             <rSolid name="HPS240E2"/>
0695             <rMaterial name="materialsfp420:Air"/>
0696         </LogicalPart>
0697         <LogicalPart name="HPS240FlOut" category="unspecified">
0698             <rSolid name="HPS240FlOut"/>
0699             <rMaterial name="materialsfp420:StainlessSteel"/>
0700         </LogicalPart>
0701         <!--  -->
0702         <LogicalPart name="HPS240EdgeIn" category="unspecified">
0703             <rSolid name="HPS240EdgeIn"/>
0704             <rMaterial name="materialsfp420:Vacuum"/>
0705         </LogicalPart>
0706         <LogicalPart name="HPS240EdgeOut" category="unspecified">
0707             <rSolid name="HPS240EdgeOut"/>
0708             <rMaterial name="materialsfp420:StainlessSteel"/>
0709         </LogicalPart>
0710         <!--  -->
0711         <LogicalPart name="HPS240FlOutIn" category="unspecified">
0712             <rSolid name="HPS240FlOutIn"/>
0713             <rMaterial name="materialsfp420:StainlessSteel"/>
0714         </LogicalPart>
0715         <LogicalPart name="HPS240Bellows" category="unspecified">
0716             <rSolid name="HPS240Bellows"/>
0717             <rMaterial name="materialsfp420:StainlessSteel"/>
0718         </LogicalPart>
0719         <LogicalPart name="HPS240BellowsIn" category="unspecified">
0720             <rSolid name="HPS240BellowsIn"/>
0721             <rMaterial name="materialsfp420:Vacuum"/>
0722         </LogicalPart>
0723         <!--  -->
0724         <!--  -->
0725         <!--  -->
0726         <LogicalPart name="HPS240EdgeLIn3" category="unspecified">
0727             <rSolid name="HPS240EdgeLIn3"/>
0728             <rMaterial name="materialsfp420:Vacuum"/>
0729         </LogicalPart>
0730         <LogicalPart name="HPS240EdgeLOut3" category="unspecified">
0731             <rSolid name="HPS240EdgeLOut3"/>
0732             <rMaterial name="materialsfp420:StainlessSteel"/>
0733         </LogicalPart>
0734         <!--  -->
0735         <LogicalPart name="HPS240EdgeRIn3" category="unspecified">
0736             <rSolid name="HPS240EdgeRIn3"/>
0737             <rMaterial name="materialsfp420:Vacuum"/>
0738         </LogicalPart>
0739         <LogicalPart name="HPS240EdgeROut3" category="unspecified">
0740             <rSolid name="HPS240EdgeROut3"/>
0741             <rMaterial name="materialsfp420:StainlessSteel"/>
0742         </LogicalPart>
0743         <!--  -->
0744         <!--  -->
0745         <!--  -->
0746         <LogicalPart name="HPS240EdgeL2In3" category="unspecified">
0747             <rSolid name="HPS240EdgeL2In3"/>
0748             <rMaterial name="materialsfp420:Vacuum"/>
0749         </LogicalPart>
0750         <LogicalPart name="HPS240EdgeL2Out3" category="unspecified">
0751             <rSolid name="HPS240EdgeL2Out3"/>
0752             <rMaterial name="materialsfp420:StainlessSteel"/>
0753         </LogicalPart>
0754         <!--  -->
0755         <LogicalPart name="HPS240EdgeR2In3" category="unspecified">
0756             <rSolid name="HPS240EdgeR2In3"/>
0757             <rMaterial name="materialsfp420:Vacuum"/>
0758         </LogicalPart>
0759         <LogicalPart name="HPS240EdgeR2Out3" category="unspecified">
0760             <rSolid name="HPS240EdgeR2Out3"/>
0761             <rMaterial name="materialsfp420:StainlessSteel"/>
0762         </LogicalPart>
0763         <!--  -->
0764         <!--   -->
0765     </LogicalPartSection>
0766     <!--  -->
0767     <!--  -->
0768     <!-- -->
0769     <!-- -->
0770     <!-- -->
0771     <!-- -->
0772     <!--                                                                                                                                  -->
0773     <!-- -->
0774     <!-- -->
0775     <!-- -->
0776     <!-- -->
0777     <!--  -->
0778     <!--  -->
0779     <!--  -->
0780     <PosPartSection label="hhhrectangle.xml">
0781         <!--  -->
0782         <!--  -->
0783         <PosPart copyNumber="1">
0784             <rParent name="hps240:HPS240E"/>
0785             <rChild name="hhhrectangle:HPS240Ex1"/>
0786             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0787             <rRotation name="FP420Rot:FP420MAIN"/>
0788         </PosPart>
0789         <!--  -->
0790         <PosPart copyNumber="1">
0791             <rParent name="hps240:HPS240E"/>
0792             <rChild name="hhhrectangle:HPS240Ex3"/>
0793             <Translation x="0*fm" y="0*fm" z="0*fm+[ZUnit1]+([ZUnit]+[ZUnit2])/2"/>
0794             <rRotation name="FP420Rot:FP420MAIN"/>
0795         </PosPart>
0796         <!--  -->
0797         <!--  -->
0798         <!-- Ex1 -->
0799         <!-- Ex1 ZUnit -->
0800         <!--  -->
0801         <PosPart copyNumber="1">
0802             <rParent name="hhhrectangle:HPS240Ex1"/>
0803             <rChild name="hhhrectangle:HPS240SBST"/>
0804             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0805             <rRotation name="FP420Rot:FP420MAIN"/>
0806         </PosPart>
0807         <PosPart copyNumber="1">
0808             <rParent name="hhhrectangle:HPS240Ex1"/>
0809             <rChild name="hhhrectangle:HPS240SBSTG"/>
0810             <Translation x="0*fm" y="0*fm" z="[TubZ]+[TubZG]"/>
0811             <rRotation name="FP420Rot:FP420MAIN"/>
0812         </PosPart>
0813         <PosPart copyNumber="1">
0814             <rParent name="hhhrectangle:HPS240Ex1"/>
0815             <rChild name="hhhrectangle:HPS240FlIn"/>
0816             <Translation x="0*fm" y="0*fm" z="[TubZ]-[ZinFlanze]/2+(2*[TubZG])"/>
0817             <rRotation name="FP420Rot:FP420MAIN"/>
0818         </PosPart>
0819         <PosPart copyNumber="2">
0820             <rParent name="hhhrectangle:HPS240Ex1"/>
0821             <rChild name="hhhrectangle:HPS240FlIn"/>
0822             <Translation x="0*fm" y="0*fm" z="-[TubZ]+[ZinFlanze]/2"/>
0823             <rRotation name="FP420Rot:FP420MAIN"/>
0824         </PosPart>
0825         <PosPart copyNumber="1">
0826             <rParent name="hhhrectangle:HPS240Ex1"/>
0827             <rChild name="hhhrectangle:HPS240E2"/>
0828             <Translation x="0*fm" y="0*fm" z="[TubZ]+[ZoutWidth]/2+(2*[TubZG])"/>
0829             <rRotation name="FP420Rot:FP420MAIN"/>
0830         </PosPart>
0831         <PosPart copyNumber="2">
0832             <rParent name="hhhrectangle:HPS240Ex1"/>
0833             <rChild name="hhhrectangle:HPS240E2"/>
0834             <Translation x="0*fm" y="0*fm" z="-[TubZ]-[ZoutWidth]/2"/>
0835             <rRotation name="FP420Rot:FP42090Y2"/>
0836         </PosPart>
0837         <PosPart copyNumber="1">
0838             <rParent name="hhhrectangle:HPS240Ex1"/>
0839             <rChild name="hhhrectangle:HPS240EdgeROut3"/>
0840             <Translation x="0*fm" y="0*fm" z="[TubZ]+2*[TubZG]+[ZoutWidth]+[ZpureTubeR]/2"/>
0841             <rRotation name="FP420Rot:FP420MAIN"/>
0842         </PosPart>
0843         <PosPart copyNumber="2">
0844             <rParent name="hhhrectangle:HPS240Ex1"/>
0845             <rChild name="hhhrectangle:HPS240EdgeLOut3"/>
0846             <Translation x="0*fm" y="0*fm" z="-[TubZ]-[ZoutWidth]-[ZpureTubeL]/2"/>
0847             <rRotation name="FP420Rot:FP420MAIN"/>
0848         </PosPart>
0849         <!-- Ex3 -->
0850         <!-- Ex3 ZUnit2 -->
0851         <!--  -->
0852         <PosPart copyNumber="1">
0853             <rParent name="hhhrectangle:HPS240Ex3"/>
0854             <rChild name="hhhrectangle:HPS240SBST"/>
0855             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0856             <rRotation name="FP420Rot:FP420MAIN"/>
0857         </PosPart>
0858         <PosPart copyNumber="1">
0859             <rParent name="hhhrectangle:HPS240Ex3"/>
0860             <rChild name="hhhrectangle:HPS240SBSTG"/>
0861             <Translation x="0*fm" y="0*fm" z="[TubZ]+[TubZG]"/>
0862             <rRotation name="FP420Rot:FP420MAIN"/>
0863         </PosPart>
0864         <PosPart copyNumber="1">
0865             <rParent name="hhhrectangle:HPS240Ex3"/>
0866             <rChild name="hhhrectangle:HPS240FlIn"/>
0867             <Translation x="0*fm" y="0*fm" z="[TubZ]-[ZinFlanze]/2+(2*[TubZG])"/>
0868             <rRotation name="FP420Rot:FP420MAIN"/>
0869         </PosPart>
0870         <PosPart copyNumber="2">
0871             <rParent name="hhhrectangle:HPS240Ex3"/>
0872             <rChild name="hhhrectangle:HPS240FlIn"/>
0873             <Translation x="0*fm" y="0*fm" z="-[TubZ]+[ZinFlanze]/2"/>
0874             <rRotation name="FP420Rot:FP420MAIN"/>
0875         </PosPart>
0876         <PosPart copyNumber="1">
0877             <rParent name="hhhrectangle:HPS240Ex3"/>
0878             <rChild name="hhhrectangle:HPS240E2"/>
0879             <Translation x="0*fm" y="0*fm" z="[TubZ]+[ZoutWidth]/2+(2*[TubZG])"/>
0880             <rRotation name="FP420Rot:FP420MAIN"/>
0881         </PosPart>
0882         <PosPart copyNumber="2">
0883             <rParent name="hhhrectangle:HPS240Ex3"/>
0884             <rChild name="hhhrectangle:HPS240E2"/>
0885             <Translation x="0*fm" y="0*fm" z="-[TubZ]-[ZoutWidth]/2"/>
0886             <rRotation name="FP420Rot:FP42090Y2"/>
0887         </PosPart>
0888         <PosPart copyNumber="1">
0889             <rParent name="hhhrectangle:HPS240Ex3"/>
0890             <rChild name="hhhrectangle:HPS240EdgeR2Out3"/>
0891             <Translation x="0*fm" y="0*fm" z="[TubZ]+2*[TubZG]+[ZoutWidth]+[ZpureTubeR2]/2"/>
0892             <rRotation name="FP420Rot:FP420MAIN"/>
0893         </PosPart>
0894         <PosPart copyNumber="2">
0895             <rParent name="hhhrectangle:HPS240Ex3"/>
0896             <rChild name="hhhrectangle:HPS240EdgeL2Out3"/>
0897             <Translation x="0*fm" y="0*fm" z="-[TubZ]-[ZoutWidth]-[ZpureTubeL2]/2"/>
0898             <rRotation name="FP420Rot:FP420MAIN"/>
0899         </PosPart>
0900         <!--  -->
0901         <!--  -->
0902         <!--  -->
0903         <PosPart copyNumber="1">
0904             <rParent name="hhhrectangle:HPS240EdgeLOut3"/>
0905             <rChild name="hhhrectangle:HPS240EdgeLIn3"/>
0906             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0907             <rRotation name="FP420Rot:FP420MAIN"/>
0908         </PosPart>
0909         <!--  -->
0910         <PosPart copyNumber="1">
0911             <rParent name="hhhrectangle:HPS240EdgeROut3"/>
0912             <rChild name="hhhrectangle:HPS240EdgeRIn3"/>
0913             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0914             <rRotation name="FP420Rot:FP420MAIN"/>
0915         </PosPart>
0916         <!--  -->
0917         <!--  -->
0918         <!--  -->
0919         <PosPart copyNumber="1">
0920             <rParent name="hhhrectangle:HPS240EdgeL2Out3"/>
0921             <rChild name="hhhrectangle:HPS240EdgeL2In3"/>
0922             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0923             <rRotation name="FP420Rot:FP420MAIN"/>
0924         </PosPart>
0925         <!--  -->
0926         <PosPart copyNumber="1">
0927             <rParent name="hhhrectangle:HPS240EdgeR2Out3"/>
0928             <rChild name="hhhrectangle:HPS240EdgeR2In3"/>
0929             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0930             <rRotation name="FP420Rot:FP420MAIN"/>
0931         </PosPart>
0932         <!--  -->
0933         <!--  -->
0934         <!--  -->
0935         <PosPart copyNumber="1">
0936             <rParent name="hhhrectangle:HPS240E2"/>
0937             <rChild name="hhhrectangle:HPS240EdgeOut"/>
0938             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0939             <rRotation name="FP420Rot:FP420MAIN"/>
0940         </PosPart>
0941         <PosPart copyNumber="1">
0942             <rParent name="hhhrectangle:HPS240E2"/>
0943             <rChild name="hhhrectangle:HPS240FlOut"/>
0944             <Translation x="0*fm" y="0*fm" z="-[ZoutWidth]/2+[ZoutFlanze]/2"/>
0945             <rRotation name="FP420Rot:FP420MAIN"/>
0946         </PosPart>
0947         <PosPart copyNumber="1">
0948             <rParent name="hhhrectangle:HPS240E2"/>
0949             <rChild name="hhhrectangle:HPS240Bellows"/>
0950             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0951             <rRotation name="FP420Rot:FP420MAIN"/>
0952         </PosPart>
0953         <PosPart copyNumber="1">
0954             <rParent name="hhhrectangle:HPS240EdgeOut"/>
0955             <rChild name="hhhrectangle:HPS240EdgeIn"/>
0956             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0957             <rRotation name="FP420Rot:FP420MAIN"/>
0958         </PosPart>
0959         <PosPart copyNumber="1">
0960             <rParent name="hhhrectangle:HPS240EdgeIn"/>
0961             <rChild name="hhhrectangle:HPS240FlOutIn"/>
0962             <Translation x="0*fm" y="0*fm" z="-[ZoutWidth]/2+[ZoutFlanze]/2"/>
0963             <rRotation name="FP420Rot:FP420MAIN"/>
0964         </PosPart>
0965         <PosPart copyNumber="1">
0966             <rParent name="hhhrectangle:HPS240EdgeOut"/>
0967             <rChild name="hhhrectangle:HPS240BellowsIn"/>
0968             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0969             <rRotation name="FP420Rot:FP420MAIN"/>
0970         </PosPart>
0971         <!--  -->
0972         <PosPart copyNumber="1">
0973             <rParent name="hhhrectangle:HPS240SBST"/>
0974             <rChild name="hhhrectangle:HPS240SBSTs"/>
0975             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0976             <rRotation name="FP420Rot:FP420MAIN"/>
0977         </PosPart>
0978         <PosPart copyNumber="1">
0979             <rParent name="hhhrectangle:HPS240SBSTs"/>
0980             <rChild name="hhhrectangle:HPS240SBSTm"/>
0981             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0982             <rRotation name="FP420Rot:FP420MAIN"/>
0983         </PosPart>
0984         <!--  -->
0985         <!--  -->
0986         <PosPart copyNumber="1">
0987             <rParent name="hhhrectangle:HPS240SBSTG"/>
0988             <rChild name="hhhrectangle:HPS240SBSTGs"/>
0989             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0990             <rRotation name="FP420Rot:FP420MAIN"/>
0991         </PosPart>
0992         <PosPart copyNumber="1">
0993             <rParent name="hhhrectangle:HPS240SBSTGs"/>
0994             <rChild name="hhhrectangle:HPS240SBSTGm"/>
0995             <Translation x="0*fm" y="0*fm" z="0*fm"/>
0996             <rRotation name="FP420Rot:FP420MAIN"/>
0997         </PosPart>
0998         <!--  -->
0999         <PosPart copyNumber="1">
1000             <rParent name="hhhrectangle:HPS240Ex1"/>
1001             <rChild name="hhhrectangle:HPS240SISTATION"/>
1002             <Translation x="0*fm" y="[work]+[gap]+[dYGap]+[dYsteel]+[dYcopper]+[YSiStation]/2" z="[TubZ]-[ZsafetyShift]-[BoxDz]-([Zedge2]-[Zedge1])/2"/>
1003             <rRotation name="FP420Rot:FP420MAIN"/>
1004         </PosPart>
1005         <PosPart copyNumber="1">
1006             <rParent name="hhhrectangle:HPS240Ex1"/>
1007             <rChild name="hhhrectangle:HPS240GASTOFALL"/>
1008             <Translation x="0*fm" y="[work]+[gap]+[dYGap]+[dYsteel]+[dYcopper]+[YSiStation]/2+[YDropGas]" z="([TubZ]+[TubZG])+[TubZG]-[ZsafetyShiftG]-[BoxDzG]+([ZedgeG1]-[ZedgeG2])/2"/>
1009             <rRotation name="FP420Rot:FP420MAIN"/>
1010         </PosPart>
1011         <PosPart copyNumber="1">
1012             <rParent name="hhhrectangle:HPS240Ex3"/>
1013             <rChild name="hhhrectangle:HPS240SISTATION"/>
1014             <Translation x="0*fm" y="[work]+[gap]+[dYGap]+[dYsteel]+[dYcopper]+[YSiStation]/2" z="[TubZ]-[ZsafetyShift]-[BoxDz]-([Zedge2]-[Zedge1])/2"/>
1015             <rRotation name="FP420Rot:FP420MAIN"/>
1016         </PosPart>
1017         <!--  -->
1018         <!--  -->
1019         <!--  -->
1020         <!--  -->
1021         <!--  -->
1022         <!-- pno = 6     5 super-planes   -->
1023         <!--  -->
1024         <PosPart copyNumber="1">
1025             <rParent name="hhhrectangle:HPS240SISTATION"/>
1026             <rChild name="hhhrectangle:HPS240SIPLANE"/>
1027             <Translation x="0*fm" y="[YDropPlane]" z="-2*[ZSiStep]"/>
1028             <rRotation name="FP420Rot:FP420MAIN"/>
1029         </PosPart>
1030         <PosPart copyNumber="2">
1031             <rParent name="hhhrectangle:HPS240SISTATION"/>
1032             <rChild name="hhhrectangle:HPS240SIPLANE"/>
1033             <!--  <Translation x="0*fm" y="[YDropPlane]" z="-1*[ZSiStep]" /> -->
1034             <Translation x="0*fm+[PitchXW]/2" y="[YDropPlane]+[PitchX]/2" z="-1*[ZSiStep]"/>
1035             <rRotation name="FP420Rot:FP420MAIN"/>
1036         </PosPart>
1037         <PosPart copyNumber="3">
1038             <rParent name="hhhrectangle:HPS240SISTATION"/>
1039             <rChild name="hhhrectangle:HPS240SIPLANE"/>
1040             <Translation x="0*fm" y="[YDropPlane]" z="0*fm"/>
1041             <rRotation name="FP420Rot:FP420MAIN"/>
1042         </PosPart>
1043         <PosPart copyNumber="4">
1044             <rParent name="hhhrectangle:HPS240SISTATION"/>
1045             <rChild name="hhhrectangle:HPS240SIPLANE"/>
1046             <!--   <Translation x="0*fm" y="[YDropPlane]" z="1*[ZSiStep]" /> -->
1047             <Translation x="0*fm+[PitchXW]/2" y="[YDropPlane]+[PitchX]/2" z="1*[ZSiStep]"/>
1048             <rRotation name="FP420Rot:FP420MAIN"/>
1049         </PosPart>
1050         <PosPart copyNumber="5">
1051             <rParent name="hhhrectangle:HPS240SISTATION"/>
1052             <rChild name="hhhrectangle:HPS240SIPLANE"/>
1053             <Translation x="0*fm" y="[YDropPlane]" z="2*[ZSiStep]"/>
1054             <rRotation name="FP420Rot:FP420MAIN"/>
1055         </PosPart>
1056         <!--  -->
1057         <!--  -->
1058         <!--  -->
1059         <!--  -->
1060         <!--        HPS240GASTOFALL    -->
1061         <!--  -->
1062         <PosPart copyNumber="1">
1063             <rParent name="hhhrectangle:HPS240GASTOFALL"/>
1064             <rChild name="hhhrectangle:HPS240GASTOF"/>
1065             <Translation x="0*fm" y="0*fm" z="0*fm"/>
1066             <rRotation name="FP420Rot:FP420MAIN"/>
1067         </PosPart>
1068         <!--  -->
1069         <!--  -->
1070         <!-- 1st plane of superlayer -->
1071         <!--  -->
1072         <PosPart copyNumber="1">
1073             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1074             <rChild name="hhhrectangle:HPS240CERAMDET"/>
1075             <Translation x="0*fm" y="[YDropDetCer]" z="-[ZSiPlane]/2+[zBlade]/2"/>
1076             <rRotation name="FP420Rot:FP420MAIN"/>
1077         </PosPart>
1078         <PosPart copyNumber="1">
1079             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1080             <rChild name="hhhrectangle:HPS240SENSOR1"/>
1081             <Translation x="0*fm" y="[YDropDet1]" z="[Zsen11]+[ZSensor]/2"/>
1082             <rRotation name="FP420Rot:FP420MAIN"/>
1083         </PosPart>
1084         <PosPart copyNumber="1">
1085             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1086             <rChild name="hhhrectangle:HPS240SENSOR2"/>
1087             <Translation x="0*fm" y="[YDropDet2]" z="[Zsen12]+[ZSensor]/2"/>
1088             <rRotation name="FP420Rot:FP420MAIN"/>
1089         </PosPart>
1090         <PosPart copyNumber="1">
1091             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1092             <rChild name="hhhrectangle:HPS240CERAMOUT"/>
1093             <Translation x="[XDropOutCer]" y="[YDropOutCer]" z="-[ZSiPlane]/2+[zBlade]/2"/>
1094             <rRotation name="FP420Rot:FP420MAIN"/>
1095         </PosPart>
1096         <PosPart copyNumber="2">
1097             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1098             <rChild name="hhhrectangle:HPS240CERAMOUT"/>
1099             <Translation x="-[XDropOutCer]" y="[YDropOutCer]" z="-[ZSiPlane]/2+[zBlade]/2"/>
1100             <rRotation name="FP420Rot:FP420MAIN"/>
1101         </PosPart>
1102         <PosPart copyNumber="1">
1103             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1104             <rChild name="hhhrectangle:HPS240CERAMOUT0"/>
1105             <Translation x="0*fm" y="[YDropOut0Cer]" z="-[ZSiPlane]/2+[zBlade]/2"/>
1106             <rRotation name="FP420Rot:FP420MAIN"/>
1107         </PosPart>
1108         <PosPart copyNumber="1">
1109             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1110             <rChild name="hhhrectangle:HPS240TurnPlate"/>
1111             <Translation x="[XDropTurnPlate]" y="[YDropTurnPlate]" z="-[ZSiPlane]/2+[zBlade]/2"/>
1112             <rRotation name="FP420Rot:FP420MAIN"/>
1113         </PosPart>
1114         <PosPart copyNumber="2">
1115             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1116             <rChild name="hhhrectangle:HPS240TurnPlate"/>
1117             <Translation x="-[XDropTurnPlate]" y="[YDropTurnPlate]" z="-[ZSiPlane]/2+[zBlade]/2"/>
1118             <rRotation name="FP420Rot:FP420MAIN"/>
1119         </PosPart>
1120         <PosPart copyNumber="1">
1121             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1122             <rChild name="hhhrectangle:HPS240Turn0Plate"/>
1123             <Translation x="0*fm" y="[YDropTurn0Plate]" z="-[ZSiPlane]/2+[zBlade]/2"/>
1124             <rRotation name="FP420Rot:FP420MAIN"/>
1125         </PosPart>
1126         <!--  -->
1127         <!-- 2nd plane of superlayer -->
1128         <!--  -->
1129         <PosPart copyNumber="2">
1130             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1131             <rChild name="hhhrectangle:HPS240CERAMDET"/>
1132             <Translation x="0*fm" y="[YDropDetCer]" z="[Zbeg2plane]+[zBlade]/2"/>
1133             <rRotation name="FP420Rot:FP420MAIN"/>
1134         </PosPart>
1135         <PosPart copyNumber="2">
1136             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1137             <rChild name="hhhrectangle:HPS240SENSOR1"/>
1138             <!--   <Translation x="0*fm+[PitchXW]/2" y="[YDropDet1]+[PitchX]/2" z="[Zsen21]+[ZSensor]/2" />  -->
1139             <Translation x="0*fm+[PitchXW]/4" y="[YDropDet1]+[PitchX]/4" z="[Zsen21]+[ZSensor]/2"/>
1140             <rRotation name="FP420Rot:FP420MAIN"/>
1141         </PosPart>
1142         <PosPart copyNumber="2">
1143             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1144             <rChild name="hhhrectangle:HPS240SENSOR2"/>
1145             <!--   <Translation x="0*fm+[PitchXW]/2" y="[YDropDet3]+[PitchX]/2" z="[Zsen22]+[ZSensor]/2" />  -->
1146             <Translation x="0*fm+[PitchXW]/4" y="[YDropDet3]+[PitchX]/4" z="[Zsen22]+[ZSensor]/2"/>
1147             <rRotation name="FP420Rot:FP420MAIN"/>
1148         </PosPart>
1149         <PosPart copyNumber="3">
1150             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1151             <rChild name="hhhrectangle:HPS240CERAMOUT"/>
1152             <Translation x="[XDropOutCer]" y="[YDropOutCer]" z="[Zbeg2plane]+[zBlade]/2"/>
1153             <rRotation name="FP420Rot:FP420MAIN"/>
1154         </PosPart>
1155         <PosPart copyNumber="4">
1156             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1157             <rChild name="hhhrectangle:HPS240CERAMOUT"/>
1158             <Translation x="-[XDropOutCer]" y="[YDropOutCer]" z="[Zbeg2plane]+[zBlade]/2"/>
1159             <rRotation name="FP420Rot:FP420MAIN"/>
1160         </PosPart>
1161         <PosPart copyNumber="2">
1162             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1163             <rChild name="hhhrectangle:HPS240CERAMOUT0"/>
1164             <Translation x="0*fm" y="[YDropOut0Cer]" z="[Zbeg2plane]+[zBlade]/2"/>
1165             <rRotation name="FP420Rot:FP420MAIN"/>
1166         </PosPart>
1167         <PosPart copyNumber="3">
1168             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1169             <rChild name="hhhrectangle:HPS240TurnPlate"/>
1170             <Translation x="[XDropTurnPlate]" y="[YDropTurnPlate]" z="[Zbeg2plane]+[zBlade]/2"/>
1171             <rRotation name="FP420Rot:FP420MAIN"/>
1172         </PosPart>
1173         <PosPart copyNumber="4">
1174             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1175             <rChild name="hhhrectangle:HPS240TurnPlate"/>
1176             <Translation x="-[XDropTurnPlate]" y="[YDropTurnPlate]" z="[Zbeg2plane]+[zBlade]/2"/>
1177             <rRotation name="FP420Rot:FP420MAIN"/>
1178         </PosPart>
1179         <PosPart copyNumber="2">
1180             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1181             <rChild name="hhhrectangle:HPS240Turn0Plate"/>
1182             <Translation x="0*fm" y="[YDropTurn0Plate]" z="[Zbeg2plane]+[zBlade]/2"/>
1183             <rRotation name="FP420Rot:FP420MAIN"/>
1184         </PosPart>
1185         <!--  -->
1186         <!--  -->
1187         <PosPart copyNumber="1">
1188             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1189             <rChild name="hhhrectangle:HPS240Flexes"/>
1190             <Translation x="0*fm" y="[YDropFlexes]" z="0*fm"/>
1191             <rRotation name="FP420Rot:FP420MAIN"/>
1192         </PosPart>
1193         <PosPart copyNumber="1">
1194             <rParent name="hhhrectangle:HPS240SIPLANE"/>
1195             <rChild name="hhhrectangle:HPS240MccCard"/>
1196             <Translation x="0*fm" y="[YDropMccCard]" z="0*fm"/>
1197             <rRotation name="FP420Rot:FP420MAIN"/>
1198         </PosPart>
1199         <!--  -->
1200         <!--  -->
1201         <PosPart copyNumber="1">
1202             <rParent name="hhhrectangle:HPS240SENSOR1"/>
1203             <rChild name="hhhrectangle:HPS240SIDETL"/>
1204             <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiDet]/2"/>
1205             <rRotation name="FP420Rot:FP420MAIN"/>
1206         </PosPart>
1207         <PosPart copyNumber="1">
1208             <rParent name="hhhrectangle:HPS240SENSOR1"/>
1209             <rChild name="hhhrectangle:HPS240BOUNDDET"/>
1210             <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiDet]+[ZBoundDet]/2"/>
1211             <rRotation name="FP420Rot:FP420MAIN"/>
1212         </PosPart>
1213         <PosPart copyNumber="1">
1214             <rParent name="hhhrectangle:HPS240SENSOR1"/>
1215             <rChild name="hhhrectangle:HPS240SIELECTR"/>
1216             <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiDet]+[ZBoundDet]+[ZSiElectr]/2"/>
1217             <rRotation name="FP420Rot:FP420MAIN"/>
1218         </PosPart>
1219         <!--  -->
1220         <!-- 
1221              <PosPart copyNumber="1">
1222              <rParent name="hhhrectangle:HPS240SENSOR2"/>
1223              <rChild name="hhhrectangle:HPS240SIDETR"/>
1224              <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiDet]/2" />
1225              <rRotation name="FP420Rot:FP420MAIN"/>
1226         </PosPart>
1227              <PosPart copyNumber="1">
1228              <rParent name="hhhrectangle:HPS240SENSOR2"/>
1229              <rChild name="hhhrectangle:HPS240BOUNDDET"/>
1230              <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiDet]+[ZBoundDet]/2" />
1231              <rRotation name="FP420Rot:FP420MAIN"/>
1232         </PosPart>
1233              <PosPart copyNumber="1">
1234              <rParent name="hhhrectangle:HPS240SENSOR2"/>
1235              <rChild name="hhhrectangle:HPS240SIELECTR"/>
1236              <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiDet]+[ZBoundDet]+[ZSiElectr]/2" />
1237              <rRotation name="FP420Rot:FP420MAIN"/>
1238         </PosPart>
1239              -->
1240         <!--  -->
1241         <PosPart copyNumber="1">
1242             <rParent name="hhhrectangle:HPS240SENSOR2"/>
1243             <rChild name="hhhrectangle:HPS240SIELECTR"/>
1244             <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiElectr]/2"/>
1245             <rRotation name="FP420Rot:FP420MAIN"/>
1246         </PosPart>
1247         <PosPart copyNumber="1">
1248             <rParent name="hhhrectangle:HPS240SENSOR2"/>
1249             <rChild name="hhhrectangle:HPS240BOUNDDET"/>
1250             <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiElectr]+[ZBoundDet]/2"/>
1251             <rRotation name="FP420Rot:FP420MAIN"/>
1252         </PosPart>
1253         <PosPart copyNumber="1">
1254             <rParent name="hhhrectangle:HPS240SENSOR2"/>
1255             <rChild name="hhhrectangle:HPS240SIDETR"/>
1256             <Translation x="0*fm" y="0*fm" z="-[ZSensor]/2+[ZSiElectr]+[ZBoundDet]+[ZSiDet]/2"/>
1257             <rRotation name="FP420Rot:FP420MAIN"/>
1258         </PosPart>
1259         <!--  -->
1260         <!--  -->
1261     </PosPartSection>
1262     <!--  -->
1263 </DDDefinition>