Back to home page

EIC code displayed by LXR

 
 

    


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

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