Back to home page

EIC code displayed by LXR

 
 

    


Warning, /eic-opticks/tests/geom/test_trap_scint.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="http://cern.ch/service-spi/app/releases/GDML/schema/gdml.xsd">
0004 
0005   <define>
0006     <matrix coldim="2" name="RINDEX_Vacuum" values="1.55e-06 1.0 6.2e-06 1.0 1.033e-05 1.0 1.55e-05 1.0"/>
0007     <matrix coldim="2" name="RINDEX_Quartz" values="1.55e-06 1.46 6.2e-06 1.46 1.033e-05 1.46 1.55e-05 1.46"/>
0008     <!-- ABSLENGTH = 100 m (100000 mm) so absorption is the natural cut-off
0009          and the bounce/looper-kill mismatch between G4 and Opticks does
0010          not dominate the time tail. -->
0011     <matrix coldim="2" name="ABSLENGTH_Quartz" values="1.55e-06 100000 6.2e-06 100000 1.033e-05 100000 1.55e-05 100000"/>
0012 
0013     <!-- Scintillation: peak at 420 nm (E=2.952 eV). Yield 1000 photons/MeV,
0014          fast time constant 2 ns. coldim=1 is the GDML convention for scalar
0015          constants accessed via GetConstProperty. -->
0016     <matrix coldim="2" name="SCINT_SPECTRUM"
0017             values="2.480e-06 0.05 2.755e-06 0.50 2.952e-06 1.00 3.100e-06 0.80 3.542e-06 0.20"/>
0018     <matrix coldim="1" name="SCINT_YIELD" values="10.0"/>
0019     <matrix coldim="1" name="RESOLUTION_SCALE" values="1.0"/>
0020     <matrix coldim="1" name="FAST_TIME_CONST" values="2.0"/>
0021     <matrix coldim="1" name="YIELD_RATIO" values="1.0"/>
0022     <matrix coldim="2" name="REEMISSION_PROB" values="1.55e-06 0.0 1.55e-05 0.0"/>
0023 
0024     <matrix coldim="2" name="REFLECTIVITY_Det" values="1.55e-06 0 6.2e-06 0 1.033e-05 0 1.55e-05 0"/>
0025     <matrix coldim="2" name="EFFICIENCY_Det" values="1.55e-06 1 6.2e-06 1 1.033e-05 1 1.55e-05 1"/>
0026   </define>
0027 
0028   <materials>
0029     <isotope N="28" Z="14" name="Si28"><atom unit="g/mole" value="27.977"/></isotope>
0030     <element name="Silicon"><fraction n="1.0" ref="Si28"/></element>
0031     <isotope N="16" Z="8" name="O16"><atom unit="g/mole" value="15.995"/></isotope>
0032     <element name="Oxygen"><fraction n="1.0" ref="O16"/></element>
0033     <material Z="1" name="Vacuum" state="gas">
0034       <D unit="g/cm3" value="1e-25"/>
0035       <atom unit="g/mole" value="1.00794"/>
0036       <property name="RINDEX" ref="RINDEX_Vacuum"/>
0037     </material>
0038     <material name="Quartz" state="solid">
0039       <D unit="g/cm3" value="2.2"/>
0040       <fraction n="0.4674" ref="Silicon"/>
0041       <fraction n="0.5326" ref="Oxygen"/>
0042       <property name="RINDEX" ref="RINDEX_Quartz"/>
0043       <property name="ABSLENGTH" ref="ABSLENGTH_Quartz"/>
0044       <!-- Synthetic scintillation properties (Quartz isn't really a scintillator).
0045            Both new (G4 11.x) and old (G4 10.x / Opticks U4Scint) names are
0046            required: G4 reads the new ones to fire G4Scintillation; U4Scint
0047            reads the old ones (FASTCOMPONENT, SLOWCOMPONENT, REEMISSIONPROB)
0048            to initialize the GPU wavelength ICDF. Missing either set leaves
0049            one side without a working scintillation path. -->
0050       <!-- Geant4 11.x scintillation property names -->
0051       <property name="SCINTILLATIONYIELD" ref="SCINT_YIELD"/>
0052       <property name="RESOLUTIONSCALE" ref="RESOLUTION_SCALE"/>
0053       <property name="SCINTILLATIONCOMPONENT1" ref="SCINT_SPECTRUM"/>
0054       <property name="SCINTILLATIONTIMECONSTANT1" ref="FAST_TIME_CONST"/>
0055       <property name="SCINTILLATIONYIELD1" ref="YIELD_RATIO"/>
0056       <!-- Geant4 10.x / Opticks U4Scint property names (point to same matrices) -->
0057       <property name="FASTCOMPONENT" ref="SCINT_SPECTRUM"/>
0058       <property name="SLOWCOMPONENT" ref="SCINT_SPECTRUM"/>
0059       <property name="FASTTIMECONSTANT" ref="FAST_TIME_CONST"/>
0060       <property name="SLOWTIMECONSTANT" ref="FAST_TIME_CONST"/>
0061       <property name="YIELDRATIO" ref="YIELD_RATIO"/>
0062       <property name="REEMISSIONPROB" ref="REEMISSION_PROB"/>
0063     </material>
0064   </materials>
0065 
0066   <solids>
0067     <box name="WorldSolid" x="2000" y="2000" z="2000" lunit="mm"/>
0068     <trap name="TrapSolid" z="400" theta="10" phi="30"
0069           y1="300" x1="200" x2="60" alpha1="-15"
0070           y2="300" x3="200" x4="60" alpha2="-15"
0071           aunit="deg" lunit="mm"/>
0072     <box name="DetSolid" x="500" y="500" z="1" lunit="mm"/>
0073     <opticalsurface name="DetOpSurface" model="0" finish="0" type="1" value="1">
0074       <property name="REFLECTIVITY" ref="REFLECTIVITY_Det"/>
0075       <property name="EFFICIENCY" ref="EFFICIENCY_Det"/>
0076     </opticalsurface>
0077   </solids>
0078 
0079   <structure>
0080     <volume name="DetVolume">
0081       <materialref ref="Quartz"/>
0082       <solidref ref="DetSolid"/>
0083       <auxiliary auxtype="SensDet" auxvalue="PMT"/>
0084     </volume>
0085     <volume name="TrapVolume">
0086       <materialref ref="Quartz"/>
0087       <solidref ref="TrapSolid"/>
0088     </volume>
0089     <volume name="World">
0090       <materialref ref="Vacuum"/>
0091       <solidref ref="WorldSolid"/>
0092       <physvol name="TrapPV">
0093         <volumeref ref="TrapVolume"/>
0094       </physvol>
0095       <physvol name="DetPV">
0096         <volumeref ref="DetVolume"/>
0097         <position name="DetPV_pos" unit="mm" x="0" y="0" z="250"/>
0098       </physvol>
0099     </volume>
0100     <skinsurface name="DetSkinSurface" surfaceproperty="DetOpSurface">
0101       <volumeref ref="DetVolume"/>
0102     </skinsurface>
0103   </structure>
0104 
0105   <setup name="Default" version="1.0">
0106     <world ref="World"/>
0107   </setup>
0108 </gdml>