Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
0002 <!-- Copyright (C) 2024 Pu-Kai Wang, Wouter Deconinck, Dmitry Kalinkin -->
0003 
0004 <lccdd>
0005   <define>
0006     <comment>
0007       The basic parameters of size [not half-length] of single module
0008       The structure of a single module is arranged as followed:
0009 
0010             carbonfiber[ VM2000[ crystal ]VM2000 ]carbonfiber
0011             0.2          0.05    200.00
0012     </comment>
0013     <constant name="EcalEndcapN_crystalmodule_crystal_width" value="20.50*mm"/>
0014     <constant name="EcalEndcapN_crystalmodule_crystal_length" value="200.00*mm"/>
0015     <constant name="EcalEndcapN_crystalmodule_carbonfiber_thickness" value="0.25*mm"/>
0016     <constant name="EcalEndcapN_crystalmodule_VM2000_thickness" value="0.13*mm"/>
0017     <constant name="EcalEndcapN_crystalmodule_carbonfiber_length" value="20.00*mm"/>
0018     <constant name="EcalEndcapN_crystalmodule_PCB_thickness" value="1.45*mm"/>
0019     <constant name="EcalEndcapN_crystalmodule_total_width" value="EcalEndcapN_crystalmodule_crystal_width + 2 * EcalEndcapN_crystalmodule_carbonfiber_thickness + 2 * EcalEndcapN_crystalmodule_VM2000_thickness"/>
0020 
0021     <comment>
0022       The S14160 SiPM from Hamamatsu is planned to use
0023     </comment>
0024     <constant name="EcalEndcapN_crystalmodule_sensor_sizeX" value="6.85*mm"/>
0025     <constant name="EcalEndcapN_crystalmodule_sensor_sizeY" value="7.35*mm"/>
0026     <constant name="EcalEndcapN_crystalmodule_sensor_spacing" value="1.00*mm"/>
0027     <constant name="EcalEndcapN_crystalmodule_sensor_thickness" value="1.45*mm"/>
0028     <constant name="EcalEndcapN_crystalmodule_Nsensor_in_X" value="2"/>
0029     <constant name="EcalEndcapN_crystalmodule_Nsensor_in_Y" value="2"/>
0030 
0031     <constant name="EcalEndcapN_crystalmodule_total_length" value="EcalEndcapN_crystalmodule_crystal_length + EcalEndcapN_crystalmodule_VM2000_thickness + EcalEndcapN_crystalmodule_sensor_thickness + EcalEndcapN_crystalmodule_PCB_thickness" />
0032 
0033     <comment>
0034       Basic hardcoded parameters about supporting structures, rotation and shift
0035         ** +15 deg rotation (Protate) make top side of outer supporting structure (Oring) and
0036         the mother volume parallel to the x-z plane.
0037         ** -15 deg rotation (Nrotate) used for offset the 15*deg rotation on the modules, since modules are the
0038         daughter volumes with respect to mother volumn.
0039         ** Inner supporting structure (Iring) is an elliptics.
0040         ** The length of inner supporting structure (Iring) is shorter than outer supporting structure, so it needs
0041         additional shft to align the surface.
0042         ** some existed parameters are passed from "difinition.xml"
0043     </comment>
0044     <constant name="EcalEndcapN_structure_Oring_length" value="EcalEndcapN_length"/>
0045     <constant name="EcalEndcapN_inner_support_length" value="25.*cm"/>
0046     <constant name="EcalEndcapN_envelope_length" value="max(EcalEndcapN_inner_support_length, EcalEndcapN_crystalmodule_total_length)" />
0047     <constant name="EcalEndcapN_structure_Oring_thickness" value="2.0*cm"/>
0048     <constant name="EcalEndcapN_structure_Oring_max" value="65.00*cm"/>
0049     <constant name="EcalEndcapN_structure_Oring_min" value="EcalEndcapN_structure_Oring_max - EcalEndcapN_structure_Oring_thickness"/>
0050     <constant name="EcalEndcapN_Protate" value="15.*degree"/>
0051     <constant name="EcalEndcapN_Nrotate" value="-15.*degree"/>
0052     <constant name="EcalEndcapN_Oring_relative_shift" value="(EcalEndcapN_envelope_length - EcalEndcapN_structure_Oring_length) / 2"/>
0053     <constant name="EcalEndcapN_Iring_axisA" value="7.0*cm"/>
0054     <constant name="EcalEndcapN_Iring_axisB" value="5.5*cm"/>
0055 
0056     <comment>
0057       FIXME currently unused
0058     </comment>
0059     <constant name="EcalEndcapN_IonCutout_dphi" value="30*degree"/>
0060 
0061 
0062 
0063 
0064   </define>
0065 
0066   <detectors>
0067 
0068     <documentation level="10">
0069       #### Backwards Endcap EM Calorimeter
0070     </documentation>
0071     <detector
0072         id="EcalEndcapN_ID"
0073         name="EcalEndcapN"
0074         type="epic_HomogeneousCalorimeter"
0075         readout="EcalEndcapNHits">
0076       <position x="0" y="0" z="-(EcalEndcapN_zmin + EcalEndcapN_envelope_length / 2.)"/>
0077       <rotation x="0" y="0." z="0"/>
0078       <placements>
0079         <disk_12surface
0080             rmin="EcalEndcapN_rmin"
0081             rmax="EcalEndcapN_structure_Oring_min"
0082             r12min="EcalEndcapN_structure_Oring_min"
0083             r12max="EcalEndcapN_structure_Oring_max"
0084             outerringlength="EcalEndcapN_structure_Oring_length"
0085             modulelength="EcalEndcapN_crystalmodule_total_length"
0086             envelope_length="EcalEndcapN_envelope_length"
0087             protate="EcalEndcapN_Protate"
0088             nrotate="EcalEndcapN_Nrotate"
0089             outerringshift="EcalEndcapN_Oring_relative_shift"
0090             inneradiusa="EcalEndcapN_Iring_axisA"
0091             inneradiusb="EcalEndcapN_Iring_axisB"
0092             envelope="true"
0093             ringmaterial="StainlessSteel"
0094             sector="1"
0095             vis_struc="RPVis"
0096             vis_steel_gap="InvisibleWithDaughters">
0097 
0098           <comment>
0099             A small `x_offset` here is set to avoid overlap with regular cell aligment.
0100           </comment>
0101           <inner_support_collar
0102               electron_rmin="65 * mm"
0103               electron_rmax="73 * mm"
0104               proton_rmin="35 * mm"
0105               proton_rmax="43 * mm"
0106               straight_section_tilt="62.05 * deg"
0107               z_length="EcalEndcapN_inner_support_length"
0108               x_offset="-1 * mm"
0109               material="Copper"
0110               vis="AnlOrange"
0111               />
0112 
0113           <comment>
0114             The points information for constructing inner supporting structure [extrudedpolygon shape, 12 points in total]
0115           </comment>
0116           <points_extrudedpolygon>
0117             <position x="3 * EcalEndcapN_crystalmodule_total_width" y="3.5 * EcalEndcapN_crystalmodule_total_width"/>
0118             <position x="3 * EcalEndcapN_crystalmodule_total_width" y="2.5 * EcalEndcapN_crystalmodule_total_width"/>
0119             <position x="5 * EcalEndcapN_crystalmodule_total_width" y="2.5 * EcalEndcapN_crystalmodule_total_width"/>
0120             <position x="5 * EcalEndcapN_crystalmodule_total_width" y="-2.5 * EcalEndcapN_crystalmodule_total_width"/>
0121             <position x="3 * EcalEndcapN_crystalmodule_total_width" y="-2.5 * EcalEndcapN_crystalmodule_total_width"/>
0122             <position x="3 * EcalEndcapN_crystalmodule_total_width" y="-3.5 * EcalEndcapN_crystalmodule_total_width"/>
0123             <position x="-3 * EcalEndcapN_crystalmodule_total_width" y="-3.5 * EcalEndcapN_crystalmodule_total_width"/>
0124             <position x="-3 * EcalEndcapN_crystalmodule_total_width" y="-2.5 * EcalEndcapN_crystalmodule_total_width"/>
0125             <position x="-4 * EcalEndcapN_crystalmodule_total_width" y="-2.5 * EcalEndcapN_crystalmodule_total_width"/>
0126             <position x="-4 * EcalEndcapN_crystalmodule_total_width" y="2.5 * EcalEndcapN_crystalmodule_total_width"/>
0127             <position x="-3 * EcalEndcapN_crystalmodule_total_width" y="2.5 * EcalEndcapN_crystalmodule_total_width"/>
0128             <position x="-3 * EcalEndcapN_crystalmodule_total_width" y="3.5 * EcalEndcapN_crystalmodule_total_width"/>
0129           </points_extrudedpolygon>
0130 
0131           <module
0132             modulex="EcalEndcapN_crystalmodule_total_width"
0133             moduley="EcalEndcapN_crystalmodule_total_width"
0134             modulez="EcalEndcapN_crystalmodule_crystal_length + EcalEndcapN_crystalmodule_VM2000_thickness + EcalEndcapN_crystalmodule_sensor_thickness + EcalEndcapN_crystalmodule_PCB_thickness"
0135             moduleshift="EcalEndcapN_crystalmodule_VM2000_thickness"
0136             gmaterial="Vacuum"
0137             vis="BlueVis"/>
0138           <crystal
0139             sizex="EcalEndcapN_crystalmodule_crystal_width"
0140             sizey="EcalEndcapN_crystalmodule_crystal_width"
0141             sizez="EcalEndcapN_crystalmodule_crystal_length"
0142             material="leadtungsten_optical"
0143             cryvis="GreenVis"/>
0144           <wrapper
0145             carbonfiber_thickness="EcalEndcapN_crystalmodule_carbonfiber_thickness"
0146             carbonfiber_length="EcalEndcapN_crystalmodule_carbonfiber_length"
0147             VM2000_thickness="EcalEndcapN_crystalmodule_VM2000_thickness"
0148             material_carbon="CarbonFiber"
0149             material_wrap="VM2000"
0150             material_gap="Air"
0151             vis_carbon="PurpleVis"
0152             vis_wrap="RPVis"
0153             vis_gap="AnlGray"/>
0154           <readout
0155             Sensor_sizex="EcalEndcapN_crystalmodule_sensor_sizeX"
0156             Sensor_sizey="EcalEndcapN_crystalmodule_sensor_sizeY"
0157             Sensor_thickness="EcalEndcapN_crystalmodule_sensor_thickness"
0158             Sensor_space="EcalEndcapN_crystalmodule_sensor_spacing"
0159             Nsensor_X="EcalEndcapN_crystalmodule_Nsensor_in_X"
0160             Nsensor_Y="EcalEndcapN_crystalmodule_Nsensor_in_Y"
0161             PCB_sizex="EcalEndcapN_crystalmodule_crystal_width"
0162             PCB_sizey="EcalEndcapN_crystalmodule_crystal_width"
0163             PCB_thickness="EcalEndcapN_crystalmodule_PCB_thickness"
0164             material="SiliconDioxide"/>
0165         </disk_12surface>
0166       </placements>
0167 
0168     </detector>
0169 
0170   </detectors>
0171 
0172   <readouts>
0173     <comment>
0174       No segmentation since module is the smallest readout segmentation
0175     </comment>
0176     <readout name="EcalEndcapNHits">
0177       <segmentation type="NoSegmentation" key="sector"/>
0178       <id>system:8,sector:4,row:8,column:8</id>
0179     </readout>
0180   </readouts>
0181 </lccdd>