Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/Conditions/xml/TPC_alignment.xml is written in an unsupported language. File is not indexed.

0001 <alignment>
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   <open_transaction/>
0015   <subdetectors>
0016     <!--
0017         Note: The subdetector name MUST be in the list of top level
0018         detector elements attached to the Detector structure.
0019 
0020 A generic alignment transformation is defined by
0021 - a translation in 3D space identified in XML as a
0022 <position/> element
0023 - a rotation in 3D space around a pivot point specified in XML by
0024 2 elements: the <rotation/> and the <pivot/> element.
0025 The specification of any of the elements is optional:
0026 - The absence of a translation implies the origin (0,0,0)
0027 - The absence of a pivot point implies the origin (0,0,0)
0028 - The absence of a rotation implies the identity rotation.
0029 Any supplied pivot point in this case is ignored.
0030 
0031 <position x="30"   y="30"  z="80"/>
0032 
0033     -->
0034 
0035     <detelement path="TPC" reset="true" reset_children="true">
0036       <comment ref="Move the entire TPC in the world volume."/>
0037       <position x="0"   y="0"  z="0*mm"/>
0038       <rotation x="0" y="0" z="0"/>     
0039 
0040       <comment ref="Twist a bit the entire endcap A"/>
0041       <detelement path="/world/TPC/TPC_SideA" check_overlaps="false">
0042         <position x="0"   y="0"  z="-500*mm"/>
0043         <rotation x="-0.2" y="-0.2"  z="0"/>
0044 
0045         <comment ref="A detector element relative to the parent"/>
0046         <detelement path="TPC_SideA_sector02" check_overlaps="true">
0047           <position x="0"   y="0"   z="0"/>
0048           <rotation x="0.5" y="0.1" z="0.2"/>     
0049         </detelement>
0050       </detelement>
0051 
0052       <detelement path="TPC_SideA/TPC_SideA_sector03" check_overlaps="true">
0053         <position x="0" y="0"    z="290.0*mm"/>
0054         <rotation x="0" y="pi/2" z="0"/>     
0055         <pivot    x="0" y="0"    z="100"/>     
0056         <volume path="TPC_sector_K_layer2_2">
0057           <position x="0" y="0"  z="0.0001*mm"/>
0058           <rotation x="0" y="0.5"  z="0"/>     
0059         </volume>
0060       </detelement>
0061 
0062       <detelement path="TPC_SideA/TPC_SideA_sector05" check_overlaps="false">
0063         <position x="0"    y="0" z="150.0*mm"/>
0064         <rotation x="0" y="0" z="0"/>     
0065       </detelement>
0066 
0067       <detelement path="TPC_SideA/TPC_SideA_sector10" check_overlaps="false">
0068         <position x="0"  y="0" z="450.0*mm"/>
0069         <rotation x="0"  y="0" z="pi/4"/>     
0070       </detelement>
0071 
0072       <comment ref="Twist a bit the entire endcap B"/>
0073       <detelement path="TPC_SideB" check_overlaps="false">
0074         <position x="0"   y="0"  z="0"/>
0075         <rotation x="0" y="0"  z="0"/>
0076 
0077         <comment ref="A detector element relative to the parent"/>
0078         <detelement path="TPC_SideB_sector02" check_overlaps="true">
0079           <position x="0"   y="0"   z="0"/>
0080           <rotation x="0.5" y="0.1" z="0.2"/>     
0081         </detelement>
0082       </detelement>  <comment ref="end: TPC side B"/>
0083 <!--
0084 -->
0085     </detelement>  <!-- end: TPC -->
0086 
0087   </subdetectors>
0088 
0089   <close_transaction/>
0090 </alignment>