Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/ClientTests/compact/ReplicateVolume.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="Replicate_1" type="DD4hep_ParamVolume" vis="VisibleGreen" readout="Hits3D" limits="param_limits">
0045       <!-- Mother volume dimensions  -->
0046       <box x="120*cm" y="120*cm" z="120*cm" material="Air"/>
0047       <!-- Mother volume placement in the world -->
0048       <position x="0*cm" y="0*cm" z="0*cm"/>
0049       <rotation x="0" y="0" z="0"/>
0050 
0051       <!-- Parameterisation arguments -->
0052       <param x="15*cm" y="10*cm" z="2*cm" material="Iron" vis="VisibleRed" limits="param_limits">
0053         <start>
0054           <!-- Parameterisation start position in the mother volume frame  -->
0055           <position x="0*cm" y="0*cm" z="0*cm"/>
0056           <rotation x="0" y="0" z="0"/>
0057         </start>
0058         <replicate count="5" distance="10*cm" start="0*cm" axis="z"/>
0059       </param>
0060     </detector>
0061   </detectors>
0062   
0063   <readouts>
0064     <readout name="Hits3D">
0065       <segmentation type="CartesianGridXY" grid_size_x="1*mm" grid_size_y="1*mm"/>
0066       <id>system:6,volume:16,x:32:-6,y:48:-6</id> 
0067     </readout>
0068   </readouts>
0069 
0070   <fields>
0071     <field name="GlobalSolenoid" type="solenoid" 
0072            inner_field="5.0*tesla"
0073            outer_field="-1.5*tesla" 
0074            zmax="2*m"
0075            outer_radius="3*m">
0076     </field>
0077   </fields>
0078 
0079 </lccdd>