Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/NestedDetectors.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 -->
0014 
0015   <info name="Nested_Detectors_test"
0016         title="Test for nested detector descriptions"
0017         author="Markus Frank"
0018         url="None"
0019         status="development"
0020         version="$Id: compact.xml 1374 2014-11-05 10:49:55Z markus.frank@cern.ch $">
0021     <comment>Test for nested detector descriptions</comment>        
0022   </info>
0023 
0024   <includes>
0025     <gdmlFile ref="${DDDetectors_dir}/elements.xml"/>
0026     <gdmlFile ref="${DDDetectors_dir}/materials.xml"/>
0027   </includes>
0028   
0029   <define>
0030     <constant name="DDDetectors_dir" value="${DD4hepINSTALL}/DDDetectors/compact" type="string"/>;
0031     <constant name="SiD_dir" value="${DDDetectors_dir}/SiD" type="string"/>;
0032     <constant name="world_side" value="30000*mm"/>
0033     <constant name="world_x" value="world_side"/>
0034     <constant name="world_y" value="world_side"/>
0035     <constant name="world_z" value="world_side"/>
0036 
0037     <constant name="VertexBarrel_ID" value="1"/>
0038     <constant name="VertexBarrel_zmax" value="10.0*cm"/>
0039     <constant name="VertexBarrel_r1" value="2.7*cm"/>
0040     <constant name="VertexBarrel_r2" value="3.8*cm"/>
0041     <constant name="VertexBarrel_r3" value="5.1*cm"/>
0042     <constant name="VertexBarrel_r4" value="6.4*cm"/>
0043     <constant name="VertexBarrel_r5" value="7.7*cm"/>
0044 
0045     <constant name="SiTrackerBarrel_ID" value="3"/>
0046 
0047     <constant name="tracker_region_rmax" value="world_side"/>
0048     <constant name="tracker_region_zmax" value="world_side"/>
0049 
0050   </define>
0051 
0052   <limits><limitset name="SiTrackerBarrelRegionLimitSet"/></limits>
0053   <regions><region name="SiTrackerBarrelRegion" eunit="MeV" lunit="mm" cut="0.001" threshold="0.001"/></regions>
0054 
0055   <comment>Common Generic visualization attributes</comment>
0056   <display>
0057     <vis name="InvisibleNoDaughters"      showDaughters="false" visible="false"/>
0058     <vis name="InvisibleWithDaughters"    showDaughters="true" visible="false"/>
0059     <vis name="BlueVis" alpha="1" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0060     <vis name="BlueVisTrans" alpha="0.1" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0061   </display>
0062 
0063   <comment>Tracking detectors</comment>
0064   <detectors>
0065     <detector id="99" name="SiTrackers" type="DD4hep_SubdetectorAssembly" vis="BlueVisTrans">
0066       <shape name="SiTrackersEnv" type="Tube" rmin="0*mm" rmax="2500*mm" dz="2200*mm" material="Air">
0067       </shape>
0068       <comment>Silicon Tracker Assembly</comment>
0069       <composite name="SiTrackerBarrel"/>
0070       <composite name="SiVertexBarrel"/>
0071       <composite name="NestedSolenoid"/>
0072     </detector>
0073   </detectors>
0074 
0075   <include ref="${SiD_dir}/SiD_TrackerConfig.xml"/>
0076   <include ref="${SiD_dir}/SiD_TrackerBarrel.xml"/>
0077 
0078   <include ref="${SiD_dir}/SiD_VertexConfig.xml"/>
0079   <include ref="${SiD_dir}/SiD_VertexBarrel.xml"/>
0080   <include ref="NestedSolenoid.xml"/>
0081 
0082 </lccdd>