Geant4 Cross Reference |
1 <?xml version="1.0" encoding="UTF-8" ?> 1 <?xml version="1.0" encoding="UTF-8" ?> 2 <gdml xmlns:xsi="http://www.w3.org/2001/XMLSch << 2 <gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://service-spi.web.cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd"> 3 3 4 <define> 4 <define> 5 <position name="det_in_world" unit="mm" x="0 5 <position name="det_in_world" unit="mm" x="0" y="0" z="0" /> 6 </define> 6 </define> 7 7 8 <materials> 8 <materials> 9 </materials> 9 </materials> 10 10 11 <solids> 11 <solids> 12 <box aunit="radian" lunit="mm" name="world" 12 <box aunit="radian" lunit="mm" name="world" x="10000" y="10000" z="10000" /> 13 <box aunit="radian" lunit="mm" name="det" x= 13 <box aunit="radian" lunit="mm" name="det" x="2000" y="2000" z="2000" /> 14 </solids> 14 </solids> 15 <structure> 15 <structure> 16 <volume name="Detector" > 16 <volume name="Detector" > 17 <materialref ref="G4_WATER" /> 17 <materialref ref="G4_WATER" /> 18 <solidref ref="det" /> 18 <solidref ref="det" /> 19 </volume> 19 </volume> 20 <volume name="World" > 20 <volume name="World" > 21 <materialref ref="G4_AIR" /> 21 <materialref ref="G4_AIR" /> 22 <solidref ref="world" /> 22 <solidref ref="world" /> 23 <physvol> 23 <physvol> 24 <volumeref ref="Detector" /> 24 <volumeref ref="Detector" /> 25 <positionref ref="det_in_world" /> 25 <positionref ref="det_in_world" /> 26 </physvol> 26 </physvol> 27 </volume> 27 </volume> 28 </structure> 28 </structure> 29 <setup name="Default" version="1.0" > 29 <setup name="Default" version="1.0" > 30 <world ref="World" /> 30 <world ref="World" /> 31 </setup> 31 </setup> 32 </gdml> 32 </gdml>