Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/AlignDet/compact/compact.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   <info name="alignment_boxes"
0015         title="Alignment test with 2 simple boxes"
0016         author="Markus Frank"
0017         url="http://www.cern.ch/lhcb"
0018         status="development"
0019         version="$Id: compact.xml 513 2013-04-05 14:31:53Z gaede $">
0020     <comment>Alignment test with 2 simple boxes</comment>        
0021   </info>
0022   
0023   <includes>
0024     <gdmlFile  ref="../../../DDDetectors/compact/elements.xml"/>
0025     <gdmlFile  ref="../../../DDDetectors/compact/materials.xml"/>
0026   </includes>
0027   
0028   <define>
0029     <constant name="world_side" value="30000"/>
0030     <constant name="world_x" value="world_side"/>
0031     <constant name="world_y" value="world_side"/>
0032     <constant name="world_z" value="world_side"/>
0033     
0034     <constant name="tracking_region_radius" value="10000"/>
0035     <constant name="tracking_region_zmax"   value="10000"/>
0036 
0037   </define>
0038 
0039   <display>
0040     <vis name="InvisibleNoDaughters"      showDaughters="false" visible="false"/>
0041     <vis name="InvisibleWithDaughters"    showDaughters="true" visible="false"/>
0042     <vis name="B1_vis" alpha="1.0" r="1" g="0" b="0" showDaughters="true" visible="true"/>
0043     <vis name="B2_vis" alpha="1.0" r="0" g="1" b="0" showDaughters="true" visible="true"/>
0044   </display>
0045   
0046   <!-- detectors>
0047        <comment>Library</comment>
0048        <detector id="1" name="S1" type="Shelf" >
0049        <material name="Steel235"/>
0050        <planes number="2"  x="11*cm" y="2*cm" dy="50*cm" z="40*cm" vis="B1_vis" />
0051        <books number="10"  x="10*cm" y="15*cm" z="3*cm" dz="0.2*cm" vis="B2_vis"/>
0052        </detector>
0053        </detectors -->
0054 
0055   <detectors>
0056     <comment>Boxes</comment>
0057     <detector id="1" name="B1" type="AlignmentBoxSegment" vis="B1_vis">
0058       <comment>Horizontal box</comment>
0059       <material name="Steel235"/>
0060       <box      x="20"   y="0.1" z="5"/>
0061       <position x="20"   y="10"  z="10"/>
0062       <rotation x="1"    y="0"   z="0"/>
0063     </detector>
0064     <detector id="2" name="B2" type="AlignmentBoxSegment" vis="B2_vis">
0065       <comment>Vertical box</comment>
0066       <material name="Steel235"/>
0067       <box      x="0.1" y="20"   z="5"/>
0068       <position x="0"   y="30"   z="10"/>
0069       <rotation x="0"   y="0"    z="0"/>
0070     </detector>
0071   </detectors>
0072 
0073   <alignments>
0074     <alignment name="/world_volume_1/B1_vol_0" shortcut="Box1">
0075       <position x="0"   y="0"    z="0"/>
0076       <rotation x="0.5"   y="0"  z="0"/>
0077     </alignment>
0078   </alignments>
0079 
0080 </lccdd>