Back to home page

EIC code displayed by LXR

 
 

    


Warning, /geant4/examples/extended/persistency/gdml/G01/opticalsurfaces.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="http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd" >
0003 
0004  <define>
0005   <position name="detinWorldp" unit="mm" x="0" y="0" z="0" />
0006   <position name="pos2" unit="mm" x="2000" y="0" z="0" /> 
0007 
0008   <matrix name="prop1" coldim="2" values="1.0 7.0 
0009                                           2.0 9.4"/>
0010 
0011   <matrix name="prop2" coldim="2" values="3.0 -1.0 
0012                                           4.0 -9.4
0013                                           5.0 -11.1"/>
0014 
0015   <matrix name="RINDEX" coldim="2" values="1.65*eV 1.58" />
0016   <matrix name="REFLECTIVITY" coldim="2" values="1.65*eV 0.8" />
0017  </define>
0018 
0019  <materials>
0020   <element Z="7" formula="N" name="Nitrogen" >
0021    <atom value="14.01" />
0022   </element>
0023   <element Z="8" formula="O" name="Oxygen" >
0024    <atom value="16" />
0025   </element>
0026 
0027   <material formula=" " name="Air" >
0028    <property name="myproperty1" ref="prop1"/>
0029    <property name="myproperty2" ref="prop2"/>
0030    <property name="RINDEX" ref="RINDEX"/>  
0031    <D value="0.00129" />
0032    <fraction n="0.7" ref="Nitrogen" />
0033    <fraction n="0.3" ref="Oxygen" />
0034   </material>
0035  </materials>
0036 
0037  <solids>
0038   <box aunit="radian" lunit="mm" name="world" x="10000" y="10000" z="10000" />
0039   <box aunit="radian" lunit="mm" name="det" x="2000" y="2000" z="2000" />
0040   <opticalsurface name="surf1" model="glisur" finish="polished" type="dielectric_dielectric" value="1.0"/>
0041   <opticalsurface name="surf2" model="glisur" finish="polished" type="dielectric_metal" value="1.0">
0042     <property name="REFLECTIVITY" ref="REFLECTIVITY" />
0043   </opticalsurface>
0044  </solids>
0045 
0046  <structure>
0047   <volume name="Detector" >
0048    <materialref ref="Air" />
0049    <solidref ref="det" />
0050   </volume>
0051   <volume name="World" >
0052    <materialref ref="Air" />
0053    <solidref ref="world" />
0054    <physvol name="pv1">
0055     <volumeref ref="Detector" />
0056     <positionref ref="detinWorldp" />
0057    </physvol>
0058    <physvol name="pv2">
0059     <volumeref ref="Detector" />
0060     <positionref ref="pos2" />
0061    </physvol>
0062   </volume>
0063 
0064   <skinsurface name="skinsrf1" surfaceproperty="surf1" >
0065     <volumeref ref="Detector"/>
0066   </skinsurface> 
0067 
0068   <bordersurface name="bordersrf1" surfaceproperty="surf2" >
0069     <physvolref ref="pv1"/>
0070     <physvolref ref="pv2"/>
0071   </bordersurface> 
0072 
0073  </structure>
0074 
0075  <setup name="Default" version="1.0" >
0076   <world ref="World" />
0077  </setup>
0078 </gdml>