Warning, /eic-opticks/tests/geom/sibling_pair.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="">
0003 <!--
0004 Two daughter boxes share the x=0 face exactly. The photon beam enters the
0005 left box, reaches the shared face at a steep angle, crosses the right box,
0006 and is detected by the nested sensor.
0007
0008 The short absorption length belongs only to the common parent. If the
0009 entering sibling is not selected, the beam is totally internally reflected.
0010 If the left sibling's carried material is not used for the segment ending at
0011 the shared face, almost all photons are incorrectly absorbed as parent
0012 material before reaching the sensor.
0013 -->
0014 <define>
0015 <matrix name="RINDEX_PARENT" coldim="2" values="1.0*eV 1.0 4.0*eV 1.0"/>
0016 <matrix name="ABSLENGTH_PARENT" coldim="2" values="1.0*eV 10.0 4.0*eV 10.0"/>
0017 <matrix name="RINDEX_SIBLING" coldim="2" values="1.0*eV 1.5 4.0*eV 1.5"/>
0018 <matrix name="ABSLENGTH_SIBLING" coldim="2" values="1.0*eV 1000000.0 4.0*eV 1000000.0"/>
0019 <matrix name="EFFICIENCY_SENSOR" coldim="2" values="1.0*eV 1.0 4.0*eV 1.0"/>
0020 <matrix name="REFLECTIVITY_SENSOR" coldim="2" values="1.0*eV 0.0 4.0*eV 0.0"/>
0021 </define>
0022
0023 <materials>
0024 <element name="Hydrogen" formula="H" Z="1">
0025 <atom unit="g/mole" value="1.00794"/>
0026 </element>
0027
0028 <material name="ParentMedium" state="gas">
0029 <D unit="g/cm3" value="0.001"/>
0030 <fraction n="1.0" ref="Hydrogen"/>
0031 <property name="RINDEX" ref="RINDEX_PARENT"/>
0032 <property name="ABSLENGTH" ref="ABSLENGTH_PARENT"/>
0033 </material>
0034
0035 <material name="SiblingMedium" state="solid">
0036 <D unit="g/cm3" value="1.0"/>
0037 <fraction n="1.0" ref="Hydrogen"/>
0038 <property name="RINDEX" ref="RINDEX_SIBLING"/>
0039 <property name="ABSLENGTH" ref="ABSLENGTH_SIBLING"/>
0040 </material>
0041 </materials>
0042
0043 <solids>
0044 <box name="WorldBox" x="100" y="100" z="140" lunit="mm"/>
0045 <box name="SiblingBox" x="20" y="40" z="100" lunit="mm"/>
0046 <box name="SensorBox" x="4" y="20" z="4" lunit="mm"/>
0047
0048 <opticalsurface name="SensorSurface" model="unified" finish="polished" type="dielectric_metal" value="1">
0049 <property name="EFFICIENCY" ref="EFFICIENCY_SENSOR"/>
0050 <property name="REFLECTIVITY" ref="REFLECTIVITY_SENSOR"/>
0051 </opticalsurface>
0052 </solids>
0053
0054 <structure>
0055 <volume name="SensorLV">
0056 <materialref ref="SiblingMedium"/>
0057 <solidref ref="SensorBox"/>
0058 <auxiliary auxtype="SensDet" auxvalue="PhotonDetector"/>
0059 </volume>
0060
0061 <volume name="LeftSiblingLV">
0062 <materialref ref="SiblingMedium"/>
0063 <solidref ref="SiblingBox"/>
0064 </volume>
0065
0066 <volume name="RightSiblingLV">
0067 <materialref ref="SiblingMedium"/>
0068 <solidref ref="SiblingBox"/>
0069 <physvol name="SensorPV">
0070 <volumeref ref="SensorLV"/>
0071 <position name="SensorPosition" x="-2" y="0" z="40" unit="mm"/>
0072 <rotation name="SensorRotation" x="5" y="0" z="0" unit="deg"/>
0073 </physvol>
0074 </volume>
0075
0076 <volume name="WorldLV">
0077 <materialref ref="ParentMedium"/>
0078 <solidref ref="WorldBox"/>
0079 <physvol name="LeftSiblingPV">
0080 <volumeref ref="LeftSiblingLV"/>
0081 <position name="LeftSiblingPosition" x="-10" y="0" z="0" unit="mm"/>
0082 </physvol>
0083 <physvol name="RightSiblingPV">
0084 <volumeref ref="RightSiblingLV"/>
0085 <position name="RightSiblingPosition" x="10" y="0" z="0" unit="mm"/>
0086 </physvol>
0087 </volume>
0088
0089 <skinsurface name="SensorSkin" surfaceproperty="SensorSurface">
0090 <volumeref ref="SensorLV"/>
0091 </skinsurface>
0092 </structure>
0093
0094 <setup name="Default" version="1.0">
0095 <world ref="WorldLV"/>
0096 </setup>
0097 </gdml>