Files
geant4/examples/extended/persistency/gdml/G01/replicated.gdml
2024-06-28 13:08:51 +02:00

56 lines
1.5 KiB
XML

<?xml version="1.0" encoding="UTF-8" standalone="no" ?>
<gdml xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd">
<define>
</define>
<materials>
<material Z="13" name="ALU" state="solid">
<D unit="g/cm3" value="2.7"/>
<atom unit="g/mole" value="26.98"/>
</material>
<material Z="1" name="AIR" state="gas">
<D unit="g/cm3" value="1e-24"/>
<atom unit="g/mole" value="1.00794"/>
</material>
</materials>
<solids>
<box lunit="mm" name="Cube" x="100" y="100" z="100"/>
<box lunit="mm" name="MotherCube" x="800" y="100" z="100"/>
<box lunit="mm" name="WorldBox" x="1000" y="1000" z="1000"/>
</solids>
<structure>
<volume name="lvCube">
<materialref ref="ALU"/>
<solidref ref="Cube"/>
</volume>
<volume name="lvReplica">
<materialref ref="AIR"/>
<solidref ref="MotherCube"/>
<replicavol number="8">
<volumeref ref="lvCube"/>
<replicate_along_axis>
<direction x="1" />
<width value="100" unit="mm"/>
<offset value="0" unit="mm"/>
</replicate_along_axis>
</replicavol>
</volume>
<volume name="TOP">
<materialref ref="AIR"/>
<solidref ref="WorldBox"/>
<physvol name="lvReplica_phys">
<volumeref ref="lvReplica"/>
</physvol>
</volume>
</structure>
<setup name="Default" version="1.0">
<world ref="TOP"/>
</setup>
</gdml>