Back to home page

EIC code displayed by LXR

 
 

    


Warning, /eic-opticks/dd4hepplugins/examples/geometry/raindrop_dd4hep.xml is written in an unsupported language. File is not indexed.

0001 <lccdd>
0002   <info name="Raindrop" title="Simple optical test geometry for eic-opticks"
0003         author="test" url="none" status="test" version="1.0">
0004     <comment>
0005       Minimal optical geometry for eic-opticks DD4hep integration testing.
0006       Matches eic-opticks tests/geom/opticks_raindrop_with_scintillation.gdml
0007       Nested boxes: Vacuum(240) > Lead(220) > Air(200) > Water(100) mm
0008       Water has RINDEX and scintillation. Air has RINDEX.
0009       Border surface between air medium and lead container (MediumContainerSurf).
0010       Skin surface on lead container (ContainerSkinSurf).
0011     </comment>
0012   </info>
0013 
0014   <define>
0015     <constant name="world_side" value="500*mm"/>
0016     <constant name="world_x"   value="world_side"/>
0017     <constant name="world_y"   value="world_side"/>
0018     <constant name="world_z"   value="world_side"/>
0019   </define>
0020 
0021   <properties>
0022     <matrix name="RINDEX__OpAir" coldim="2" values="
0023       1.55*eV  1.0
0024       15.5*eV  1.0
0025     "/>
0026     <matrix name="RINDEX__OpWater" coldim="2" values="
0027       1.55*eV  1.333
0028       15.5*eV  1.333
0029     "/>
0030     <matrix name="ABSLENGTH__OpWater" coldim="2" values="
0031       1.55*eV  1000*mm
0032       15.5*eV  1000*mm
0033     "/>
0034     <matrix name="RINDEX__OpLead" coldim="2" values="
0035       1.512*eV  1.0
0036       5.512*eV  1.1
0037     "/>
0038     <matrix name="ABSLENGTH__OpLead" coldim="2" values="
0039       1.512*eV  1*mm
0040       5.512*eV  1*mm
0041     "/>
0042     <matrix name="EFFICIENCY__DropSurf" coldim="2" values="
0043       2.034*eV  1.0
0044       4.136*eV  1.0
0045     "/>
0046     <matrix name="REFLECTIVITY__DropSurf" coldim="2" values="
0047       2.034*eV  0.0
0048       4.136*eV  0.0
0049     "/>
0050   </properties>
0051 
0052   <includes>
0053     <gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0054   </includes>
0055 
0056   <materials>
0057     <material name="Air">
0058       <D type="density" unit="g/cm3" value="0.0012"/>
0059       <fraction n="0.754" ref="N"/>
0060       <fraction n="0.234" ref="O"/>
0061       <fraction n="0.012" ref="Ar"/>
0062     </material>
0063 
0064     <material name="Vacuum">
0065       <D type="density" unit="g/cm3" value="1e-25"/>
0066       <fraction n="1.0" ref="N"/>
0067     </material>
0068 
0069     <material name="OpAir">
0070       <D type="density" unit="g/cm3" value="0.001214"/>
0071       <fraction n="0.7" ref="N"/>
0072       <fraction n="0.3" ref="O"/>
0073       <property name="RINDEX" ref="RINDEX__OpAir"/>
0074     </material>
0075 
0076     <material name="OpWater">
0077       <D type="density" unit="g/cm3" value="1.0"/>
0078       <fraction n="0.112" ref="H"/>
0079       <fraction n="0.888" ref="O"/>
0080       <property name="RINDEX"                    ref="RINDEX__OpWater"/>
0081       <property name="ABSLENGTH"                 ref="ABSLENGTH__OpWater"/>
0082     </material>
0083 
0084     <material name="OpLead">
0085       <D type="density" unit="g/cm3" value="11.35"/>
0086       <fraction n="1.0" ref="Pb"/>
0087       <property name="RINDEX" ref="RINDEX__OpLead"/>
0088       <property name="ABSLENGTH" ref="ABSLENGTH__OpLead"/>
0089     </material>
0090   </materials>
0091 
0092   <world material="Vacuum">
0093     <shape type="Box" dx="world_x" dy="world_y" dz="world_z"/>
0094   </world>
0095 
0096   <display>
0097     <vis name="ContainerVis" alpha="0.3" r="0.5" g="0.5" b="0.5" showDaughters="true" visible="true"/>
0098     <vis name="MediumVis"    alpha="0.2" r="0.8" g="0.8" b="1.0" showDaughters="true" visible="true"/>
0099     <vis name="DropVis"      alpha="0.5" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0100   </display>
0101 
0102   <surfaces>
0103     <opticalsurface name="/world/Raindrop#MediumContainerSurf"
0104                     finish="polished" model="glisur" type="dielectric_dielectric">
0105       <property name="EFFICIENCY"    ref="EFFICIENCY__DropSurf"/>
0106       <property name="REFLECTIVITY"  ref="REFLECTIVITY__DropSurf"/>
0107     </opticalsurface>
0108     <opticalsurface name="/world/Raindrop#ContainerSkinSurf"
0109                     finish="polished" model="glisur" type="dielectric_dielectric">
0110       <property name="EFFICIENCY"    ref="EFFICIENCY__DropSurf"/>
0111     </opticalsurface>
0112   </surfaces>
0113 
0114   <detectors>
0115     <detector id="1" name="Raindrop" type="DD4hep_Raindrop" readout="RaindropHits" vis="ContainerVis">
0116       <container x="110*mm" y="110*mm" z="110*mm" material="OpLead"  vis="ContainerVis"/>
0117       <medium    x="100*mm" y="100*mm" z="100*mm" material="OpAir"   vis="MediumVis"/>
0118       <drop      x="50*mm"  y="50*mm"  z="50*mm"  material="OpWater" vis="DropVis"/>
0119     </detector>
0120   </detectors>
0121 
0122   <readouts>
0123     <readout name="RaindropHits">
0124       <id>system:8,medium:4,drop:4</id>
0125     </readout>
0126   </readouts>
0127 
0128 </lccdd>