Back to home page

EIC code displayed by LXR

 
 

    


Warning, /athena/compact/dirc.xml is written in an unsupported language. File is not indexed.

0001 <lccdd>
0002 
0003   <comment>
0004     DIRC consists of 16 (default) identical modules making a barrel.
0005     Each DIRC module consists of:
0006     _______
0007     [  |   \
0008     [  |    \
0009     [FD|Prizm|Lens|--------bars+glue-----|mirror]
0010 
0011     Main constants to control DIRC global geometry:
0012       - DIRC_length
0013       - DIRC_offset
0014       - DIRC_rmin
0015       - DIRCBox_count  (16 full dirc, 1 - a single module)
0016       - DIRC_rotation  (allows to flip the DIRC)
0017 
0018     When DIRC_length is set, it affects bars length (all other lengths are fixed)
0019     The width of each DIRC module is derived from DIRCPrism_width
0020 
0021   </comment>
0022 
0023   <define>
0024     <constant name="DIRCFake_rmin"             value="BarrelTracking_rmax-11*cm"/>
0025     <constant name="DIRC_rotation"         value="pi" comment="Allows DIRC flip"/>
0026     <!-- <constant name="cb_DIRC_length"    value="DIRCLength"/> -->
0027     <!-- CLEANUP THIS if not sure. This is from the initial implementation
0028     <constant name="DIRC_length"            value="285.500*cm"/>
0029     <constant name="DIRCFake_rmin"              value="82.00*cm"/>-->
0030 
0031     <!-- Prism -->
0032     <constant name="DIRCPrism_width"        value="360*mm"/>
0033     <constant name="DIRCPrism_length"       value="300*mm"/>
0034     <constant name="DIRCPrism_short_edge"   value="50*mm"/>
0035     <constant name="DIRCPrism_angle"        value="32*deg"/>
0036     <constant name="DIRCPrism_long_edge"    value="DIRCPrism_short_edge + DIRCPrism_length * tan(DIRCPrism_angle)"/>
0037     <constant name="DIRCPrism_height"       value="DIRCPrism_long_edge"/>
0038 
0039     <!-- DIRC length -->
0040     <constant name="DIRCMain_length"           value="DIRC_length"/>
0041     <constant name="DIRCFake_offset"           value="DIRC_offset+15*cm"/>
0042 
0043     <!-- Box - main DIRC modules -->
0044     <constant name="DIRCBox_count"          value="16"  comment="Number of DIRC boxes per... DIRC. 16 - default"/>
0045     <constant name="DIRCBox_width"          value="DIRCPrism_width"/>
0046 
0047     <!-- Mirror -->
0048     <constant name="DIRCMirror_height"      value="20 * mm"/>
0049     <constant name="DIRCMirror_width"       value="DIRCPrism_width"/>
0050     <constant name="DIRCMirror_thickness"   value="1 * mm"/>
0051 
0052     <!-- Lens -->
0053     <constant name="DIRCLens_height"        value="DIRCPrism_long_edge"/>
0054     <constant name="DIRCLens_width"         value="DIRCPrism_width"/>
0055     <constant name="DIRCLens_thickness"     value="12 * mm"/>
0056     <constant name="DIRCLens_r1"            value="33 * mm"/>
0057     <constant name="DIRCLens_r2"            value="24 * mm"/>
0058     <constant name="DIRCLens_shight"        value="25 * mm" comment="Is 'shight' from UK urban dictionary???"/>
0059 
0060     <!-- FD (Foto detectors?) -->
0061     <constant name="DIRCFd_height"          value="DIRCPrism_height"/>
0062     <constant name="DIRCFd_width"           value="DIRCPrism_width"/>
0063     <constant name="DIRCFd_thickness"       value="1*mm"/>
0064 
0065     <!-- Bar - Each DIRC box consists of N "bars" -->
0066     <!-- BarAssembly - Bars + Glue -->
0067     <constant name="DIRCBarAssm_length"     value="DIRCMain_length - DIRCPrism_length - DIRCMirror_thickness - DIRCLens_thickness - DIRCFd_thickness" comment="Length of bars+glue assembly"/>
0068     <constant name="DIRCBar_count"          value="11" comment="Number of bars per box"/>
0069     <constant name="DIRCBar_gap"            value="0.15 * mm"/>
0070     <constant name="DIRCBar_height"         value="17 * mm"/>
0071     <constant name="DIRCBar_width"          value="(DIRCPrism_width - (DIRCBar_count - 1) * DIRCBar_gap) / DIRCBar_count"/>
0072     <constant name="DIRCGlue_thickness"     value="0.05 * mm"/>
0073     <constant name="DIRCBar_length"         value="(DIRCBarAssm_length-4*DIRCGlue_thickness)/4"/>
0074 
0075     <!-- dirc outer volume -->
0076     <comment>
0077       RMax is calculated according to "rectangle inside ring" problem solution
0078       https://math.stackexchange.com/questions/4222684/calculate-rectangle-inside-ring-parameters/4222691#4222691
0079     </comment>
0080     <constant name="DIRCFake_rmax"              value="sqrt( (DIRCFake_rmin+DIRCPrism_height)^2 + 0.25*(DIRCPrism_height)^2 )"/>
0081   </define>
0082 
0083   <materials>
0084     <comment>
0085       Only non optical material variants are here.
0086       See optical_materials.xml for optical ones
0087       -
0088     </comment>
0089 
0090     <material name="Epotek">
0091       <D type="density" value="1.2" unit="g/cm3"/>
0092       <composite n="5" ref="H"/>
0093       <composite n="3" ref="C"/>
0094       <composite n="2" ref="O"/>
0095     </material>
0096     <material name="Nlak33a">
0097       <D type="density" value="4.220" unit="g/cm3"/>
0098       <composite n="1" ref="Si"/>
0099       <composite n="2" ref="O"/>
0100     </material>
0101   </materials>
0102 
0103   <limits>
0104   </limits>
0105 
0106   <regions>
0107   </regions>
0108 
0109   <display>
0110     <vis name="DIRCTube"   ref="AnlTeal" alpha="0.1" visible="true"  showDaughters="true"   lineStyle="solid" drawingStyle="solid" />
0111     <vis name="DIRCBox"    ref="AnlLight_Gray" alpha="0.1" visible="true"  showDaughters="true"   lineStyle="solid" drawingStyle="solid" />
0112     <vis name="DIRCLens1"  ref="AnlProcess_Blue" visible="true"  showDaughters="false"  lineStyle="solid" drawingStyle="solid" />
0113     <vis name="DIRCLens2"  ref="AnlProcess_Blue" visible="true"  showDaughters="false"  lineStyle="solid" drawingStyle="solid" />
0114     <vis name="DIRCLens3"  ref="AnlTeal" visible="true"  showDaughters="false"  lineStyle="solid" drawingStyle="solid" />
0115     <vis name="DIRCBar"    ref="AnlTeal" visible="true"  showDaughters="false"  lineStyle="solid" drawingStyle="solid" />
0116     <vis name="DIRCGlue"   ref="AnlViolet" visible="true"  showDaughters="false"  lineStyle="solid" drawingStyle="solid" />
0117     <vis name="DIRCMirror" ref="AnlGray" visible="true"  showDaughters="false"  lineStyle="solid" drawingStyle="solid" />
0118     <vis name="DIRCPrism"  ref="AnlTeal" visible="true"  showDaughters="false"  lineStyle="solid" drawingStyle="solid" />
0119     <vis name="DIRCFd"     ref="AnlRed" visible="true"  showDaughters="false" />
0120   </display>
0121 
0122   <detectors>
0123     <detector id="BarrelDIRC_ID" name="cb_DIRC" type="cb_DIRC" readout="DIRCBarHits" vis="DIRCTube">
0124       <dimensions rmin="DIRCFake_rmin" rmax="DIRCFake_rmax" length="DIRCMain_length" radius="DIRCRadius" dx="DIRCBars_DX" dy="DIRCBars_DY" number="DIRCNum" deltaphi="DIRCDPhi"/>
0125       <position x="0" y="0" z="DIRCFake_offset"/>
0126       <rotation theta="DIRC_rotation"/>
0127       <module name="DircBox" R="DIRCRadius" repeat="DIRCBox_count" width="DIRCPrism_width + 1*mm" height="DIRCPrism_height*2" length="DIRCBarAssm_length + 550*mm" vis="DIRCBox">
0128         <!-- Mirror (at the end of the module) -->
0129         <mirror
0130           height="DIRCMirror_height"
0131           width="DIRCMirror_width"
0132           thickness="DIRCMirror_thickness"
0133           material="Aluminum"
0134           vis="DIRCMirror"
0135         />
0136 
0137         <!-- DIRC Bar -->
0138         <!-- TODO parametrize as bar+glue assembly with layers -->
0139         <bar
0140           height="DIRCBar_height"
0141           width="DIRCBar_width"
0142           length="DIRCBar_length"
0143           repeat="DIRCBar_count"
0144           gap="DIRCBar_gap"
0145           material="Quartz"
0146           vis="DIRCBar"
0147         />
0148 
0149         <glue thickness="DIRCGlue_thickness" material="Epotek" vis="DIRCGlue"/>
0150 
0151         <!-- lens -->
0152         <lens
0153           height="DIRCLens_height"
0154           width="DIRCLens_width"
0155           thickness="DIRCLens_thickness"
0156           r1="DIRCLens_r1"
0157           r2="DIRCLens_r2"
0158         />
0159 
0160         <prism/> <!-- TODO parametrize here -->
0161 
0162         <fd
0163           height="DIRCFd_height"
0164           width="DIRCFd_width"
0165           thickness="DIRCFd_thickness"
0166           vis="DIRCFd"
0167           material="Quartz"
0168         />
0169       </module>
0170     </detector>
0171   </detectors>
0172 
0173   <readouts>
0174     <readout name="DIRCBarHits">
0175       <segmentation type="CartesianGridXY" grid_size_x="3.0*mm" grid_size_y="3.0*mm" />
0176       <id>system:8,module:8,section:8,bar:8,x:32:-16,y:-16</id>
0177     </readout>
0178   </readouts>
0179 
0180   <plugins>
0181   </plugins>
0182 
0183   <fields>
0184   </fields>
0185 </lccdd>