Skip to content
Snippets Groups Projects

import geometry example

Closed FU Chengdong requested to merge (removed):master into master
3 files
+ 171
0
Compare changes
  • Side-by-side
  • Inline
Files
3
+ 89
0
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<includes>
<gdmlFile ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
</includes>
<materials>
<material name="Air" state="gas">
<MEE unit="eV" value="85.7"/>
<D unit="g/cm3" value="0.00120479"/>
<fraction n="0.000124000124000124" ref="C"/>
<fraction n="0.755267755267755" ref="N"/>
<fraction n="0.231781231781232" ref="O"/>
<fraction n="0.0128270128270128" ref="Ar"/>
</material>
<material name="Vacuum">
<D type="density" unit="g/cm3" value="0.0000000001" />
<fraction n="0.754" ref="N"/>
<fraction n="0.234" ref="O"/>
<fraction n="0.012" ref="Ar"/>
</material>
<material name="BGO" state="solid">
<MEE unit="eV" value="534.1"/>
<D value="7.13" unit="g/cm3" />
<fraction n="0.154126" ref="O"/>
<fraction n="0.174820" ref="Ge" />
<fraction n="0.671054" ref="Bi" />
</material>
</materials>
<define>
<include ref="${DD4hepINSTALL}/DDDetectors/compact/detector_types.xml"/>
<constant name="DetID_LCAL" value=" 24"/>
<constant name="world_x" value="10*m"/>
<constant name="world_y" value="10*m"/>
<constant name="world_z" value="10*m"/>
</define>
<limits>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm" />
</limitset>
</limits>
<display>
<vis name="SeeThrough" alpha="0.0" r="0.0" g="0.0" b="0.0" showDaughters="true" visible="false"/>
<vis name="GrayVis" alpha="1.0" r="0.5" g="0.5" b="0.5" showDaughters="true" visible="true"/>
</display>
<detectors>
<detector id="DetID_LCAL" name="SingleCrystal" type="SingleCrystalCalorimeter_v01" readout="EcalBarrelCollection" vis="SeeThrough" sensitive="true" limit="cal_limits">
<envelope>
<shape type="Cone" rmin1="1000*mm" rmax1="2000*mm" rmin2="1000*mm" rmax2="2000*mm" z="1000*mm" material="Air" >
<position x="0" y="0" z="0"/>
<rotation x="0" y="0" z="0" />
</shape>
</envelope>
<type_flags type="DetType_CALORIMETER"/>
<sensitive type="calorimeter"/>
<crystal id="0" dx="1*cm" dy="1*cm" dz="20*cm" material="BGO" vis="GrayVis">
<position x="1500*mm" y="0" z="0"/>
<rotation x="0" y="90*deg" z="0" />
</crystal>
</detector>
</detectors>
<readouts>
<readout name="EcalBarrelCollection">
<id>system:5,crystal:16</id>
</readout>
</readouts>
<fields>
<field name="InnerSolenoid" type="solenoid"
inner_field="3*tesla"
outer_field="-1"
zmax="3*m"
inner_radius="3*m"
outer_radius="5*m">
</field>
</fields>
</lccdd>
Loading