diff --git a/Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_02.xml b/Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_02.xml new file mode 100644 index 0000000000000000000000000000000000000000..ae4ccbe02f9e834bf72b242e8ee9ca15c839449a --- /dev/null +++ b/Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_02.xml @@ -0,0 +1,89 @@ +<?xml version="1.0" encoding="UTF-8"?> +<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"> + + <info name="DriftChamber" + title="Test with Drift Chamber" + author="Tao Lin" + url="http://github.com/cepc/CEPCSW" + status="development" + version="v0"> + <comment>Test with Drift Chamber</comment> + </info> + + <define> + + <!-- SDT --> + <constant name="SDT_radius_min" value="DC_inner_radius"/> + <constant name="SDT_radius_max" value="DC_outer_radius"/> + + <constant name="SDT_half_length" value="MainTracker_half_length"/> + <constant name="DC_length" value="DC_half_length*2"/> + <constant name="SDT_length" value="SDT_half_length*2"/> + + <constant name="SDT_chamber_radius_min" value="DC_chamber_layer_rbegin-DC_safe_distance"/> + <constant name="SDT_chamber_radius_max" value="DC_chamber_layer_rend+DC_safe_distance"/> + <constant name="SDT_chamber_half_length" value="DC_half_length"/> + + <constant name="SDT_chamber_layer_width" value="10*mm"/> + <constant name="SDT_chamber_cell_width" value="10*mm"/> + <constant name="Epsilon" value="0*deg"/> + + <constant name="SDT_chamber_inner_wall_radius_min" value="SDT_chamber_radius_min-SDT_inner_wall_thickness"/> + <constant name="SDT_chamber_inner_wall_radius_max" value="SDT_chamber_radius_min"/> + <constant name="SDT_chamber_outer_wall_radius_min" value="SDT_chamber_radius_max"/> + <constant name="SDT_chamber_outer_wall_radius_max" value="SDT_chamber_radius_max+SDT_outer_wall_thickness"/> + + <constant name="DC_Endcap_rmin" value="SDT_radius_min"/> + <constant name="DC_Endcap_rmax" value="SDT_radius_max"/> + + </define> + + <limits> + <limitset name="DC_limits"> + <limit name="step_length_max" particles="*" value="10" unit="mm" /> + </limitset> + </limits> + + <regions> + <region name="DriftChamberRegion"> + <limitsetref name="DC_limits"/> + </region> + </regions> + + <detectors> + <detector id="DetID_DC" name="DriftChamber" type="DriftChamber" readout="DriftChamberHitsCollection" vis="DCVis" sensitive="true" insideTrackingVolume="true" limits="DC_limits"> + <chamber id="0"/> + <envelope> + <shape type="BooleanShape" operation="Union" material="Air"> + <shape type="Tube" rmin="SDT_radius_min" rmax="SDT_radius_max" dz="SDT_half_length" /> + </shape> + </envelope> + + <module id="0" name="SignalWire" type="Tube" rmin="0*mm" rmax="0.01*mm" vis="RedVis"> + <tubs name="W" type="Tube" rmin="0*mm" rmax="0.007*mm" material="Tungsten"/> + <tubs name="Au" type="Tube" rmin="0.007*mm" rmax="0.01*mm" material="Gold"/> + </module> + + <module id="1" name="FieldWire" type="Tube" rmin="0*mm" rmax="0.02*mm" vis="GreenVis"> + <tubs name="Al" type="Tube" rmin="0*mm" rmax="0.017*mm" material="Aluminum"/> + <tubs name="Ag" type="Tube" rmin="0.017*mm" rmax="0.02*mm" material="Silver"/> + </module> + + <type_flags type="DetType_TRACKER + DetType_BARREL + DetType_GASEOUS + DetType_WIRE"/> + <!-- Use cm as unit if you want to use Pandora for reconstruction --> + <sensitive type="SimpleDriftChamber"/> + </detector> + </detectors> + + <readouts> + <readout name="DriftChamberHitsCollection"> + <segmentation type="GridDriftChamber" cell_size="SDT_chamber_cell_width" epsilon0="Epsilon" detector_length="DC_length" identifier_phi="cellID" DC_rbegin="DC_chamber_layer_rbegin" DC_rend="DC_chamber_layer_rend" DC_rmin="SDT_chamber_radius_min" DC_rmax="SDT_chamber_radius_max" safe_distance="DC_safe_distance" layerID="layer" layer_width="SDT_chamber_layer_width"/> + + <!-- <id>system:8,chamber:1,layer:8,cellID:16</id> --> + <id>system:5,layer:7:9,chamber:8,cellID:32:16</id> + </readout> + </readouts> + +</lccdd>