From d501fbd229153b1cc56776ae9d52701affc1a61b Mon Sep 17 00:00:00 2001 From: Zhang Yao <zhangyao@ihep.ac.cn> Date: Tue, 19 Jan 2021 09:31:01 +0800 Subject: [PATCH] Fix unit of DC world and add the define of DC id. --- Detector/DetDriftChamber/compact/det.xml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Detector/DetDriftChamber/compact/det.xml b/Detector/DetDriftChamber/compact/det.xml index a070d543..58b3c68b 100644 --- a/Detector/DetDriftChamber/compact/det.xml +++ b/Detector/DetDriftChamber/compact/det.xml @@ -1,5 +1,7 @@ <?xml version="1.0" encoding="UTF-8"?> -<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"> <info name="DriftChamber" title="Test with Drift Chamber" @@ -15,13 +17,15 @@ <gdmlFile ref="materials.xml"/> </includes> + <define> - <constant name="world_size" value="2226*mm"/> + <constant name="world_size" value="30*m"/> <constant name="world_x" value="world_size"/> <constant name="world_y" value="world_size"/> <constant name="world_z" value="world_size"/> <!-- SDT --> + <constant name="DetID_DC" value="7"/> <constant name="SDT_radius_min" value="234*mm"/> <constant name="SDT_radius_max" value="1720*mm"/> <constant name="SDT_half_length" value="2225*mm"/> -- GitLab