Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/persistency/gdml/G01/scaledSolids.gdml is written in an unsupported language. File is not indexed.

0001 <?xml version="1.0" encoding="UTF-8" standalone="no" ?>
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   <define/>
0005 
0006   <materials>
0007     <material Z="13" name="Basic" state="solid">
0008       <T unit="K" value="293.15"/>
0009       <MEE unit="eV" value="166"/>
0010       <D unit="g/cm3" value="2.7"/>
0011       <atom unit="g/mole" value="26.9815"/>
0012     </material>
0013   </materials>
0014 
0015   <solids>
0016     <box lunit="mm" name="boxS" x="400" y="1200" z="1000"/>
0017     <scaledSolid name="boxScaled">
0018       <solidref ref="boxS"/>
0019       <scale name="boxScaled_scl" x="0.8" y="0.5" z="0.25"/>
0020     </scaledSolid>
0021     <cone aunit="deg" deltaphi="360" lunit="mm" name="consS" rmax1="400" rmax2="600" rmin1="100" rmin2="200" startphi="0" z="1000"/>
0022     <scaledSolid name="consScaled">
0023       <solidref ref="consS"/>
0024       <scale name="consScaled_scl" x="0.8" y="0.5" z="0.25"/>
0025     </scaledSolid>
0026     <eltube dx="200" dy="300" dz="500" lunit="mm" name="eltuS"/>
0027     <scaledSolid name="eltuScaled">
0028       <solidref ref="eltuS"/>
0029       <scale name="eltuScaled_scl" x="0.8" y="0.5" z="0.25"/>
0030     </scaledSolid>
0031     <para alpha="30" aunit="deg" lunit="mm" name="paraS" phi="30" theta="30" x="800" y="1200" z="1000"/>
0032     <scaledSolid name="paraScaled">
0033       <solidref ref="paraS"/>
0034       <scale name="paraScaled_scl" x="0.8" y="0.5" z="0.25"/>
0035     </scaledSolid>
0036     <polycone aunit="deg" deltaphi="360" lunit="mm" name="pconeS" startphi="0">
0037       <zplane rmax="500" rmin="100" z="-500"/>
0038       <zplane rmax="300" rmin="200" z="100"/>
0039       <zplane rmax="600" rmin="300" z="400"/>
0040     </polycone>
0041     <scaledSolid name="pconeScaled">
0042       <solidref ref="pconeS"/>
0043       <scale name="pconeScaled_scl" x="0.8" y="0.5" z="0.25"/>
0044     </scaledSolid>
0045     <polyhedra aunit="deg" deltaphi="360" lunit="mm" name="phedraS" numsides="4" startphi="0">
0046       <zplane rmax="400" rmin="100" z="-500"/>
0047       <zplane rmax="300" rmin="200" z="100"/>
0048       <zplane rmax="500" rmin="300" z="400"/>
0049     </polyhedra>
0050     <scaledSolid name="phedraScaled">
0051       <solidref ref="phedraS"/>
0052       <scale name="phedraScaled_scl" x="0.8" y="0.5" z="0.25"/>
0053     </scaledSolid>
0054     <sphere aunit="deg" deltaphi="360" deltatheta="180" lunit="mm" name="sphereS" rmax="600" rmin="200" startphi="0" starttheta="0"/>
0055     <scaledSolid name="sphereScaled">
0056       <solidref ref="sphereS"/>
0057       <scale name="sphereScaled_scl" x="0.8" y="0.5" z="0.25"/>
0058     </scaledSolid>
0059     <torus aunit="deg" deltaphi="360" lunit="mm" name="torusS" rmax="300" rmin="200" rtor="400" startphi="0"/>
0060     <scaledSolid name="torusScaled">
0061       <solidref ref="torusS"/>
0062       <scale name="torusScaled_scl" x="0.8" y="0.5" z="0.25"/>
0063     </scaledSolid>
0064     <trap alpha1="0" alpha2="0" aunit="deg" lunit="mm" name="trapS" phi="35" theta="25" x1="200" x2="300" x3="200" x4="300" y1="400" y2="400" z="600"/>
0065     <scaledSolid name="trapScaled">
0066       <solidref ref="trapS"/>
0067       <scale name="trapScaled_scl" x="0.8" y="0.5" z="0.25"/>
0068     </scaledSolid>
0069     <trd lunit="mm" name="trdS" x1="400" x2="600" y1="800" y2="1000" z="1000"/>
0070     <scaledSolid name="trdScaled">
0071       <solidref ref="trdS"/>
0072       <scale name="trdScaled_scl" x="0.8" y="0.5" z="0.25"/>
0073     </scaledSolid>
0074     <tube aunit="deg" deltaphi="360" lunit="mm" name="tubsS" rmax="400" rmin="200" startphi="0" z="1000"/>
0075     <scaledSolid name="tubsScaled">
0076       <solidref ref="tubsS"/>
0077       <scale name="tubsScaled_scl" x="0.8" y="0.5" z="0.25"/>
0078     </scaledSolid>
0079     <cutTube aunit="deg" deltaphi="280" highX="0" highY="0.102899151085505" highZ="0.994691793826551" lowX="0" lowY="0.639201496881821" lowZ="-0.76903930093594" lunit="mm" name="ctubsS" rmax="300" rmin="200" startphi="-30" z="1209.8"/>
0080     <scaledSolid name="ctubsScaled">
0081       <solidref ref="ctubsS"/>
0082       <scale name="ctubsScaled_scl" x="0.8" y="0.5" z="0.25"/>
0083     </scaledSolid>
0084     <xtru lunit="mm" name="Xtru1S">
0085       <twoDimVertex x="-300" y="-300"/>
0086       <twoDimVertex x="-300" y="300"/>
0087       <twoDimVertex x="300" y="300"/>
0088       <twoDimVertex x="300" y="-300"/>
0089       <twoDimVertex x="150" y="-300"/>
0090       <twoDimVertex x="150" y="150"/>
0091       <twoDimVertex x="-150" y="150"/>
0092       <twoDimVertex x="-150" y="-300"/>
0093       <section scalingFactor="1.5" xOffset="-200" yOffset="100" zOrder="0" zPosition="-400"/>
0094       <section scalingFactor="0.5" xOffset="0" yOffset="0" zOrder="1" zPosition="100"/>
0095       <section scalingFactor="0.7" xOffset="0" yOffset="0" zOrder="2" zPosition="150"/>
0096       <section scalingFactor="0.9" xOffset="200" yOffset="200" zOrder="3" zPosition="400"/>
0097     </xtru>
0098     <scaledSolid name="Xtru1Scaled">
0099       <solidref ref="Xtru1S"/>
0100       <scale name="Xtru1Scaled_scl" x="0.8" y="0.5" z="0.25"/>
0101     </scaledSolid>
0102     <xtru lunit="mm" name="XtruS1">
0103       <twoDimVertex x="-300" y="-300"/>
0104       <twoDimVertex x="-300" y="300"/>
0105       <twoDimVertex x="300" y="300"/>
0106       <twoDimVertex x="300" y="-300"/>
0107       <twoDimVertex x="150" y="-300"/>
0108       <twoDimVertex x="150" y="150"/>
0109       <twoDimVertex x="-150" y="150"/>
0110       <twoDimVertex x="-150" y="-300"/>
0111       <section scalingFactor="1.5" xOffset="-200" yOffset="100" zOrder="0" zPosition="-400"/>
0112       <section scalingFactor="0.5" xOffset="0" yOffset="0" zOrder="1" zPosition="100"/>
0113     </xtru>
0114     <xtru lunit="mm" name="XtruS2">
0115       <twoDimVertex x="-300" y="-300"/>
0116       <twoDimVertex x="-300" y="300"/>
0117       <twoDimVertex x="300" y="300"/>
0118       <twoDimVertex x="300" y="-300"/>
0119       <twoDimVertex x="150" y="-300"/>
0120       <twoDimVertex x="150" y="150"/>
0121       <twoDimVertex x="-150" y="150"/>
0122       <twoDimVertex x="-150" y="-300"/>
0123       <section scalingFactor="0.7" xOffset="0" yOffset="0" zOrder="0" zPosition="100"/>
0124       <section scalingFactor="0.9" xOffset="200" yOffset="200" zOrder="1" zPosition="400"/>
0125     </xtru>
0126     <union name="xtru2S">
0127       <first ref="XtruS1"/>
0128       <second ref="XtruS2"/>
0129     </union>
0130     <hype aunit="deg" inst="30" lunit="mm" name="hypeS" outst="40" rmax="300" rmin="200" z="1000"/>
0131     <scaledSolid name="hypeScaled">
0132       <solidref ref="hypeS"/>
0133       <scale name="hypeScaled_scl" x="0.8" y="0.5" z="0.25"/>
0134     </scaledSolid>
0135     <paraboloid dz="500" lunit="mm" name="paraboloidS" rhi="450" rlo="200"/>
0136     <scaledSolid name="paraboloidScaled">
0137       <solidref ref="paraboloidS"/>
0138       <scale name="paraboloidScaled_scl" x="0.8" y="0.5" z="0.25"/>
0139     </scaledSolid>
0140     <box lunit="mm" name="worldS" x="12400" y="6000" z="6000"/>
0141   </solids>
0142 
0143   <structure>
0144     <volume name="box">
0145       <materialref ref="Basic"/>
0146       <solidref ref="boxScaled"/>
0147     </volume>
0148     <volume name="cons">
0149       <materialref ref="Basic"/>
0150       <solidref ref="consScaled"/>
0151     </volume>
0152     <volume name="eltu">
0153       <materialref ref="Basic"/>
0154       <solidref ref="eltuScaled"/>
0155     </volume>
0156     <volume name="para">
0157       <materialref ref="Basic"/>
0158       <solidref ref="paraScaled"/>
0159     </volume>
0160     <volume name="pcone">
0161       <materialref ref="Basic"/>
0162       <solidref ref="pconeScaled"/>
0163     </volume>
0164     <volume name="phedra">
0165       <materialref ref="Basic"/>
0166       <solidref ref="phedraScaled"/>
0167     </volume>
0168     <volume name="sphere">
0169       <materialref ref="Basic"/>
0170       <solidref ref="sphereScaled"/>
0171     </volume>
0172     <volume name="torus">
0173       <materialref ref="Basic"/>
0174       <solidref ref="torusScaled"/>
0175     </volume>
0176     <volume name="trap">
0177       <materialref ref="Basic"/>
0178       <solidref ref="trapScaled"/>
0179     </volume>
0180     <volume name="trd">
0181       <materialref ref="Basic"/>
0182       <solidref ref="trdScaled"/>
0183     </volume>
0184     <volume name="tubs">
0185       <materialref ref="Basic"/>
0186       <solidref ref="tubsScaled"/>
0187     </volume>
0188     <volume name="ctubs">
0189       <materialref ref="Basic"/>
0190       <solidref ref="ctubsScaled"/>
0191     </volume>
0192     <volume name="xtru1">
0193       <materialref ref="Basic"/>
0194       <solidref ref="Xtru1Scaled"/>
0195     </volume>
0196     <volume name="xtru2">
0197       <materialref ref="Basic"/>
0198       <solidref ref="xtru2S"/>
0199     </volume>
0200     <volume name="hype">
0201       <materialref ref="Basic"/>
0202       <solidref ref="hypeScaled"/>
0203     </volume>
0204     <volume name="paraboloid">
0205       <materialref ref="Basic"/>
0206       <solidref ref="paraboloidScaled"/>
0207     </volume>
0208     <volume name="world">
0209       <materialref ref="Basic"/>
0210       <solidref ref="worldS"/>
0211       <physvol name="boxV">
0212         <volumeref ref="box"/>
0213         <position name="boxV_pos" unit="mm" x="-5000" y="-1500" z="1000"/>
0214       </physvol>
0215       <physvol name="consV">
0216         <volumeref ref="cons"/>
0217         <position name="consV_pos" unit="mm" x="-5000" y="1500" z="1000"/>
0218       </physvol>
0219       <physvol name="eltuV">
0220         <volumeref ref="eltu"/>
0221         <position name="eltuV_pos" unit="mm" x="-3500" y="-1500" z="1000"/>
0222       </physvol>
0223       <physvol name="paraV">
0224         <volumeref ref="para"/>
0225         <position name="paraV_pos" unit="mm" x="-3500" y="1500" z="1000"/>
0226       </physvol>
0227       <physvol name="pconeV">
0228         <volumeref ref="pcone"/>
0229         <position name="pconeV_pos" unit="mm" x="-2000" y="-1500" z="1000"/>
0230       </physvol>
0231       <physvol name="phedraV">
0232         <volumeref ref="phedra"/>
0233         <position name="phedraV_pos" unit="mm" x="-2000" y="1500" z="1000"/>
0234       </physvol>
0235       <physvol name="sphereV">
0236         <volumeref ref="sphere"/>
0237         <position name="sphereV_pos" unit="mm" x="-500" y="-1500" z="1000"/>
0238       </physvol>
0239       <physvol name="torusV">
0240         <volumeref ref="torus"/>
0241         <position name="torusV_pos" unit="mm" x="-500" y="1500" z="1000"/>
0242       </physvol>
0243       <physvol name="trapV">
0244         <volumeref ref="trap"/>
0245         <position name="trapV_pos" unit="mm" x="1000" y="-1500" z="1000"/>
0246       </physvol>
0247       <physvol name="trdV">
0248         <volumeref ref="trd"/>
0249         <position name="trdV_pos" unit="mm" x="1000" y="1500" z="1000"/>
0250       </physvol>
0251       <physvol name="tubsV">
0252         <volumeref ref="tubs"/>
0253         <position name="tubsV_pos" unit="mm" x="2500" y="-1500" z="1000"/>
0254       </physvol>
0255       <physvol name="ctubsV">
0256         <volumeref ref="ctubs"/>
0257         <position name="ctubsV_pos" unit="mm" x="2500" y="1500" z="1000"/>
0258       </physvol>
0259       <physvol name="xtru1V">
0260         <volumeref ref="xtru1"/>
0261         <position name="xtru1V_pos" unit="mm" x="4000" y="-1500" z="1000"/>
0262       </physvol>
0263       <physvol name="xtru2V">
0264         <volumeref ref="xtru2"/>
0265         <position name="xtru2V_pos" unit="mm" x="4000" y="1500" z="1000"/>
0266       </physvol>
0267       <physvol name="hypeV">
0268         <volumeref ref="hype"/>
0269         <position name="hypeV_pos" unit="mm" x="5500" y="-1500" z="1000"/>
0270       </physvol>
0271       <physvol name="paraboloidV">
0272         <volumeref ref="paraboloid"/>
0273         <position name="paraboloidV_pos" unit="mm" x="5500" y="1500" z="1000"/>
0274       </physvol>
0275     </volume>
0276   </structure>
0277 
0278   <setup name="Default" version="1.0">
0279     <world ref="world"/>
0280   </setup>
0281 
0282 </gdml>