Skip to content
Snippets Groups Projects
Forked from cepc / CEPCSW
906 commits behind the upstream repository.
SHcalRpc01_Barrel_01.xml 2.58 KiB
<lccdd>
  <detectors>
    <detector name="HcalBarrel" type="SHcalRpc01_Barrel" id="ILDDetID_HCAL" readout="HcalBarrelCollection" vis="GreenVis" insideTrackingVolume="false" >
      <comment>Hadron Calorimeter Barrel</comment>
      <envelope vis="ILD_HCALVis">
        <shape type="BooleanShape" operation="Subtraction" material="Air" >
          <shape type="Cone" z="Hcal_half_length + env_safety/2" rmin1="0.0" rmax1="Hcal_outer_radius + env_safety" rmin2="0.0" rmax2="Hcal_outer_radius + env_safety"/>
          <shape type="PolyhedraRegular"  numsides="Hcal_inner_symmetry" rmin="0.0"
                 rmax="Hcal_inner_radius - env_safety" dz="2*(Hcal_half_length + env_safety)"/>
	  <rotation x="0" y="0" z="-180*deg/Hcal_inner_symmetry"/>
        </shape>
        <!--rotation x="0" y="0" z="90*deg-180*deg/Hcal_inner_symmetry"/-->
      </envelope>
      <type_flags type=" DetType_CALORIMETER + DetType_BARREL + DetType_HADRONIC " />

      <staves  material="stainless_steel"  vis="BlueVis"/>

      <layer repeat="Hcal_nlayers" vis="SeeThrough">
        <slice material="stainless_steel" thickness="Hcal_radiator_thickness"                    vis="BlueVis"   />
        <slice material="Air"             thickness="Hcal_airgap_thickness"                      vis="WhiteVis"   />
	<slice material="mylar"           thickness="Hcal_mylar_cathode_thickness"               vis="MagentaVis" />
	<slice material="graphite"        thickness="Hcal_graphite_cathode_thickness"            vis="Invisible" />
	<slice material="FloatGlass"      thickness="Hcal_glass_cathode_thickness"               vis="RedVis" />
	<slice material="RPCGAS2"         thickness="Hcal_sensitive_gas_gap"   sensitive = "yes" vis="YellowVis" edge_material="PEEK-GF30" spacer_material="Nylon"/>
	<slice material="FloatGlass"      thickness="Hcal_glass_anode_thickness"                 vis="RedVis" />
	<slice material="graphite"        thickness="Hcal_graphite_anode_thickness"              vis="Invisible" />
	<slice material="mylar"           thickness="Hcal_mylar_anode_thickness"                 vis="MagentaVis" />
	<slice material="g10"             thickness="Hcal_PCB_thickness"                         vis="CyanVis" />
	<slice material="g10"             thickness="Hcal_electronics_mask_thickness"            vis="GreenVis" />
      </layer>
    </detector>
  </detectors>

  <readouts>
    <readout name="HcalBarrelCollection">
      <segmentation type="CartesianGridYZ" grid_size_y="Hcal_cells_size" grid_size_z="Hcal_cells_size"/>
      <id>system:5,module:3,stave:3,tower:5,layer:6,slice:4,y:32:-16,z:-16</id>
    </readout>
  </readouts>

</lccdd>