Back to home page

EIC code displayed by LXR

 
 

    


Warning, /epic/compact/hcal/backward.xml is written in an unsupported language. File is not indexed.

0001 <!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
0002 <!-- Copyright (C) 2022 Wouter Deconinck, Leszek Kosarzewski, Ryan Milton -->
0003 
0004 <lccdd>
0005   <define>
0006     <documentation>
0007       #### Material Thickness
0008     </documentation>
0009     <constant name="HcalEndcapNSteelThickness"          value="4.0 * cm"/>
0010     <constant name="HcalEndcapNPolystyreneThickness" value="0.4 * cm"/>
0011         <constant name="HcalEndcapNLayerGap"                    value="0.1 * cm"/> <!-- 2*thicker than LFHCAL -->
0012 
0013         <constant name="HcalEndcapN_polyhedron_rmax"    value="251.444*cm"/>
0014         <constant name="HcalEndcapN_segments_rmin"              value="19.9431*cm"/>
0015         <constant name="HcalEndcapN_segments_rmax"              value="HcalEndcapN_rmax/(cos(180*deg/HcalEndcapN_CaloSides))"/>
0016 
0017 
0018     <documentation>
0019       - Hcal Endcap N Layers and computed Thickness
0020     </documentation>
0021 
0022     <constant name="HcalEndcapNSingleLayerThickness"
0023              value="HcalEndcapNSteelThickness + HcalEndcapNPolystyreneThickness + HcalEndcapNLayerGap"/>
0024     <constant name="HcalEndcapNLayer_NRepeat"   value="floor(HcalEndcapN_length / HcalEndcapNSingleLayerThickness)"/>
0025     <constant name="HcalEndcapN_thickness"              value="HcalEndcapNLayer_NRepeat * HcalEndcapNSingleLayerThickness"/>
0026   </define>
0027 
0028 
0029   <!-- Define detector -->
0030   <detectors>
0031     <documentation>
0032       ### Backwards (Negative Z) Endcap Hadronic Calorimeter
0033     </documentation>
0034     <detector
0035       id="HcalEndcapN_ID"
0036       name="HcalEndcapN"
0037       type="epic_PolyhedraEndcapCalorimeter2"
0038       readout="HcalEndcapNHits"
0039       vis="HcalEndcapVis"
0040       calorimeterType="HAD_ENDCAP" reflect="true">
0041       <position x="0" y="0" z="0"/>
0042       <dimensions
0043         numsides="HcalEndcapN_CaloSides"
0044         zmin="HcalEndcapN_zmin"
0045         rmin="HcalEndcapN_rmin"
0046         rmax="HcalEndcapN_rmax"/>
0047       <layer repeat="HcalEndcapNLayer_NRepeat" vis="HcalEndcapLayerVis" >
0048         <slice material="StainlessSteel" thickness="HcalEndcapNSteelThickness" vis="HcalAbsorberVis"/>
0049         <slice material="Air" thickness="HcalEndcapNLayerGap/2" vis="InvisibleNoDaughters"/>
0050         <slice material="Polystyrene" thickness="HcalEndcapNPolystyreneThickness" vis="HcalSensorVis" sensitive="yes" limits="cal_limits"/>
0051         <slice material="Air" thickness="HcalEndcapNLayerGap/2" vis="InvisibleNoDaughters"/>
0052       </layer>
0053     </detector>
0054   </detectors>
0055 
0056   <!--  Definition of the readout segmentation/definition  -->
0057   <readouts>
0058     <readout name="HcalEndcapNHits">
0059                 <segmentation type="CartesianGridXY" grid_size_x="100 * mm" grid_size_y ="100 * mm"/>
0060         <id>system:8,barrel:3,module:4,layer:8,slice:5,x:32:-16,y:-16</id>
0061     </readout>
0062   </readouts>
0063 
0064 </lccdd>