Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/ParamVolume2D.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   <includes>
0016     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0017     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0018   </includes>
0019 
0020   <define>
0021     <constant name="world_size" value="30*m"/>
0022     <constant name="world_x" value="world_size"/>
0023     <constant name="world_y" value="world_size"/>
0024     <constant name="world_z" value="world_size"/>
0025   </define>
0026 
0027   <display>
0028     <vis name="Invisible" showDaughters="false" visible="false"/>
0029     <vis name="InvisibleWithChildren" showDaughters="true" visible="false"/>
0030     <vis name="VisibleRed"    r="1.0" g="0.0" b="0.0" showDaughters="true" visible="true"/>
0031     <vis name="VisibleBlue"   r="0.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
0032     <vis name="VisibleYellow" r="1.0" g="1.0" b="0.0" showDaughters="false" visible="true"/>
0033     <vis name="VisibleViolet" r="1.0" g="0.0" b="1.0" showDaughters="false" visible="true"/>
0034     <vis name="VisibleGreen" alpha="0.1" r="0.0" g="1.0" b="0.0" drawingStyle="solid" lineStyle="solid" showDaughters="true" visible="true"/>
0035   </display>
0036 
0037   <limits>
0038     <limitset name="param_limits">
0039       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0040     </limitset>
0041   </limits>
0042 
0043   <detectors>
0044     <detector id="1" name="Param2D" type="DD4hep_ParamVolume" vis="VisibleGreen" limits="param_limits">
0045       <box x="20*cm" y="120*cm" z="120*cm" material="Air"/>
0046       <param x="2*cm" y="2*cm" z="2*cm" material="Iron" vis="VisibleRed" limits="param_limits">
0047         <transformation>
0048           <dim_x repeat="20">
0049             <position x="0*cm" y="0*cm" z="10*cm"/>
0050             <rotation x="0" y="0" z="0"/>
0051           </dim_x>
0052           <dim_y repeat="20">
0053             <position x="0*cm" y="10*cm" z="0*cm"/>
0054             <rotation x="0" y="0" z="0"/>
0055           </dim_y>
0056         </transformation>
0057         <start>
0058           <position x="0*cm" y="-100*cm" z="-100*cm"/>
0059           <rotation x="0" y="0" z="0"/>
0060         </start>
0061       </param>
0062       <position x="0" y="0" z="0*cm"/>
0063       <rotation x="0" y="0" z="0"/>
0064     </detector>
0065   </detectors>
0066   
0067   <readouts>
0068     <readout name="Hits1">
0069       <segmentation type="CartesianGridXY" grid_size_x="1*cm" grid_size_y="1*cm"/>
0070       <id>system:6,volume:16,x:32:-6,y:48:-6</id> 
0071     </readout>
0072   </readouts>
0073 
0074   <fields>
0075     <field name="GlobalSolenoid" type="solenoid" 
0076            inner_field="5.0*tesla"
0077            outer_field="-1.5*tesla" 
0078            zmax="2*m"
0079            outer_radius="3*m">
0080     </field>
0081   </fields>
0082 
0083 </lccdd>