Warning, /eic-opticks/tests/geom/sphere_leak.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"
0003 xsi:noNamespaceSchemaLocation="">
0004
0005 <!-- 1) Define any matrices, etc. (optional) -->
0006 <define>
0007 <matrix coldim="2" name="REFLECTIVITY_MIRROR" values="1.55e-06 1. 11.6*eV 1." />
0008 <matrix coldim="2" name="REFLECTIVITYMAX" values="1.55e-06 1.0 1.55e-05 1.0" />
0009 <matrix coldim="2" name="RINDEX_MIRROR" values="1.55e-06 1.0 1.55e-05 1.0" />
0010 <matrix coldim="2" name="RINDEX_WATER" values="1.55e-06 1.333 1.55e-05 1.333" />
0011 <matrix coldim="2" name="ABSLENGTH_WATER" values="1.55e-06 100.0*m 1.55e-05 100.0*m" />
0012 <matrix coldim="2" name="SCATTERLENGTH_WATER" values="1.55e-06 1*m 1.55e-05 1*m" />
0013 <matrix coldim="2" name="RINDEX_GLASS" values="1.55e-06 1.5 1.55e-05 1.5" />
0014 <matrix coldim="2" name="EFFICIENCYDET" values="2.034*eV 1 2.068*eV 1 2.103*eV 1 2.139*eV 1 2.177*eV 1 2.216*eV 1 2.256*eV 1 2.298*eV 1 2.341*eV 1 2.386*eV 1 2.433*eV 1 2.481*eV 1 2.532*eV 1 2.585*eV 1 2.64*eV 1 2.697*eV 1 2.757*eV 1 2.82*eV 1 2.885*eV 1 2.954*eV 1 3.026*eV 1 3.102*eV 1 3.181*eV 1 3.265*eV 1 3.353*eV 1 3.446*eV 1 3.545*eV 1 3.649*eV 1 3.76*eV 1 3.877*eV 1 4.002*eV 1 4.136*eV 1 5.0*eV 1 6.0*eV 1 7.0*eV 1 8.0*eV 1 9.0*eV 1 9.0*eV 1 10.0*eV 1 11.0*eV 1 11.6*eV 1" />
0015 </define>
0016
0017 <!-- 2) Materials -->
0018 <materials>
0019 <element name="H" formula="H" Z="1">
0020 <atom value="1.0079" unit="g/mole"/>
0021 </element>
0022
0023 <element name="O" formula="O" Z="8">
0024 <atom value="15.999" unit="g/mole"/>
0025 </element>
0026
0027 <material name="WaterMaterial" state="liquid">
0028 <D value="1.0" unit="g/cm3"/>
0029 <fraction n="0.1119" ref="H"/>
0030 <fraction n="0.8881" ref="O"/>
0031 <property name="RINDEX" ref="RINDEX_WATER"/>
0032 <property name="ABSLENGTH" ref="ABSLENGTH_WATER"/>
0033 <property name="RAYLEIGH" ref="SCATTERLENGTH_WATER"/>
0034 </material>
0035
0036 <material name="MirrorMaterial" state="solid">
0037 <D value="2.7" unit="g/cm3"/>
0038 <fraction n="1.0" ref="O"/>
0039 <property name="RINDEX" ref="RINDEX_GLASS"/>
0040 </material>
0041
0042 <material name="GlassMaterial" state="solid">
0043 <D value="2.5" unit="g/cm3"/>
0044 <fraction n="1.0" ref="O"/>
0045 <property name="RINDEX" ref="RINDEX_GLASS"/>
0046 </material>
0047 </materials>
0048
0049 <!-- 3) Solids: geometry -->
0050 <solids>
0051 <!-- World sphere: radius chosen so its diameter (100 mm) matches the old 100 mm cube -->
0052 <sphere name="WorldBox" rmin="0" rmax="50" deltaphi="6.28318530718"
0053 deltatheta="3.14159265359" aunit="rad" lunit="mm"/>
0054
0055 <!-- Mirror shells: outer and inner spheres replace cubes of 60 mm and 50 mm side -->
0056 <sphere name="MirrorOuter" rmin="0" rmax="30" deltaphi="6.28318530718"
0057 deltatheta="3.14159265359" aunit="rad" lunit="mm"/>
0058
0059 <sphere name="MirrorInner" rmin="0" rmax="25" deltaphi="6.28318530718"
0060 deltatheta="3.14159265359" aunit="rad" lunit="mm"/>
0061
0062 <!-- Keep the subtraction to form the thin-shell mirror -->
0063 <subtraction name="MirrorSphere">
0064 <first ref="MirrorOuter"/>
0065 <second ref="MirrorInner"/>
0066 </subtraction>
0067
0068 <!-- Glass sphere: radius 15 mm replaces the previous 30 mm cube -->
0069 <sphere name="GlassSphere" rmin="0" rmax="15" deltaphi="6.28318530718"
0070 deltatheta="3.14159265359" aunit="rad" lunit="mm"/>
0071
0072 <!-- 4) Optical Surfaces -->
0073 <opticalsurface name="MirrorSurface" type="0" model="1" finish="0" value="0">
0074 <property name="REFLECTIVITY" ref="REFLECTIVITY_MIRROR" />
0075 </opticalsurface>
0076
0077 <opticalsurface finish="0" model="1" name="Det_optical" type="0" value="0">
0078 <property name="EFFICIENCY" ref="EFFICIENCYDET"/>
0079 </opticalsurface>
0080 </solids>
0081
0082 <!-- 5) Structure -->
0083 <structure>
0084 <volume name="Mirror_logical">
0085 <materialref ref="MirrorMaterial"/>
0086 <solidref ref="MirrorSphere"/>
0087 <auxiliary auxtype="SensDet" auxvalue="PhotonDetector"/>
0088 </volume>
0089
0090 <volume name="Glass_logical">
0091 <materialref ref="WaterMaterial"/>
0092 <solidref ref="GlassSphere"/>
0093 </volume>
0094
0095 <volume name="World_logical">
0096 <materialref ref="WaterMaterial"/>
0097 <solidref ref="WorldBox"/>
0098
0099 <physvol name="Mirror_phys">
0100 <volumeref ref="Mirror_logical"/>
0101 <position name="Mirrorpos" unit="mm" x="0" y="0" z="0"/>
0102 </physvol>
0103
0104 <physvol name="Glass_phys">
0105 <volumeref ref="Glass_logical"/>
0106 <position name="Glasspos" unit="mm" x="0" y="0" z="0"/>
0107 </physvol>
0108 </volume>
0109
0110 <skinsurface name="MirrorSkinSurface" surfaceproperty="Det_optical">
0111 <volumeref ref="Mirror_logical"/>
0112 </skinsurface>
0113
0114 <bordersurface name="GlassToMirror" surfaceproperty="MirrorSurface">
0115 <physvolref ref="Glass_phys"/>
0116 <physvolref ref="Mirror_phys"/>
0117 </bordersurface>
0118
0119 <skinsurface name="GlassSkinSurface" surfaceproperty="MirrorSurface">
0120 <volumeref ref="Glass_logical"/>
0121 </skinsurface>
0122 </structure>
0123
0124 <!-- 6) Setup -->
0125 <setup name="Default" version="1.0">
0126 <world ref="World_logical"/>
0127 </setup>
0128 </gdml>
0129