Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/DDG4/compact/Channeling.xml is written in an unsupported language. File is not indexed.

0001 <lccdd>
0002 <!-- #==========================================================================
0003      #  AIDA Detector description implementation 
0004      #==========================================================================
0005      # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0006      # All rights reserved.
0007      #
0008      # For the licensing terms see $DD4hepINSTALL/LICENSE.
0009      # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0010      #
0011      #==========================================================================
0012 -->
0013 
0014   <info name="TestMaterialProperties"
0015     title="Test reading of TGeo's Material Properties"
0016     author="Markus Frank"
0017     url="None"
0018     status="development"
0019     version="1.0">
0020     <comment>Test reading of TGeo's Material Properties</comment>
0021   </info>
0022 
0023   <define>
0024     <constant name="world_side" value="1*m"/>
0025     <constant name="world_x"    value="world_side/2"/>
0026     <constant name="world_y"    value="world_side/2"/>
0027     <constant name="world_z"    value="world_side/2"/>
0028   </define>
0029   <debug>
0030     <type name="surface" value="1"/>
0031   </debug>
0032 
0033   <includes>
0034     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0035   </includes>
0036 
0037   <materials>
0038     <material name="Air">
0039       <D type="density" unit="g/cm3" value="0.0012"/>
0040       <fraction n="0.754" ref="N"/>
0041       <fraction n="0.234" ref="O"/>
0042       <fraction n="0.012" ref="Ar"/>
0043     </material>
0044     <!-- We model vakuum just as very thin air -->
0045     <material name="Vacuum">  
0046       <D type="density" unit="g/cm3" value="0.0000000001" />
0047       <fraction n="0.754" ref="N"/>
0048       <fraction n="0.234" ref="O"/>
0049       <fraction n="0.012" ref="Ar"/>
0050     </material>
0051     <material name="Ice">
0052       <D type="density" value="1.0" unit="g/cm3"/>
0053       <composite n="2" ref="H"/>
0054       <composite n="1" ref="O"/>
0055       <constant name="Geant4-plugin:material"            option="ChannelingCrystalMaterial"/>
0056       <constant name="Geant4-ignore:crystal_data"        option="${DD4hepExamplesINSTALL}/examples/DDG4/data/Si220pl/Si220pl"/>
0057       <constant name="Geant4-ignore:crystal_orientation" option="(1,0,0)"/>
0058       <constant name="BirksConstant"        value="123.456*mm/MeV"/>
0059       <constant name="MeanExcitationEnergy" value="79.7*eV"/>
0060       <constant name="MeanEnergyPerIonPair" value="50*eV"/>
0061     </material>
0062   </materials>
0063 
0064   <display>
0065     <vis name="EnvelopeVis"     alpha="0.1"   r="0"   g="0.0" b="1.0"  showDaughters="true"  visible="true"/>
0066     <vis name="CrystalVis"  alpha="0.3"   r="1"   g="0.0" b="0.0"  showDaughters="true"  visible="true"/>
0067   </display>
0068 
0069   <detectors>
0070     <detector id ="1" name="ChannelingDevice" type="DD4hep_SingleShape" vis="CrystalVis" sensitive="true" readout="ChannelingDeviceHits">
0071       <box   x="1.3*m" y="1.3*m" z="1.3*m" vis="EnvelopeVis"/>
0072       <shape type="Box" dx="50*cm" dy="50*cm" dz="20*cm">
0073         <position x="0" y="0" z="-100*cm"/>
0074         <position x="0" y="0" z="-50*cm"/>
0075         <position x="0" y="0" z="0*cm"/>
0076         <position x="0" y="0" z="50*cm"/>
0077         <position x="0" y="0" z="100*cm"/>
0078         <property name="Geant4-plugin" value="ChannelingCrystalVolume"/>
0079       </shape>
0080       <position x="0" y="0" z="0"/>
0081       <material name="Ice"/>
0082     </detector>
0083   </detectors>
0084 
0085   <readouts>
0086     <readout name="ChannelingDeviceHits">
0087       <id>system:8,module:8,x:32:-16,y:-16</id>
0088     </readout>
0089   </readouts>
0090 </lccdd>