From c71bd59a328fc4a49cdab87a5134417c28042148 Mon Sep 17 00:00:00 2001 From: myliu <201916234@mail.sdu.edu.cn> Date: Wed, 4 Jan 2023 11:21:08 +0800 Subject: [PATCH] Add DC_Simple_v01_03.xml --- .../CRD_common_v01/DC_Simple_v01_03.xml | 79 +++++++++++++++++++ 1 file changed, 79 insertions(+) create mode 100644 Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_03.xml diff --git a/Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_03.xml b/Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_03.xml new file mode 100644 index 00000000..e3c372fd --- /dev/null +++ b/Detector/DetCRD/compact/CRD_common_v01/DC_Simple_v01_03.xml @@ -0,0 +1,79 @@ +<?xml version="1.0" encoding="UTF-8"?> +<lccdd> + + <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> + + <constant name="DC_layer_number" value="100"/> + <constant name="Alpha" value="12*deg"/> + <constant name="Gas_radius_min" value="DC_rbegin+DC_inner_wall_thickness+DC_safe_distance"/> + <constant name="Gas_half_length" value="DC_half_length-DC_Endcap_dz-DC_safe_distance"/> + <constant name="Gas_length" value="Gas_half_length*2"/> + <constant name="DC_cell_width" value="10*mm"/> + <constant name="DC_inner_wall_radius_min" value="DC_rbegin"/> + <constant name="DC_inner_wall_radius_max" value="DC_rbegin+DC_inner_wall_thickness"/> + <constant name="DC_Endcap_rmin" value="DC_rbegin"/> + <constant name="DC_Endcap_rmax" value="DC_rend"/> + + <constant name="DC_construct_wire" value="1"/> + + <constant name="DC_layer_width" value="9.57687*mm"/> + + </define> + + <limits> + <limitset name="DC_limits"> + <limit name="step_length_max" particles="*" value="0.1" unit="mm" /> + </limitset> + </limits> + + <regions> + <region name="DriftChamberRegion"> + </region> + </regions> + + <detectors> + <detector id="DetID_DC" name="DriftChamber" type="DriftChamber" readout="DriftChamberHitsCollection" vis="DCVis" sensitive="true" region="DriftChamberRegion" limits="DC_limits"> + <material name="Air"/> + <chamber id="0" material="GasHe_90Isob_10"/> + <side material="CarbonFiber"/> + <envelope vis="SeeThrough"> + <shape type="BooleanShape" operation="Union" material="Air"> + <shape type="Tube" rmin="DC_rbegin" rmax="DC_rend" dz="DC_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="DC_cell_width" detector_length="Gas_length" identifier_phi="cellID" layerID="layer" DC_rbegin="DC_rbegin" DC_rend="DC_rend" layer_width="DC_layer_width"/> + + + <id>system:5,layer:7:9,chamber:8,cellID:32:16</id> + </readout> + </readouts> + +</lccdd> -- GitLab