Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <lccdd>
0002 <!-- #==========================================================================
0003      #  AIDA Detector description implementation 
0004      #==========================================================================
0005      # Copyright (C) Organisation europeenne pour la Recherche nucleaire (CERN)
0006      # All rights reserved.
0007      #
0008      # For the licensing terms see $DD4hepINSTALL/LICENSE.
0009      # For the list of contributors see $DD4hepINSTALL/doc/CREDITS.
0010      #
0011      #==========================================================================
0012 
0013 -->
0014 
0015   <includes>
0016     <gdmlFile ref="../../ClientTests/compact/CheckShape.xml"/>
0017   </includes>
0018 
0019   <detectors>
0020     <detector id="1" name="Shape_STL" type="DD4hep_TestShape_Creator">
0021       <check>
0022         <!-- If you supply materials and visualisation attributes to the shape:
0023              1) The material attribute in the <shape/> element will be applied 
0024                 to all sub-volumes without an explicit material attribute in the 
0025                 <volume/> element.
0026              2) dto. the material cchild in the <shape/> element.
0027              3) The material attribute in the <volume/> element applies 
0028                 ONLY to the volume specified. This allows to specify a separate 
0029                 material for each sub-volume in multi-volume CADs.
0030              4) The vis attribute in the  <volume/> element applies 
0031                 ONLY to the volume specified. The name identifies a dd4hep vis object.
0032         -->
0033         <shape type="CAD_MultiVolume"
0034                ref="${DD4hepExamplesINSTALL}/examples/DDCAD/models/STL/IR_assy_all_colour.stl"
0035                unit="cm"
0036                material="Iron">
0037           <!-- alternative:  <material name="Iron"/>  -->
0038           <volume id="0" name="s1" vis="Shape3_vis" material="Gold"/>
0039         </shape>
0040       </check>
0041 
0042     </detector>
0043   </detectors>
0044 </lccdd>