Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
0002 <!-- Copyright (C) 2022 Sakib Rahman -->
0003 
0004 <lccdd>
0005   <define>
0006     <constant name="B0ECal_rotation" value="ionCrossingAngle"/>
0007     <constant name="B0ECal_IP_distance" value="688*cm"/>
0008     <constant name="B0ECal_xcenter" value="B0ECal_IP_distance*sin(ionCrossingAngle)"/>
0009     <constant name="B0ECal_zcenter" value="B0ECal_IP_distance*cos(ionCrossingAngle)"/>
0010     <constant name="B0ECal_length" value="20*cm"/>
0011     <constant name="B0ECal_CrystalModule_width" value="2*cm"/>
0012     <constant name="B0ECal_CrystalModule_length" value="B0ECal_length"/>
0013     <constant name="B0ECal_CrystalModule_wrap" value="0.50*mm"/>
0014     <constant name="B0ECal_packman_rmin" value="3.7*cm"/>
0015     <constant name="B0ECal_packman_small_rmax" value="8*cm"/>
0016     <constant name="B0ECal_packman_large_rmax" value="15*cm"/>
0017     <constant name="B0ECal_packman_large_phimin" value="-120*deg"/>
0018     <constant name="B0ECal_packman_large_phimax" value="120*deg"/>
0019     <constant name="B0ECal_r_envelopeclearance" value="1*mm+(B0ECal_CrystalModule_width+2*B0ECal_CrystalModule_wrap)*sqrt(2)"/>
0020     <constant name="B0ECal_phi_envelopeclearance" value="(3.0*(B0ECal_CrystalModule_width+2*B0ECal_CrystalModule_wrap)*sqrt(2))/B0ECal_packman_small_rmax"/>
0021   </define>
0022 
0023   <detectors>
0024 
0025     <documentation>
0026       #### B0 Electromagnetic Calorimeter
0027     </documentation>
0028     <detector
0029         id="B0ECal_ID"
0030         name="B0ECal"
0031         type="B0_ECAL"
0032         readout="B0ECalHits">
0033       <position x="B0ECal_xcenter" y="0" z="B0ECal_zcenter"/>
0034       <rotation x="B0ECal_rotation" y="180*deg" z="0"/>
0035       <placements>
0036         <disk
0037             rmin="B0ECal_packman_rmin"
0038             rintermediate="B0ECal_packman_small_rmax"
0039             rmax="B0ECal_packman_large_rmax"
0040             phimin="B0ECal_packman_large_phimin"
0041             phimax="B0ECal_packman_large_phimax"
0042             envelope="false"
0043             r_envelopeclearance="B0ECal_r_envelopeclearance"
0044             phi_envelopeclearance="B0ECal_phi_envelopeclearance"
0045             material="Vacuum"
0046             sector="1">
0047           <module
0048             sizex="B0ECal_CrystalModule_width"
0049             sizey="B0ECal_CrystalModule_width"
0050             sizez="B0ECal_CrystalModule_length"
0051             vis="GreenVis"
0052             material="LYSO"/>
0053           <wrapper
0054             thickness="B0ECal_CrystalModule_wrap"
0055             material="Epoxy"
0056             vis="GrayVis"/>
0057         </disk>
0058       </placements>
0059 
0060     </detector>
0061 
0062   </detectors>
0063 
0064   <readouts>
0065     <comment>
0066       No segmentation since module is the smallest readout segmentation
0067     </comment>
0068     <readout name="B0ECalHits">
0069       <segmentation type="NoSegmentation" key="sector"/>
0070       <id>system:8,sector:4,module:20</id>
0071     </readout>
0072   </readouts>
0073 </lccdd>