From 15f041ac2e72046aa6e9956786e209a5b034d01e Mon Sep 17 00:00:00 2001
From: myliu <201916234@mail.sdu.edu.cn>
Date: Sun, 20 Dec 2020 12:47:09 +0800
Subject: [PATCH] Change the ratio of signal wire and field wire to 1:5, put
 the inner wall and outer wall

---
 Detector/DetDriftChamber/compact/det.xml                   | 2 --
 Detector/DetDriftChamber/src/driftchamber/DriftChamber.cpp | 2 --
 2 files changed, 4 deletions(-)

diff --git a/Detector/DetDriftChamber/compact/det.xml b/Detector/DetDriftChamber/compact/det.xml
index 5593ea03..54504519 100644
--- a/Detector/DetDriftChamber/compact/det.xml
+++ b/Detector/DetDriftChamber/compact/det.xml
@@ -77,8 +77,6 @@
           <tubs name="Ag" type="Tube" rmin="0.017*mm" rmax="0.02*mm" material="Silver"/>
       </module>
 
-<!--      <tubs name="SignalWire" rmin="0*mm" rmax="0.01*mm" material="Tungsten"/>-->
-
       <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"/>
diff --git a/Detector/DetDriftChamber/src/driftchamber/DriftChamber.cpp b/Detector/DetDriftChamber/src/driftchamber/DriftChamber.cpp
index 45c924ae..bdbb6427 100644
--- a/Detector/DetDriftChamber/src/driftchamber/DriftChamber.cpp
+++ b/Detector/DetDriftChamber/src/driftchamber/DriftChamber.cpp
@@ -102,7 +102,6 @@ static dd4hep::Ref_t create_detector(dd4hep::Detector& theDetector,
     double inner_wall_rmax = x_barrel.rmax();
     std::string inner_wall_name = x_barrel.nameStr();
     dd4hep::Material inner_wall_mat = theDetector.material(x_barrel.materialStr());
-std::cout << inner_wall_rmin << " " << inner_wall_rmax << " " << inner_wall_name << std::endl;
     dd4hep::Tube inner_wall_solid(inner_wall_rmin,inner_wall_rmax,chamber_length*0.5);
     dd4hep::Volume inner_wall_vol(inner_wall_name,inner_wall_solid,inner_wall_mat);
     inner_wall_vol.setVisAttributes(theDetector.visAttributes(x_barrel.visStr()));
@@ -114,7 +113,6 @@ std::cout << inner_wall_rmin << " " << inner_wall_rmax << " " << inner_wall_name
     double outer_wall_rmax = x_model.rmax();
     std::string outer_wall_name = x_model.nameStr();
     dd4hep::Material outer_wall_mat = theDetector.material(x_model.materialStr());
-std::cout << outer_wall_rmin << " " << outer_wall_rmax << " " << outer_wall_name << std::endl;
     dd4hep::Tube outer_wall_solid(outer_wall_rmin,outer_wall_rmax,chamber_length*0.5);
     dd4hep::Volume outer_wall_vol(outer_wall_name,outer_wall_solid,outer_wall_mat);
     outer_wall_vol.setVisAttributes(theDetector.visAttributes(x_model.visStr()));
-- 
GitLab