Skip to content
Snippets Groups Projects
Select Git revision
  • temp/df
  • master default protected
  • pr/nhcal
  • pr/material_scan_fix
  • Test-workflow-locally
  • Test-workflow-locally2
  • beamline_training
  • feature-add-timing-profiling-benchmarks
  • calo-pid-45-135-deg
  • code.jlab.org
  • pr/rerun_fix
  • pr/minor_fixes
  • Simple-Shyam-patch-1
  • interruptible-resource-groups
  • femc-collect-always
  • add_lowq2_benchmarks
  • pr/insert_neutron_flaky
  • Low-Q2_onnx_training
  • Low-Q2_training
  • matplotlibrc
  • v0.0.1
21 results

.rootlogon.C

Blame
  • ecal.xml 8.34 KiB
    <lccdd>
    
      <define>
        <constant name="CrystalEndcap_rmin"  value="VertexTrackerInnerRadius"/>
        <constant name="CrystalEndcap_rmax"  value="EcalEndcapN_rmin"/>
        <constant name="CrystalBox_x_length" value="20.0*mm"/>
        <constant name="CrystalBox_y_length" value="20.0*mm"/>
        <constant name="CrystalBox_z_length" value="200.0*mm"/>
        <constant name="CrystalBox_offset"   value="0.000001*mm"/>
        <constant name="CrystalEndcap_x_pos" value="0.0*m"/>
        <constant name="CrystalEndcap_y_pos" value="0.0*m"/>
        <constant name="CrystalEndcap_z_pos" value="-EcalEndcapN_zmin"/>
    
    
    
        <constant name="EcalEndcapP_rmax" value="Solenoid_rmax "/>
      </define>
    
    
      <limits>
      </limits>
    
      <regions>
      </regions>
    
      <!-- Common Generic visualization attributes -->
      <comment>Common Generic visualization attributes</comment>
      <display>
      </display>
    
    
      <detectors>
    
        <comment>
          ---------------------
          Barrel EM Calorimeter
          ---------------------
          A layered EM calorimeter with tungsten and silicon (or scintillator) strips
        </comment>
        <detector 
          id="ECalBarrel_ID"
          name="EcalBarrel"
          type="refdet_EcalBarrel"
          readout="EcalBarrelHits"
          calorimeterType="EM_BARREL"
          offset="EcalBarrel_offset"
          >
          <dimensions 
            numsides="CaloSides" 
            rmin="EcalBarrel_rmin" 
            z="EcalBarrelLength"/>
          <staves vis="EcalBarrelVis"/>
          <layer repeat="EcalBarrelLayer1_NRepeat">
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
          <layer repeat="EcalBarrelLayer2_NRepeat">
            <slice material="TungstenDens24" thickness="EcalThinTungstenThickness"/>
            <slice material="Air" thickness="EcalAir2Thickness"/>
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
          <layer repeat="EcalBarrelLayer3_NRepeat">
            <slice material="TungstenDens24" thickness="EcalThickTungstenThickness"/>
            <slice material="Air" thickness="EcalAir2Thickness"/>
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
        </detector>
    
        <comment>
          ------------------------------------------
          Forward (Positive Z) Endcap EM Calorimeter
          ------------------------------------------
          A layered EM calorimeter with tungsten and silicon (or scintillator) strips
        </comment>
        <detector id="ECalEndcapP_ID" 
          name="EcalEndcapP" 
          reflect="false" 
          type="refdet_PolyhedraEndcapCalorimeter2" 
          readout="EcalEndcapHits" 
          vis="EcalEndcapVis" 
          calorimeterType="EM_ENDCAP" >
          <position x="0" y="0" z="-0"/>
          <dimensions 
            numsides="CaloSides" 
            zmin="EcalEndcapP_zmin" 
            rmin="EcalEndcapP_rmin" 
            rmax="EcalEndcapP_rmax " />
          <layer repeat="EcalEndcapPLayer1_NRepeat">
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
          <layer repeat="EcalEndcapPLayer2_NRepeat">
            <slice material="TungstenDens24" thickness="EcalThinTungstenThickness"/>
            <slice material="Air" thickness="EcalAir2Thickness"/>
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
          <layer repeat="EcalEndcapPLayer3_NRepeat">
            <slice material="TungstenDens24" thickness="EcalThickTungstenThickness"/>
            <slice material="Air" thickness="EcalAir2Thickness"/>
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
        </detector>
    
        <comment>
          -------------------------------
          Backwards Endcap EM Calorimeter
          -------------------------------
          A layered EM calorimeter with tungsten and silicon (or scintillator) strips
        </comment>
        <detector id="ECalEndcapN_ID" 
          name="EcalEndcapN" 
          type="refdet_PolyhedraEndcapCalorimeter2" 
          reflect="true" 
          readout="EcalEndcapHits" 
          vis="EcalEndcapVis" 
          calorimeterType="EM_ENDCAP">
          <position x="0" y="0" z="0"/>
          <dimensions 
            numsides="CaloSides" 
            zmin="EcalEndcapN_zmin" 
            rmin="EcalEndcapN_rmin" 
            rmax="EcalBarrel_rmin " />
          <layer repeat="EcalEndcapNLayer1_NRepeat">
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
          <layer repeat="EcalEndcapNLayer2_NRepeat">
            <slice material="TungstenDens24" thickness="EcalThinTungstenThickness"/>
            <slice material="Air" thickness="EcalAir2Thickness"/>
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
          <layer repeat="EcalEndcapNLayer3_NRepeat">
            <slice material="TungstenDens24" thickness="EcalThickTungstenThickness"/>
            <slice material="Air" thickness="EcalAir2Thickness"/>
            <slice material="Silicon" thickness="EcalSiliconThickness" sensitive="yes" limits="cal_limits"/>
            <slice material="Copper" thickness="EcalCopperThickness"/>
            <slice material="Kapton" thickness="EcalKaptonThickness"/>
            <slice material="Air" thickness="EcalAir1Thickness"/>
          </layer>
        </detector>
    
        <comment>
          -------------------
          Crystal Calorimeter
          -------------------
          Backward (negative pseudorapidity) angle electron detector
        </comment>
        <detector 
          id="CrystalEndcap_ID" 
          name="ElectronECAL" 
          type="CrystalCalorimeterEndcap" 
          readout="CrystalEcalHits" 
          vis="GreenVis">
          <position x="CrystalEndcap_x_pos" y="CrystalEndcap_y_pos" z="CrystalEndcap_z_pos" />
          <dimensions rmin="CrystalEndcap_rmin" rmax="CrystalEndcap_rmax" x="CrystalBox_x_length" y="CrystalBox_y_length" z="CrystalBox_z_length" delta="CrystalBox_offset"/>
        </detector>
      </detectors>
    
      <!--  Definition of the readout segmentation/definition  -->
      <readouts>
        <!--  
        <readout name="PlaneTrackerHits">
          <segmentation type="CartesianGridXY" grid_size_x="20.0*mm" grid_size_y="20.0*mm" />
          <id>system:5,module:4,x:32:-16,y:-16</id>
        </readout>
        -->
        <readout name="CrystalEcalHits">
          <segmentation type="CartesianGridXY" grid_size_x="CrystalBox_x_length" grid_size_y="CrystalBox_y_length" />
          <id>system:8,sector:4,module:20,x:48:-8,y:-8</id>
        </readout>
        <readout name="EcalBarrelHits">
          <segmentation type="CartesianGridXY" grid_size_x="3.5 * mm" grid_size_y="3.5 * mm"/>
          <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
        </readout>
        <readout name="EcalEndcapHits">
          <segmentation type="CartesianGridXY" grid_size_x="3.5 * mm" grid_size_y="3.5 * mm"/>
          <id>system:8,barrel:3,module:4,layer:6,slice:5,x:32:-16,y:-16</id>
        </readout>
      </readouts>
    
      <plugins>
      </plugins>
    
    </lccdd>