Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <?xml version="1.0" encoding="UTF-8"?>
0002 <lccdd>
0003 <!-- #==========================================================================
0004      #  AIDA Detector description implementation 
0005      #==========================================================================
0006      # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0007      # All rights reserved.
0008      #
0009      # For the licensing terms see $DD4hepINSTALL/LICENSE.
0010      # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0011      #
0012      #==========================================================================
0013      #  Check issue: https://github.com/AIDASoft/DD4hep/issues/1062
0014      #==========================================================================
0015 -->
0016 
0017   <debug>
0018     <type name="includes" value="1"/>
0019     <type name="regions"  value="1"/>
0020     <type name="limits"   value="1"/>
0021   </debug>
0022 
0023   <!-- This here get parsed late, after the sub-detectors are constructed, but before closing -->
0024   <includes>
0025     <file ref="${DD4hepExamplesINSTALL}/examples/ClientTests/compact/MiniTel.xml"/>
0026   </includes>
0027 
0028   <display>
0029     <vis name="world_vis" alpha="0.8" r="1.0" g="1.0" b="0.0" showDaughters="true"  visible="true"  drawingStyle="solid" lineStyle="solid"/>
0030   </display>
0031 
0032   <limits>
0033     <limitset name="world_limits">
0034       <limit name="step_length_max"  particles="*" value="5.0" unit="mm"/>
0035       <limit name="track_length_max" particles="*" value="1.0" unit="mm"/>
0036     </limitset>
0037     <limitset name="minitel_limits_extra">
0038       <limit name="step_length_max" particles="e[+-]"  value="1.0"  unit="mm"/>
0039       <limit name="step_length_max" particles="mu[+-]" value="3.0"  unit="mm"/>
0040       <limit name="step_length_max" particles="*"      value="5.0"  unit="mm"/>
0041     </limitset>
0042   </limits>
0043 
0044   <regions>
0045     <region name="world_region" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0046       <limitsetref name="world_limits"/>
0047     </region>
0048     <region name="minitel_region_5" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0049       <limitsetref name="minitel_limits_extra"/>
0050     </region>
0051     <region name="minitel_region_6" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001">
0052       <limitsetref name="minitel_limits_extra"/>
0053     </region>
0054   </regions>
0055 
0056   <!-- FIRST possibily to configure the world object:
0057        Use a dedicated xml child of the compact description.
0058   -->
0059   <world debug="true">
0060     <regionref   name="world_region"/>
0061     <limitsetref name="world_limits"/>
0062     <visref      name="world_vis"/>
0063   </world>
0064 
0065 
0066   <!-- SECOND possibily to configure the world object:
0067        Use a plugin to apply the options. This does NOT allow for any other shape
0068        than the default box defined by the constants.
0069   -->
0070   <plugins>
0071     <plugin type="config" name="DD4hep_DetElementConfig" path="/world" debug="true">
0072       <volume>
0073          <regionref   name="world_region"/>
0074          <limitsetref name="world_limits"/>
0075          <visref      name="world_vis"/>
0076       </volume>
0077     </plugin>
0078   </plugins>
0079 
0080   <!-- Use the same plugin to define any other DetElement entry  -->
0081   <plugins>
0082     <!-- Example to modify the world volume and assign region settings etc.  -->
0083     <plugin type="config" name="DD4hep_DetElementConfig" path="/world/MyLHCBdetector5" propagate="true" debug="true">
0084       <volume>
0085          <regionref   name="minitel_region_5"/>
0086          <limitsetref name="minitel_limits_extra"/>
0087       </volume>
0088     </plugin>
0089 
0090     <plugin type="config" name="DD4hep_DetElementConfig" path="/world/MyLHCBdetector6" propagate="true">
0091       <volume>
0092          <regionref   name="minitel_region_6"/>
0093          <limitsetref name="minitel_limits_extra"/>
0094       </volume>
0095     </plugin>
0096   </plugins>
0097 
0098   <!-- Example to modify a given sensitive detector and modify properties -->
0099   <plugins>
0100     <plugin type="config" name="DD4hep_SensitiveDetectorConfig" detector="MyLHCBdetector5" debug="true">
0101       <combine_hits    value="true"/>
0102       <verbose         value="true"/>
0103       <type            value="tracker"/>
0104       <ecut            value="5*keV"/>
0105       <hits_collection value="hits_collection_5"/>
0106     </plugin>
0107   </plugins>
0108 
0109 </lccdd>