Back to home page

EIC code displayed by LXR

 
 

    


Warning, /DD4hep/examples/AlignDet/compact/AlephTPC.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_aleph_tpc"
0015         title="Alignment test detector with ALPEH TPC like sectors"
0016         author="Markus Frank"
0017         url="https://github.com/AIDASoft/DD4hep/blob/master/examples/AlignDet/compact/AlephTPC.xml"
0018         status="development"
0019         version="1.0">
0020     <comment>Alignment test detector with ALPEH TPC like sectors</comment>        
0021   </info>
0022   
0023   <includes>
0024     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/elements.xml"/>
0025     <gdmlFile  ref="${DD4hepINSTALL}/DDDetectors/compact/materials.xml"/>
0026     <!--
0027     <xml       ref="file:../DD4hep.trunk/DDExamples/AlignDet/compact/AlephTPC_alignment.xml"/>
0028     -->
0029   </includes>
0030   
0031   <define>
0032     <constant name="world_side" value="30000"/>
0033     <constant name="world_x" value="world_side"/>
0034     <constant name="world_y" value="world_side"/>
0035     <constant name="world_z" value="world_side"/>
0036     
0037     <constant name="tracking_region_radius" value="10000"/>
0038     <constant name="tracking_region_zmax"   value="10000"/>
0039 
0040     <!-- Parameters for the ALEPH TPC 90 model  -->
0041     <constant name="TPC_outer_radius"         value="1800*mm"/>
0042     <constant name="TPC_inner_radius"         value="310*mm"/>
0043     <constant name="TPC_length"               value="4700*mm"/>
0044     <constant name="TPC_inner_wall_thickness" value="2*mm"/>
0045     <constant name="TPC_outer_wall_thickness" value="5*mm"/>
0046   </define>
0047 
0048   <materials>
0049     <material name="CH4">
0050       <D type="density" value="0.000656" unit="g/cm3"/>
0051       <composite n="1" ref="C"/>
0052       <composite n="4" ref="H"/>
0053     </material>
0054      <material name="ArCH4_90">
0055       <D value="1.0015614" unit="g/cm3"/>
0056       <fraction n="0.9" ref="Ar"/>
0057       <fraction n="0.1" ref="CH4"/>
0058     </material>
0059 
0060     <!-- This is wrong!!!! -->
0061     <material name="Mylar">
0062       <D value="1.43" unit="g/cm3" />
0063       <composite n="22" ref="C"/>
0064       <composite n="10" ref="H" />
0065       <composite n="2" ref="N" />
0066       <composite n="5" ref="O" />
0067     </material>
0068 
0069   </materials>
0070 
0071   <limits>
0072     <limitset name="cal_limits">
0073       <limit name="step_length_max" particles="*" value="5.0" unit="mm" />
0074     </limitset>
0075   </limits>
0076   
0077   <display>
0078     <!--    Aleph TPC visualization parameters    -->
0079     <vis name="TPCVis"           alpha="1.0" r="1"   g="1"    b="0.6"  drawingStyle="solid"     showDaughters="true"  visible="false" top="true"/>
0080     <vis name="TPCInnerWallVis"       alpha="1.0" r="0"   g="0"  b="0.5"  drawingStyle="solid"     showDaughters="true"  visible="true"/>
0081     <vis name="TPCOuterWallVis"       alpha="1.0" r="0"   g="0.5"  b="0"  drawingStyle="solid"     lineStyle="broken" showDaughters="true"  visible="true"/>
0082     <vis name="TPCEndcapVis"     alpha="1.0" r="1"   g="1"    b="0"    drawingStyle="solid"     showDaughters="true"  visible="true"/>
0083     <vis name="TPCSectorKVis"    alpha="1.0" r="1"   g="0"    b="0"    drawingStyle="solid"     showDaughters="true"  visible="true"/>
0084     <vis name="TPCSectorMVis"    alpha="1.0" r="0"   g="1"    b="0"    drawingStyle="solid"     showDaughters="true"  visible="true"/>
0085     <vis name="TPCSectorWVis"    alpha="1.0" r="0"   g="0"    b="1"    drawingStyle="solid"     showDaughters="true"  visible="true"/>
0086     <vis name="TPCGasVis"        alpha="1.0" r="1"   g="1"    b="1"    drawingStyle="solid"     showDaughters="false" visible="true"/>
0087     <vis name="TPCCathodeVis"    alpha="1.0" r="1"   g="0.1"  b="0.1"  drawingStyle="solid"     showDaughters="false" visible="true"/>
0088     <vis name="TPCCopperVis"     alpha="1.0" r="1"   g="0.3"  b="0.1"  drawingStyle="solid"     showDaughters="true"  visible="true"/>
0089     <vis name="TPCAluminumVis"   alpha="1.0" r="0.9" g="0.9"  b="0.9"  drawingStyle="solid"     showDaughters="true"  visible="true"/>
0090     <vis name="TPCGreenVis"      alpha="1.0" r="0"   g="1"    b="0"    drawingStyle="solid"     showDaughters="true"  visible="true"/>
0091   </display>
0092   
0093   <detectors>
0094     <comment>ALEPH TPC example</comment>
0095     <detector id="7" name="TPC" type="AlephTPC" limits="TPCLimits" readout="TPCHits" vis="TPCVis">
0096       <envelope   inner_r="TPC_inner_radius" outer_r="TPC_outer_radius" zhalf="TPC_length/2" vis="invisible"/>
0097       <inner_wall inner_r="TPC_inner_radius" thickness="5*mm" material="Mylar" vis="TPCInnerWallVis"/>
0098       <outer_wall outer_r="TPC_outer_radius" thickness="5*mm" material="Mylar" vis="TPCOuterWallVis"/>
0099       <gas zhalf="2.2*m" material="ArCH4_90" vis="invisible"/>
0100       <pads  height="30*mm" width="6.2*mm" pitch="0.5*mm"/>
0101       <trigger_pads  height="6.8*mm" width="15*degree" pitch="0.5*mm"/>
0102       <sectors>
0103         <layers>
0104           <layer material="Copper" thickness="0.1*cm" vis="TPCCopperVis" sensitive="true"/>
0105           <layer material="Kapton" thickness="0.03*cm"  vis="TPCGreenVis"/>
0106           <layer material="Copper" thickness="0.1*cm" vis="TPCAluminumVis"/>
0107           <layer material="Aluminum" thickness="3*cm"/>
0108         </layers>
0109         <sector type="K" rmin="38*cm"  rmax="91*cm"  padrows="9"  trgrows="8"  numwires="148" vis="TPCSectorKVis"/>
0110         <sector type="M" rmin="100*cm" rmax="170*cm" padrows="12" trgrows="11" numwires="196" vis="TPCSectorMVis"/>
0111         <sector type="W" rmin="100*cm" rmax="170*cm" padrows="12" trgrows="11" numwires="196" vis="TPCSectorWVis"/>
0112       </sectors>
0113       <cathode material="Mylar" thickness="0.05*mm" vis="TPCCathodeVis"/>
0114     </detector>
0115   </detectors>
0116 
0117   <readouts>
0118     <readout name="TPCHits">
0119       <!-- |+++ Detector identifier ++++| |+++loc.coord++++|  -->
0120       <id>system:8,side:1,type:2,sector:5,padrow:4,padnum:12</id>
0121     </readout>
0122   </readouts>
0123 </lccdd>