Geant4 Cross Reference |
1 <?xml version="1.0" encoding="UTF-8"?> 1 <?xml version="1.0" encoding="UTF-8"?> 2 <gdml_simple_extension xmlns:gdml_simple_exten 2 <gdml_simple_extension xmlns:gdml_simple_extension="http://www.example.org" 3 xmlns:xs="http://www.w3 3 xmlns:xs="http://www.w3.org/2001/XMLSchema-instance" 4 xs:noNamespaceSchemaLoc 4 xs:noNamespaceSchemaLocation="SimpleExtension.xsd"> 5 <extension> 5 <extension> 6 <color name="magenta" R="0.0" G=" 6 <color name="magenta" R="0.0" G="1.0" B="0.0" A="1.0" /> 7 <color name="green" R="0.0" G=" 7 <color name="green" R="0.0" G="1.0" B="0.0" A="1.0" /> 8 <color name="red" R="1.0" G=" 8 <color name="red" R="1.0" G="0.0" B="0.0" A="1.0" /> 9 <color name="blue" R="0.0" G=" 9 <color name="blue" R="0.0" G="0.0" B="1.0" A="1.0" /> 10 <color name="yellow" R="1.0" G=" 10 <color name="yellow" R="1.0" G="1.0" B="0.0" A="1.0" /> 11 </extension> 11 </extension> 12 <materials> 12 <materials> 13 <material name="Diamond" > 13 <material name="Diamond" > 14 <D value="3.515" unit="g/cm3"/> 14 <D value="3.515" unit="g/cm3"/> 15 <fraction n="1.0" ref="G4_C"/> 15 <fraction n="1.0" ref="G4_C"/> 16 </material> 16 </material> 17 </materials> 17 </materials> 18 <solids> 18 <solids> 19 <box name="WorldBox" lunit="cm" x="100 19 <box name="WorldBox" lunit="cm" x="100" y="100" z="410"/> 20 <tube name="Target" lunit="cm" z="0.0 20 <tube name="Target" lunit="cm" z="0.000170697" rmax="30" deltaphi="2.*pi" aunit="rad" /> 21 </solids> 21 </solids> 22 <structure> 22 <structure> 23 <volume name="volTarget"> 23 <volume name="volTarget"> 24 <materialref ref="Diamond"/> 24 <materialref ref="Diamond"/> 25 <auxiliary auxtype="SensDet" auxva 25 <auxiliary auxtype="SensDet" auxvalue="Msc"/> 26 <solidref ref="Target"/> 26 <solidref ref="Target"/> 27 <colorref ref="green"/> 27 <colorref ref="green"/> 28 </volume> 28 </volume> 29 <volume name="TOP"> 29 <volume name="TOP"> 30 <materialref ref="G4_Galactic"/> 30 <materialref ref="G4_Galactic"/> 31 <solidref ref="WorldBox"/> 31 <solidref ref="WorldBox"/> 32 <physvol name="physTargetVolume" c 32 <physvol name="physTargetVolume" copynumber="0"> 33 <volumeref ref="volTarget"/> 33 <volumeref ref="volTarget"/> 34 <position name="Targetpos" x=" 34 <position name="Targetpos" x="0" y="0" z="0"/> 35 </physvol> 35 </physvol> 36 </volume> 36 </volume> 37 </structure> 37 </structure> 38 <setup version="1.0" name="Default"> 38 <setup version="1.0" name="Default"> 39 <world ref="TOP"/> 39 <world ref="TOP"/> 40 </setup> 40 </setup> 41 </gdml_simple_extension> 41 </gdml_simple_extension>