Skip to content
Snippets Groups Projects
mrich.xml 7.37 KiB
Newer Older
<lccdd>
  <comment> MRICH </comment>        
  <define>
    <constant name="MRICH_rmin"   value="10*cm"/>
    <constant name="MRICH_rmax"   value="BackwardPID_rmax"/>
    <constant name="MRICH_length" value="BackwardPID_length"/>
    <constant name="MRICH_zmin"   value="CentralTrackingHalfN_length"/>
    <constant name="MRICHAerogel_thickness"           value="30.0*mm"/>
    <constant name="MRICHAerogel_width"               value="126.5*mm"/>
    <constant name="MRICHFoam_thickness"              value="2*mm"/>
    <constant name="MRICHFresnelLens_thickness"       value="0.06*inch"/>
    <constant name="MRICHAerogelLensGap_thickness"    value="2*mm"/>
    <constant name="MRICHLensMirrorGap_thickness"     value="2*mm"/>
    <constant name="MRICHPhotoDet_thickness"          value="1.5*mm"/>
    <constant name="MRICHPhotoDet_length"             value="48.5*mm"/>
    <constant name="MRICHGlassWindow_width"           value="103.5*mm"/>
    <constant name="MRICHGlassPhotoDet_thickness"     value="2.0*mm"/>
    <constant name="MRICHPhotoDetCopper_thickness"    value="0.1*mm"/>
    <constant name="MRICHPhotoDetKapton_thickness"    value="0.2*mm"/>
    <constant name="MRICHRearExtraSpace_thickness"    value="9.7*mm"/>
    <constant name="MRICHLensPhotoDet_length"         value="136.4*mm"/>
    <constant name="MRICHMirror_thickness"            value="2.0*mm"/>
    <constant name="MRICHMirror_length"               value="MRICHLensPhotoDet_length - MRICHLensMirrorGap_thickness"/>
    <constant name="MRICHMirror_width1"               value="MRICHAerogel_width "/>
    <constant name="MRICHMirror_width2"               value="MRICHGlassWindow_width"/>

    <constant name="MRICHFresnelLensEffectiveDiameter" value="6.0*inch"/>
    <constant name="MRICHFresnelLensGroove_pitch"      value="inch/125"/>

    <constant name="MRICHCarbonFrame_thickness"        value="1.0*mm"/>
    <constant name="MRICHCarbonFrame_width"            value="MRICHAerogel_width+2.0*MRICHFoam_thickness + 2.0*MRICHCarbonFrame_thickness"/>

    <constant name="MRICHModules_nx"                  value="floor((MRICH_rmax-MRICH_rmin)/MRICHCarbonFrame_width)"/>
    <constant name="MRICHModules_ny"                  value="floor((MRICH_rmax-MRICH_rmin)/MRICHCarbonFrame_width)"/>

    <constant name="MRICHCarbonFrame_length"
      value="MRICHAerogel_thickness
      + 2.0*MRICHCarbonFrame_thickness
      + 2.0*MRICHFoam_thickness
      + MRICHAerogelLensGap_thickness
      + MRICHFresnelLens_thickness
      + MRICHLensPhotoDet_length
      + MRICHGlassPhotoDet_thickness
      + MRICHPhotoDetCopper_thickness
      + MRICHPhotoDetKapton_thickness
      + MRICHRearExtraSpace_thickness "/>
  </define>

  <limits>
  </limits>

  <regions>
  </regions>

  <display>
  </display>

  <detectors>
    <detector id="MRICH_ID" name="MRICH" type="athena_MRICH" 
      readout="MRICHHits"
      reflect="true"
      projective="true"
      vis="InvisibleWithDaughters"
      material="Air">
      <dimensions rmin="MRICH_rmin" rmax="MRICH_rmax" length="abs(MRICH_length)" zmin="MRICH_zmin"/>
      <module name="MRICH_module1"
              vis="InvisibleWithDaughters"
              width="MRICHCarbonFrame_width"
              height="MRICHCarbonFrame_width"
              length="MRICHCarbonFrame_length">
        <frame vis="AnlGray" thickness="MRICHCarbonFrame_thickness" material="CarbonFiber"/>
        <aerogel vis="AnlTeal"
                 length="MRICHAerogel_thickness" width="MRICHAerogel_width"
                 material="AerogelOptical">
          <frame vis="AnlGold_1" thickness="MRICHFoam_thickness" material="PolystyreneFoam" />
        </aerogel>
        <lens vis="AnlViolet" thickness="MRICHFresnelLens_thickness"
              pitch="MRICHFresnelLensGroove_pitch" focal_length="6.0*inch"
              effective_diameter="MRICHFresnelLensEffectiveDiameter" 
              width="MRICHAerogel_width"
              material="AcrylicOptical"/>
        <mirror vis="AnlGray"
                x1="MRICHMirror_width1" x2="MRICHMirror_width2" length="MRICHMirror_length"
                surface="MRICH_MirrorOpticalSurface" thickness="MRICHMirror_thickness"
                material="AluminumOxide"/>
        <photodet width="MRICHGlassWindow_width" thickness="MRICHGlassPhotoDet_thickness"  material="PyrexGlassOptical">
          <sensor nx="2" ny="2" thickness="MRICHPhotoDet_thickness" width="MRICHPhotoDet_length" material="SiliconOxide"/>
          <!--layer thickness="MRICHPhotoDetCopper_thickness" material="Copper"/-->
          <!--layer thickness="MRICHPhotoDetKapton_thickness" material="Kapton"/-->
        </photodet>
      </module>
      <comment>
        Modules are only listed here for one quadrant
      </comment>
      <positions scale="1.03">
        <position x="-41.3250000000"  y="178.6750000000"/>
        <position x=" 96.0250000001"  y="178.6750000000"/>
      </positions>
      <positions scale="1.036">
        <position x="-41.3250000000"  y="316.0250000001"/>
        <position x=" 96.0250000001"  y="316.0250000001"/>
        <position x="233.3750000002"  y="178.6750000000"/>
        <position x="233.3750000002"  y="316.0250000001"/>
      </positions>
      <positions scale="1.052">
        <position x="-41.3250000000"  y="453.3750000002"/>
        <position x=" 96.0250000001"  y="453.3750000002"/>
        <position x="233.3750000002"  y="453.3750000002"/>
        <position x="370.7250000003"  y="453.3750000002"/>
        <position x="370.7250000003"  y="316.0250000001"/>
        <position x="370.7250000003"  y="178.6750000000"/>
      </positions>
      <positions scale="1.078">
        <position x="-41.3250000000"  y="590.7250000003"/>
        <position x=" 96.0250000001"  y="590.7250000003"/>
        <position x="233.3750000002"  y="590.7250000003"/>
        <position x="370.7250000003"  y="590.7250000003"/>
        <!--position x="508.0750000004"  y="590.7250000003"/-->
        <position x="508.0750000004"  y="178.6750000000"/>
        <position x="508.0750000004"  y="316.0250000001"/>
        <position x="508.0750000004"  y="453.3750000002"/>
      </positions>
      <positions scale="1.09">
        <position x="-41.3250000000"  y="728.0750000004"/>
        <position x=" 96.0250000001"  y="728.0750000004"/>
        <!--position x="233.3750000002"  y="728.0750000004"/-->
        <!--position x="370.7250000003"  y="728.0750000004"/-->
        <!--position x="508.0750000004"  y="728.0750000004"/-->
        <!--position x="645.4250000005"  y="590.7250000003"/-->
        <!--position x="645.4250000005"  y="453.3750000002"/-->
        <position x="645.4250000005"  y="316.0250000001"/>
        <position x="645.4250000005"  y="178.6750000000"/>
      </positions>
      <positions scale="1.095">
        <!--position x="-41.3250000000"  y="865.4250000005"/-->
        <!--position x=" 96.0250000001"  y="865.4250000005"/-->
        <!--position x="233.3750000002"  y="865.4250000005"/-->
        <!--position x="782.7750000006"  y="178.6750000000"/-->
        <!--position x="782.7750000006"  y="316.0250000001"/-->
        <!--position x="782.7750000006"  y="453.3750000002"/-->
      </positions>
    </detector>
  </detectors>

  <readouts>
    <readout name="MRICHHits">
      <segmentation type="CartesianGridXY" grid_size_x="3*mm" grid_size_y="3*mm" />
      <id>system:8,module:14,sensor:8,x:32:-16,y:-16</id>
    </readout>
  </readouts>
  
  <!--Globals>
    <Parameter Name="mrichInfo" Value="mrichmod/mrich_1_geoparams-0-0-4294967295-1527211159.xml"/>
  </Globals-->