Skip to content
Snippets Groups Projects

Compare revisions

Changes are shown as if the source revision was being merged into the target revision. Learn more about comparing revisions.

Source

Select target project
No results found

Target

Select target project
  • maxt/CEPCSW
  • zyjonah/CEPCSW
  • wanjw03/CEPCSW
  • yudian2002/CEPCSW
  • starr136a/CEPCSW
  • fucd/CEPCSW
  • shuohan/CEPCSW
  • glliu/CEPCSW
  • zhangjinxian/CEPCSW_20250110
  • zhangyz/CEPCSW
  • shuxian/CEPCSW
  • lihp29/CEPCSW
  • zhangkl/CEPCSW
  • laipz/CEPCSW
  • lizhihao/CEPCSW
  • yudian2002/cepcsw-otk-endcap-update-01
  • xuchj7/CEPCSW
  • wuchonghao9612/CEPCSW
  • chenye/CEPCSW
  • zhangxm/CEPCSW
  • mengwq/CEPCSW
  • yudian2002/cepcsw-geo-upgrade-v-2
  • fangwx/CEPCSW
  • yudian2002/cepcsw-geo-upgrade
  • jiangxj/CEPCSW
  • yudian2002/cepcsw-otk-end-cap-development
  • guolei/CEPCSW
  • chenbp/CEPCSW
  • dhb112358/CEPCSW
  • tangyb/CEPCSW
  • luhc/CEPCSW
  • songwz/cepcsw-tdr
  • yudian2002/cepcsw-ote-development
  • yudian2002/cepcsw-otb-development
  • dudejing/CEPCSW
  • shexin/CEPCSW
  • sunwy/CEPCSW
  • 1810337/CEPCSW
  • cepcsw/CEPCSW
  • tyzhang/CEPCSW
  • fucd/CEPCSW1
  • xiaolin.wang/CEPCSW
  • wangchu/CEPCSW
  • 201840277/CEPCSW
  • zhaog/CEPCSW
  • shihy/cepcsw-dose
  • myliu/CEPCSW
  • thinking/CEPCSW
  • lihn/CEPCSW
  • 221840222/CEPCSW
  • gongjd1119/CEPCSW
  • tanggy/CEPCSW
  • lintao/CEPCSW
  • guofangyi/cepcsw-release
  • shihy/CEPCSW
  • 1365447033/CEPCSW
  • lizhan/CEPCSW
  • shixin/CEPCSW
  • cepc/CEPCSW
59 results
Show changes
Showing
with 1189 additions and 12 deletions
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<define>
<constant name="ecalendcap_inner_radius" value="Ecal_endcap_inner_radius"/>
<constant name="ecalendcap_outer_radius" value="Ecal_endcap_outer_radius"/>
<constant name="ecalendcap_block_xy" value="350*mm"/>
<constant name="ecalendcap_thickness" value="Ecal_endcap_zmax-Ecal_endcap_zmin"/>
<constant name="ecalendcap_z" value="0.5*(Ecal_endcap_zmin+Ecal_endcap_zmax)"/>
<constant name="Nblock_xy" value="6"/>
<constant name="Nsectors" value="4"/>
<!-- Fill in the space at the corner-->
<constant name="ecalendcap_block_fill_rect_short" value="260*mm"/>
<constant name="ecalendcap_block_fill_sq1" value="180*mm"/>
<constant name="ecalendcap_block_fill_sq2" value="270*mm"/>
<constant name="Ncell_rect_short" value="26"/>
<constant name="Ncell_sq1_xy" value="18"/>
<constant name="Ncell_sq2_xy" value="27"/>
<constant name="gap_narrow" value="2*mm"/>
<constant name="gap_wide" value="10*mm"/>
<!-- CrystalXY = CellXY - 2 * BoundarySafety - 2 * ESRThickness-->
<!-- CrystalZ = CellZ - 2 * BoundarySafety - 2 * ESRThickness-->
<constant name="Ncell_xy" value="35"/>
<constant name="crystal_z_endcap" value="4.1*cm"/>
<constant name="esr_thickness_endcap" value="0.1*mm"/>
<constant name="sipm_x" value="3*mm"/>
<constant name="sipm_y" value="3*mm"/>
<constant name="sipm_z_endcap" value="0.8*mm"/>
<constant name="pcb_thickness_endcap" value="2.2*mm"/>
<constant name="cu_thickness_endcap" value="1*mm"/>
<constant name="fibre_thickness_endcap" value="0.1*mm"/>
<constant name="boundary_safety_endcap" value="1*nm"/>
</define>
<regions>
<region name="EcalEndcapsRegion">
</region>
</regions>
<detectors>
<detector id="DetID_ECAL_ENDCAP"
name="EcalEndcaps"
type="CRDEcalEndcap_Short_v01"
readout="EcalEndcapsCollection"
vis="Invisible"
sensitive="true"
region="EcalEndcapsRegion">
<!-- Use cm as unit if you want to use Pandora for reconstruction -->
<material name="G4_BGO"/>
</detector>
</detectors>
<readouts>
<readout name="EcalEndcapsCollection">
<segmentation type="NoSegmentation"/>
<!--segmentation type="CartesianGridXYZ"
grid_size_x="1*cm"
grid_size_y="1*cm"
grid_size_z="1*cm"/-->
<id>system:5,module:3,stave:5,layer:5,x:6,y:6</id>
</readout>
</readouts>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<define>
<constant name="ecalendcap_inner_radius" value="Ecal_endcap_inner_radius"/>
<constant name="ecalendcap_outer_radius" value="Ecal_endcap_outer_radius"/>
<constant name="ecalendcap_zmin" value="Ecal_endcap_zmin"/>
<constant name="ecalendcap_depth" value="Ecal_endcap_thickness"/>
<constant name="ecalendcap_layer" value="28" />
<constant name="ecalendcap_x_width" value="350*mm" />
<constant name="ecalendcap_y_width" value="350*mm" />
<constant name="ecalendcap_width_crystal" value="10.2*mm"/>
<constant name="ecalendcap_crystal_wrapping" value="0.1*mm"/>
<constant name="ecalendcap_length_photoelectronic" value="0.7*mm"/>
<constant name="ecalendcap_width_photoelectronic" value="3*mm"/>
<constant name="ecalendcap_length_carbon" value="2.5*mm"/>
<constant name="ecalendcap_length_cable" value="0.*mm"/>
<constant name="ecalendcap_length_cooling" value="1.*mm"/>
<constant name="ecalendcap_length_pcb" value="1.2*mm"/>
<constant name="ecalendcap_length_asic" value="1.*mm"/>
<constant name="ecalendcap_length_back" value="10.*mm"/>
</define>
<regions>
<region name="EcalendcapRegion">
</region>
</regions>
<detectors>
<detector id="DetID_ECAL_ENDCAP" name="EcalEndcaps" type="LongCrystalBarEndcapCalorimeter_v01" readout="EcalEndcapsCollection" vis="Invisible" sensitive="true" region="EcalendcapRegion">
<!-- Use cm as unit if you want to use Pandora for reconstruction -->
</detector>
</detectors>
<readouts>
<readout name="EcalEndcapsCollection">
<segmentation type="NoSegmentation"/>
<!--segmentation type="CartesianGridXYZ"
grid_size_x="1*cm"
grid_size_y="1*cm"
grid_size_z="1*cm"/-->
<id>system:5,module:1,stave:15,dlayer:5,slayer:1,bar:15</id>
</readout>
</readouts>
</lccdd>
<lccdd>
<define>
<!-- <constant name="Ecal_endcap_inner_radius" value="2.5*mm"/>
<constant name="Ecal_endcap_inner_radius" value="2.5*mm"/> -->
<constant name="Ecal_endcap_nlayers" value="28"/>
<constant name="Ecal_scintillator_thickness" value="10*mm"/>
<constant name="Ecal_deadarea_thickness" value="8.5*mm"/>
</define>
<detectors>
<detector id="DetID_ECAL_ENDCAP" name="EcalEndcap" type="LongCrystalBarEndcapCalorimeter_v02" readout="EcalEndcapsCollection" vis="CyanVis" calorimeterType="EMC_ENDCAP">
<comment>Electromagnetic Calorimeter Endcap</comment>
<envelope vis="SeeThrough">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius - env_safety" dz="Ecal_endcap_zmax"/> <!--there is a thin plane in envolop -->
<shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius + env_safety" dz="Ecal_endcap_zmin"/>
</shape>
<shape type="Box" dx="Ecal_endcap_inner_radius" dy="Ecal_endcap_inner_radius" dz="Ecal_endcap_zmax + env_safety"/>
</shape>
<rotation x="0" y="0" z="0"/>
</envelope>
<type_flags type=" DetType_CALORIMETER + DetType_ENDCAP + DetType_EMC " />
<material name="CarbonFiber"/>
<dimensions numsides="Ecal_x_module" > <!-- 0:cube 1:isosceles trapezoid 2:right trapezoid -->
<dimensions id="1" module_type="0" module_number="3" x_offset="766.5*mm" y_offset="766.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="326*mm" dim_y="326*mm" dim_z="300*mm"/>
<dimensions id="2" module_type="0" module_number="2" x_offset="1067.5*mm" y_offset="1067.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="276*mm" dim_y="276*mm" dim_z="300*mm"/>
<dimensions id="3" module_type="0" module_number="1" x_offset="1304*mm" y_offset="1304*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="197*mm" dim_y="197*mm" dim_z="300*mm"/>
<dimensions id="4" module_type="1" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="7" module_type="4" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="5" module_type="2" module_number="4" x_offset="425.5*mm" y_offset="435*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="356*mm" dim_y1="356*mm" dim_y2="356*mm" dim_z="300*mm"/>
<dimensions id="8" module_type="5" module_number="4" x_offset="425.5*mm" y_offset="435*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="356*mm" dim_y1="356*mm" dim_y2="356*mm" dim_z="300*mm"/>
<dimensions id="6" module_type="3" module_number="1" x_offset="425.5*mm" y_offset="425.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178*mm" dim_y="140*mm" dim_z="300*mm"/>
<dimensions id="9" module_type="6" module_number="1" x_offset="425.5*mm" y_offset="425.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178*mm" dim_y="140*mm" dim_z="300*mm"/>
<dimensions id="10" module_type="7" module_number="1" x_offset="425.5*mm" y_offset="425.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178*mm" dim_y="140*mm" dim_z="300*mm"/>
<dimensions id="11" module_type="8" module_number="1" x_offset="425.5*mm" y_offset="425.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178*mm" dim_y="140*mm" dim_z="300*mm"/>
<!-- 425.5 -->
</dimensions>
<layer repeat="Ecal_endcap_nlayers" vis="CyanVis" material="G4_BGO" thickness = "Ecal_scintillator_thickness">
<slice material="G4_BGO" thickness = "Ecal_scintillator_thickness" sensitive = "yes" limits="cal_limits" vis="CyanVis" />
</layer>
</detector>
</detectors>
<readouts>
<readout name="EcalEndcapsCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,module:1,part:7,stave:7,type:4,dlayer:4,slayer:1,bar:7</id>
</readout>
</readouts>
</lccdd>
<lccdd>
<define>
<!-- <constant name="Ecal_endcap_inner_radius" value="2.5*mm"/>
<constant name="Ecal_endcap_inner_radius" value="2.5*mm"/> -->
<constant name="Ecal_endcap_nlayers" value="28"/>
<constant name="Ecal_scintillator_thickness" value="10*mm"/>
<constant name="Ecal_deadarea_thickness" value="8.5*mm"/>
<constant name="Ecal_module_safety" value="0.5*mm"/>
</define>
<detectors>
<detector id="DetID_ECAL_ENDCAP" name="EcalEndcap" type="LongCrystalBarEndcapCalorimeter_v03" readout="EcalEndcapsCollection" vis="CyanVis" calorimeterType="EMC_ENDCAP">
<comment>Electromagnetic Calorimeter Endcap</comment>
<envelope vis="SeeThrough">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<!-- <shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius - env_safety" dz="Ecal_endcap_zmax"/> -->
<!--there is a thin plane in envolop -->
<!-- <shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius + env_safety" dz="Ecal_endcap_zmin"/> -->
<shape type="PolyhedraRegular" numsides="256" rmin="0.0" rmax="Hcal_barrel_inner_radius - 5*mm" dz="Ecal_endcap_zmax*2"/>
<shape type="PolyhedraRegular" numsides="256" rmin="0.0" rmax="Hcal_barrel_inner_radius - 5*mm" dz="Ecal_endcap_zmin*2"/>
</shape>
<!-- <shape type="Box" dx="Ecal_endcap_inner_radius" dy="Ecal_endcap_inner_radius" dz="Ecal_endcap_zmax + env_safety"/> -->
<shape type="Tube" rmin="0.0" rmax="Ecal_endcap_inner_radius" dz="Ecal_endcap_zmax + env_safety"/>
</shape>
<rotation x="0" y="0" z="0"/>
<!-- <rotation x="0" y="0" z="11.25"/> -->
</envelope>
<type_flags type=" DetType_CALORIMETER + DetType_ENDCAP + DetType_EMC " />
<material name="CarbonFiber"/>
<dimensions numsides="Ecal_x_module" > <!-- 0:cube 1:isosceles trapezoid 2:right trapezoid -->
<dimensions id="0" module_type="0" module_number="3" x_offset="768*mm" y_offset="768*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="326*mm" dim_y="326*mm" dim_z="300*mm"/>
<dimensions id="1" module_type="0" module_number="2" x_offset="1069*mm" y_offset="1069*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="276*mm" dim_y="276*mm" dim_z="300*mm"/>
<dimensions id="2" module_type="0" module_number="1" x_offset="1305.5*mm" y_offset="1305.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="197*mm" dim_y="197*mm" dim_z="300*mm"/>
<dimensions id="0" module_type="20" module_number="3" x_offset="768*mm" y_offset="768*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="326*mm" dim_y="326*mm" dim_z="300*mm"/>
<dimensions id="1" module_type="20" module_number="2" x_offset="1069*mm" y_offset="1069*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="276*mm" dim_y="276*mm" dim_z="300*mm"/>
<dimensions id="2" module_type="20" module_number="1" x_offset="1305.5*mm" y_offset="1305.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="197*mm" dim_y="197*mm" dim_z="300*mm"/>
<dimensions id="3" module_type="1" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="4" module_type="2" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="3" module_type="21" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="4" module_type="22" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="5" module_type="3" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="6" module_type="4" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="7" module_type="5" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="8" module_type="6" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="9" module_type="7" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="10" module_type="8" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="11" module_type="9" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="12" module_type="10" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="13" module_type="11" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="14" module_type="12" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="15" module_type="13" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="16" module_type="14" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="17" module_type="15" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="18" module_type="16" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="19" module_type="17" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="20" module_type="18" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
</dimensions>
<layer repeat="Ecal_endcap_nlayers" vis="CyanVis" material="G4_BGO" thickness = "Ecal_scintillator_thickness">
<slice material="G4_BGO" thickness = "Ecal_scintillator_thickness" sensitive = "yes" limits="cal_limits" vis="CyanVis" />
</layer>
</detector>
</detectors>
<readouts>
<readout name="EcalEndcapsCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,module:1,part:7,stave:7,type:4,dlayer:4,slayer:1,bar:7</id>
</readout>
</readouts>
</lccdd>
<lccdd>
<define>
<constant name="Ecal_endcap_nlayers" value="18"/>
<constant name="Ecal_scintillator_thickness" value="15*mm"/>
<constant name="Ecal_deadarea_thickness" value="8.5*mm"/>
</define>
<detectors>
<detector id="DetID_ECAL_ENDCAP" name="EcalEndcap" type="LongCrystalBarEndcapCalorimeter_v03" readout="EcalEndcapsCollection" vis="CyanVis" calorimeterType="EMC_ENDCAP">
<comment>Electromagnetic Calorimeter Endcap</comment>
<envelope vis="SeeThrough">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<!-- <shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius - env_safety" dz="Ecal_endcap_zmax"/> -->
<!--there is a thin plane in envolop -->
<!-- <shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius + env_safety" dz="Ecal_endcap_zmin"/> -->
<shape type="PolyhedraRegular" numsides="256" rmin="0.0" rmax="Hcal_barrel_inner_radius - 5*mm" dz="Ecal_endcap_zmax*2"/>
<shape type="PolyhedraRegular" numsides="256" rmin="0.0" rmax="Hcal_barrel_inner_radius - 5*mm" dz="Ecal_endcap_zmin*2"/>
</shape>
<!-- <shape type="Box" dx="Ecal_endcap_inner_radius" dy="Ecal_endcap_inner_radius" dz="Ecal_endcap_zmax + env_safety"/> -->
<shape type="Tube" rmin="0.0" rmax="Ecal_endcap_inner_radius" dz="Ecal_endcap_zmax + env_safety"/>
</shape>
<rotation x="0" y="0" z="0"/>
</envelope>
<type_flags type=" DetType_CALORIMETER + DetType_ENDCAP + DetType_EMC " />
<material name="CarbonFiber"/>
<dimensions numsides="Ecal_x_module" > <!-- 0:cube 1:isosceles trapezoid 2:right trapezoid -->
<dimensions id="0" module_type="0" module_number="3" x_offset="768*mm" y_offset="768*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="326*mm" dim_y="326*mm" dim_z="300*mm"/>
<dimensions id="1" module_type="0" module_number="2" x_offset="1069*mm" y_offset="1069*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="276*mm" dim_y="276*mm" dim_z="300*mm"/>
<dimensions id="2" module_type="0" module_number="1" x_offset="1305.5*mm" y_offset="1305.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="197*mm" dim_y="197*mm" dim_z="300*mm"/>
<dimensions id="0" module_type="20" module_number="3" x_offset="768*mm" y_offset="768*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="326*mm" dim_y="326*mm" dim_z="300*mm"/>
<dimensions id="1" module_type="20" module_number="2" x_offset="1069*mm" y_offset="1069*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="276*mm" dim_y="276*mm" dim_z="300*mm"/>
<dimensions id="2" module_type="20" module_number="1" x_offset="1305.5*mm" y_offset="1305.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="197*mm" dim_y="197*mm" dim_z="300*mm"/>
<dimensions id="3" module_type="1" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="4" module_type="2" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="3" module_type="21" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="4" module_type="22" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="5" module_type="3" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="6" module_type="4" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="7" module_type="5" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="8" module_type="6" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="9" module_type="7" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="10" module_type="8" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="11" module_type="9" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="12" module_type="10" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="13" module_type="11" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="14" module_type="12" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="15" module_type="13" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="16" module_type="14" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="17" module_type="15" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="18" module_type="16" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="19" module_type="17" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="20" module_type="18" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
</dimensions>
<layer repeat="Ecal_endcap_nlayers" vis="CyanVis" material="G4_BGO" thickness = "Ecal_scintillator_thickness">
<slice material="G4_BGO" thickness = "Ecal_scintillator_thickness" sensitive = "yes" limits="cal_limits" vis="CyanVis" />
</layer>
</detector>
</detectors>
<readouts>
<readout name="EcalEndcapsCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,module:1,part:7,stave:7,type:4,dlayer:4,slayer:1,bar:7</id>
</readout>
</readouts>
</lccdd>
<lccdd>
<define>
<constant name="Ecal_endcap_nlayers" value="18"/>
<constant name="Ecal_scintillator_thickness" value="15.2*mm"/>
<constant name="Ecal_endcap_carbonfiber_thickness" value="2.5*mm"/>
<constant name="Ecal_endcap_cu_thickness" value="1*mm"/>
<constant name="Ecal_endcap_electronics_thickness" value="4*mm"/>
<constant name="Ecal_endcap_sipm_thickness" value="0.8*mm"/>
<constant name="Ecal_endcap_sipm_width" value="3*mm"/>
<constant name="Ecal_endcap_esr_thickness" value="0.1*mm"/>
</define>
<detectors>
<detector id="DetID_ECAL_ENDCAP" name="EcalEndcap" type="LongCrystalBarEndcapCalorimeter_v04" readout="EcalEndcapsCollection" vis="CyanVis" calorimeterType="EMC_ENDCAP">
<comment>Electromagnetic Calorimeter Endcap</comment>
<envelope vis="SeeThrough">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="BooleanShape" operation="Subtraction" material="Air">
<!-- <shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius - env_safety" dz="Ecal_endcap_zmax"/> -->
<!--there is a thin plane in envolop -->
<!-- <shape type="Tube" rmin="0.0" rmax="Ecal_endcap_outer_radius + env_safety" dz="Ecal_endcap_zmin"/> -->
<shape type="PolyhedraRegular" numsides="256" rmin="0.0" rmax="Hcal_barrel_inner_radius - 5*mm" dz="Ecal_endcap_zmax*2"/>
<shape type="PolyhedraRegular" numsides="256" rmin="0.0" rmax="Hcal_barrel_inner_radius - 5*mm" dz="Ecal_endcap_zmin*2"/>
</shape>
<!-- <shape type="Box" dx="Ecal_endcap_inner_radius" dy="Ecal_endcap_inner_radius" dz="Ecal_endcap_zmax + env_safety"/> -->
<shape type="Tube" rmin="0.0" rmax="Ecal_endcap_inner_radius" dz="Ecal_endcap_zmax + env_safety"/>
</shape>
<rotation x="0" y="0" z="0"/>
</envelope>
<type_flags type=" DetType_CALORIMETER + DetType_ENDCAP + DetType_EMC " />
<material name="CarbonFiber"/>
<dimensions numsides="Ecal_x_module" > <!-- 0:cube 1:isosceles trapezoid 2:right trapezoid -->
<dimensions id="0" module_type="0" module_number="3" x_offset="768*mm" y_offset="768*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="326*mm" dim_y="326*mm" dim_z="300*mm"/>
<dimensions id="1" module_type="0" module_number="2" x_offset="1069*mm" y_offset="1069*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="276*mm" dim_y="276*mm" dim_z="300*mm"/>
<dimensions id="2" module_type="0" module_number="1" x_offset="1305.5*mm" y_offset="1305.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="197*mm" dim_y="197*mm" dim_z="300*mm"/>
<dimensions id="0" module_type="20" module_number="3" x_offset="768*mm" y_offset="768*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="326*mm" dim_y="326*mm" dim_z="300*mm"/>
<dimensions id="1" module_type="20" module_number="2" x_offset="1069*mm" y_offset="1069*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="276*mm" dim_y="276*mm" dim_z="300*mm"/>
<dimensions id="2" module_type="20" module_number="1" x_offset="1305.5*mm" y_offset="1305.5*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="197*mm" dim_y="197*mm" dim_z="300*mm"/>
<dimensions id="3" module_type="1" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="4" module_type="2" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="3" module_type="21" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="4" module_type="22" module_number="4" x_offset="570.5*mm" y_offset="0*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="574*mm" dim_x2="495*mm" dim_y1="441*mm" dim_y2="441*mm" dim_z="300*mm" />
<dimensions id="5" module_type="3" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="6" module_type="4" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="7" module_type="5" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="8" module_type="6" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="9" module_type="7" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="10" module_type="8" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="11" module_type="9" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="12" module_type="10" module_number="4" x_offset="426.25*mm" y_offset="436.125*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x1="318*mm" dim_x2="357.5*mm" dim_y1="357.5*mm" dim_y2="357.5*mm" dim_z="300*mm"/>
<dimensions id="13" module_type="11" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="14" module_type="12" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="15" module_type="13" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="16" module_type="14" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="17" module_type="15" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="18" module_type="16" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="19" module_type="17" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
<dimensions id="20" module_type="18" module_number="1" x_offset="426.25*mm" y_offset="426.25*mm" z_offset="Ecal_endcap_zmin+Ecal_endcap_thickness/2" dim_x="178.75*mm" dim_y="139.25*mm" dim_z="300*mm"/>
</dimensions>
<layer repeat="Ecal_endcap_nlayers" vis="CyanVis" material="G4_BGO" thickness = "Ecal_scintillator_thickness">
<slice material="G4_BGO" thickness = "Ecal_scintillator_thickness" sensitive = "yes" limits="cal_limits" vis="CyanVis" />
</layer>
</detector>
</detectors>
<readouts>
<readout name="EcalEndcapsCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,module:1,part:7,stave:7,type:4,dlayer:4,slayer:1,bar:7</id>
</readout>
</readouts>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<define>
<constant name="Ecal_crystal_y_width" value="10*mm"/>
<constant name="Ecal_crystal_rotate_angle" value="30*degree"/>
<constant name="Ecal_crystal_envelope_length" value="266*mm"/> <!--not necessary, Ecal_barrel_inner_radius, Ecal_barrel_outer_radius and gap define the range of crystal-->
<constant name="numberZ" value="(int)Ecal_barrel_half_length*2/Ecal_crystal_y_width"/>
<constant name="Ecal_barrel_half_length_correct" value="numberZ*Ecal_crystal_y_width/2"/> <!--Must be n*Ecal_Crystal_y_width! -->
<constant name="Ecal_barrel_outer_radius_redef" value="sqrt(Ecal_barrel_inner_radius*Ecal_barrel_inner_radius+Ecal_crystal_envelope_length*Ecal_crystal_envelope_length
-2*Ecal_barrel_inner_radius*Ecal_crystal_envelope_length*cos(pi-Ecal_crystal_rotate_angle))"/>
</define>
<regions>
<region name="EcalBarrelRegion">
</region>
</regions>
<detectors>
<detector id="DetID_ECAL" name="EcalBarrel" type="DD4hep_RotatedCrystalCalorimeter_v01" readout="EcalBarrelCollection" vis="Invisible" sensitive="true">
<envelope>
<!--shape type="BooleanShape" operation="Union" material="Air"-->
<shape type="Tube" rmin="Ecal_barrel_inner_radius" rmax="Ecal_barrel_outer_radius_redef" dz="Ecal_barrel_half_length" material="Air"/>
<!--/shape-->
</envelope>
<dimensions rmin="Ecal_barrel_inner_radius" rmax="Ecal_barrel_outer_radius_redef" zhalf="Ecal_barrel_half_length_correct" alpha="Ecal_crystal_rotate_angle" nphi="1368" nz="numberZ" gap="0"/>
<crystal material="G4_BGO" vis="ECALVis"/>
</detector>
</detectors>
<readouts>
<readout name="EcalBarrelCollection">
<id>system:5,module:11,crystal:16</id>
</readout>
</readouts>
</lccdd>
...@@ -22,7 +22,7 @@ ...@@ -22,7 +22,7 @@
<detectors> <detectors>
<detector id="DetID_FTD" name="FTD" type="FTD_Simple_Staggered" vis="FTDVis" readout="FTDCollection" insideTrackingVolume="true"> <detector id="DetID_FTD" name="FTD" type="FTD_Simple_Staggered" vis="FTDVis" readout="FTDCollection" insideTrackingVolume="true">
<envelope vis="FTDVis"> <envelope>
<shape type="BooleanShape" operation="Subtraction" material="Air" > <shape type="BooleanShape" operation="Subtraction" material="Air" >
<shape type="BooleanShape" operation="Subtraction" material="Air" > <shape type="BooleanShape" operation="Subtraction" material="Air" >
<shape type="BooleanShape" operation="Subtraction" material="Air" > <shape type="BooleanShape" operation="Subtraction" material="Air" >
......
...@@ -21,7 +21,7 @@ ...@@ -21,7 +21,7 @@
<detectors> <detectors>
<detector id="DetID_FTD" name="FTD" type="FTD_Simple_Staggered" vis="FTDVis" readout="FTDCollection" insideTrackingVolume="true"> <detector id="DetID_FTD" name="FTD" type="FTD_Simple_Staggered" vis="FTDVis" readout="FTDCollection" insideTrackingVolume="true">
<envelope vis="FTDVis"> <envelope>
<shape type="BooleanShape" operation="Subtraction" material="Air" > <shape type="BooleanShape" operation="Subtraction" material="Air" >
<shape type="BooleanShape" operation="Subtraction" material="Air" > <shape type="BooleanShape" operation="Subtraction" material="Air" >
<shape type="BooleanShape" operation="Subtraction" material="Air" > <shape type="BooleanShape" operation="Subtraction" material="Air" >
......
<lccdd>
<define>
<constant name="SiliconThickness" value="0.2*mm"/>
<constant name="SupportThickness" value="1.0*mm"/>
<constant name="ModuleZGap" value="1.0*mm"/>
<constant name="ModuleRPhiGap" value="-10*mm"/>
</define>
<detectors>
<detector id="DetID_FTD" name="FTD" type="SiTrackerSkewRing_v01" vis="FTDVis" readout="FTDCollection" insideTrackingVolume="true" reflect="true">
<envelope>
<shape type="Assembly"/>
</envelope>
<type_flags type="DetType_TRACKER + DetType_ENDCAP + DetType_PIXEL "/>
<reconstruction strip_width="0.05*mm" strip_length="92*mm" strip_pitch="0" strip_angle="0"/>
<layer id="0" z="SiTracker_endcap_z1" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z1*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius1"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="1" z="SiTracker_endcap_z2" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z2*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius2"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="2" z="SiTracker_endcap_z3" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z3*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius3"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="3" z="SiTracker_endcap_z4" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z4*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius4"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="4" z="SiTracker_endcap_z5" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z5*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius5"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
</detector>
</detectors>
<readouts>
<readout name="FTDCollection">
<id>system:5,side:-2,layer:9,module:8,sensor:8</id>
</readout>
</readouts>
</lccdd>
<lccdd>
<define>
<constant name="SiliconThickness" value="0.2*mm"/>
<constant name="SupportThickness" value="1.0*mm"/>
<constant name="ModuleZGap" value="1.0*mm"/>
<constant name="ModuleRPhiGap" value="-10*mm"/>
</define>
<detectors>
<detector id="DetID_FTD" name="FTD" type="SiTrackerSkewRing_v01" vis="FTDVis" readout="FTDCollection" insideTrackingVolume="true" reflect="true">
<envelope>
<shape type="Assembly"/>
</envelope>
<type_flags type="DetType_TRACKER + DetType_ENDCAP + DetType_PIXEL "/>
<reconstruction strip_width="0.05*mm" strip_length="92*mm" strip_pitch="0" strip_angle="0"/>
<layer id="0" z="SiTracker_endcap_z1" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z1*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius1"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="1" z="SiTracker_endcap_z2" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z2*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius2"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="2" z="SiTracker_endcap_z3" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z3*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius3"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="3" z="SiTracker_endcap_z4" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z4*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius4"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
</detector>
</detectors>
<readouts>
<readout name="FTDCollection">
<id>system:5,side:-2,layer:9,module:8,sensor:8</id>
</readout>
</readouts>
</lccdd>
<lccdd>
<define>
<constant name="SiliconThickness" value="0.2*mm"/>
<constant name="SupportThickness" value="1.0*mm"/>
<constant name="ModuleZGap" value="1.0*mm"/>
<constant name="ModuleRPhiGap" value="-10*mm"/>
</define>
<detectors>
<detector id="DetID_FTD" name="FTD" type="SiTrackerSkewRing_v01" vis="FTDVis" readout="FTDCollection" insideTrackingVolume="true" reflect="true">
<envelope>
<shape type="Assembly"/>
</envelope>
<type_flags type="DetType_TRACKER + DetType_ENDCAP + DetType_PIXEL "/>
<reconstruction strip_width="0.05*mm" strip_length="92*mm" strip_pitch="0" strip_angle="0"/>
<layer id="0" z="SiTracker_endcap_z1" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z1*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius1"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="1" z="SiTracker_endcap_z2" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z2*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius2"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="2" z="SiTracker_endcap_z3" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z3*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius3"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="3" z="SiTracker_endcap_z4" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z4*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius4"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="4" z="SiTracker_endcap_z5" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z5*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius5"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="5" z="SiTracker_endcap_z6" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z6*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius6"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
<layer id="6" z="SiTracker_endcap_z7" dz="0.5*ModuleZGap" inner_r="SiTracker_endcap_z7*tan(acos(Global_endcap_costheta))*cos(pi/16)" outer_r="SiTracker_endcap_outer_radius7"
phi0="0" gap="ModuleRPhiGap" is_pixel="true" nmodules="16" vis="SeeThrough">
<component material="G4_Si" thickness="SiliconThickness" vis="FTDSensitiveVis" sensitive="yes"/>
<component material="CarbonFiber" thickness="SupportThickness" vis="FTDSupportVis"/>
</layer>
</detector>
</detectors>
<readouts>
<readout name="FTDCollection">
<id>system:5,side:-2,layer:9,module:8,sensor:8</id>
</readout>
</readouts>
</lccdd>
...@@ -4,12 +4,13 @@ ...@@ -4,12 +4,13 @@
<constant name="Hcal_inner_radius" value="Hcal_barrel_inner_radius"/> <constant name="Hcal_inner_radius" value="Hcal_barrel_inner_radius"/>
<constant name="Hcal_half_length" value="Hcal_barrel_half_length"/> <constant name="Hcal_half_length" value="Hcal_barrel_half_length"/>
<constant name="Hcal_inner_symmetry" value="Hcal_barrel_symmetry"/> <constant name="Hcal_inner_symmetry" value="Hcal_barrel_symmetry"/>
<constant name="Hcal_nlayers" value="40"/> <!--40->35, if 40 and symmetry=12, out radius will exceed the Hcal_barrel_outer_radius, or change layer thickness in future-->
<constant name="Hcal_nlayers" value="35"/>
<constant name="Hcal_Ecal_gap" value="Hcal_barrel_inner_radius-Ecal_barrel_outer_radius"/> <constant name="Hcal_Ecal_gap" value="Hcal_barrel_inner_radius-Ecal_barrel_outer_radius"/>
<constant name="Ecal_outer_radius" value="Ecal_barrel_outer_radius"/> <constant name="Ecal_outer_radius" value="Ecal_barrel_outer_radius"/>
<constant name="Hcal_radiator_thickness" value="20.0*mm"/> <constant name="Hcal_radiator_thickness" value="20.0*mm"/>
<constant name="Hcal_airgap_thickness" value="1*mm"/> <constant name="Hcal_airgap_thickness" value="0.88*mm"/>
<constant name="Hcal_mylar_cathode_thickness" value="0.18*mm"/> <constant name="Hcal_mylar_cathode_thickness" value="0.18*mm"/>
<constant name="Hcal_graphite_cathode_thickness" value="0.05*mm"/> <constant name="Hcal_graphite_cathode_thickness" value="0.05*mm"/>
<constant name="Hcal_glass_cathode_thickness" value="1.1*mm"/> <constant name="Hcal_glass_cathode_thickness" value="1.1*mm"/>
...@@ -21,7 +22,7 @@ ...@@ -21,7 +22,7 @@
<constant name="Hcal_electronics_mask_thickness" value="1.6*mm"/> <constant name="Hcal_electronics_mask_thickness" value="1.6*mm"/>
<constant name="Hcal_gas_edge_width" value="1*mm"/> <constant name="Hcal_gas_edge_width" value="1*mm"/>
<constant name="Hcal_MinNumCellsInTransvPlane" value="11"/> <constant name="Hcal_MinNumCellsInTransvPlane" value="1"/>
<constant name="Hcal_barrel_number_modules" value="5"/> <constant name="Hcal_barrel_number_modules" value="5"/>
<constant name="Hcal_chamber_thickness" value="6.73*mm"/> <constant name="Hcal_chamber_thickness" value="6.73*mm"/>
<constant name="Hcal_back_plate_thickness" value="15*mm"/> <constant name="Hcal_back_plate_thickness" value="15*mm"/>
...@@ -38,15 +39,15 @@ ...@@ -38,15 +39,15 @@
</define> </define>
<detectors> <detectors>
<detector name="HcalBarrel" type="SHcalRpc01_Barrel" id="DetID_HCAL" readout="HcalBarrelCollection" vis="GreenVis" insideTrackingVolume="false" > <detector name="HcalBarrel" type="SHcalRpc02_Barrel" id="DetID_HCAL" readout="HcalBarrelCollection" vis="GreenVis" insideTrackingVolume="false" >
<comment>Hadron Calorimeter Barrel</comment> <comment>Hadron Calorimeter Barrel</comment>
<envelope vis="HCALVis"> <envelope>
<shape type="BooleanShape" operation="Subtraction" material="Air" > <shape type="BooleanShape" operation="Subtraction" material="Air" >
<shape type="Cone" z="Hcal_barrel_half_length + env_safety/2" rmin1="0.0" rmax1="Hcal_barrel_outer_radius + env_safety" <shape type="Cone" z="Hcal_barrel_half_length + env_safety/2" rmin1="0.0" rmax1="Hcal_barrel_outer_radius + env_safety"
rmin2="0.0" rmax2="Hcal_barrel_outer_radius + env_safety"/> rmin2="0.0" rmax2="Hcal_barrel_outer_radius + env_safety"/>
<shape type="PolyhedraRegular" numsides="Hcal_barrel_symmetry" rmin="0.0" <shape type="PolyhedraRegular" numsides="Hcal_barrel_symmetry" rmin="0.0"
rmax="Hcal_barrel_inner_radius - env_safety" dz="2*(Hcal_barrel_half_length + env_safety)"/> rmax="Hcal_barrel_inner_radius - env_safety" dz="2*(Hcal_barrel_half_length + env_safety)"/>
<rotation x="0" y="0" z="-180*deg/Hcal_barrel_symmetry"/> <!--rotation x="0" y="0" z="-180*deg/Hcal_barrel_symmetry"/-->
</shape> </shape>
</envelope> </envelope>
<type_flags type=" DetType_CALORIMETER + DetType_BARREL + DetType_HADRONIC " /> <type_flags type=" DetType_CALORIMETER + DetType_BARREL + DetType_HADRONIC " />
...@@ -71,8 +72,8 @@ ...@@ -71,8 +72,8 @@
<readouts> <readouts>
<readout name="HcalBarrelCollection"> <readout name="HcalBarrelCollection">
<segmentation type="CartesianGridYZ" grid_size_y="Hcal_cells_size" grid_size_z="Hcal_cells_size"/> <segmentation type="TiledLayerGridXY" grid_size_x="Hcal_cells_size" grid_size_y="Hcal_cells_size"/>
<id>system:5,module:3,stave:3,tower:5,layer:6,slice:4,y:32:-16,z:-16</id> <id>system:5,module:3,stave:4,tower:5,layer:6,slice:4,x:32:-16,y:-16</id>
</readout> </readout>
</readouts> </readouts>
......
<lccdd> <lccdd>
<define> <define>
<constant name="Hcal_endcap_nlayers" value="Hcal_nlayers"/> <constant name="Hcal_endcap_nlayers" value="Hcal_nlayers"/>
<constant name="Hcal_endcap_center_box_size" value="700*mm"/> <constant name="Hcal_endcap_center_box_size" value="Hcal_endcap_inner_radius*2"/>
</define> </define>
<detectors> <detectors>
<detector id="DetID_HCAL_ENDCAP" name="HcalEndcap" type="SHcalRpc01_Endcaps" readout="HcalEndcapsCollection" vis="SeeThrough" calorimeterType="HAD_ENDCAP"> <detector id="DetID_HCAL_ENDCAP" name="HcalEndcap" type="SHcalRpc01_Endcaps" readout="HcalEndcapsCollection" vis="SeeThrough" calorimeterType="HAD_ENDCAP">
<comment>Hadron Calorimeter Endcap</comment> <comment>Hadron Calorimeter Endcap</comment>
<envelope vis="HCALVis"> <envelope>
<shape type="BooleanShape" operation="Subtraction" material="Air"> <shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="BooleanShape" operation="Subtraction" material="Air"> <shape type="BooleanShape" operation="Subtraction" material="Air">
<shape type="Tube" rmin="0.0" rmax="Hcal_endcap_outer_radius + env_safety" dz="Hcal_endcap_zmax + env_safety"/> <shape type="Tube" rmin="0.0" rmax="Hcal_endcap_outer_radius + env_safety" dz="Hcal_endcap_zmax + env_safety"/>
......
<lccdd>
<define>
<include ref="${DD4hepINSTALL}/DDDetectors/compact/detector_types.xml"/>
</define>
<detectors>
<detector name="Lumical_Beampipe" type="Lumical_v01_standalone" vis="SeeThroughit" insideTrackingVolume="false">
<envelope>
<shape type="Assembly"/>
</envelope>
<type_flags type=" DetType_CALORIMETER + DetType_BARREL + DetType_HADRONIC " />
<beampipe_Be_inner type="Tubs" rmin="10*mm" rmax="10.5*mm" z="85*mm" phi1="0*deg" phi2="360*deg" material="G4_Be" vis="SeeThroughit">
<position x="0*mm" y="0*mm" z="42.5*mm"/>
<rotation x="0" y="0" z="0"/>
</beampipe_Be_inner>
<beampipe_Be_outter type="Tubs" rmin="11*mm" rmax="11.35*mm" z="85*mm" phi1="0*deg" phi2="360*deg" material="G4_Be" vis="SeeThroughit">
<position x="0*mm" y="0*mm" z="42.5*mm"/>
<rotation x="0" y="0" z="0"/>
</beampipe_Be_outter>
<beampipe_Al_inner type="Tubs" rmin="10*mm" rmax="10.5*mm" z="95*mm" phi1="0*deg" phi2="360*deg" material="G4_Al" vis="SeeThroughit">
<position x="0*mm" y="0*mm" z="132.5*mm"/>
<rotation x="0" y="0" z="0"/>
</beampipe_Al_inner>
<beampipe_Al_outter type="Tubs" rmin="11*mm" rmax="11.35*mm" z="95*mm" phi1="0*deg" phi2="360*deg" material="G4_Al" vis="SeeThroughit">
<position x="0*mm" y="0*mm" z="132.5*mm"/>
<rotation x="0" y="0" z="0"/>
</beampipe_Al_outter>
<runway type="Tubs" rmin="10*mm" rmax="11*mm" z="474.8*mm" phi1="0*deg" phi2="180*deg" material="G4_Al" vis="SeeThroughit">
<position x="3.75*mm" y="0*mm" z="417.58*mm"/>
<rotation x="0" y="0" z="0"/>
</runway>
<beampipe>
<slice type="Tubs" rmin="10*mm" rmax="11*mm" z="125*mm" phi1="0*deg" phi2="180*deg" material="G4_Cu" vis="SeeThroughit">
<position x="3.75*mm" y="0*mm" z="717.5*mm"/>
</slice>
<slice type="Cone" rmin1="10*mm" rmax1="11*mm" rmin2="20*mm" rmax2="21*mm" z="75*mm" phi1="0*deg" phi2="180*deg" material="G4_Cu" vis="SeeThroughit">
<position x="3.75*mm" y="0*mm" z="817.5*mm"/>
</slice>
<slice type="Tubs" rmin="10*mm" rmax="11*mm" z="345*mm" phi1="0*deg" phi2="360*deg" material="G4_Al" vis="SeeThroughit">
<position x="11*mm" y="0*mm" z="1027.5*mm"/>
</slice>
</beampipe>
</detector>
</detectors>
</lccdd>
\ No newline at end of file
<lccdd>
<define>
<constant name="Lumical_cell_size" value="3*mm"/>
<include ref="${DD4hepINSTALL}/DDDetectors/compact/detector_types.xml"/>
</define>
<display>
<vis name="LumicalDiskVis" alpha="1.0" r="0" g="0.5" b="0.5" showDaughters="true" visible="true"/>
<vis name="LumicalFlangeVis" alpha="1.0" r="1.0" g="1.0" b="1.0" showDaughters="true" visible="true"/>
<vis name="LumicalCuVis" alpha="1.0" r="1.0" g="1.0" b="0" showDaughters="true" visible="true"/>
</display>
<detectors>
<detector name="Lumical" id="DetID_LCAL" type="Lumical_v01" readout="LumicalCollection" vis="SeeThrough" insideTrackingVolume="false">
<envelope>
<shape type = "Assembly"/>
</envelope>
<type_flags type=" DetType_CALORIMETER + DetType_BARREL + DetType_HADRONIC " />
<sensitive type="calorimeter"/>
<subsegmentation key="module" value="1"/>
<subsegmentation key="module" value="2"/>
<subsegmentation key="module" value="3"/>
<subsegmentation key="module" value="5"/>
<layer name = "Disk_Si_1st">
<slice type = "Box" dx = "12*mm" dy="29.5*mm" dz = "6*mm" material = "G4_Si" vis="LumicalDiskVis" sensitive="yes" limits="5*mm">
<position x="0" y="26.75*mm" z="560*mm"/>
</slice>
<slice type="Tubs" rmin="0" rmax="29.5*mm" z="6*mm" phi1="0*deg" phi2="90*deg" material="G4_Si" vis="LumicalDiskVis" sensitive="yes" limits="5*mm">
<position x="6*mm" y="12*mm" z="560*mm"/>
</slice>
</layer>
<layer name = "Disk_Si_2nd">
<slice type ="Box" dx = "24*mm" dy="39*mm" dz = "7.263*mm" material = "G4_Si" vis="LumicalDiskVis" sensitive="yes" limits="5*mm">
<position x="0" y="31.5*mm" z="640*mm"/>
</slice>
<slice type="Tubs" rmin="0" rmax="39*mm" z="6*mm" phi1="0*deg" phi2="90*deg" material="G4_Si" vis="LumicalDiskVis" sensitive="yes" limits="5*mm">
<position x="12*mm" y="12*mm" z="640*mm"/>
</slice>
</layer>
<layer name = "Flange">
<slice type="Tubs" rmin="19.5*mm" rmax="100*mm" z="30*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="FlangeVis">
<position x="0" y="0*mm" z="685*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="95*mm" z="20*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="710*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="98*mm" z="20*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="730*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="95*mm" z="1*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="750*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="95*mm" z="1*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="755*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="95*mm" z="1*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="760*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="95*mm" z="1*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="765*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="95*mm" z="1*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="770*mm"/>
</slice>
<slice type="Tubs" rmin="19.5*mm" rmax="95*mm" z="1*mm" phi1="0*deg" phi2="360*deg" material="stainless_steel" vis="LumicalFlangeVis">
<position x="0" y="0*mm" z="775*mm"/>
</slice>
</layer>
<layer name = "LYSO_1st">
<slice dx="3*mm" dy="3*mm" dz="23*mm" material="LYSO" vis="GrayVis" sensitive="yes" limits="5*mm">
<position x="0" y="-12*mm" z="658.5*mm"/>
<rotation x="0" y="0" z="0" />
</slice>
</layer>
<layer name = "LYSO_2nd">
<slice dx="10*mm" dy="10*mm" dz="150*mm" material="LYSO" vis="GrayVis" sensitive="yes" limits="5*mm">
<position x="0" y="-12*mm" z="875*mm"/>
<rotation x="0" y="0" z="0" />
</slice>
</layer>
</detector>
</detectors>
<readouts>
<readout name="LumicalCollection">
<segmentation type="MultiSegmentation" key="module">
<segmentation name="RPCgrid_Si_1st" type="CartesianGridXY" key_value="1" grid_size_x="0.1*mm" grid_size_y="0.1*mm" />
<segmentation name="RPCgrid_Si_2nd" type="CartesianGridXY" key_value="2" grid_size_x="0.1*mm" grid_size_y="0.1*mm" />
<segmentation name="RPCgrid_LYSO_1st" type="CartesianGridXY" key_value="3" grid_size_x="3*mm" grid_size_y="3*mm" />
<segmentation name="RPCgrid_LYSO_2nd" type="CartesianGridXY" key_value="5" grid_size_x="10*mm" grid_size_y="10*mm" />
</segmentation>
<hits_collections>
<hits_collection name="LumicalCollection" key="module" key_value="1"/>
<hits_collection name="LumicalCollection" key="module" key_value="2"/>
<hits_collection name="LumicalCollection" key="module" key_value="3"/>
<hits_collection name="LumicalCollection" key="module" key_value="5"/>
</hits_collections>
<id>system:5,side:-2,stave:-2,module:6,layer:8,slice:8,x:32:-16,y:-16</id>
</readout>
</readouts>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<info name="Muon_Barrel"
title="Test with A Single Muon Barrel"
author="Zibing Bai"
url="http://cepcgit.ihep.ac.cn"
status="development"
version="v01">
<comment>Test with A Single Muon Barrel</comment>
</info>
<define>
<!--Muon Barrel-->
<constant name="Muon_barrel_superlayer_num" value="6"/>
<constant name="Muon_barrel_strip_num_0" value="26"/>
<constant name="Muon_barrel_strip_num_1" value="38"/>
<constant name="Muon_barrel_strip_num_2" value="50"/>
<constant name="Muon_barrel_strip_num_3" value="62"/>
<constant name="Muon_barrel_strip_num_4" value="74"/>
<constant name="Muon_barrel_strip_num_5" value="86"/>
<!--constant name="Muon_barrel_strip_num_6" value="89"/>
<constant name="Muon_barrel_strip_num_7" value="101"/-->
<constant name="Muon_barrel_strip_num_fixed_0" value="106"/>
<constant name="Muon_barrel_strip_num_fixed_1" value="115"/>
<!--constant name="Muon_barrel_iron_x1" value="Muon_standard_scale"/-->
<constant name="Muon_barrel_iron_y" value="Muon_total_length"/>
<constant name="Muon_barrel_iron_z" value="Muon_standard_scale"/>
<constant name="Muon_barrel_iron_posx" value="-1*Muon_standard_scale"/>
<constant name="Muon_barrel_barrel_y" value="Muon_barrel_iron_y"/>
<constant name="Muon_barrel_barrel_posy" value="0.5*Muon_barrel_barrel_y"/>
<constant name="Muon_barrel_superlayer_init" value="-35*cm"/>
<constant name="Muon_barrel_superlayer_gap" value="14*cm"/>
<constant name="Muon_barrel_superlayer_endcap_gap" value="10*cm"/>
<constant name="Muon_barrel_superlayer_air_gap" value="1*cm"/>
<constant name="Muon_barrel_superlayer_aluminum_gap" value="0.5*Muon_barrel_superlayer_air_gap"/>
<constant name="Muon_barrel_superlayer_y" value="2*Muon_strip_y+Muon_barrel_superlayer_air_gap"/>
<!--constant name="Muon_barrel_superlayer_z" value="Muon_strip_z+2*Muon_strip_surf+2*Muon_barrel_superlayer_air_gap"/-->
<!--Checkout-->
<!--constant name="Muon_barrel_inner_radius" value="4245*mm"/-->
<constant name="Muon_barrel_barrel_num" value="2"/>
<constant name="Muon_barrel_iron_part_num" value="12"/>
</define>
<detectors>
<detector id="DetID_MUON" name="MuonBarrel" type="Muon_Barrel_v01_01" readout="MuonBarrelCollection" vis="WhiteVis">
<position x="0" y="0" z="0"/>
<barrel id="Muon_barrel_iron_part_num" name="Muon_barrel_barrel" type="Muon_barrel_barrel" vis="SeeThrough">
<position x="0" y="Muon_barrel_barrel_posy" z="0"/>
<iron id="0" name="Muon_barrel_iron_part" type="Muon_barrel_iron_part" vis="GrayVis" material="Iron">
<material name="Iron"/>
<position x="Muon_barrel_iron_posx" y="0"/>
<dimensions x1="0.5*Muon_barrel_iron_x1" y1="0.5*Muon_barrel_iron_y" y2="0.5*Muon_barrel_iron_y" dz="0.5*Muon_barrel_iron_z"/>
<superlayer id="Muon_barrel_superlayer_num" name="Muon_barrel_superlayer" type="Muon_barrel_superlayer" vis="BlueVis" material="Air">
<aluminum id="0" name="Muon_barrel_superlayer_aluminum" type="Muon_barrel_superlayer_aluminum" vis="RedVis" material="Aluminum">
<material name="Aluminum"/>
<position x="0" y="0" z="0"/>
<stripe id="0" name="Muon_stripe" type="Muon_stripe" vis="GreenVis" material="Air">
<material name="Air"/>
<dimensions dx="0.5*Muon_strip_x" dy="0.5*Muon_strip_y" dz="0.5*Muon_strip_z+Muon_strip_SiPM_z"/>
<component id="0" type="Muon_strip_surface" name="Muon_strip_surface" vis="GreenVis" material="BC420">
<position x="0" y="0" z="0"/>
<dimensions dx="0.5*Muon_strip_surface_x" dy="0.5*Muon_strip_surface_y" dz="0.5*Muon_strip_surface_z"/>
<!--cut name="Muon_strip_cut1" vis="GreenVis" material="Air">
<position x="Muon_strip_cut1_posx" y="Muon_strip_cut1_posy" z="Muon_strip_cut1_posz"/>
<dimensions dx="0.5*Muon_strip_cut1_x" dy="0.5*Muon_strip_cut1_y" dz="0.5*Muon_strip_cut1_z"/>
</cut-->
</component>
<component id="1" type="Muon_strip_scintillator" name="Muon_strip_scintillator" vis="GreenVis" material="BC420">
<position x="0" y="0" z="0"/>
<dimensions dx="0.5*Muon_strip_scintillator_x" dy="0.5*Muon_strip_scintillator_y" dz="0.5*Muon_strip_scintillator_z"/>
<cut name="Muon_strip_cut3" vis="GreenVis" material="Air">
<!--position x="Muon_strip_cut3_posx" y="Muon_strip_cut3_posy" z="Muon_strip_cut3_posz"/-->
<position x="0" y="0" z="0"/>
<dimensions rmin="0" rmax="Muon_strip_cut3_rmax" dz="0.5*Muon_strip_cut3_z"/>
<!--comb name="Muon_strip_cut2" vis="GreenVis" material="Air">
<position x="Muon_strip_cut2_posx" y="Muon_strip_cut2_posy" z="Muon_strip_cut2_posz"/>
<dimensions dx="0.5*Muon_strip_cut2_x" dy="0.5*Muon_strip_cut2_y" dz="0.5*Muon_strip_cut2_z"/>
</comb-->
</cut>
</component>
<fiber id="0" type="Muon_fiber_cladding" name="Muon_fiber_cladding" vis="GreenVis" material="Pethylene1">
<position x="0" y="0" z="0"/>
<dimensions rmin="Muon_fiber_cladding_rmin" rmax="Muon_fiber_cladding_rmax" dz="0.5*Muon_fiber_cladding_z"/>
</fiber>
<fiber id="1" type="Muon_fiber_core" name="Muon_fiber_core" vis="GreenVis" material="Pethylene2">
<position x="0" y="0" z="0"/>
<dimensions rmin="0" rmax="Muon_fiber_core_rmax" dz="0.5*Muon_fiber_core_z"/>
</fiber>
<component id="2" type="Muon_strip_SiPM" name="Muon_strip_SiPM" vis="GreenVis" material="Air">
<position x="Muon_strip_SiPM_posx" y="Muon_strip_SiPM_posy" z="Muon_strip_SiPM_posz"/>
<dimensions dx="0.5*Muon_strip_SiPM_x" dy="0.5*Muon_strip_SiPM_y" dz="0.5*Muon_strip_SiPM_z"/>
</component>
</stripe>
</aluminum>
</superlayer>
</iron>
</barrel>
</detector>
</detectors>
<readouts>
<readout name="MuonBarrelCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,Env:5,Fe:5,Superlayer:4,Layer:2,Stripe:9,SiPM:2</id>
</readout>
</readouts>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<info name="Muon_Barrel"
title="Test with A Single Muon Barrel"
author="Zibing Bai"
url="http://cepcgit.ihep.ac.cn"
status="development"
version="v01">
<comment>Test with A Single Muon Barrel</comment>
</info>
<define>
<!--Muon Barrel-->
<constant name="Muon_barrel_superlayer_num" value="6"/>
<constant name="Muon_barrel_strip_num_0" value="26"/>
<constant name="Muon_barrel_strip_num_1" value="38"/>
<constant name="Muon_barrel_strip_num_2" value="50"/>
<constant name="Muon_barrel_strip_num_3" value="62"/>
<constant name="Muon_barrel_strip_num_4" value="74"/>
<constant name="Muon_barrel_strip_num_5" value="86"/>
<!--constant name="Muon_barrel_strip_num_6" value="89"/>
<constant name="Muon_barrel_strip_num_7" value="101"/-->
<constant name="Muon_barrel_strip_num_fixed_0" value="106"/>
<constant name="Muon_barrel_strip_num_fixed_1" value="115"/>
<!--constant name="Muon_barrel_iron_x1" value="Muon_standard_scale"/-->
<constant name="Muon_barrel_iron_y" value="Muon_total_length"/>
<constant name="Muon_barrel_iron_z" value="Muon_standard_scale"/>
<constant name="Muon_barrel_iron_posx" value="-1*Muon_standard_scale"/>
<constant name="Muon_barrel_barrel_y" value="Muon_barrel_iron_y"/>
<constant name="Muon_barrel_barrel_posy" value="0.5*Muon_barrel_barrel_y"/>
<constant name="Muon_barrel_superlayer_init" value="-35*cm"/>
<constant name="Muon_barrel_superlayer_gap" value="14*cm"/>
<constant name="Muon_barrel_superlayer_endcap_gap" value="10*cm"/>
<constant name="Muon_barrel_superlayer_air_gap" value="1*cm"/>
<constant name="Muon_barrel_superlayer_aluminum_gap" value="0.5*Muon_barrel_superlayer_air_gap"/>
<constant name="Muon_barrel_superlayer_y" value="2*Muon_strip_y+Muon_barrel_superlayer_air_gap"/>
<!--constant name="Muon_barrel_superlayer_z" value="Muon_strip_z+2*Muon_strip_surf+2*Muon_barrel_superlayer_air_gap"/-->
<!--Checkout-->
<!--constant name="Muon_barrel_inner_radius" value="4245*mm"/-->
<constant name="Muon_barrel_barrel_num" value="2"/>
<constant name="Muon_barrel_iron_part_num" value="12"/>
</define>
<detectors>
<detector id="DetID_MUON" name="MuonBarrel" type="Muon_Barrel_v01_03" readout="MuonBarrelCollection" vis="WhiteVis">
<position x="0" y="0" z="0"/>
<barrel id="Muon_barrel_iron_part_num" name="Muon_barrel_barrel" type="Muon_barrel_barrel" vis="SeeThrough">
<position x="0" y="Muon_barrel_barrel_posy" z="0"/>
<iron id="0" name="Muon_barrel_iron_part" type="Muon_barrel_iron_part" vis="GrayVis" material="Iron">
<material name="Iron"/>
<position x="Muon_barrel_iron_posx" y="0"/>
<dimensions x1="0.5*Muon_barrel_iron_x1" y1="0.5*Muon_barrel_iron_y" y2="0.5*Muon_barrel_iron_y" dz="0.5*Muon_barrel_iron_z"/>
<superlayer id="Muon_barrel_superlayer_num" name="Muon_barrel_superlayer" type="Muon_barrel_superlayer" vis="BlueVis" material="Air">
<stripe id="0" name="Muon_stripe" type="Muon_stripe" vis="GreenVis" material="Air">
<material name="Air"/>
<dimensions dx="0.5*Muon_strip_x" dy="0.5*Muon_strip_y" dz="0.5*Muon_strip_z+Muon_strip_SiPM_z"/>
<component id="0" type="Muon_strip_surface" name="Muon_strip_surface" vis="GreenVis" material="BC420">
<position x="0" y="0" z="0"/>
<dimensions dx="0.5*Muon_strip_surface_x" dy="0.5*Muon_strip_surface_y" dz="0.5*Muon_strip_surface_z"/>
<!--cut name="Muon_strip_cut1" vis="GreenVis" material="Air">
<position x="Muon_strip_cut1_posx" y="Muon_strip_cut1_posy" z="Muon_strip_cut1_posz"/>
<dimensions dx="0.5*Muon_strip_cut1_x" dy="0.5*Muon_strip_cut1_y" dz="0.5*Muon_strip_cut1_z"/>
</cut-->
</component>
<component id="1" type="Muon_strip_scintillator" name="Muon_strip_scintillator" vis="GreenVis" material="BC420">
<position x="0" y="0" z="0"/>
<dimensions dx="0.5*Muon_strip_scintillator_x" dy="0.5*Muon_strip_scintillator_y" dz="0.5*Muon_strip_scintillator_z"/>
<cut name="Muon_strip_cut3" vis="GreenVis" material="Air">
<!--position x="Muon_strip_cut3_posx" y="Muon_strip_cut3_posy" z="Muon_strip_cut3_posz"/-->
<position x="0" y="0" z="0"/>
<dimensions rmin="0" rmax="Muon_strip_cut3_rmax" dz="0.5*Muon_strip_cut3_z"/>
<!--comb name="Muon_strip_cut2" vis="GreenVis" material="Air">
<position x="Muon_strip_cut2_posx" y="Muon_strip_cut2_posy" z="Muon_strip_cut2_posz"/>
<dimensions dx="0.5*Muon_strip_cut2_x" dy="0.5*Muon_strip_cut2_y" dz="0.5*Muon_strip_cut2_z"/>
</comb-->
</cut>
</component>
<component id="2" type="Muon_strip_SiPM" name="Muon_strip_SiPM" vis="GreenVis" material="Air">
<position x="Muon_strip_SiPM_posx" y="Muon_strip_SiPM_posy" z="Muon_strip_SiPM_posz"/>
<dimensions dx="0.5*Muon_strip_SiPM_x" dy="0.5*Muon_strip_SiPM_y" dz="0.5*Muon_strip_SiPM_z"/>
</component>
</stripe>
</superlayer>
</iron>
</barrel>
</detector>
</detectors>
<readouts>
<readout name="MuonBarrelCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,Env:5,Fe:5,Superlayer:5,Layer:5,Stripe:9</id>
</readout>
</readouts>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<info name="Muon_Barrel"
title="Test with A Single Muon Barrel"
author="Zibing Bai"
url="http://cepcgit.ihep.ac.cn"
status="development"
version="v01">
<comment>Test with A Single Muon Barrel</comment>
</info>
<define>
<!--Muon Barrel-->
<constant name="Muon_barrel_superlayer_num" value="6"/>
<constant name="Muon_barrel_strip_num_0" value="26"/>
<constant name="Muon_barrel_strip_num_1" value="38"/>
<constant name="Muon_barrel_strip_num_2" value="50"/>
<constant name="Muon_barrel_strip_num_3" value="62"/>
<constant name="Muon_barrel_strip_num_4" value="74"/>
<constant name="Muon_barrel_strip_num_5" value="86"/>
<!--constant name="Muon_barrel_strip_num_6" value="89"/>
<constant name="Muon_barrel_strip_num_7" value="101"/-->
<constant name="Muon_barrel_strip_num_fixed_0" value="106"/>
<constant name="Muon_barrel_strip_num_fixed_1" value="115"/>
<!--constant name="Muon_barrel_iron_x1" value="Muon_standard_scale"/-->
<constant name="Muon_barrel_iron_y" value="Muon_total_length"/>
<constant name="Muon_barrel_iron_z" value="Muon_standard_scale"/>
<constant name="Muon_barrel_iron_posx" value="-1*Muon_standard_scale"/>
<constant name="Muon_barrel_barrel_y" value="Muon_barrel_iron_y"/>
<constant name="Muon_barrel_barrel_posy" value="0.5*Muon_barrel_barrel_y"/>
<constant name="Muon_barrel_superlayer_init" value="-35*cm"/>
<constant name="Muon_barrel_superlayer_gap" value="14*cm"/>
<constant name="Muon_barrel_superlayer_endcap_gap" value="10*cm"/>
<constant name="Muon_barrel_superlayer_air_gap" value="1*cm"/>
<constant name="Muon_barrel_superlayer_length_0" value="4275*mm"/>
<constant name="Muon_barrel_superlayer_length_1" value="4625*mm"/>
<constant name="Muon_barrel_strip_width_fixed" value="20*mm"/>
<constant name="Muon_barrel_superlayer_y" value="2*Muon_strip_y+Muon_barrel_superlayer_air_gap"/>
<!--constant name="Muon_barrel_superlayer_z" value="Muon_strip_z+2*Muon_strip_surf+2*Muon_barrel_superlayer_air_gap"/-->
<!--Checkout-->
<!--constant name="Muon_barrel_inner_radius" value="4245*mm"/-->
<constant name="Muon_barrel_barrel_num" value="2"/>
<constant name="Muon_barrel_iron_part_num" value="12"/>
</define>
<detectors>
<detector id="DetID_MUON" name="MuonBarrel" type="Muon_Barrel_v01_04" readout="MuonBarrelCollection" vis="WhiteVis">
<position x="0" y="0" z="0"/>
<barrel id="Muon_barrel_iron_part_num" name="Muon_barrel_barrel" type="Muon_barrel_barrel" vis="SeeThrough">
<position x="0" y="Muon_barrel_barrel_posy" z="0"/>
<iron id="0" name="Muon_barrel_iron_part" type="Muon_barrel_iron_part" vis="GrayVis" material="Iron">
<material name="Iron"/>
<position x="Muon_barrel_iron_posx" y="0"/>
<dimensions x1="0.5*Muon_barrel_iron_x1" y1="0.5*Muon_barrel_iron_y" y2="0.5*Muon_barrel_iron_y" dz="0.5*Muon_barrel_iron_z"/>
<superlayer id="Muon_barrel_superlayer_num" name="Muon_barrel_superlayer" type="Muon_barrel_superlayer" vis="BlueVis" material="Air">
<stripe id="0" name="Muon_stripe" type="Muon_stripe" vis="GreenVis" material="BC420">
<material name="BC420"/>
<dimensions dx="0.5*Muon_strip_x" dy="0.5*Muon_strip_y" dz="0.5*Muon_strip_z+Muon_strip_SiPM_z"/>
</stripe>
</superlayer>
</iron>
</barrel>
</detector>
</detectors>
<readouts>
<readout name="MuonBarrelCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,Env:5,Fe:5,Superlayer:5,Layer:5,Stripe:9</id>
</readout>
</readouts>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<info name="Muon_Endcap"
title="Test with Two Single Muon Endcaps"
author="Zibing Bai"
url="http://cepcgit.ihep.ac.cn"
status="development"
version="v01">
<comment>Test with Two Single Muon Endcaps</comment>
</info>
<define>
<!--Muon Endcap-->
<constant name="Muon_endcap_part_num" value="4"/>
<constant name="Muon_endcap_superlayer_num" value="6"/>
<constant name="Muon_endcap_iron_gap_num" value="Muon_endcap_superlayer_num+1"/>
<constant name="Muon_endcap_layer_num" value="2"/>
<constant name="Muon_endcap_strip_num" value="146"/>
<constant name="Muon_endcap_strip_num_cut" value="13"/>
<constant name="Muon_endcap_endcap_rmin" value="52*cm"/>
<constant name="Muon_endcap_magnification" value="1.02"/>
<constant name="Muon_endcap_iron_gap" value="12.5*cm"/>
<constant name="Muon_endcap_endcap_z" value="Muon_endcap_iron_gap_num*Muon_endcap_iron_gap+2*Muon_endcap_superlayer_num*Muon_strip_y"/>
<constant name="Muon_endcap_endcap_posy" value="0.5*Muon_total_length+0.5*Muon_endcap_endcap_z"/>
</define>
<detectors>
<detector id="DetID_MUON_ENDCAP" name="Muon_Endcap_v01_01" type="Muon_Endcap_v01_01" readout="MuonEndcapCollection" vis="GrayVis" material="Iron">
<material name="Iron"/>
<position x="0" y="Muon_endcap_endcap_posy" z="0"/>
<dimensions rmin="Muon_endcap_endcap_rmin" dz="0.5*Muon_endcap_endcap_z"/>
<stripe id="0" name="Muon_stripe" type="Muon_stripe" vis="GreenVis" material="Air">
<material name="Air"/>
<dimensions dx="0.5*Muon_strip_x" dy="0.5*Muon_strip_y" dz="0.5*Muon_strip_z+Muon_strip_SiPM_z"/>
<component id="0" type="Muon_strip_surface" name="Muon_strip_surface" vis="GreenVis" material="BC420">
<position x="0" y="0" z="0"/>
<dimensions dx="0.5*Muon_strip_surface_x" dy="0.5*Muon_strip_surface_y" dz="0.5*Muon_strip_surface_z"/>
<!--cut name="Muon_strip_cut1" vis="GreenVis" material="Air">
<position x="Muon_strip_cut1_posx" y="Muon_strip_cut1_posy" z="Muon_strip_cut1_posz"/>
<dimensions dx="0.5*Muon_strip_cut1_x" dy="0.5*Muon_strip_cut1_y" dz="0.5*Muon_strip_cut1_z"/>
</cut-->
</component>
<component id="1" type="Muon_strip_scintillator" name="Muon_strip_scintillator" vis="GreenVis" material="BC420">
<position x="0" y="0" z="0"/>
<dimensions dx="0.5*Muon_strip_scintillator_x" dy="0.5*Muon_strip_scintillator_y" dz="0.5*Muon_strip_scintillator_z"/>
<cut name="Muon_strip_cut3" vis="GreenVis" material="Air">
<!--position x="Muon_strip_cut3_posx" y="Muon_strip_cut3_posy" z="Muon_strip_cut3_posz"/-->
<position x="0" y="0" z="0"/>
<dimensions rmin="0" rmax="Muon_strip_cut3_rmax" dz="0.5*Muon_strip_cut3_z"/>
<!--comb name="Muon_strip_cut2" vis="GreenVis" material="Air">
<position x="Muon_strip_cut2_posx" y="Muon_strip_cut2_posy" z="Muon_strip_cut2_posz"/>
<dimensions dx="0.5*Muon_strip_cut2_x" dy="0.5*Muon_strip_cut2_y" dz="0.5*Muon_strip_cut2_z"/>
</comb-->
</cut>
</component>
<fiber id="0" type="Muon_fiber_cladding" name="Muon_fiber_cladding" vis="GreenVis" material="Pethylene1">
<position x="0" y="0" z="0"/>
<dimensions rmin="Muon_fiber_cladding_rmin" rmax="Muon_fiber_cladding_rmax" dz="0.5*Muon_fiber_cladding_z"/>
</fiber>
<fiber id="1" type="Muon_fiber_core" name="Muon_fiber_core" vis="GreenVis" material="Pethylene2">
<position x="0" y="0" z="0"/>
<dimensions rmin="0" rmax="Muon_fiber_core_rmax" dz="0.5*Muon_fiber_core_z"/>
</fiber>
<component id="2" type="Muon_strip_SiPM" name="Muon_strip_SiPM" vis="GreenVis" material="Air">
<position x="Muon_strip_SiPM_posx" y="Muon_strip_SiPM_posy" z="Muon_strip_SiPM_posz"/>
<dimensions dx="0.5*Muon_strip_SiPM_x" dy="0.5*Muon_strip_SiPM_y" dz="0.5*Muon_strip_SiPM_z"/>
</component>
</stripe>
</detector>
</detectors>
<readouts>
<readout name="MuonEndcapCollection">
<segmentation type="NoSegmentation"/>
<id>system:5,Env:5,Endcap:2,Superlayer:15:4,Layer:2,Stripe:9,SiPM:2</id>
<!--id>Endcap:2,Superlayer:2,Env:2,Layer:2,Stripe:10:3,SiPM:2</id-->
</readout>
</readouts>
</lccdd>