Back to home page

EIC code displayed by LXR

 
 

    


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

0001 <!-- SPDX-License-Identifier: LGPL-3.0-or-later -->
0002 <!-- Copyright (C) 2022 Shima Shimizu -->
0003 
0004 <lccdd>
0005   <comment>
0006     //////////////////////////////////////////////////
0007     // Far Forward Zero Degree Calorimeter
0008     // Crystal calorimeter
0009     //////////////////////////////////////////////////
0010   </comment>
0011 
0012   <define>
0013     <constant name="ZDC_width"         value="60.0 * cm"/>
0014     <constant name="ZDC_r_pos"         value="3550.0 * cm"/>
0015     <constant name="ZDC_y_pos"         value="0.0 * cm"/>
0016     <constant name="ZDC_Crystal_r_pos"           value="ZDC_r_pos + 5.9 *cm +19.2*cm"/>
0017     <constant name="ZDC_Crystal_z_pos"           value="ZDC_Crystal_r_pos * cos(ionCrossingAngle)"/>
0018     <constant name="ZDC_Crystal_x_pos"           value="ZDC_Crystal_r_pos * sin(ionCrossingAngle)"/>
0019     <constant name="ZDC_Crystal_y_pos"           value="ZDC_y_pos"/>
0020     <constant name="ZDC_Crystal_rotateX_angle"   value="0"/>
0021     <constant name="ZDC_Crystal_rotateY_angle"   value="ionCrossingAngle"/>
0022     <constant name="ZDC_Crystal_rotateZ_angle"   value="0"/>
0023     <constant name="ZDC_Crystal_width"           value="ZDC_width"/>
0024 
0025 
0026 
0027     <constant name="ZDC_Crystal_cell_width"     value="3.*cm"/>
0028     <constant name="ZDC_Crystal_cell_length"    value="7.*cm"/>
0029     <constant name="ZDC_Crystal_frame_thickness"  value="0.3*mm"/>
0030     <constant name="ZDC_Crystal_active_x"       value="ZDC_width"/>
0031     <constant name="ZDC_Crystal_active_y"       value="ZDC_width"/>
0032     <constant name="ZDC_Crystal_nx"             value="ZDC_Crystal_active_x/ZDC_Crystal_cell_width"/>
0033     <constant name="ZDC_Crystal_ny"             value="ZDC_Crystal_active_y/ZDC_Crystal_cell_width"/>
0034     <constant name="ZDC_Crystal_APD_socket_z"   value="2.5*mm"/>
0035     <constant name="ZDC_Crystal_space"          value="2.8*cm"/>
0036   </define>
0037 
0038   <detectors>
0039     <detector
0040         id="ZDC_Crystal_ID"
0041         name="ZDC_Crystal"
0042         type="ZDC_Crystal"
0043         vis="ZDC_Crystal_Vis"
0044         readout="EcalFarForwardZDCHits">
0045       <position x="ZDC_Crystal_x_pos"         y="ZDC_Crystal_y_pos"         z="ZDC_Crystal_z_pos"/>
0046       <rotation x="ZDC_Crystal_rotateX_angle" y="ZDC_Crystal_rotateY_angle" z="ZDC_Crystal_rotateZ_angle"/>
0047       <dimensions x="ZDC_Crystal_nx * (ZDC_Crystal_cell_width + ZDC_Crystal_frame_thickness) + ZDC_Crystal_frame_thickness"
0048                   y="ZDC_Crystal_ny * (ZDC_Crystal_cell_width + ZDC_Crystal_frame_thickness) + ZDC_Crystal_frame_thickness"
0049                   z="ZDC_Crystal_cell_length + ZDC_Crystal_space"/>
0050       <module name="tower" nx="ZDC_Crystal_nx" ny="ZDC_Crystal_ny">
0051         <tower name="crystal"
0052                cellx="ZDC_Crystal_cell_width" celly="ZDC_Crystal_cell_width" thickness="ZDC_Crystal_cell_length"
0053                material="LYSO" vis="AnlGold" sensitive="true"/>
0054         <socket name="socket"
0055                 cellx="ZDC_Crystal_cell_width" celly="ZDC_Crystal_cell_width" thickness="ZDC_Crystal_APD_socket_z"
0056                 material="ZDC_Polyethylene" vis="AnlTeal" />
0057       </module>
0058       <support  material="CarbonFiber" vis="AnlLight_Gray" sizez="ZDC_Crystal_cell_length" thickness="ZDC_Crystal_frame_thickness"/>
0059 
0060     </detector>
0061   </detectors>
0062 
0063   <readouts>
0064     <readout name="EcalFarForwardZDCHits">
0065       <segmentation type="NoSegmentation"/>
0066       <id>system:8,module:2,crystal:12</id>
0067     </readout>
0068   </readouts>
0069 
0070 </lccdd>