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
  • EIC/detectors/athena
  • zwzhao/athena
  • FernandoTA/athena
  • palspeic/athena
4 results
Show changes
Showing
with 1680 additions and 74 deletions
<lccdd>
<include ref="fake_dirc.xml"/>
<!--include ref="dirc.xml"/-->
<include ref="mrich.xml"/>
<include ref="drich.xml"/>
</lccdd>
<lccdd>
<include ref="fake_dirc.xml"/>
<!--include ref="dirc.xml"/-->
<include ref="drich.xml"/>
<include ref="pfrich.xml"/>
</lccdd>
<lccdd>
<include ref="fake_dirc.xml"/>
<!--include ref="dirc.xml"/-->
<include ref="drich.xml"/>
<include ref="pfrich.xml"/>
<!--include ref="tof_endcap.xml"/-->
<include ref="tof_barrel.xml"/>
</lccdd>
...@@ -7,129 +7,336 @@ ...@@ -7,129 +7,336 @@
-------------------------- --------------------------
</comment> </comment>
<comment>Solenoid Barrel Parameters</comment> <comment>Solenoid Barrel Parameters</comment>
<constant name="SolenoidBarrelCryostatThickness" value=" 1.0 * cm"/> <constant name="SolenoidBarrelInnerVacuumVesselThickness" value=" 20.0 * mm"/>
<constant name="SolenoidBarrelGapThickness" value=" 3.3 * cm"/> <constant name="SolenoidBarrelInnerSecondMLILayerThickness" value=" 20.0 * mm"/>
<constant name="SolenoidBarrelAlConductorThickness" value="12.0 * cm"/> <constant name="SolenoidBarrelInnerThermalShieldThickness" value=" 10.0 * mm"/>
<constant name="SolenoidBarrelQuenchbackThickness" value=" 1.5 * cm"/> <constant name="SolenoidBarrelInnerFirstMLILayerThickness" value=" 15.0 * mm"/>
<constant name="SolenoidBarrelOuterGapThickness" value=" 5.6 * cm"/> <constant name="SolenoidBarrelInnerHeliumVesselThickness" value=" 15.0 * mm"/>
<constant name="SolenoidBarrelOuterCryostatThickness" value=" 1.2 * cm"/> <constant name="SolenoidBarrelInnerHeliumThickness" value=" 10.0 * mm"/>
<constant name="SolenoidEndPlateGapThickness" value=" 5.7 * cm"/> <constant name="SolenoidBarrelCoilFormerThickness" value=" 10.0 * mm"/>
<constant name="SolenoidEndPlateCryostatThickness" value=" 1.5 * cm"/> <constant name="SolenoidBarrelCoilThickness" value="210.0 * mm"/>
<constant name="SolenoidBarrelCoilOverbindThickness" value=" 50.0 * mm"/>
<constant name="SolenoidBarrelOuterHeliumThickness" value=" 15.0 * mm"/>
<constant name="SolenoidBarrelOuterHeliumVesselThickness" value=" 10.0 * mm"/>
<constant name="SolenoidBarrelOuterFirstMLILayerThickness" value=" 15.0 * mm"/>
<constant name="SolenoidBarrelOuterThermalShieldThickness" value=" 10.0 * mm"/>
<constant name="SolenoidBarrelOuterSecondMLILayerThickness" value=" 20.0 * mm"/>
<constant name="SolenoidBarrelOuterVacuumVesselThickness" value=" 25.0 * mm"/>
<comment> Solenoid Yoke Endcap </comment> <constant name="SolenoidBarrelInnerVacuumVessel_zmax" value="1920.0 * mm"/>
<constant name="SolenoidYokeEndcap_thickness" value="0.2 * m"/> <constant name="SolenoidBarrelInnerSecondMLILayer_zmax" value="1895.0 * mm"/>
<constant name="SolenoidBarrelInnerThermalShield_zmax" value="1875.0 * mm"/>
<constant name="SolenoidBarrelInnerFirstMLILayer_zmax" value="1855.0 * mm"/>
<constant name="SolenoidBarrelInnerHeliumVessel_zmax" value="1840.0 * mm"/>
<constant name="SolenoidBarrelInnerHelium_zmax" value="1820.0 * mm"/>
<constant name="SolenoidBarrelCoilFormer_zmax" value="1800.0 * mm"/>
<constant name="SolenoidBarrelCoil_zmax" value="1800.0 * mm"/>
<constant name="SolenoidBarrelCoilOverbind_zmax" value="1800.0 * mm"/>
<constant name="SolenoidBarrelOuterHelium_zmax" value="1820.0 * mm"/>
<constant name="SolenoidBarrelOuterHeliumVessel_zmax" value="1840.0 * mm"/>
<constant name="SolenoidBarrelOuterFirstMLILayer_zmax" value="1855.0 * mm"/>
<constant name="SolenoidBarrelOuterThermalShield_zmax" value="1875.0 * mm"/>
<constant name="SolenoidBarrelOuterSecondMLILayer_zmax" value="1895.0 * mm"/>
<constant name="SolenoidBarrelOuterVacuumVessel_zmax" value="1920.0 * mm"/>
<constant name="SolenoidBarrelInnerVacuumVessel_rmin" value="SolenoidBarrel_rmin"/>
<constant name="SolenoidCoilConductor_rmin" value="SolenoidBarrel_rmin + SolenoidBarrelCryostatThickness + SolenoidBarrelGapThickness"/> <constant name="SolenoidBarrelInnerVacuumVessel_rmax" value="SolenoidBarrelInnerVacuumVessel_rmin + SolenoidBarrelInnerVacuumVesselThickness"/>
<constant name="SolenoidCoilConductor_rmax" value="SolenoidCoilConductor_rmin + SolenoidBarrelAlConductorThickness + SolenoidBarrelQuenchbackThickness"/> <constant name="SolenoidBarrelInnerSecondMLILayer_rmin" value="SolenoidBarrelInnerVacuumVessel_rmax"/>
<constant name="SolenoidBarrelInnerSecondMLILayer_rmax" value="SolenoidBarrelInnerSecondMLILayer_rmin + SolenoidBarrelInnerSecondMLILayerThickness"/>
<constant name="SolenoidBarrel_rmax" value="SolenoidCoilConductor_rmax + SolenoidBarrelOuterGapThickness + SolenoidBarrelOuterCryostatThickness"/> <constant name="SolenoidBarrelInnerThermalShield_rmin" value="SolenoidBarrelInnerSecondMLILayer_rmax"/>
<constant name="SolenoidBarrelInnerThermalShield_rmax" value="SolenoidBarrelInnerThermalShield_rmin + SolenoidBarrelInnerThermalShieldThickness"/>
<constant name="SolenoidCoil_zmax" <constant name="SolenoidBarrelInnerFirstMLILayer_rmin" value="SolenoidBarrelInnerThermalShield_rmax"/>
value="SolenoidBarrel_zmax - SolenoidEndPlateCryostatThickness - SolenoidEndPlateGapThickness"/> <constant name="SolenoidBarrelInnerFirstMLILayer_rmax" value="SolenoidBarrelInnerFirstMLILayer_rmin + SolenoidBarrelInnerFirstMLILayerThickness"/>
<constant name="SolenoidBarrelInnerHeliumVessel_rmin" value="SolenoidBarrelInnerFirstMLILayer_rmax"/>
<constant name="SolenoidBarrelInnerHeliumVessel_rmax" value="SolenoidBarrelInnerHeliumVessel_rmin + SolenoidBarrelInnerHeliumVesselThickness"/>
<constant name="SolenoidBarrelInnerHelium_rmin" value="SolenoidBarrelInnerHeliumVessel_rmax"/>
<constant name="SolenoidBarrelInnerHelium_rmax" value="SolenoidBarrelInnerHelium_rmin + SolenoidBarrelInnerHeliumThickness"/>
<constant name="SolenoidBarrelCoilFormer_rmin" value="SolenoidBarrelInnerHelium_rmax"/>
<constant name="SolenoidBarrelCoilFormer_rmax" value="SolenoidBarrelCoilFormer_rmin + SolenoidBarrelCoilFormerThickness"/>
<constant name="SolenoidBarrelCoil_rmin" value="SolenoidBarrelCoilFormer_rmax"/>
<constant name="SolenoidBarrelCoil_rmax" value="SolenoidBarrelCoil_rmin + SolenoidBarrelCoilThickness"/>
<constant name="SolenoidBarrelCoilOverbind_rmin" value="SolenoidBarrelCoil_rmax"/>
<constant name="SolenoidBarrelCoilOverbind_rmax" value="SolenoidBarrelCoilOverbind_rmin + SolenoidBarrelCoilOverbindThickness"/>
<constant name="SolenoidBarrelOuterHelium_rmin" value="SolenoidBarrelCoilOverbind_rmax"/>
<constant name="SolenoidBarrelOuterHelium_rmax" value="SolenoidBarrelOuterHelium_rmin + SolenoidBarrelOuterHeliumThickness"/>
<constant name="SolenoidBarrelOuterHeliumVessel_rmin" value="SolenoidBarrelOuterHelium_rmax"/>
<constant name="SolenoidBarrelOuterHeliumVessel_rmax" value="SolenoidBarrelOuterHeliumVessel_rmin + SolenoidBarrelOuterHeliumVesselThickness"/>
<constant name="SolenoidBarrelOuterFirstMLILayer_rmin" value="SolenoidBarrelOuterHeliumVessel_rmax"/>
<constant name="SolenoidBarrelOuterFirstMLILayer_rmax" value="SolenoidBarrelOuterFirstMLILayer_rmin + SolenoidBarrelOuterFirstMLILayerThickness"/>
<constant name="SolenoidBarrelOuterThermalShield_rmin" value="SolenoidBarrelOuterFirstMLILayer_rmax"/>
<constant name="SolenoidBarrelOuterThermalShield_rmax" value="SolenoidBarrelOuterThermalShield_rmin + SolenoidBarrelOuterThermalShieldThickness"/>
<constant name="SolenoidBarrelOuterSecondMLILayer_rmin" value="SolenoidBarrelOuterThermalShield_rmax"/>
<constant name="SolenoidBarrelOuterSecondMLILayer_rmax" value="SolenoidBarrelOuterSecondMLILayer_rmin + SolenoidBarrelOuterSecondMLILayerThickness"/>
<constant name="SolenoidBarrelOuterVacuumVessel_rmin" value="SolenoidBarrelOuterSecondMLILayer_rmax"/>
<constant name="SolenoidBarrelOuterVacuumVessel_rmax" value="SolenoidBarrelOuterVacuumVessel_rmin + SolenoidBarrelOuterVacuumVesselThickness"/>
<constant name="SolenoidalFieldRadius" <constant name="SolenoidalFieldRadius"
value="SolenoidCoilConductor_rmin + SolenoidBarrelAlConductorThickness / 2.0"/> value="(SolenoidBarrelCoil_rmin + SolenoidBarrelCoil_rmax) / 2.0"/>
<constant name="SolenoidCoil_length" value="SolenoidCoil_zmax*2.0"/>
<constant name="SolenoidYokeEndcapP_rmin" value="SolenoidBarrel_rmin"/> <comment> Solenoid Endcap </comment>
<constant name="SolenoidYokeEndcapN_rmin" value="SolenoidBarrel_rmin"/> <comment>At the center, the end caps are outside the barrels</comment>
<constant name="SolenoidYokeEndcapP_zmax" value="SolenoidYokeEndcapP_zmin + SolenoidYokeEndcap_thickness"/> <constant name="SolenoidEndcapCoilEndSupport_rmin" value="SolenoidBarrelCoilFormer_rmin"/>
<constant name="SolenoidYokeEndcapN_zmax" value="SolenoidYokeEndcapN_zmin + SolenoidYokeEndcap_thickness"/> <constant name="SolenoidEndcapCoilEndSupport_rmax" value="SolenoidBarrelCoilOverbind_rmax"/>
<constant name="SolenoidEndcapHelium_rmin" value="SolenoidBarrelInnerHelium_rmin"/>
<constant name="SolenoidEndcapHelium_rmax" value="SolenoidBarrelOuterHelium_rmax"/>
<constant name="SolenoidEndcapHeliumVessel_rmin" value="SolenoidBarrelInnerHeliumVessel_rmin"/>
<constant name="SolenoidEndcapHeliumVessel_rmax" value="SolenoidBarrelOuterHeliumVessel_rmax"/>
<constant name="SolenoidEndcapFirstMLILayer_rmin" value="SolenoidBarrelInnerFirstMLILayer_rmin"/>
<constant name="SolenoidEndcapFirstMLILayer_rmax" value="SolenoidBarrelOuterFirstMLILayer_rmax"/>
<comment>Below here, the end caps are inside the barrels</comment>
<constant name="SolenoidEndcapThermalShield_rmin" value="SolenoidBarrelInnerThermalShield_rmax"/>
<constant name="SolenoidEndcapThermalShield_rmax" value="SolenoidBarrelOuterThermalShield_rmin"/>
<constant name="SolenoidEndcapSecondMLILayer_rmin" value="SolenoidBarrelInnerSecondMLILayer_rmax"/>
<constant name="SolenoidEndcapSecondMLILayer_rmax" value="SolenoidBarrelOuterSecondMLILayer_rmin"/>
<constant name="SolenoidEndcapVacuumVessel_rmin" value="SolenoidBarrelInnerVacuumVessel_rmax"/>
<constant name="SolenoidEndcapVacuumVessel_rmax" value="SolenoidBarrelOuterVacuumVessel_rmin"/>
<constant name="SolenoidYokeChamferAngle" value="0.2"/> <constant name="SolenoidEndcapCoilEndSupport_zmin" value="1800.0 * mm"/>
<constant name="SolenoidEndcapHelium_zmin" value="1820.0 * mm"/>
<constant name="SolenoidEndcapHeliumVessel_zmin" value="1840.0 * mm"/>
<constant name="SolenoidEndcapFirstMLILayer_zmin" value="1855.0 * mm"/>
<constant name="SolenoidEndcapThermalShield_zmin" value="1865.0 * mm"/>
<constant name="SolenoidEndcapSecondMLILayer_zmin" value="1875.0 * mm"/>
<constant name="SolenoidEndcapVacuumVessel_zmin" value="1895.0 * mm"/>
<constant name="SolenoidEndcapCoilEndSupportThickness" value="20.0 * mm"/>
<constant name="SolenoidEndcapHeliumThickness" value="20.0 * mm"/>
<constant name="SolenoidEndcapHeliumVesselThickness" value="10.0 * mm"/>
<constant name="SolenoidEndcapFirstMLILayerThickness" value="10.0 * mm"/>
<constant name="SolenoidEndcapThermalShieldThickness" value="10.0 * mm"/>
<constant name="SolenoidEndcapSecondMLILayerThickness" value="20.0 * mm"/>
<constant name="SolenoidEndcapVacuumVesselThickness" value="25.0 * mm"/>
</define> </define>
<detectors> <detectors>
<comment> <documentation level="6">
--------------- ### Solenoid Magnet
Solenoid Magnet
--------------- ---------------
The solenoid superconducting magnet and surrounding cryostat and The solenoid superconducting magnet and surrounding cryostat and
yoke endcaps. yoke endcaps.
</comment> </documentation>
<detector <detector
id="Solenoid_ID" id="Solenoid_ID"
name="SolenoidCoilBarrel" name="SolenoidCoilBarrel"
type="refdet_SolenoidCoil" type="athena_SolenoidCoil"
insideTrackingVolume="false"> insideTrackingVolume="false">
<position x="0" y="0" z="Solenoid_offset"/> <position x="0" y="0" z="Solenoid_offset"/>
<layer id="1" <layer id="1"
inner_r="Solenoid_rmin" inner_r="SolenoidBarrelInnerVacuumVessel_rmin"
outer_z="SolenoidBarrel_zmax" outer_z="SolenoidBarrelInnerVacuumVessel_zmax"
vis="SolenoidCryostatVis"> vis="SolenoidCryostatVis">
<slice material="Steel235" thickness="SolenoidBarrelCryostatThickness"/> <slice material="Steel235" thickness="SolenoidBarrelInnerVacuumVesselThickness"/>
<slice material="Vacuum" thickness="SolenoidBarrelGapThickness"/>
</layer> </layer>
<layer id="2" <layer id="2"
inner_r="SolenoidCoilConductor_rmin" inner_r="SolenoidBarrelInnerSecondMLILayer_rmin"
outer_z="SolenoidCoil_zmax" outer_z="SolenoidBarrelInnerSecondMLILayer_zmax"
vis="SolenoidCoilVis"> vis="SolenoidCryostatVis">
<slice material="Aluminum" thickness="SolenoidBarrelAlConductorThickness"/> <slice material="MylarMLI" thickness="SolenoidBarrelInnerSecondMLILayerThickness"/>
<slice material="Aluminum" thickness="SolenoidBarrelQuenchbackThickness"/>
</layer> </layer>
<layer id="3" <layer id="3"
inner_r="SolenoidCoilConductor_rmax" inner_r="SolenoidBarrelInnerThermalShield_rmin"
outer_z="SolenoidBarrel_zmax" outer_z="SolenoidBarrelInnerThermalShield_zmax"
vis="SolenoidCryostatVis">
<slice material="Copper" thickness="SolenoidBarrelInnerThermalShieldThickness"/>
</layer>
<layer id="4"
inner_r="SolenoidBarrelInnerFirstMLILayer_rmin"
outer_z="SolenoidBarrelInnerFirstMLILayer_zmax"
vis="SolenoidCryostatVis">
<slice material="MylarMLI" thickness="SolenoidBarrelInnerFirstMLILayerThickness"/>
</layer>
<layer id="5"
inner_r="SolenoidBarrelInnerHeliumVessel_rmin"
outer_z="SolenoidBarrelInnerHeliumVessel_zmax"
vis="SolenoidCryostatVis">
<slice material="Steel235" thickness="SolenoidBarrelInnerHeliumVesselThickness"/>
</layer>
<layer id="6"
inner_r="SolenoidBarrelInnerHelium_rmin"
outer_z="SolenoidBarrelInnerHelium_zmax"
vis="SolenoidCryostatVis">
<slice material="Helium" thickness="SolenoidBarrelInnerHeliumThickness"/>
</layer>
<layer id="7"
inner_r="SolenoidBarrelCoilFormer_rmin"
outer_z="SolenoidBarrelCoilFormer_zmax"
vis="SolenoidCryostatVis">
<slice material="Aluminum" thickness="SolenoidBarrelCoilFormerThickness"/>
</layer>
<layer id="8"
inner_r="SolenoidBarrelCoil_rmin"
outer_z="SolenoidBarrelCoil_zmax"
vis="SolenoidCryostatVis">
<slice material="Aluminum" thickness="SolenoidBarrelCoilThickness"/>
</layer>
<layer id="9"
inner_r="SolenoidBarrelCoilOverbind_rmin"
outer_z="SolenoidBarrelCoilOverbind_zmax"
vis="SolenoidCryostatVis">
<slice material="Aluminum" thickness="SolenoidBarrelCoilOverbindThickness"/>
</layer>
<layer id="10"
inner_r="SolenoidBarrelOuterHelium_rmin"
outer_z="SolenoidBarrelOuterHelium_zmax"
vis="SolenoidCryostatVis">
<slice material="Helium" thickness="SolenoidBarrelOuterHeliumThickness"/>
</layer>
<layer id="11"
inner_r="SolenoidBarrelOuterHeliumVessel_rmin"
outer_z="SolenoidBarrelOuterHeliumVessel_zmax"
vis="SolenoidCryostatVis"> vis="SolenoidCryostatVis">
<slice material="Vacuum" thickness="SolenoidBarrelOuterGapThickness"/> <slice material="Steel235" thickness="SolenoidBarrelOuterHeliumVesselThickness"/>
<slice material="Steel235" thickness="SolenoidBarrelOuterCryostatThickness"/> </layer>
<layer id="12"
inner_r="SolenoidBarrelOuterFirstMLILayer_rmin"
outer_z="SolenoidBarrelOuterFirstMLILayer_zmax"
vis="SolenoidCryostatVis">
<slice material="MylarMLI" thickness="SolenoidBarrelOuterFirstMLILayerThickness"/>
</layer>
<layer id="13"
inner_r="SolenoidBarrelOuterThermalShield_rmin"
outer_z="SolenoidBarrelOuterThermalShield_zmax"
vis="SolenoidCryostatVis">
<slice material="Copper" thickness="SolenoidBarrelOuterThermalShieldThickness"/>
</layer>
<layer id="14"
inner_r="SolenoidBarrelOuterSecondMLILayer_rmin"
outer_z="SolenoidBarrelOuterSecondMLILayer_zmax"
vis="SolenoidCryostatVis">
<slice material="MylarMLI" thickness="SolenoidBarrelOuterSecondMLILayerThickness"/>
</layer>
<layer id="15"
inner_r="SolenoidBarrelOuterVacuumVessel_rmin"
outer_z="SolenoidBarrelOuterVacuumVessel_zmax"
vis="SolenoidCryostatVis">
<slice material="Steel235" thickness="SolenoidBarrelOuterVacuumVesselThickness"/>
</layer> </layer>
</detector> </detector>
<detector <detector
id="SolenoidSupport_ID" id="Solenoid_ID"
name="SolenoidCoilEnds" name="SolenoidCoilEndcapP"
type="ref_SolenoidEndcap" type="ref_SolenoidEndcap"
insideTrackingVolume="false" insideTrackingVolume="false"
reflect="true" reflect="false"
vis="SolenoidCryostatVis"> vis="SolenoidCryostatVis">
<position x="0" y="0" z="Solenoid_offset"/> <position x="0" y="0" z="Solenoid_offset"/>
<layer id="1" <layer id="1"
inner_z="SolenoidCoil_zmax" inner_z="SolenoidEndcapCoilEndSupport_zmin"
inner_r="SolenoidCoilConductor_rmin" inner_r="SolenoidEndcapCoilEndSupport_rmin"
outer_r="SolenoidCoilConductor_rmax"> outer_r="SolenoidEndcapCoilEndSupport_rmax">
<slice material="Vacuum" thickness="SolenoidEndPlateGapThickness/2.0"/> <slice material="Aluminum" thickness="SolenoidEndcapCoilEndSupportThickness"/>
</layer> </layer>
<!--
<layer id="2" <layer id="2"
inner_z="SolenoidCoil_zmax + SolenoidEndPlateGapThickness" inner_z="SolenoidEndcapHelium_zmin"
inner_r="Solenoid_rmin+SolenoidBarrelCryostatThickness" inner_r="SolenoidEndcapHelium_rmin"
outer_r="SolenoidBarrel_rmax-SolenoidBarrelOuterCryostatThickness"> outer_r="SolenoidEndcapHelium_rmax">
<slice material="Steel235" thickness="SolenoidEndPlateCryostatThickness"/> <slice material="Helium" thickness="SolenoidEndcapHeliumThickness"/>
</layer>
<layer id="3"
inner_z="SolenoidEndcapHeliumVessel_zmin"
inner_r="SolenoidEndcapHeliumVessel_rmin"
outer_r="SolenoidEndcapHeliumVessel_rmax">
<slice material="Steel235" thickness="SolenoidEndcapHeliumVesselThickness"/>
</layer>
<layer id="4"
inner_z="SolenoidEndcapFirstMLILayer_zmin"
inner_r="SolenoidEndcapFirstMLILayer_rmin"
outer_r="SolenoidEndcapFirstMLILayer_rmax">
<slice material="MylarMLI" thickness="SolenoidEndcapFirstMLILayerThickness"/>
</layer>
<layer id="5"
inner_z="SolenoidEndcapThermalShield_zmin"
inner_r="SolenoidEndcapThermalShield_rmin"
outer_r="SolenoidEndcapThermalShield_rmax">
<slice material="Copper" thickness="SolenoidEndcapThermalShieldThickness"/>
</layer>
<layer id="6"
inner_z="SolenoidEndcapSecondMLILayer_zmin"
inner_r="SolenoidEndcapSecondMLILayer_rmin"
outer_r="SolenoidEndcapSecondMLILayer_rmax">
<slice material="MylarMLI" thickness="SolenoidEndcapSecondMLILayerThickness"/>
</layer>
<layer id="7"
inner_z="SolenoidEndcapVacuumVessel_zmin"
inner_r="SolenoidEndcapVacuumVessel_rmin"
outer_r="SolenoidEndcapVacuumVessel_rmax">
<slice material="Steel235" thickness="SolenoidEndcapVacuumVesselThickness"/>
</layer> </layer>
-->
</detector> </detector>
<detector <detector
id="SolenoidYoke_ID" id="Solenoid_ID"
name="SolenoidYokeEndcaps" name="SolenoidCoilEndcapN"
type="ref_SolenoidEndcap" type="ref_SolenoidEndcap"
insideTrackingVolume="false" insideTrackingVolume="false"
reflect="true" reflect="true"
vis="SolenoidYokeVis"> vis="SolenoidCryostatVis">
<position x="0" y="0" z="Solenoid_offset"/> <position x="0" y="0" z="Solenoid_offset"/>
<layer id="1" <layer id="1"
vis="PurpleVis" inner_z="SolenoidEndcapCoilEndSupport_zmin"
inner_z="SolenoidBarrel_zmax + SolenoidEndPlateGapThickness" inner_r="SolenoidEndcapCoilEndSupport_rmin"
inner_r="SolenoidYokeEndcapP_rmin" outer_r="SolenoidEndcapCoilEndSupport_rmax">
outer_r="SolenoidBarrel_rmax"> <slice material="Aluminum" thickness="SolenoidEndcapCoilEndSupportThickness"/>
<slice material="Steel235" thickness="SolenoidYokeEndcap_thickness/2.0" vis="SolenoidYokeVis" /> </layer>
<layer id="2"
inner_z="SolenoidEndcapHelium_zmin"
inner_r="SolenoidEndcapHelium_rmin"
outer_r="SolenoidEndcapHelium_rmax">
<slice material="Helium" thickness="SolenoidEndcapHeliumThickness"/>
</layer>
<layer id="3"
inner_z="SolenoidEndcapHeliumVessel_zmin"
inner_r="SolenoidEndcapHeliumVessel_rmin"
outer_r="SolenoidEndcapHeliumVessel_rmax">
<slice material="Steel235" thickness="SolenoidEndcapHeliumVesselThickness"/>
</layer>
<layer id="4"
inner_z="SolenoidEndcapFirstMLILayer_zmin"
inner_r="SolenoidEndcapFirstMLILayer_rmin"
outer_r="SolenoidEndcapFirstMLILayer_rmax">
<slice material="MylarMLI" thickness="SolenoidEndcapFirstMLILayerThickness"/>
</layer>
<layer id="5"
inner_z="SolenoidEndcapThermalShield_zmin"
inner_r="SolenoidEndcapThermalShield_rmin"
outer_r="SolenoidEndcapThermalShield_rmax">
<slice material="Copper" thickness="SolenoidEndcapThermalShieldThickness"/>
</layer>
<layer id="6"
inner_z="SolenoidEndcapSecondMLILayer_zmin"
inner_r="SolenoidEndcapSecondMLILayer_rmin"
outer_r="SolenoidEndcapSecondMLILayer_rmax">
<slice material="MylarMLI" thickness="SolenoidEndcapSecondMLILayerThickness"/>
</layer>
<layer id="7"
inner_z="SolenoidEndcapVacuumVessel_zmin"
inner_r="SolenoidEndcapVacuumVessel_rmin"
outer_r="SolenoidEndcapVacuumVessel_rmax">
<slice material="Steel235" thickness="SolenoidEndcapVacuumVesselThickness"/>
</layer> </layer>
</detector> </detector>
<!--
<detector name="SolenoidYoke" type="SiEIC_Yoke" vis="SolenoidYokeVis">
<material name="Steel235"/>
<dimensions inner_radius="SolenoidYokeInnerRadius" thickness="SolenoidYokeThickness" rmin="CaloInnerRadius + 10 * mm" angle="SolenoidYokeChamferAngle" inner_z="SolenoidYokeInnerZ"/>
</detector>
-->
</detectors> </detectors>
<fields> <fields>
<field type="solenoid" name="GlobalSolenoid" inner_field="3.0 * tesla" outer_field="0.5*tesla" <!--field type="solenoid" name="GlobalSolenoid" inner_field="3.0 * tesla" outer_field="0.5*tesla"
zmin="-SolenoidCoil_zmax" zmax="SolenoidCoil_zmax" zmin="-SolenoidBarrelCoil_zmax" zmax="SolenoidBarrelCoil_zmax"
inner_radius="SolenoidalFieldRadius" outer_radius="SolenoidalFieldRadius+20*cm"/> inner_radius="SolenoidalFieldRadius" outer_radius="SolenoidalFieldRadius+20*cm"/-->
<field type="FieldMapBrBz" name="GlobalSolenoid" field_type="magnetic"
field_map="fieldmaps/EIC_v.2.0.3_Magnetic_Field_Map_2021_09_28_radial_coords_cm_T.Bmap.txt"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena/uploads/fd64db33e1c99547ab1840d8847fd1c1/EIC_v.2.0.3_Magnetic_Field_Map_2021_09_28_radial_coords_cm_T.Bmap.txt"
scale="-1.0">
<dimensions>
<transverse step="2.0*cm" rmin="0*cm" rmax="998*cm" />
<longitudinal step="2.0*cm" zmin="-800*cm" zmax="798*cm" />
<translation x="0.0*cm" y="0.0*cm" z="0.0*cm" />
<rotation x="0" y="0" z="0" />
</dimensions>
</field>
</fields> </fields>
</lccdd> </lccdd>
# subsytem_views
These compact detector files are copies of the main `athena.xml` compact description file, modified to only show certain subsystems.
To add or update a subsystem:
1. Copy `athena.xml` to this directory (`compact/subsystem_views`) with the appropriate name.
2. Remove all the undesired detectors from this xml file. **Do not modify any of the included xml files** -- only modify the top level xml file here.
3. Check that that you have the desired color scheme (eg. `colors.xml`) and display attributes (eg. `display_detailed.xml`) included.
These compact detector files should not be used for any real simulations or studies.
# subsytem_views
These compact detector files are copies of the main `athena.xml` compact description file, modified to only show certain subsystems.
To add or update a subsystem:
1. Copy `athena.xml` to this directory (`compact/subsystem_views`) with the appropriate name.
2. Remove all the undesired detectors from this xml file. **Do not modify any of the included xml files** -- only modify the top level xml file here.
3. Check that that you have the desired color scheme (eg. `colors.xml`) and display attributes (eg. `display_detailed.xml`) included.
These compact detector files should not be used for any real simulations or studies.
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="0">
## Detector Subsystems
### IP Subsystems
The interaction point subsystems are included before the central detector subsystems.
This is becuase the IP subsystems, for exmaple the beampipe, will define paramters
which are subsquently used in the central detector construction -- e.g. the vertex tracker
uses the beampipe OD to help define its placement.
The IP subsystems include the Far forward and backward regions. The list of subsystem includes:
- Interaction region beampipe
- B0 tracker
- Off-momentum tracker
- Far forward roman pots
- Zero Degree Calorimeter
- Beam line magnets.
- and more...
</documentation>
<comment>
Beamline elements
-----------------
</comment>
<include ref="ip6/central_beampipe.xml" />
<documentation level="5">
## Main magnet
Note: When changing magnet, also select dimensions in definitions.xml.
</documentation>
<include ref="compact/solenoid.xml"/>
<documentation level="10">
## Central calorimetry
</documentation>
<include ref="compact/ecal.xml"/>
<include ref="compact/hcal.xml"/>
<readouts>
</readouts>
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="0">
## Detector Subsystems
### IP Subsystems
The interaction point subsystems are included before the central detector subsystems.
This is becuase the IP subsystems, for exmaple the beampipe, will define paramters
which are subsquently used in the central detector construction -- e.g. the vertex tracker
uses the beampipe OD to help define its placement.
The IP subsystems include the Far forward and backward regions. The list of subsystem includes:
- Interaction region beampipe
- B0 tracker
- Off-momentum tracker
- Far forward roman pots
- Zero Degree Calorimeter
- Beam line magnets.
- and more...
</documentation>
<!-- <include ref="ip6/forward_ion_beamline.xml"/>-->
<!-- <include ref="ip6/beampipe.xml"/>-->
<detectors>
<!-- <detector id="VertexBarrelSubAssembly_ID"-->
<!-- name="VertexBarrelSubAssembly"-->
<!-- type="DD4hep_SubdetectorAssembly"-->
<!-- vis="TrackerSubAssemblyVis">-->
<!-- <composite name="VertexBarrel" />-->
<!-- </detector>-->
<!-- <detector id="VertexEndcapSubAssembly_ID"-->
<!-- name="VertexEndcapSubAssembly"-->
<!-- type="DD4hep_SubdetectorAssembly"-->
<!-- vis="TrackerSubAssemblyVis">-->
<!-- <composite name="VertexEndcapN" />-->
<!-- <composite name="VertexEndcapP" />-->
<!-- </detector>-->
<!-- <detector id="TrackerBarrelSubAssembly_Inner_ID"-->
<!-- name="TrackerBarrelSubAssembly_Inner"-->
<!-- type="DD4hep_SubdetectorAssembly"-->
<!-- vis="TrackerSubAssemblyVis">-->
<!-- <composite name="TrackerBarrel_Inner"/>-->
<!-- </detector>-->
<!-- <detector id="TrackerEndcapSubAssembly_Inner_ID"-->
<!-- name="TrackerEndcapSubAssembly_Inner"-->
<!-- type="DD4hep_SubdetectorAssembly"-->
<!-- vis="TrackerSubAssemblyVis">-->
<!-- <composite name="TrackerEndcapN_Inner"/>-->
<!-- <composite name="TrackerEndcapP_Inner"/>-->
<!-- </detector>-->
<!-- <detector id="TrackerBarrelSubAssembly_Outer_ID"-->
<!-- name="TrackerSubAssembly_Outer"-->
<!-- type="DD4hep_SubdetectorAssembly"-->
<!-- vis="TrackerSubAssemblyVis">-->
<!-- <composite name="TrackerBarrel_Outer"/>-->
<!-- <composite name="TrackerEndcapP_Outer"/>-->
<!-- <composite name="TrackerEndcapN_Outer"/>-->
<!-- </detector>-->
<!-- <detector id="TOFSubAssembly_ID"-->
<!-- name="TOFSubAssembly"-->
<!-- type="DD4hep_SubdetectorAssembly"-->
<!-- vis="TOFSubAssemblyVis">-->
<!-- <composite name="BarrelTOF"/>-->
<!-- <composite name="ForwardTOF"/>-->
<!-- <composite name="BackwardTOF"/>-->
<!-- </detector>-->
</detectors>
<include ref="compact/fake_dirc.xml"/>
<readouts>
</readouts>
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="10">
## dRICh only
</documentation>
<include ref="ip6/central_beampipe.xml" />
<include ref="compact/drich.xml" />
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<!--include ref="compact/colors2.xml"/-->
<include ref="compact/display.xml"/>
</display>
<documentation level="0">
## Detector Subsystems
### IP Subsystems
The interaction point subsystems are included before the central detector subsystems.
This is becuase the IP subsystems, for exmaple the beampipe, will define paramters
which are subsquently used in the central detector construction -- e.g. the vertex tracker
uses the beampipe OD to help define its placement.
The IP subsystems include the Far forward and backward regions. The list of subsystem includes:
- Interaction region beampipe
- B0 tracker
- Off-momentum tracker
- Far forward roman pots
- Zero Degree Calorimeter
- Beam line magnets.
- and more...
</documentation>
<comment>
Beamline elements
-----------------
</comment>
<include ref="ip6/central_beampipe.xml" />
<documentation level="5">
## Main magnet
Note: When changing magnet, also select dimensions in definitions.xml.
</documentation>
<documentation level="10">
## Central tracking detectors
</documentation>
<include ref="compact/tracking_config_deathvalley.xml"/>
<documentation level="10">
### PID detectors
</documentation>
<include ref="compact/pid_config_deathvalley.xml"/>
<readouts>
</readouts>
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<!--include ref="compact/colors2.xml"/-->
<include ref="compact/display.xml" />
<!--include ref="compact/display_detailed.xml"/-->
</display>
<documentation level="0">
## Detector Subsystems
### IP Subsystems
The interaction point subsystems are included before the central detector subsystems.
This is becuase the IP subsystems, for exmaple the beampipe, will define paramters
which are subsquently used in the central detector construction -- e.g. the vertex tracker
uses the beampipe OD to help define its placement.
The IP subsystems include the Far forward and backward regions. The list of subsystem includes:
- Interaction region beampipe
- B0 tracker
- Off-momentum tracker
- Far forward roman pots
- Zero Degree Calorimeter
- Beam line magnets.
- and more...
</documentation>
<documentation level="11">
## Far foward detectors
</documentation>
<include ref="ip6/central_beampipe.xml"/>
<documentation level="11">
## Far foward detectors
</documentation>
<include ref="ip6/far_forward.xml"/>
<documentation level="11">
## Far backward detectors
</documentation>
<include ref="ip6/far_backward.xml"/>
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="10">
## pfRICH only
</documentation>
<include ref="ip6/central_beampipe.xml" />
<include ref="compact/pfrich.xml" />
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="0">
## Detector Subsystems
### IP Subsystems
The interaction point subsystems are included before the central detector subsystems.
This is becuase the IP subsystems, for exmaple the beampipe, will define paramters
which are subsquently used in the central detector construction -- e.g. the vertex tracker
uses the beampipe OD to help define its placement.
The IP subsystems include the Far forward and backward regions. The list of subsystem includes:
- Interaction region beampipe
- B0 tracker
- Off-momentum tracker
- Far forward roman pots
- Zero Degree Calorimeter
- Beam line magnets.
- and more...
</documentation>
<comment>
Beamline elements
-----------------
</comment>
<include ref="ip6/central_beampipe.xml" />
<comment>
PID detectors
-------------
</comment>
<include ref="compact/pid_config_deathvalley.xml"/>
<readouts>
</readouts>
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="10">
## TOF only
</documentation>
<include ref="ip6/central_beampipe.xml" />
<include ref="compact/tof_barrel.xml" />
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="0">
## Detector Subsystems
### IP Subsystems
The interaction point subsystems are included before the central detector subsystems.
This is becuase the IP subsystems, for exmaple the beampipe, will define paramters
which are subsquently used in the central detector construction -- e.g. the vertex tracker
uses the beampipe OD to help define its placement.
The IP subsystems include the Far forward and backward regions. The list of subsystem includes:
- Interaction region beampipe
- B0 tracker
- Off-momentum tracker
- Far forward roman pots
- Zero Degree Calorimeter
- Beam line magnets.
- and more...
</documentation>
<comment>
Beamline elements
-----------------
</comment>
<include ref="ip6/central_beampipe.xml" />
<comment>
Central tracking detectors
--------------------------
</comment>
<!--include ref="compact/tracking_config_canyonlands.xml"/-->
<include ref="compact/tracking_config_deathvalley.xml"/>
<comment>
PID detectors
-------------
</comment>
<include ref="compact/tof_barrel.xml"/>
<readouts>
</readouts>
</lccdd>
<lccdd xmlns:compact="http://www.lcsim.org/schemas/compact/1.0"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xs:noNamespaceSchemaLocation="http://www.lcsim.org/schemas/compact/1.0/compact.xsd">
<debug>
<type name="surface" value="0"/>
<type name="material" value="0"/>
<type name="readout" value="0"/>
<type name="segmentation" value="0"/>
<type name="limits" value="0"/>
<type name="region" value="0"/>
<type name="includes" value="0"/>
</debug>
<documentation level="-1">
# Athena Detector
- https://eicweb.phy.anl.gov/EIC/detectors/athena.git
- https://eicweb.phy.anl.gov/EIC/detectors/ip6.git
</documentation>
<!-- Some information about detector -->
<info name="Athena Detector" title="Athena Detector"
author="Athena Collaboration"
url="https://eicweb.phy.anl.gov/EIC/detectors/athena.git"
status="development"
version="v1 2021-03-16">
<comment> Athena </comment>
</info>
<define>
<documentation level="2">
## Main Constant Definitions
The ip6 (or other ip) defines should be included first.
These files have only a define tags.
</documentation>
<include ref="ip6/definitions.xml" />
<include ref="ip6/far_forward/fields_275.xml" />
<include ref="compact/definitions.xml" />
</define>
<includes>
<gdmlFile ref="compact/elements.xml"/>
<gdmlFile ref="compact/materials.xml"/>
<file ref="compact/optical_materials.xml"/>
</includes>
<limits>
<limitset name="EICBeamlineLimits">
<limit name="step_length_max" particles="*" value="1.0" unit="mm" />
<limit name="track_length_max" particles="*" value="1.0" unit="mm" />
<limit name="time_max" particles="*" value="0.1" unit="ns" />
<limit name="ekin_min" particles="*" value="0.001" unit="MeV" />
<limit name="range_min" particles="*" value="0.1" unit="mm" />
</limitset>
<limitset name="cal_limits">
<limit name="step_length_max" particles="*" value="5.0" unit="mm"/>
</limitset>
</limits>
<display>
<include ref="compact/colors.xml" />
<include ref="compact/display_detailed.xml" />
</display>
<documentation level="0">
## Detector Subsystems
### IP Subsystems
The interaction point subsystems are included before the central detector subsystems.
This is becuase the IP subsystems, for exmaple the beampipe, will define paramters
which are subsquently used in the central detector construction -- e.g. the vertex tracker
uses the beampipe OD to help define its placement.
The IP subsystems include the Far forward and backward regions. The list of subsystem includes:
- Interaction region beampipe
- B0 tracker
- Off-momentum tracker
- Far forward roman pots
- Zero Degree Calorimeter
- Beam line magnets.
- and more...
</documentation>
<comment>
Central tracking detectors
--------------------------
</comment>
<include ref="compact/vertex_tracker_3layers.xml"/>
<readouts>
</readouts>
</lccdd>
<lccdd>
<display>
</display>
<define>
</define>
<documentation level="10">
### Time-of-flight detectors
document here
</documentation>
<!--include ref="tof_endcap.xml"/-->
<include ref="tof_barrel.xml"/>
<include ref="tof_forward.xml"/>
<include ref="tof_backward.xml"/>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<define>
<comment>
--------------------------
Barrel TOF Parameters
--------------------------
</comment>
<constant name="BarrelTOF_Sensor_thickness" value="0.3*mm"/>
<constant name="BarrelTOF_Hybrid_thickness" value="2*0.008125*cm"/>
<constant name="BarrelTOF_CFSkin_thickness" value="2*0.0075*cm"/>
<constant name="BarrelTOF_CFoam_thickness" value="2*0.29*cm"/>
<constant name="BarrelTOF_CHoneycomb_thickness" value="2*0.29*cm"/>
<constant name="BarrelTOF_CoolingTube_thickness" value="0.08*cm"/>
<constant name="BarrelTOF_Coolant_thickness" value="0.08*cm"/>
<constant name="BarrelTOF_Module_thickness" value="BarrelTOF_Sensor_thickness+2*BarrelTOF_Hybrid_thickness+2*BarrelTOF_CFSkin_thickness+BarrelTOF_CFoam_thickness+BarrelTOF_CoolingTube_thickness+BarrelTOF_Coolant_thickness"/>
<constant name="BarrelTOF_radius_design" value="50.0*cm"/>
<constant name="BarrelTOF_Module_width_design" value="56.0*mm"/>
<constant name="BarrelTOF_Sensor_width_design" value="32.0*mm"/>
<constant name="BarrelTOF_CFoam_width_design" value="BarrelTOF_Sensor_width_design-5.0*mm"/>
<constant name="BarrelTOF_CHoneycomb_width_design" value="BarrelTOF_Module_width_design-BarrelTOF_CFoam_width_design"/>
<constant name="BarrelTOF_CoolingTube_width_design" value="0.75*cm"/>
<constant name="BarrelTOF_Coolant_width_design" value="0.75*cm"/>
<constant name="BarrelTOF_Sensor_position_design" value="0.5*(BarrelTOF_Sensor_width_design-BarrelTOF_Module_width_design)"/>
<constant name="BarrelTOF_CFoam_position_design" value="0.5*(BarrelTOF_CFoam_width_design-BarrelTOF_Module_width_design)"/>
<constant name="BarrelTOF_CHoneycomb_position_design" value="0.5*(BarrelTOF_Module_width_design-BarrelTOF_CHoneycomb_width_design)"/>
<constant name="BarrelTOF_CoolingTube_position_design" value="BarrelTOF_CHoneycomb_position_design"/>
<constant name="BarrelTOF_Coolant_position_design" value="BarrelTOF_CHoneycomb_position_design"/>
<constant name="BarrelTOF_Service_position_design" value="0.0*mm"/>
<constant name="BarrelTOF_scale" value="1.05"/>
<constant name="BarrelTOF_radius" value="BarrelTOF_scale * BarrelTOF_radius_design"/>
<constant name="BarrelTOF_Sensor_width" value="BarrelTOF_scale * BarrelTOF_Sensor_width_design"/>
<constant name="BarrelTOF_CFoam_width" value="BarrelTOF_scale * BarrelTOF_CFoam_width_design"/>
<constant name="BarrelTOF_CHoneycomb_width" value="BarrelTOF_scale * BarrelTOF_CHoneycomb_width_design"/>
<constant name="BarrelTOF_CoolingTube_width" value="BarrelTOF_scale * BarrelTOF_CoolingTube_width_design"/>
<constant name="BarrelTOF_Coolant_width" value="BarrelTOF_scale * BarrelTOF_Coolant_width_design"/>
<constant name="BarrelTOF_Sensor_position" value="BarrelTOF_scale * BarrelTOF_Sensor_position_design"/>
<constant name="BarrelTOF_CFoam_position" value="BarrelTOF_scale * BarrelTOF_CFoam_position_design"/>
<constant name="BarrelTOF_CHoneycomb_position" value="BarrelTOF_scale * BarrelTOF_CHoneycomb_position_design"/>
<constant name="BarrelTOF_CoolingTube_position" value="BarrelTOF_scale * BarrelTOF_CoolingTube_position_design"/>
<constant name="BarrelTOF_Coolant_position" value="BarrelTOF_scale * BarrelTOF_Coolant_position_design"/>
<constant name="BarrelTOF_Service_position" value="BarrelTOF_scale * BarrelTOF_Service_position_design"/>
<constant name="BarrelTOF_Module_width" value="BarrelTOF_scale*BarrelTOF_Module_width_design"/>
<constant name="BarrelTOF_Module_tiltangle" value="18.0*degree"/>
<constant name="BarrelTOF_Module_nphi" value="108"/>
<constant name="BarrelTOF_Module_nz" value="1"/>
<constant name="BarrelTOF_rmin" value="BarrelTOF_radius"/>
<constant name="BarrelTOF_rmax" value="BarrelTOF_rmin+BarrelTOF_Module_width*tan(BarrelTOF_Module_tiltangle)"/>
<constant name="BarrelTOF_thickness" value="BarrelTOF_rmax-BarrelTOF_rmin"/>
<constant name="BarrelTOF_rOffset" value="16.0*mm"/>
<constant name="BarrelTOF_length1" value="2 * BarrelTOF_rmin / CentralTrackingBarrel_tan * 0.995"/>
<constant name="BarrelTOF_length2" value="2 * BarrelTOF_rmax / CentralTrackingBarrel_tan * 0.995"/>
<constant name="BarrelTOF_length" value="BarrelTOF_length2"/>
</define>
<display>
</display>
<detectors>
<detector
id="BarrelTOF_ID"
name="BarrelTOF"
type="athena_TOFBarrel"
readout="TOFBarrelHits"
insideTrackingVolume="true">
<dimensions
rmin="BarrelTOF_rmin-BarrelTOF_rOffset"
rmax="BarrelTOF_rmax+BarrelTOF_rOffset"
length="BarrelTOF_length"/>
<comment>
Tracker Barrel Modules
</comment>
<module name="BarrelTOF_Module1" vis="TOFBarrelModuleVis">
<module_component name="sensor" material="Silicon" sensitive="true" width="BarrelTOF_Sensor_width" length="BarrelTOF_length1" thickness="BarrelTOF_Sensor_thickness" vis="TOFSensorVis" >
<position x="BarrelTOF_Sensor_position" y="0" z="0" />
</module_component>
<module_component name="hybridtop" material="Kapton" sensitive="false" width="BarrelTOF_Module_width" length="BarrelTOF_length1" thickness="BarrelTOF_Hybrid_thickness" vis="TOFHybridVis" >
<position x="BarrelTOF_Service_position" y="0" z="0" />
</module_component>
<module_component name="cfskintop" material="CFRPMix2" sensitive="false" width="BarrelTOF_Module_width" length="BarrelTOF_length1" thickness="BarrelTOF_CFSkin_thickness" vis="TOFCSkinVis" >
<position x="BarrelTOF_Service_position" y="0" z="0" />
</module_component>
<module_component name="coolingtube" material="Aluminum" sensitive="false" width="BarrelTOF_CoolingTube_width" length="BarrelTOF_length1" thickness="BarrelTOF_CoolingTube_thickness" vis="TOFCoolingTubeVis" >
<position x="BarrelTOF_CoolingTube_position" y="0" z="0" />
</module_component>
<module_component name="coolant" material="NOVEC7200" sensitive="false" width="BarrelTOF_Coolant_width" length="BarrelTOF_length1" thickness="BarrelTOF_Coolant_thickness" vis="TOFCoolantVis" >
<position x="BarrelTOF_Coolant_position" y="0" z="0" />
</module_component>
<module_component name="cfoam" material="CarbonFoam" sensitive="false" width="BarrelTOF_CFoam_width" length="BarrelTOF_length1" thickness="BarrelTOF_CFoam_thickness" vis="TOFCFoamVis" >
<position x="BarrelTOF_CFoam_position" y="0" z="0" />
</module_component>
<module_component name="choneycomb" material="CFRPMix" sensitive="false" width="BarrelTOF_CHoneycomb_width" length="BarrelTOF_length1" thickness="BarrelTOF_CHoneycomb_thickness" vis="TOFCHoneycombVis" >
<position x="BarrelTOF_CHoneycomb_position" y="0" z="-1*BarrelTOF_CFoam_thickness" />
</module_component>
<module_component name="cfskinbottom" material="CFRPMix2" sensitive="false" width="BarrelTOF_Module_width" length="BarrelTOF_length1" thickness="BarrelTOF_CFSkin_thickness" vis="TOFCSkinVis" >
<position x="BarrelTOF_Service_position" y="0" z="0" />
</module_component>
<module_component name="hybridbottom" material="Kapton" sensitive="false" width="BarrelTOF_Module_width" length="BarrelTOF_length1" thickness="BarrelTOF_Hybrid_thickness" vis="TOFHybridVis" >
<position x="BarrelTOF_Service_position" y="0" z="0" />
</module_component>
</module>
<layer module="BarrelTOF_Module1" id="1" vis="TOFLayerVis">
<barrel_envelope
inner_r="BarrelTOF_rmin-BarrelTOF_rOffset"
outer_r="BarrelTOF_rmax+BarrelTOF_rOffset"
z_length="BarrelTOF_length"/>
<rphi_layout phi_tilt="BarrelTOF_Module_tiltangle" nphi="BarrelTOF_Module_nphi" phi0="0.0" rc="BarrelTOF_rmin" dr="0.0*mm"/>
<z_layout dr="0.0*mm" z0="0.0*mm" nz="BarrelTOF_Module_nz"/>
</layer>
</detector>
</detectors>
<readouts>
<readout name="TOFBarrelHits">
<segmentation type="CartesianGridXY" grid_size_x="0.05*mm" grid_size_y="BarrelTOF_length1/48" />
<id>system:8,layer:4,module:12,sensor:2,x:32:-16,y:-16</id>
</readout>
</readouts>
</lccdd>
<?xml version="1.0" encoding="UTF-8"?>
<lccdd>
<define>
<comment>
--------------------------
Forward TOF Parameters
--------------------------
</comment>
<comment> Forward/backward TOF position </comment>
<constant name="ForwardTOF_length" value="min(ForwardTOFRegion_length, 2.*cm)"/>
<constant name="ForwardTOF_zmin" value="ForwardTOFRegion_zmin + ForwardTOFRegion_length - ForwardTOF_length - 1*cm"/>
<constant name="ForwardTOF_nlayers" value="2"/>
<constant name="ForwardTOFMod_offset" value="1.2*cm"/>
<constant name="BackwardTOF_length" value="min(BackwardTOFRegion_length, 2.*cm)"/>
<constant name="BackwardTOF_zmin" value="BackwardTOFRegion_zmin + 0.5*cm"/>
<constant name="BackwardTOF_nlayers" value="2"/>
<constant name="BackwardTOFMod_offset" value="1.2*cm"/>
<comment> LGAD parameters for the endcap TOFs </comment>
<constant name="TOFEndcapSensor_thickness" value="300*um" />
<constant name="TOFEndcapService_thickness" value="5.00/100*9.37*cm-TOFEndcapSensor_thickness" />
<constant name="TOFEndcapMod_count" value="36" />
<constant name="TOFEndcapMod_dz" value="0" />
<constant name="TOFEndcapMod_overlap" value="0" />
</define>
<documentation>
## Forward and backward TOF double-disks,
## a potential ATHENA upgrade
</documentation>
<comment>
Actual detector implementation.
</comment>
<define>
<constant name="TOFEndcapMod_thickness" value="TOFEndcapSensor_thickness + TOFEndcapService_thickness" />
<constant name="TOFEndcapMod_angle" value="360.0*degree / TOFEndcapMod_count * (1 + TOFEndcapMod_overlap)" />
<comment> 1 um padding to not have layer and module touch (ACTS requirement) </comment>
<constant name="TOFEndcapLayer_thickness" value="TOFEndcapMod_thickness + 2 * TOFEndcapMod_dz + 1 * um" />
<constant name="ForwardTOFMod_rmin" value="ForwardTOFRegion_tan * ForwardTOF_zmin" />
<constant name="ForwardTOFMod_rmax" value="ForwardTOFRegion_rmax" />
<constant name="ForwardTOFMod_x1" value="2 * ForwardTOFMod_rmin * tan(TOFEndcapMod_angle/2)" />
<constant name="ForwardTOFMod_x2" value="2 * ForwardTOFMod_rmax * sin(TOFEndcapMod_angle/2)" />
<constant name="ForwardTOFMod_y" value="ForwardTOFMod_rmax * cos(TOFEndcapMod_angle/2) - ForwardTOFMod_rmin" />
<constant name="ForwardTOFMod1_zmin" value="ForwardTOF_zmin" />
<constant name="ForwardTOFMod2_zmin" value="ForwardTOF_zmin + ForwardTOFMod_offset" />
<constant name="ForwardTOFLayer_rmin" value="ForwardTOFMod_rmin - 1*um" />
<constant name="ForwardTOFLayer_rmax" value="ForwardTOFMod_rmax + 1*um" />
<constant name="ForwardTOFLayer1_zmin" value="ForwardTOFMod1_zmin - TOFEndcapLayer_thickness / 2" />
<constant name="ForwardTOFLayer2_zmin" value="ForwardTOFMod2_zmin - TOFEndcapLayer_thickness / 2" />
<constant name="BackwardTOFMod_rmin" value="BackwardPIDRegion_tan * BackwardTOF_zmin" />
<constant name="BackwardTOFMod_rmax" value="BackwardPIDRegion_rmax" />
<constant name="BackwardTOFMod_x1" value="2 * BackwardTOFMod_rmin * tan(TOFEndcapMod_angle/2)" />
<constant name="BackwardTOFMod_x2" value="2 * BackwardTOFMod_rmax * sin(TOFEndcapMod_angle/2)" />
<constant name="BackwardTOFMod_y" value="BackwardTOFMod_rmax * cos(TOFEndcapMod_angle/2) - BackwardTOFMod_rmin" />
<constant name="BackwardTOFMod1_zmin" value="BackwardTOF_zmin" />
<constant name="BackwardTOFMod2_zmin" value="BackwardTOF_zmin + BackwardTOFMod_offset" />
<constant name="BackwardTOFLayer_rmin" value="BackwardTOFMod_rmin - 1*um" />
<constant name="BackwardTOFLayer_rmax" value="BackwardTOFMod_rmax + 1*um" />
<constant name="BackwardTOFLayer1_zmin" value="BackwardTOFMod1_zmin - TOFEndcapLayer_thickness / 2" />
<constant name="BackwardTOFLayer2_zmin" value="BackwardTOFMod2_zmin - TOFEndcapLayer_thickness / 2" />
</define>
<detectors>
<detector
id="ForwardTOF_ID"
name="ForwardTOF"
type="athena_TrapEndcapTracker"
readout="TOFEndcapHits"
vis="TOFVis"
reflect="false">
<module name="ForwardModule" vis="TOFModuleVis">
<trd x1="ForwardTOFMod_x1/2.0" x2="ForwardTOFMod_x2/2.0" z="ForwardTOFMod_y/2"/>
<comment> TRDs are built back-to-front </comment>
<module_component thickness="TOFEndcapService_thickness" material="Silicon" vis="TOFVis"/>
<module_component thickness="TOFEndcapSensor_thickness" material="Silicon" sensitive="true" vis="TOFSensorVis"/>
</module>
<layer id="1">
<envelope vis="TOFLayerVis"
rmin="ForwardTOFLayer_rmin"
rmax="ForwardTOFLayer_rmax"
length="TOFEndcapLayer_thickness"
zstart="ForwardTOFLayer1_zmin" />
<ring
r="ForwardTOFMod_rmin + ForwardTOFMod_y/2.0"
zstart="0"
nmodules="TOFEndcapMod_count"
dz="TOFEndcapMod_dz"
module="ForwardModule" />
</layer>
<layer id="2">
<envelope vis="TOFLayerVis"
rmin="ForwardTOFLayer_rmin"
rmax="ForwardTOFLayer_rmax"
length="TOFEndcapLayer_thickness"
zstart="ForwardTOFLayer2_zmin" />
<ring
r="ForwardTOFMod_rmin + ForwardTOFMod_y/2.0"
zstart="0"
nmodules="TOFEndcapMod_count"
dz="TOFEndcapMod_dz"
module="ForwardModule" />
</layer>
</detector>
<detector
id="BackwardTOF_ID"
name="BackwardTOF"
type="athena_TrapEndcapTracker"
readout="TOFEndcapHits"
vis="TOFVis"
reflect="true">
<module name="BackwardModule" vis="TOFModuleVis">
<trd x1="BackwardTOFMod_x1/2.0" x2="BackwardTOFMod_x2/2.0" z="BackwardTOFMod_y/2"/>
<comment> TRDs are built back-to-front </comment>
<module_component thickness="TOFEndcapService_thickness" material="Silicon" vis="TOFVis"/>
<module_component thickness="TOFEndcapSensor_thickness" material="Silicon" sensitive="true" vis="TOFSensorVis"/>
</module>
<layer id="1">
<envelope vis="TOFLayerVis"
rmin="BackwardTOFLayer_rmin"
rmax="BackwardTOFLayer_rmax"
length="TOFEndcapLayer_thickness"
zstart="BackwardTOFLayer1_zmin" />
<ring
r="BackwardTOFMod_rmin + BackwardTOFMod_y/2.0"
zstart="0"
nmodules="TOFEndcapMod_count"
dz="TOFEndcapMod_dz"
module="BackwardModule" />
</layer>
<layer id="2">
<envelope vis="TOFLayerVis"
rmin="BackwardTOFLayer_rmin"
rmax="BackwardTOFLayer_rmax"
length="TOFEndcapLayer_thickness"
zstart="BackwardTOFLayer2_zmin" />
<ring
r="BackwardTOFMod_rmin + BackwardTOFMod_y/2.0"
zstart="0"
nmodules="TOFEndcapMod_count"
dz="TOFEndcapMod_dz"
module="BackwardModule" />
</layer>
</detector>
</detectors>
<readouts>
<readout name="TOFEndcapHits">
<segmentation type="CartesianGridXZ" grid_size_x="50*um" grid_size_z="50*um" />
<id>system:8,layer:4,module:12,sensor:2,x:32:-16,z:-16</id>
</readout>
</readouts>
</lccdd>
<lccdd>
<display>
</display>
<define>
</define>
<documentation level="10">
### Silicon tracking configuration
</documentation>
<documentation level="5">
### Tracker subassemblies for ACTS
</documentation>
<detectors>
<detector id="VertexSubAssembly_0_ID"
name="VertexBarrelSubAssembly"
type="DD4hep_SubdetectorAssembly"
vis="TrackerSubAssemblyVis">
<composite name="VertexEndcapN" />
<composite name="VertexBarrel" />
<composite name="VertexEndcapP" />
</detector>
<detector id="TrackerSubAssembly_0_ID"
name="TrackerBarrelSubAssembly_Inner"
type="DD4hep_SubdetectorAssembly"
vis="TrackerSubAssemblyVis">
<composite name="TrackerEndcapN_Inner"/>
<composite name="TrackerBarrel_Inner"/>
<composite name="TrackerEndcapP_Inner"/>
</detector>
<detector id="TrackerSubAssembly_1_ID"
name="TrackerSubAssembly_Outer"
type="DD4hep_SubdetectorAssembly"
vis="TrackerSubAssemblyVis">
<composite name="TrackerBarrel_Outer"/>
<composite name="TrackerEndcapP_Outer"/>
<composite name="TrackerEndcapN_Outer"/>
</detector>
<detector id="TrackerSubAssembly_1_ID"
name="OuterTrackingSubAssembly"
type="DD4hep_SubdetectorAssembly"
vis="SubAssemblyVis">
<composite name="GEMTrackerEndcapP"/>
<composite name="GEMTrackerEndcapN"/>
</detector>
</detectors>
<documentation>
### Material map for ACTS
https://eicweb.phy.anl.gov/EIC/detectors/athena/-/issues/128
</documentation>
<plugins>
<plugin name="FileLoader">
<arg value="file:calibrations/materials-map.cbor"/>
<arg value="url:https://eicweb.phy.anl.gov/EIC/detectors/athena/uploads/458fee1b8c95bf408159fe70d654b8c0/material-maps.cbor"/>
</plugin>
</plugins>
<include ref="vertex_tracker.xml"/>
<include ref="central_tracker.xml"/>
<include ref="gem_tracker_endcap.xml"/>
</lccdd>