From fd1e5231c73c9d9a11afd4dd7052a9abcff7e28e Mon Sep 17 00:00:00 2001
From: myliu <201916234@mail.sdu.edu.cn>
Date: Sun, 6 Dec 2020 14:47:23 +0800
Subject: [PATCH] Modify compilation errors

---
 Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h b/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h
index 2a8631ce..82a4e8f0 100644
--- a/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h
+++ b/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h
@@ -69,7 +69,7 @@ public:
     updateParams(layer);
     for (int i = 0; i<numWires; ++i) {
 
-      auto phi_start = _currentLayerphi * (i+0.5) + phi0;
+      auto phi_start = _currentLayerphi * (i+0.5) + m_offset;
       auto phi_end = phi_start + _currentLayerphi;
 
       TVector3 Wstart = returnWirePosition(phi_start, 1);
-- 
GitLab