Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/BoxOfStraws_sensitive.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="BoxOfStraws"
0016         title="Test with a box of straws"
0017         author="Markus Frank"
0018         url="http://www.cern.ch"
0019         status="development"
0020         version="1.0">
0021     <comment>Detector scalability test with a box of straws</comment>        
0022   </info>
0023 
0024   <includes>
0025     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0026     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0027   </includes>
0028 
0029   <define>
0030     <constant name="world_size" value="3*m"/>
0031     <constant name="world_x" value="world_size"/>
0032     <constant name="world_y" value="world_size"/>
0033     <constant name="world_z" value="world_size"/>
0034   </define>
0035 
0036   <display>
0037     <vis name="Invisible" showDaughters="false" visible="false"/>
0038     <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
0039     <vis name="VisibleRed"   alpha="0.4" r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0040     <vis name="VisibleBlue"  alpha="1.0" r="0.0" g="0.0" b="1.0" showDaughters="true" visible="true"/>
0041     <vis name="VisibleGreen" alpha="1.0" r="0.0" g="1.0" b="0.0" showDaughters="false" visible="true"/>
0042     <vis name="VisibleGray"  alpha="0.5" r="0.5" g="0.5" b="0.5" showDaughters="true" visible="true"/>
0043   </display>
0044 
0045   <limits>
0046     <limitset name="BoxOfStrawsLimitSet">
0047       <limit name="step_length_max"  particles="*" value="5.0" unit="mm" />
0048       <limit name="track_length_max" particles="*" value="1.0" unit="mm" />
0049     </limitset>
0050   </limits>
0051 
0052   <regions>
0053     <region name="StrawRegion" eunit="MeV" lunit="mm" cut="0.01" threshold="0.01">
0054       <limitsetref name="BoxOfStrawsLimitSet"/>
0055     </region>
0056   </regions>
0057 
0058   <detectors>
0059     <detector id="1" name="BoxOfStrawsDet" type="DD4hep_BoxOfStraws" readout="BoxOfStrawsHits" vis="VisibleGreen" region="StrawRegion" limits="BoxOfStrawsLimitSet">
0060       <box      x="1*m"    y="1*m" z="1000*mm"  limits="BoxOfStrawsLimitSet" vis="VisibleRed"/>
0061       <straw rmax="0.5*mm" y="1*m" thickness="0.1*mm" vis="VisibleBlue">
0062         <material name="Iron"/>
0063       </straw>
0064       <gas vis="VisibleGreen">
0065         <material name="Argon"/>
0066         <sensitive/>
0067       </gas>
0068       <position x="0*m"   y="0*m"   z="0*m"/>
0069       <rotation x="0"     y="0"     z="0"/>
0070     </detector>
0071   </detectors>
0072   
0073   <readouts>
0074     <readout name="BoxOfStrawsHits">
0075       <id>system:8,layer:16,straw:16,y:-12</id>
0076     </readout>
0077   </readouts>
0078 
0079   <fields>
0080     <field name="GlobalSolenoid" type="solenoid" 
0081            inner_field="3.0*tesla"
0082            outer_field="-1.5*tesla" 
0083            zmax="2*m"
0084            outer_radius="2*m">
0085     </field>
0086   </fields>
0087 
0088 </lccdd>