Back to home page

EIC code displayed by LXR

 
 

    


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   <info name="forward_insert.xml"
0007         title="Forward HCal Insert Calorimeter"
0008         author="@rymilton"
0009         url="https://github.com/rymilton"
0010         status="development"
0011         version="1.0"
0012           ><comment/></info>
0013 
0014   <define>
0015      <documentation>
0016       #### Material Thickness
0017     </documentation>
0018     <constant name="HcalEndcapPInsertAirThickness"               value="0.02*cm"/>
0019     <constant name="HcalEndcapPInsertAbsorberThickness"          value="1.52*cm"/>
0020     <constant name="HcalEndcapPInsertScintillatorCoverThickness" value="0.08*cm"/>
0021     <constant name="HcalEndcapPInsertPolystyreneThickness"       value="0.30*cm"/>
0022     <constant name="HcalEndcapPInsertPCBThickness"               value="0.08*cm"/>
0023     <constant name="HcalEndcapPInsertESRFoilThickness"           value="0.015*cm"/>
0024 
0025     <constant name="LFHCAL_FrontWallThickness"                   value="1.50*cm"/>
0026     <documentation>
0027       #### Cell Sizes
0028     </documentation>
0029     <constant name="HcalEndcapPInsertCellSizeHG" value="2.34*cm"/>
0030     <constant name="HcalEndcapPInsertCellSizeLGLeft" value="2.84*cm"/>
0031     <constant name="HcalEndcapPInsertCellSizeLGRight" value="3.1*cm"/>
0032     <documentation>
0033       #### Transverse offsets of cells
0034     </documentation>
0035     <constant name="HcalEndcapPInsertCellToPCBEdge" value="0.04*cm"/>
0036     <constant name="HcalEndcapPInsertOffsetXHGRight" value="-HcalEndcapPInsert_width/2.+HcalEndcapPInsertCellToPCBEdge-HcalEndcapPInsertCellSizeHG*0.25"/>
0037     <constant name="HcalEndcapPInsertOffsetYHGRight" value="HcalEndcapPInsertCellSizeHG*sqrt(3)/2*0"/>
0038     <constant name="HcalEndcapPInsertOffsetXHGLeft" value="HcalEndcapPInsert_width/2.-HcalEndcapPInsertCellToPCBEdge+HcalEndcapPInsertCellSizeHG*0.75"/>
0039     <constant name="HcalEndcapPInsertOffsetYHGLeft" value="HcalEndcapPInsertCellSizeHG*sqrt(3)/2*0"/>
0040     <constant name="HcalEndcapPInsertOffsetXLGRight" value="-HcalEndcapPInsert_width/2.+HcalEndcapPInsertCellToPCBEdge-HcalEndcapPInsertCellSizeLGRight*0.5"/>
0041     <constant name="HcalEndcapPInsertOffsetYLGRight" value="HcalEndcapPInsertCellSizeLGRight*0*sqrt(3)/2"/>
0042     <constant name="HcalEndcapPInsertOffsetXLGLeft" value="HcalEndcapPInsert_width/2.-HcalEndcapPInsertCellToPCBEdge+HcalEndcapPInsertCellSizeLGLeft*0.5"/>
0043     <constant name="HcalEndcapPInsertOffsetYLGLeft" value="HcalEndcapPInsertCellSizeLGLeft*0*sqrt(3)/2"/>
0044 
0045     <documentation>
0046       - Insert N Layers and computed Thickness
0047     </documentation>
0048 
0049     <constant name="HcalEndcapPInsertFrontLayerThickness"
0050       value="LFHCAL_FrontWallThickness +
0051              HcalEndcapPInsertAirThickness +
0052              HcalEndcapPInsertScintillatorCoverThickness +
0053              HcalEndcapPInsertESRFoilThickness +
0054              HcalEndcapPInsertPolystyreneThickness +
0055              HcalEndcapPInsertESRFoilThickness +
0056              HcalEndcapPInsertPCBThickness +
0057              HcalEndcapPInsertAirThickness "
0058     />
0059     <constant name="HcalEndcapPInsertSingleLayerThickness"
0060       value="HcalEndcapPInsertAbsorberThickness +
0061              HcalEndcapPInsertAirThickness +
0062              HcalEndcapPInsertScintillatorCoverThickness +
0063              HcalEndcapPInsertESRFoilThickness +
0064              HcalEndcapPInsertPolystyreneThickness +
0065              HcalEndcapPInsertESRFoilThickness +
0066              HcalEndcapPInsertPCBThickness +
0067              HcalEndcapPInsertAirThickness "
0068     />
0069     <constant name="HcalEndcapPInsertBackplateThickness"    value="HcalEndcapPInsertAbsorberThickness"/>
0070     <constant name="HcalEndcapPInsertLayer_NSteelRepeat"    value="60"/>
0071   </define>
0072 
0073   <detectors>
0074      <documentation>
0075       ### Forward (Positive Z) Endcap Insert for Hadronic Calorimeter
0076       Insert goes in the middle of the forward endcap HCal -- around the beampipe
0077 
0078       Insert is 60 layers of Steel/Sc + 1 backplate of steel
0079       Each of the layers (sans backplate) includes air gaps (front and back of each layer),
0080       ESR foil (front and back of scintillator), a PCB, and an aluminum scitnillator cover
0081 
0082       Circular hole is cut out from each layer to account for the beampipe
0083       Hole will change in size and position throughout layers due to angled (from crossing angle) and cone-shaped beampipe
0084       Hole radius is beampipe radius + 3.85 cm of clearance
0085 
0086     </documentation>
0087     <detector
0088       id="HcalEndcapPInsert_ID"
0089       name="HcalEndcapPInsert"
0090       type="epic_InsertCalorimeter"
0091       vis="HcalEndcapInsertVis"
0092       readout="HcalEndcapPInsertHits"
0093       calorimeterType="HAD_ENDCAP"
0094       left_right_gap="0.38*cm"
0095     >
0096       <position x="HcalEndcapPInsert_xposition" y="HcalEndcapPInsert_yposition" z="HcalEndcapPInsert_zmin"/>
0097       <dimensions
0098         x="HcalEndcapPInsert_width"
0099         y="HcalEndcapPInsert_height"
0100         z="HcalEndcapPInsert_length"
0101       />
0102       <backplate thickness="HcalEndcapPInsertBackplateThickness"/>
0103       <comment> Steel/Sc layers </comment>
0104       <layer repeat="HcalEndcapPInsertLayer_NSteelRepeat" thickness="HcalEndcapPInsertSingleLayerThickness" vis="InvisibleWithDaughters">
0105         <slice material="Steel235" thickness="HcalEndcapPInsertAbsorberThickness" vis="LFHCAL8MModVis"/>
0106         <slice material="Air" thickness="HcalEndcapPInsertAirThickness"/>
0107         <slice material="Aluminum" thickness="HcalEndcapPInsertScintillatorCoverThickness" vis="AnlProcess_Blue"/>
0108         <slice material="Polystyrene" thickness="HcalEndcapPInsertESRFoilThickness" vis="AnlGray"/>
0109         <slice material="Polystyrene" thickness="HcalEndcapPInsertPolystyreneThickness"  sensitive="true" limits="cal_limits" vis="AnlLightGray"/>
0110         <slice material="Polystyrene" thickness="HcalEndcapPInsertESRFoilThickness" vis="AnlGray"/>
0111         <slice material="Fr4" thickness="HcalEndcapPInsertPCBThickness"/>
0112         <slice material="Air" thickness="HcalEndcapPInsertAirThickness"/>
0113       </layer>
0114       <comment> Final layer of steel </comment>
0115       <layer repeat="1" thickness="HcalEndcapPInsertBackplateThickness">
0116         <slice material="Steel235" thickness="HcalEndcapPInsertBackplateThickness" vis="LFHCAL8MModVis"/>
0117       </layer>
0118       <documentation>
0119         initial_hole_radius: Hole radius in first layer
0120         final_hole_radius: Hole radius in steel backplate
0121         initial_hole_x/y: Hole x/y position (global coordinates) in first layer
0122         final_hole_x/y: Hole x/y position (global coordinates) in steel backplate
0123         Initial hole parameters are the same for the hole in the ecal insert
0124       </documentation>
0125       <beampipe_hole
0126         initial_hole_radius="EcalEndcapPInsert_hole_radius"
0127         final_hole_radius="17.17*cm"
0128         initial_hole_x="EcalEndcapPInsert_hole_xposition"
0129         final_hole_x="-10.44*cm"
0130         initial_hole_y="EcalEndcapPInsert_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>