Warning, /epic/compact/hcal/forward_insert.xml is written in an unsupported language. File is not indexed.
0001 <!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
0002 <!-- Copyright (C) 2022 Ryan Milton -->
0003
0004 <lccdd>
0005
0006 <documentation>
0007 Title: Forward HCal Insert Calorimeter
0008 Author: @rymilton
0009 Status: development
0010 Version: 1.0
0011 </documentation>
0012
0013 <define>
0014 <documentation>
0015 #### Material Thickness
0016 </documentation>
0017 <constant name="HcalEndcapPInsertAirThickness" value="0.02*cm"/>
0018 <constant name="HcalEndcapPInsertAbsorberThickness" value="1.52*cm"/>
0019 <constant name="HcalEndcapPInsertScintillatorCoverThickness" value="0.08*cm"/>
0020 <constant name="HcalEndcapPInsertPolystyreneThickness" value="0.30*cm"/>
0021 <constant name="HcalEndcapPInsertPCBThickness" value="0.08*cm"/>
0022 <constant name="HcalEndcapPInsertESRFoilThickness" value="0.015*cm"/>
0023
0024 <constant name="LFHCAL_FrontWallThickness" value="1.50*cm"/>
0025 <documentation>
0026 #### Cell Sizes
0027 </documentation>
0028 <constant name="HcalEndcapPInsertCellSizeHG" value="2.34*cm"/>
0029 <constant name="HcalEndcapPInsertCellSizeLGLeft" value="2.84*cm"/>
0030 <constant name="HcalEndcapPInsertCellSizeLGRight" value="3.1*cm"/>
0031 <documentation>
0032 #### Transverse offsets of cells
0033 </documentation>
0034 <constant name="HcalEndcapPInsertCellToPCBEdge" value="0.04*cm"/>
0035 <constant name="HcalEndcapPInsertOffsetXHGRight" value="-HcalEndcapPInsert_width/2.+HcalEndcapPInsertCellToPCBEdge-HcalEndcapPInsertCellSizeHG*0.25"/>
0036 <constant name="HcalEndcapPInsertOffsetYHGRight" value="HcalEndcapPInsertCellSizeHG*sqrt(3)/2*0"/>
0037 <constant name="HcalEndcapPInsertOffsetXHGLeft" value="HcalEndcapPInsert_width/2.-HcalEndcapPInsertCellToPCBEdge+HcalEndcapPInsertCellSizeHG*0.75"/>
0038 <constant name="HcalEndcapPInsertOffsetYHGLeft" value="HcalEndcapPInsertCellSizeHG*sqrt(3)/2*0"/>
0039 <constant name="HcalEndcapPInsertOffsetXLGRight" value="-HcalEndcapPInsert_width/2.+HcalEndcapPInsertCellToPCBEdge-HcalEndcapPInsertCellSizeLGRight*0.5"/>
0040 <constant name="HcalEndcapPInsertOffsetYLGRight" value="HcalEndcapPInsertCellSizeLGRight*0*sqrt(3)/2"/>
0041 <constant name="HcalEndcapPInsertOffsetXLGLeft" value="HcalEndcapPInsert_width/2.-HcalEndcapPInsertCellToPCBEdge+HcalEndcapPInsertCellSizeLGLeft*0.5"/>
0042 <constant name="HcalEndcapPInsertOffsetYLGLeft" value="HcalEndcapPInsertCellSizeLGLeft*0*sqrt(3)/2"/>
0043
0044 <documentation>
0045 - Insert N Layers and computed Thickness
0046 </documentation>
0047
0048 <constant name="HcalEndcapPInsertFrontLayerThickness"
0049 value="LFHCAL_FrontWallThickness +
0050 HcalEndcapPInsertAirThickness +
0051 HcalEndcapPInsertScintillatorCoverThickness +
0052 HcalEndcapPInsertESRFoilThickness +
0053 HcalEndcapPInsertPolystyreneThickness +
0054 HcalEndcapPInsertESRFoilThickness +
0055 HcalEndcapPInsertPCBThickness +
0056 HcalEndcapPInsertAirThickness "
0057 />
0058 <constant name="HcalEndcapPInsertSingleLayerThickness"
0059 value="HcalEndcapPInsertAbsorberThickness +
0060 HcalEndcapPInsertAirThickness +
0061 HcalEndcapPInsertScintillatorCoverThickness +
0062 HcalEndcapPInsertESRFoilThickness +
0063 HcalEndcapPInsertPolystyreneThickness +
0064 HcalEndcapPInsertESRFoilThickness +
0065 HcalEndcapPInsertPCBThickness +
0066 HcalEndcapPInsertAirThickness "
0067 />
0068 <constant name="HcalEndcapPInsertBackplateThickness" value="HcalEndcapPInsertAbsorberThickness"/>
0069 <constant name="HcalEndcapPInsertLayer_NSteelRepeat" value="60"/>
0070 </define>
0071
0072 <detectors>
0073 <documentation>
0074 ### Forward (Positive Z) Endcap Insert for Hadronic Calorimeter
0075 Insert goes in the middle of the forward endcap HCal -- around the beampipe
0076
0077 Insert is 60 layers of Steel/Sc + 1 backplate of steel
0078 Each of the layers (sans backplate) includes air gaps (front and back of each layer),
0079 ESR foil (front and back of scintillator), a PCB, and an aluminum scitnillator cover
0080
0081 Circular hole is cut out from each layer to account for the beampipe
0082 Hole will change in size and position throughout layers due to angled (from crossing angle) and cone-shaped beampipe
0083 Hole radius is beampipe radius + 3.85 cm of clearance
0084
0085 </documentation>
0086 <detector
0087 id="HcalEndcapPInsert_ID"
0088 name="HcalEndcapPInsert"
0089 type="epic_InsertCalorimeter"
0090 vis="HcalEndcapInsertVis"
0091 readout="HcalEndcapPInsertHits"
0092 calorimeterType="HAD_ENDCAP"
0093 left_right_gap="0.38*cm"
0094 >
0095 <position x="HcalEndcapPInsert_xposition" y="HcalEndcapPInsert_yposition" z="HcalEndcapPInsert_zmin"/>
0096 <dimensions
0097 x="HcalEndcapPInsert_width"
0098 y="HcalEndcapPInsert_height"
0099 z="HcalEndcapPInsert_length"
0100 />
0101 <backplate thickness="HcalEndcapPInsertBackplateThickness"/>
0102 <comment> Steel/Sc layers </comment>
0103 <layer repeat="HcalEndcapPInsertLayer_NSteelRepeat" thickness="HcalEndcapPInsertSingleLayerThickness" vis="InvisibleWithDaughters">
0104 <slice material="Steel235" thickness="HcalEndcapPInsertAbsorberThickness" vis="LFHCAL8MModVis"/>
0105 <slice material="Air" thickness="HcalEndcapPInsertAirThickness"/>
0106 <slice material="Aluminum" thickness="HcalEndcapPInsertScintillatorCoverThickness" vis="AnlProcess_Blue"/>
0107 <slice material="Polystyrene" thickness="HcalEndcapPInsertESRFoilThickness" vis="AnlGray"/>
0108 <slice material="Polystyrene" thickness="HcalEndcapPInsertPolystyreneThickness" sensitive="true" limits="cal_limits" vis="AnlLightGray"/>
0109 <slice material="Polystyrene" thickness="HcalEndcapPInsertESRFoilThickness" vis="AnlGray"/>
0110 <slice material="Fr4" thickness="HcalEndcapPInsertPCBThickness"/>
0111 <slice material="Air" thickness="HcalEndcapPInsertAirThickness"/>
0112 </layer>
0113 <comment> Final layer of steel </comment>
0114 <layer repeat="1" thickness="HcalEndcapPInsertBackplateThickness">
0115 <slice material="Steel235" thickness="HcalEndcapPInsertBackplateThickness" vis="LFHCAL8MModVis"/>
0116 </layer>
0117 <documentation>
0118 initial_hole_radius: Hole radius in first layer
0119 final_hole_radius: Hole radius in steel backplate
0120 initial_hole_x/y: Hole x/y position (global coordinates) in first layer
0121 final_hole_x/y: Hole x/y position (global coordinates) in steel backplate
0122 Initial hole parameters are the same for the hole in the ecal insert
0123 (no more ecal insert, so new HcalEndcapPInsert_hole_xxx constants)
0124 </documentation>
0125 <beampipe_hole
0126 initial_hole_radius="HcalEndcapPInsert_hole_radius"
0127 final_hole_radius="17.17*cm"
0128 initial_hole_x="HcalEndcapPInsert_hole_xposition"
0129 final_hole_x="-10.44*cm"
0130 initial_hole_y="HcalEndcapPInsert_hole_yposition"
0131 final_hole_y="0.*cm"
0132 />
0133 </detector>
0134 </detectors>
0135
0136 <readouts>
0137 <documentation>
0138 Readout is segmented into hexagons with sides of 2.16 cm, 2.84 cm, and 3.10 cm in the high-granularity upstream section (layers 1-16, for both left and right sides),
0139 the left downstream section (layers 17-60), and the right downstream section (layers 17-60), respectively.
0140 The hexagons positions in the first 16 layers cycle through four sets of layer configurations ("H4 staggering")
0141 i.e. hexagons in layers 1-4 (5-8, ...) are all offset transversely from each other
0142 with the centers of the cells of one layer being at the midpoints of the edges of the cells in
0143 the other layers.
0144
0145 Staggering defined in https://github.com/AIDASoft/DD4hep/blob/1962f7d1ace4484efb8886d66a6759a83c5107a3/DDCore/include/DDSegmentation/HexGrid.h#L112-L114
0146 and https://github.com/AIDASoft/DD4hep/blob/1962f7d1ace4484efb8886d66a6759a83c5107a3/DDCore/src/segmentations/HexGrid.cpp#L102-L120
0147 </documentation>
0148 <readout name="HcalEndcapPInsertHits">
0149 <segmentation type="MultiSegmentation" key="layer">
0150 <segmentation name="insert_hg" type="MultiSegmentation" key="side" key_min="1" key_max="16">
0151 <segmentation
0152 name="insert_hg_left"
0153 type="HexGrid"
0154 side_length="HcalEndcapPInsertCellSizeHG"
0155 stagger="2"
0156 key_value="1"
0157 offset_x="HcalEndcapPInsertOffsetXHGLeft"
0158 offset_y="HcalEndcapPInsertOffsetYHGLeft"
0159 />
0160 <segmentation
0161 name="insert_hg_right"
0162 type="HexGrid"
0163 side_length="HcalEndcapPInsertCellSizeHG"
0164 stagger="2"
0165 key_value="0"
0166 offset_x="HcalEndcapPInsertOffsetXHGRight"
0167 offset_y="HcalEndcapPInsertOffsetYHGRight"
0168 />
0169 </segmentation>
0170 <segmentation name="insert_lg" type="MultiSegmentation" key="side" key_min="17" key_max="60">
0171 <segmentation
0172 name="insert_lg_left"
0173 type="HexGrid"
0174 side_length="HcalEndcapPInsertCellSizeLGLeft"
0175 stagger="0"
0176 key_value="1"
0177 offset_x="HcalEndcapPInsertOffsetXLGLeft"
0178 offset_y="HcalEndcapPInsertOffsetYLGLeft"
0179 />
0180 <segmentation
0181 name="insert_lg_right"
0182 type="HexGrid"
0183 side_length="HcalEndcapPInsertCellSizeLGRight"
0184 stagger="0"
0185 key_value="0"
0186 offset_x="HcalEndcapPInsertOffsetXLGRight"
0187 offset_y="HcalEndcapPInsertOffsetYLGRight"
0188 />
0189 </segmentation>
0190 </segmentation>
0191
0192 <id>system:8,side:1,layer:8,slice:7,x:32:-16,y:-16</id>
0193 </readout>
0194
0195 </readouts>
0196
0197 </lccdd>