Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/advanced/ChargeExchangeMC/lht.gdml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8" ?>
0002 <gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd">
0003 
0004     <!-- id: 'lht.gdml', geometry of liquid hydrogen target -->
0005 
0006     <define> 
0007         <!-- all length values in cm and angles in deg! -->
0008         <constant name="FullCircle" value="360.0"/>
0009         <!-- we define EPSILON to struggle with Geant4 -->
0010         <!-- geometry definition glitches. Use with care! -->
0011         <!-- fixed in Geant 4.9.3 ? -->
0012         <constant name="EPSILON" value="0.0"/>
0013         <constant name="LENGTHMAKER" value="2.0"/>
0014 
0015         <constant name="NCrystalsHor" value="6"/>
0016         <constant name="NCrystalsVert" value="4"/>
0017 
0018 
0019         <!-- these values are supposed to be changed -->
0020         <constant name="MonitorPosZ" value="-34.0"/>
0021         <constant name="MonitorBackPosZ" value="140.0"/>
0022         <constant name="TargetRotZ" value="40.0"/>
0023         <constant name="TargetColumn1Angle" value="25.0"/>
0024         <constant name="TargetColumn2Angle" value="-110.0"/>
0025         <constant name="TargetColumn3Angle" value="120.0"/>
0026         <constant name="CalorimeterLeftDistance" value="60.0"/>
0027         <constant name="CalorimeterLeftAngle" value="65.0"/>
0028         <constant name="CalorimeterLeftVertShift" value="0.0"/>
0029         <constant name="CalorimeterRightDistance" value="60.0"/>
0030         <constant name="CalorimeterRightAngle" value="65.0"/>
0031         <constant name="CalorimeterRightVertShift" value="0.0"/>
0032 
0033 
0034         <!-- these values can be changed -->
0035         <constant name="WorldLength" value="300.0"/>
0036         <constant name="WorldHeight" value="50.0"/>
0037         <constant name="WorldWidth" value="300.0"/>
0038         <constant name="TargetPosX" value="0.0"/>
0039         <constant name="TargetPosY" value="0.0"/>
0040         <constant name="TargetPosZ" value="0.0"/>
0041         <constant name="TargetRadius" value="5.0"/>
0042         <constant name="TargetHeight" value="10.0"/>
0043         <constant name="TargetInnerCoverThickness" value="0.01"/>
0044         <constant name="TargetOuterCoverThickness" value="0.02"/>
0045         <constant name="TargetOuterCoverRadius" value="15.0"/>
0046         <constant name="MonitorLength" value="0.25"/>
0047         <constant name="MonitorHeight" value="4.0"/>
0048         <constant name="MonitorWidth" value="6.0"/>
0049         <constant name="MonitorBackLength" value="2.0"/>
0050         <constant name="MonitorBackHeight" value="WorldHeight"/>
0051         <constant name="MonitorBackWidth" value="25.0"/>
0052         <constant name="CrystalLength" value="30.0"/>
0053         <constant name="CrystalHeight" value="6.0"/>
0054         <constant name="CrystalWidth" value="6.0"/>
0055         <constant name="CalorimeterLength" value="CrystalLength"/>
0056         <constant name="CalorimeterHeight"
0057             value="CrystalHeight * NCrystalsVert"/>
0058         <constant name="CalorimeterWidth" value="CrystalWidth * NCrystalsHor"/>
0059         <constant name="VetoCounterWidth" value="CalorimeterWidth"/>
0060         <constant name="VetoCounterHeight" value="25.0"/>
0061         <constant name="VetoCounterThickness" value="0.5"/>
0062         <constant name="TargetColumnRadius" value="0.85"/>
0063         <constant name="OuterFerrumRingThickness" value="1.2"/>
0064         <constant name="OuterFerrumRingHeight" value="3.0"/>
0065         <constant name="OuterFerrumRingGauge" value="5.0"/>
0066         <constant name="InnerFerrumRingThickness" value="1.0"/>
0067         <constant name="InnerFerrumRingHeight" value="10.0"/>
0068         <constant name="InnerFerrumRingGauge" value="5.0"/>
0069         <constant name="InnerCuprumRingInnerRadius" value="11.6"/>
0070         <constant name="InnerCuprumRingThickness" value="0.2"/>
0071         <constant name="InnerCuprumRingHeight" value="5.0"/>
0072         <constant name="InnerCuprumRingGauge" value="5.0"/>
0073         <constant name="TargetWindowRadius" value="5.5"/>
0074         <constant name="TargetWindowLength" value="7.4"/>
0075         <constant name="TargetWindowHoleRadius" value="5.0"/>
0076         <constant name="TargetWindowCapRadius" value="7.3"/>
0077         <constant name="TargetWindowCapLength" value="2.4"/>
0078         <constant name="TargetWindowEntranceOffset" value="1.2"/>
0079         <constant name="TargetWindowMylarCoverLength" value="0.01"/>
0080         <constant name="TargetWindowAluminiumCoverLength" value="1.39"/>
0081         <constant name="TargetColumnDistance" value="18.6"/>
0082         <constant name="TargetInnerColumnInnerRadius" value="0.5"/>
0083         <constant name="TargetInnerColumnOuterRadius" value="1.2"/>
0084         <constant name="TargetInnerColumnDistance" value="14.5"/>
0085         <constant name="TargetInnerColumnAngle" value="25.7"/>
0086 
0087         <constant name="VetoCounterDistanceToCalorimeter" value="1.0"/>
0088         <constant name="VetoCounterLeftDistance"
0089             value="CalorimeterLeftDistance - VetoCounterDistanceToCalorimeter"/>
0090         <constant name="VetoCounterRightDistance"
0091             value="CalorimeterRightDistance -
0092                    VetoCounterDistanceToCalorimeter"/>
0093 
0094         <!-- if TargetColumnsRotWithTarget is 1 then target columns -->
0095         <!-- will rotate together with target, if its value is 0 -->
0096         <!-- then they are rotated independently. Change with care !-->
0097         <constant name="TargetColumnsRotWithTarget" value="0"/>
0098 
0099 
0100         <!-- do not change values and definitions below -->
0101         <constant name="TargetWindowDistanceDebugShift" value="0.0"/>
0102         <constant name="TargetWindowEntranceDebugShift" value="0.0"/>
0103         <constant name="TargetWindowCuttingShift" value="1.0"/>
0104         <constant name="TargetWindowDistance"
0105             value="TargetWindowLength/2 - TargetWindowCuttingShift +
0106                    TargetOuterCoverRadius"/>
0107         <constant name="TargetWindowCapDistance"
0108             value="TargetWindowDistance + TargetWindowLength/2 -
0109                    TargetWindowCapLength/2"/>
0110         <constant name="TargetWindowDebugDistance"
0111             value="TargetWindowDistance + TargetWindowDistanceDebugShift"/>
0112         <constant name="TargetWindowEntranceDistance"
0113             value="TargetWindowDebugDistance + TargetWindowLength/2 -
0114                    TargetWindowEntranceOffset +
0115                    TargetWindowEntranceDebugShift"/>
0116         <constant name="TargetWindowCoverThickness"
0117             value="TargetWindowMylarCoverLength +
0118                    TargetWindowAluminiumCoverLength"/>
0119 
0120         <!-- positions and rotations -->
0121         <position name="MonitorPos" x="0.0" y="0.0" z="MonitorPosZ" unit="cm"/>
0122         <position name="MonitorBackPos" x="0.0" y="0.0" z="MonitorBackPosZ"
0123             unit="cm"/>
0124         <position name="TargetPos" x="TargetPosX" y="TargetPosY" z="TargetPosZ"
0125             unit="cm"/>
0126         <rotation name="TargetRot" x="90.0" y="0.0" z="-TargetRotZ" unit="deg"/>
0127         <position name="CalorimeterLeftPos"
0128             x="(CalorimeterLeftDistance + CalorimeterLength/2) *
0129                sin(CalorimeterLeftAngle/180*pi)"
0130             y="CalorimeterLeftVertShift"
0131             z="(CalorimeterLeftDistance + CalorimeterLength/2) *
0132                cos(CalorimeterLeftAngle/180*pi)"
0133             unit="cm"/>
0134         <rotation name="CalorimeterLeftRot" x="0.0" y="-CalorimeterLeftAngle"
0135             z="0.0" unit="deg"/>
0136         <position name="CalorimeterRightPos"
0137             x="-(CalorimeterRightDistance + CalorimeterLength/2) *
0138                sin(CalorimeterRightAngle/180*pi)"
0139             y="CalorimeterRightVertShift"
0140             z="(CalorimeterRightDistance + CalorimeterLength/2) *
0141                cos(CalorimeterRightAngle/180*pi)"
0142             unit="cm"/>
0143         <rotation name="CalorimeterRightRot" x="0.0" y="CalorimeterRightAngle"
0144             z="0.0" unit="deg"/>
0145         <position name="VetoCounterLeftPos"
0146             x="VetoCounterLeftDistance * sin(CalorimeterLeftAngle/180*pi)"
0147             y="CalorimeterLeftVertShift"
0148             z="VetoCounterLeftDistance * cos(CalorimeterLeftAngle/180*pi)"
0149             unit="cm"/>
0150         <position name="VetoCounterRightPos"
0151             x="-VetoCounterRightDistance * sin(CalorimeterRightAngle/180*pi)"
0152             y="CalorimeterRightVertShift"
0153             z="VetoCounterRightDistance * cos(CalorimeterRightAngle/180*pi)"
0154             unit="cm"/>
0155         <position name="TargetColumn1Pos"
0156             x="TargetPosX + TargetColumnDistance * sin((TargetColumn1Angle +
0157                TargetRotZ * TargetColumnsRotWithTarget)/180*pi)"
0158             y="TargetPosY"
0159             z="TargetPosZ + TargetColumnDistance * cos((TargetColumn1Angle +
0160                TargetRotZ * TargetColumnsRotWithTarget)/180*pi)"
0161             unit="cm"/>
0162         <position name="TargetColumn2Pos"
0163             x="TargetPosX + TargetColumnDistance * sin((TargetColumn2Angle +
0164                TargetRotZ * TargetColumnsRotWithTarget)/180*pi)"
0165             y="TargetPosY"
0166             z="TargetPosZ + TargetColumnDistance * cos((TargetColumn2Angle +
0167                TargetRotZ * TargetColumnsRotWithTarget)/180*pi)"
0168             unit="cm"/>
0169         <position name="TargetColumn3Pos"
0170             x="TargetPosX + TargetColumnDistance * sin((TargetColumn3Angle +
0171                TargetRotZ * TargetColumnsRotWithTarget)/180*pi)"
0172             y="TargetPosY"
0173             z="TargetPosZ + TargetColumnDistance * cos((TargetColumn3Angle +
0174                TargetRotZ * TargetColumnsRotWithTarget)/180*pi)"
0175             unit="cm"/>
0176         <position name="TargetInnerColumn1Pos"
0177             x="TargetInnerColumnDistance * sin(TargetInnerColumnAngle/180*pi)"
0178             y="TargetInnerColumnDistance * cos(TargetInnerColumnAngle/180*pi)"
0179             z="0" unit="cm"/>
0180         <position name="TargetInnerColumn2Pos"
0181             x="TargetInnerColumnDistance * sin(-TargetInnerColumnAngle/180*pi)"
0182             y="TargetInnerColumnDistance * cos(-TargetInnerColumnAngle/180*pi)"
0183             z="0" unit="cm"/>
0184         <position name="OuterFerrumRingUpperPos" x="TargetPosX"
0185             y="TargetPosY + OuterFerrumRingGauge + OuterFerrumRingHeight/2"
0186             z="TargetPosZ" unit="cm"/>
0187         <position name="OuterFerrumRingLowerPos" x="TargetPosX"
0188             y="TargetPosY - OuterFerrumRingGauge - OuterFerrumRingHeight/2"
0189             z="TargetPosZ" unit="cm"/>
0190         <position name="InnerFerrumRingUpperPos" x="TargetPosX"
0191             y="TargetPosY + InnerFerrumRingGauge + InnerFerrumRingHeight/2"
0192             z="TargetPosZ" unit="cm"/>
0193         <position name="InnerFerrumRingLowerPos" x="TargetPosX"
0194             y="TargetPosY - InnerFerrumRingGauge - InnerFerrumRingHeight/2"
0195             z="TargetPosZ" unit="cm"/>
0196         <position name="InnerCuprumRingUpperPos" x="TargetPosX"
0197             y="TargetPosY + InnerCuprumRingGauge + InnerCuprumRingHeight/2"
0198             z="TargetPosZ" unit="cm"/>
0199         <position name="InnerCuprumRingLowerPos" x="TargetPosX"
0200             y="TargetPosY - InnerCuprumRingGauge - InnerCuprumRingHeight/2"
0201             z="TargetPosZ" unit="cm"/>
0202         <position name="TargetWindowCutPos1" x="0.0" y="0.0"
0203             z="TargetWindowDistance" unit="cm"/>
0204         <position name="TargetWindowCutPos2" x="0.0"
0205             y="OuterFerrumRingGauge + OuterFerrumRingHeight/2"
0206             z="TargetWindowDistance" unit="cm"/>
0207         <position name="TargetWindowCutPos3" x="0.0"
0208             y="-OuterFerrumRingGauge - OuterFerrumRingHeight/2"
0209             z="TargetWindowDistance" unit="cm"/>
0210         <rotation name="TargetWindowCutRot" x="90.0" y="0.0" z="0.0"
0211             unit="deg"/>
0212         <position name="TargetOuterCoverCutPos" x="0.0"
0213             y="TargetWindowDistance" z="0.0" unit="cm"/>
0214         <rotation name="TargetOuterCoverCutRot" x="90.0" y="0.0" z="0.0"
0215             unit="deg"/>
0216         <position name="TargetWindowPos"
0217             x="TargetPosX - TargetWindowDebugDistance * sin(TargetRotZ/180*pi)"
0218             y="TargetPosY"
0219             z="TargetPosZ - TargetWindowDebugDistance * cos(TargetRotZ/180*pi)"
0220             unit="cm"/>
0221         <rotation name="TargetWindowRot" x="0.0" y="-TargetRotZ" z="0.0"
0222             unit="deg"/>
0223         <position name="TargetWindowMylarCoverPos"
0224             x="TargetPosX -
0225                (TargetWindowEntranceDistance - TargetWindowCoverThickness/2) *
0226                sin(TargetRotZ/180*pi)"
0227             y="TargetPosY"
0228             z="TargetPosZ -
0229                (TargetWindowEntranceDistance - TargetWindowCoverThickness/2) *
0230                cos(TargetRotZ/180*pi)"
0231             unit="cm"/>
0232         <position name="TargetWindowAluminiumCoverPos"
0233             x="TargetPosX -
0234                TargetWindowEntranceDistance * sin(TargetRotZ/180*pi)"
0235             y="TargetPosY"
0236             z="TargetPosZ -
0237                TargetWindowEntranceDistance * cos(TargetRotZ/180*pi)"
0238             unit="cm"/>
0239         <position name="TargetWindowCapPos"
0240             x="TargetPosX -
0241                (TargetWindowCapDistance + TargetWindowDistanceDebugShift) *
0242                sin(TargetRotZ/180*pi)"
0243             y="TargetPosY"
0244             z="TargetPosZ -
0245                (TargetWindowCapDistance + TargetWindowDistanceDebugShift) *
0246                cos(TargetRotZ/180*pi)"
0247             unit="cm"/>
0248         <position name="TargetVacuumUnionPos"
0249             x="0.0"
0250             y="TargetWindowDistance - TargetWindowEntranceOffset -
0251                TargetWindowCoverThickness/2"
0252             z="0.0"
0253             unit="cm"/>
0254     </define> 
0255 
0256     <materials>
0257         <element name="Hydrogen" formula="H" Z="1">
0258             <atom value="1"/>
0259         </element>
0260         <element name="Carbon" formula="C" Z="6">
0261             <atom value="12"/>
0262         </element>
0263         <material name="Scintillator" formula="scintillator" state="solid">
0264             <D value="1.05"/>
0265             <fraction n="0.084" ref="Hydrogen"/>
0266             <fraction n="0.916" ref="Carbon"/>
0267         </material>
0268         <element name="Iodine" formula="I" Z="53">
0269             <atom value="126.9"/>
0270         </element>
0271         <element name="Caesium" formula="Cs" Z="55">
0272             <atom value="132.9"/>
0273         </element>
0274         <material name="CsI_Crystal" formula="CsI" state="solid">
0275             <D value="4.5"/>
0276             <fraction n="0.488" ref="Iodine"/>
0277             <fraction n="0.512" ref="Caesium"/>
0278         </material>
0279     </materials>
0280 
0281     <solids>
0282         <box name="sWorld" x="WorldWidth" y="WorldHeight" z="WorldLength"
0283             lunit="cm"/>
0284         <box name="sMonitor" x="MonitorWidth" y="MonitorHeight"
0285             z="MonitorLength" lunit="cm"/>
0286         <box name="sMonitorBack" x="MonitorBackWidth" y="MonitorBackHeight"
0287             z="MonitorBackLength" lunit="cm"/>
0288         <tube name="sTargetOuterCoverStub0" rmin="TargetOuterCoverRadius"
0289             rmax="TargetOuterCoverRadius + TargetOuterCoverThickness"
0290             z="TargetHeight" deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0291         <tube name="sTargetVacuumSpaceStub"
0292             rmin="TargetRadius + TargetInnerCoverThickness"
0293             rmax="TargetOuterCoverRadius"
0294             z="TargetHeight" deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0295         <tube name="sTargetInnerCover" rmin="0"
0296             rmax="TargetRadius + TargetInnerCoverThickness"
0297             z="TargetHeight + TargetInnerCoverThickness * 2"
0298             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0299         <tube name="sTarget" rmin="0" rmax="TargetRadius" z="TargetHeight"
0300             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0301         <tube name="sTargetColumn" rmin="0" rmax="TargetColumnRadius"
0302             z="TargetHeight" deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0303         <tube name="sTargetInnerColumn" rmin="TargetInnerColumnInnerRadius"
0304             rmax="TargetInnerColumnOuterRadius" z="TargetHeight"
0305             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0306         <tube name="sOuterFerrumRing" rmin="TargetOuterCoverRadius"
0307             rmax="TargetOuterCoverRadius + OuterFerrumRingThickness"
0308             z="OuterFerrumRingHeight" deltaphi="FullCircle" aunit="deg"
0309             lunit="cm"/>
0310         <tube name="sInnerFerrumRing"
0311             rmin="TargetOuterCoverRadius - InnerFerrumRingThickness"
0312             rmax="TargetOuterCoverRadius" z="InnerFerrumRingHeight"
0313             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0314         <tube name="sInnerCuprumRing"
0315             rmin="InnerCuprumRingInnerRadius"
0316             rmax="InnerCuprumRingInnerRadius + InnerCuprumRingThickness"
0317             z="InnerCuprumRingHeight" deltaphi="FullCircle" aunit="deg"
0318             lunit="cm"/>
0319         <box name="sCrystalRow" x="CrystalWidth*NCrystalsHor" y="CrystalHeight"
0320             z="CrystalLength" lunit="cm"/>
0321         <box name="sCrystal" x="CrystalWidth" y="CrystalHeight"
0322             z="CrystalLength" lunit="cm"/>
0323         <box name="sCalorimeter" x="CalorimeterWidth" y="CalorimeterHeight"
0324             z="CalorimeterLength" lunit="cm"/>
0325         <box name="sVetoCounter" x="VetoCounterWidth" y="VetoCounterHeight"
0326             z="VetoCounterThickness" lunit="cm"/>
0327         <tube name="sTargetWindowStub0" rmin="0" rmax="TargetWindowRadius"
0328             z="TargetWindowLength" deltaphi="FullCircle" aunit="deg"
0329             lunit="cm"/>
0330         <tube name="sTargetWindowLongHole" rmin="0"
0331             rmax="TargetWindowHoleRadius" z="TargetWindowLength + LENGTHMAKER"
0332             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0333         <tube name="sTargetWindowHole" rmin="0" rmax="TargetWindowHoleRadius"
0334             z="TargetWindowLength" deltaphi="FullCircle" aunit="deg"
0335             lunit="cm"/>
0336         <subtraction name="sTargetWindowStub1">
0337             <first ref="sTargetWindowStub0"/>
0338             <second ref="sTargetWindowLongHole"/>
0339         </subtraction>
0340         <tube name="sTargetOuterCoverWholeCylinder" rmin="0"
0341             rmax="TargetOuterCoverRadius + TargetOuterCoverThickness"
0342             z="TargetHeight" deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0343         <subtraction name="sTargetWindowStub2">
0344             <first ref="sTargetWindowStub1"/>
0345             <second ref="sTargetOuterCoverWholeCylinder"/>
0346             <positionref ref="TargetWindowCutPos1"/>
0347             <rotationref ref="TargetWindowCutRot"/>
0348         </subtraction>
0349         <tube name="sOuterFerrumRingWholeCylinder" rmin="0"
0350             rmax="TargetOuterCoverRadius + OuterFerrumRingThickness + EPSILON"
0351             z="OuterFerrumRingHeight + EPSILON" deltaphi="FullCircle"
0352             aunit="deg" lunit="cm"/>
0353         <subtraction name="sTargetWindowStub3">
0354             <first ref="sTargetWindowStub2"/>
0355             <second ref="sOuterFerrumRingWholeCylinder"/>
0356             <positionref ref="TargetWindowCutPos2"/>
0357             <rotationref ref="TargetWindowCutRot"/>
0358         </subtraction>
0359         <subtraction name="sTargetWindow">
0360             <first ref="sTargetWindowStub3"/>
0361             <second ref="sOuterFerrumRingWholeCylinder"/>
0362             <positionref ref="TargetWindowCutPos3"/>
0363             <rotationref ref="TargetWindowCutRot"/>
0364         </subtraction>
0365         <tube name="sTargetWindowCap" rmin="TargetWindowRadius"
0366             rmax="TargetWindowCapRadius" z="TargetWindowCapLength"
0367             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0368         <subtraction name="sTargetOuterCover">
0369             <first ref="sTargetOuterCoverStub0"/>
0370             <second ref="sTargetWindowLongHole"/>
0371             <positionref ref="TargetOuterCoverCutPos"/>
0372             <rotationref ref="TargetOuterCoverCutRot"/>
0373         </subtraction>
0374         <union name="sTargetVacuumSpace">
0375             <first ref="sTargetVacuumSpaceStub"/>
0376             <second ref="sTargetWindowHole"/>
0377             <positionref ref="TargetVacuumUnionPos"/>
0378             <rotationref ref="TargetOuterCoverCutRot"/>
0379         </union>
0380         <tube name="sTargetWindowMylarCover" rmin="0"
0381             rmax="TargetWindowHoleRadius" z="TargetWindowMylarCoverLength"
0382             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0383         <tube name="sTargetWindowAluminiumCover" rmin="0"
0384             rmax="TargetWindowHoleRadius" z="TargetWindowAluminiumCoverLength"
0385             deltaphi="FullCircle" aunit="deg" lunit="cm"/>
0386     </solids>
0387 
0388     <structure>
0389         <volume name="vMonitor">
0390             <materialref ref="Scintillator"/>
0391             <solidref ref="sMonitor"/>
0392             <auxiliary auxtype="SpecialVolume" auxvalue="Monitor"/>
0393             <auxiliary auxtype="EnergyDepositDetector" auxvalue="MonitorRole"/>
0394             <auxiliary auxtype="TrackPointsDetector" auxvalue="MonitorRole"/>
0395         </volume>
0396         <volume name="vMonitorBack">
0397             <materialref ref="Scintillator"/>
0398             <solidref ref="sMonitorBack"/>
0399         </volume>
0400         <volume name="vTarget">
0401             <materialref ref="G4_lH2"/>
0402             <solidref ref="sTarget"/>
0403             <auxiliary auxtype="SpecialVolume" auxvalue="Target"/>
0404             <auxiliary auxtype="TrackPointsDetector" auxvalue="TargetRole"/>
0405         </volume>
0406         <volume name="vTargetInnerCover">
0407             <materialref ref="G4_Al"/>
0408             <solidref ref="sTargetInnerCover"/>
0409             <physvol name="Target">
0410                 <volumeref ref="vTarget"/>
0411             </physvol>
0412         </volume>
0413         <volume name="vTargetColumn">
0414             <materialref ref="G4_Fe"/>
0415             <solidref ref="sTargetColumn"/>
0416         </volume>
0417         <volume name="vTargetInnerColumn">
0418             <materialref ref="G4_Fe"/>
0419             <solidref ref="sTargetInnerColumn"/>
0420         </volume>
0421         <volume name="vTargetVacuumSpace">
0422             <materialref ref="G4_Galactic"/>
0423             <solidref ref="sTargetVacuumSpace"/>
0424             <!-- do not place them - still have wrong positions! -->
0425             <!--<physvol name="TargetInnnerColumn1">-->
0426                 <!--<volumeref ref="vTargetInnerColumn"/>-->
0427                 <!--<positionref ref="TargetInnerColumn1Pos"/>-->
0428             <!--</physvol>-->
0429             <!--<physvol name="TargetInnnerColumn2">-->
0430                 <!--<volumeref ref="vTargetInnerColumn"/>-->
0431                 <!--<positionref ref="TargetInnerColumn2Pos"/>-->
0432             <!--</physvol>-->
0433         </volume>
0434         <volume name="vTargetOuterCover">
0435             <materialref ref="G4_MYLAR"/>
0436             <solidref ref="sTargetOuterCover"/>
0437         </volume>
0438         <volume name="vCrystal">
0439             <materialref ref="CsI_Crystal"/>
0440             <solidref ref="sCrystal"/>
0441             <auxiliary auxtype="EnergyDepositDetector"
0442                        auxvalue="CalorimeterRole"/>
0443             <auxiliary auxtype="TrackPointsDetector"
0444                        auxvalue="CalorimeterRole"/>
0445         </volume>
0446         <volume name="vCrystalRow">
0447             <materialref ref="G4_AIR"/>
0448             <solidref ref="sCrystalRow"/>
0449             <replicavol number="6">
0450                 <volumeref ref="vCrystal"/>
0451                 <replicate_along_axis>
0452                     <direction x="1"/>
0453                     <width value="CrystalWidth" unit="cm"/>
0454                     <offset value="0" unit="cm"/>
0455                 </replicate_along_axis>
0456             </replicavol>
0457         </volume>
0458         <volume name="vCalorimeter">
0459             <materialref ref="G4_AIR"/>
0460             <solidref ref="sCalorimeter"/>
0461             <replicavol number="4">
0462                 <volumeref ref="vCrystalRow"/>
0463                 <replicate_along_axis>
0464                     <direction y="1"/>
0465                     <width value="CrystalHeight" unit="cm"/>
0466                     <offset value="0" unit="cm"/>
0467                 </replicate_along_axis>
0468             </replicavol>
0469             <auxiliary auxtype="SpecialVolume" auxvalue="Calorimeter"/>
0470             <auxiliary auxtype="SensitiveRegion" auxvalue="CalorimeterRegion"/>
0471         </volume>
0472         <volume name="vVetoCounter">
0473             <materialref ref="Scintillator"/>
0474             <solidref ref="sVetoCounter"/>
0475             <auxiliary auxtype="SpecialVolume" auxvalue="VetoCounter"/>
0476             <auxiliary auxtype="EnergyDepositDetector"
0477                        auxvalue="VetoCounterRole"/>
0478             <auxiliary auxtype="TrackPointsDetector"
0479                        auxvalue="VetoCounterRole"/>
0480         </volume>
0481         <volume name="vOuterFerrumRing">
0482             <materialref ref="G4_Fe"/>
0483             <solidref ref="sOuterFerrumRing"/>
0484         </volume>
0485         <volume name="vInnerFerrumRing">
0486             <materialref ref="G4_Fe"/>
0487             <solidref ref="sInnerFerrumRing"/>
0488         </volume>
0489         <volume name="vInnerCuprumRing">
0490             <materialref ref="G4_Cu"/>
0491             <solidref ref="sInnerCuprumRing"/>
0492         </volume>
0493         <volume name="vTargetWindow">
0494             <materialref ref="G4_Fe"/>
0495             <solidref ref="sTargetWindow"/>
0496         </volume>
0497         <volume name="vTargetWindowCap">
0498             <materialref ref="G4_Fe"/>
0499             <solidref ref="sTargetWindowCap"/>
0500         </volume>
0501         <volume name="vTargetWindowMylarCover">
0502             <materialref ref="G4_MYLAR"/>
0503             <solidref ref="sTargetWindowMylarCover"/>
0504         </volume>
0505         <volume name="vTargetWindowAluminiumCover">
0506             <materialref ref="G4_Al"/>
0507             <solidref ref="sTargetWindowAluminiumCover"/>
0508         </volume>
0509         <volume name="vWorldVisible">
0510             <materialref ref="G4_AIR"/>
0511             <solidref ref="sWorld"/>
0512             <physvol name="TargetOuterCover">
0513                 <volumeref ref="vTargetOuterCover"/>
0514                 <positionref ref="TargetPos"/>
0515                 <rotationref ref="TargetRot"/>
0516             </physvol>
0517             <physvol name="TargetVacuumSpace">
0518                 <volumeref ref="vTargetVacuumSpace"/>
0519                 <positionref ref="TargetPos"/>
0520                 <rotationref ref="TargetRot"/>
0521             </physvol>
0522             <physvol name="TargetInnerCover">
0523                 <volumeref ref="vTargetInnerCover"/>
0524                 <positionref ref="TargetPos"/>
0525                 <rotationref ref="TargetRot"/>
0526             </physvol>
0527             <physvol name="TargetColumn1">
0528                 <volumeref ref="vTargetColumn"/>
0529                 <positionref ref="TargetColumn1Pos"/>
0530                 <rotationref ref="TargetRot"/>
0531             </physvol>
0532             <physvol name="TargetColumn2">
0533                 <volumeref ref="vTargetColumn"/>
0534                 <positionref ref="TargetColumn2Pos"/>
0535                 <rotationref ref="TargetRot"/>
0536             </physvol>
0537             <physvol name="TargetColumn3">
0538                 <volumeref ref="vTargetColumn"/>
0539                 <positionref ref="TargetColumn3Pos"/>
0540                 <rotationref ref="TargetRot"/>
0541             </physvol>
0542             <physvol name="OuterFerrumRingUpper">
0543                 <volumeref ref="vOuterFerrumRing"/>
0544                 <positionref ref="OuterFerrumRingUpperPos"/>
0545                 <rotationref ref="TargetRot"/>
0546             </physvol>
0547             <physvol name="OuterFerrumRingLower">
0548                 <volumeref ref="vOuterFerrumRing"/>
0549                 <positionref ref="OuterFerrumRingLowerPos"/>
0550                 <rotationref ref="TargetRot"/>
0551             </physvol>
0552             <physvol name="InnerFerrumRingUpper">
0553                 <volumeref ref="vInnerFerrumRing"/>
0554                 <positionref ref="InnerFerrumRingUpperPos"/>
0555                 <rotationref ref="TargetRot"/>
0556             </physvol>
0557             <physvol name="InnerFerrumRingLower">
0558                 <volumeref ref="vInnerFerrumRing"/>
0559                 <positionref ref="InnerFerrumRingLowerPos"/>
0560                 <rotationref ref="TargetRot"/>
0561             </physvol>
0562             <physvol name="InnerCuprumRingUpper">
0563                 <volumeref ref="vInnerCuprumRing"/>
0564                 <positionref ref="InnerCuprumRingUpperPos"/>
0565                 <rotationref ref="TargetRot"/>
0566             </physvol>
0567             <physvol name="InnerCuprumRingLower">
0568                 <volumeref ref="vInnerCuprumRing"/>
0569                 <positionref ref="InnerCuprumRingLowerPos"/>
0570                 <rotationref ref="TargetRot"/>
0571             </physvol>
0572             <physvol name="TargetWindow">
0573                 <volumeref ref="vTargetWindow"/>
0574                 <positionref ref="TargetWindowPos"/>
0575                 <rotationref ref="TargetWindowRot"/>
0576             </physvol>
0577             <physvol name="TargetWindowCap">
0578                 <volumeref ref="vTargetWindowCap"/>
0579                 <positionref ref="TargetWindowCapPos"/>
0580                 <rotationref ref="TargetWindowRot"/>
0581             </physvol>
0582             <physvol name="TargetWindowMylarCover">
0583                 <volumeref ref="vTargetWindowMylarCover"/>
0584                 <positionref ref="TargetWindowMylarCoverPos"/>
0585                 <rotationref ref="TargetWindowRot"/>
0586             </physvol>
0587             <physvol name="TargetWindowAluminiumCover">
0588                 <volumeref ref="vTargetWindowAluminiumCover"/>
0589                 <positionref ref="TargetWindowAluminiumCoverPos"/>
0590                 <rotationref ref="TargetWindowRot"/>
0591             </physvol>
0592             <physvol name="Monitor">
0593                 <volumeref ref="vMonitor"/>
0594                 <positionref ref="MonitorPos"/>
0595             </physvol>
0596             <!--<physvol name="MonitorBack">-->
0597                 <!--<volumeref ref="vMonitorBack"/>-->
0598                 <!--<positionref ref="MonitorBackPos"/>-->
0599             <!--</physvol>-->
0600             <physvol name="CalorimeterLeft">
0601                 <volumeref ref="vCalorimeter"/>
0602                 <positionref ref="CalorimeterLeftPos"/>
0603                 <rotationref ref="CalorimeterLeftRot"/>
0604             </physvol>
0605             <physvol name="CalorimeterRight">
0606                 <volumeref ref="vCalorimeter"/>
0607                 <positionref ref="CalorimeterRightPos"/>
0608                 <rotationref ref="CalorimeterRightRot"/>
0609             </physvol>
0610             <physvol name="VetoCounterLeft">
0611                 <volumeref ref="vVetoCounter"/>
0612                 <positionref ref="VetoCounterLeftPos"/>
0613                 <rotationref ref="CalorimeterLeftRot"/>
0614             </physvol>
0615             <physvol name="VetoCounterRight">
0616                 <volumeref ref="vVetoCounter"/>
0617                 <positionref ref="VetoCounterRightPos"/>
0618                 <rotationref ref="CalorimeterRightRot"/>
0619             </physvol>
0620         </volume>
0621         <volume name="World">
0622             <materialref ref="G4_AIR"/>
0623             <solidref ref="sWorld"/>
0624             <physvol name="WorldVisible">
0625                 <volumeref ref="vWorldVisible"/>
0626             </physvol>
0627         </volume>
0628     </structure>
0629 
0630     <setup version="1.0" name="Default">
0631         <world ref="World"/>
0632     </setup>
0633 
0634 </gdml>
0635