From bd6245247f1464c5e59846f6a15e0fd1a642fbec Mon Sep 17 00:00:00 2001 From: myliu <201916234@mail.sdu.edu.cn> Date: Sat, 5 Dec 2020 15:04:08 +0800 Subject: [PATCH] Delete the variable phi0 --- Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h | 3 --- 1 file changed, 3 deletions(-) diff --git a/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h b/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h index ff4af90e..2a8631ce 100644 --- a/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h +++ b/Detector/DetSegmentation/DetSegmentation/GridDriftChamber.h @@ -66,12 +66,9 @@ public: inline void setWiresInLayer(int layer, int numWires) { - double phi0; updateParams(layer); for (int i = 0; i<numWires; ++i) { - phi0 = m_offset; - auto phi_start = _currentLayerphi * (i+0.5) + phi0; auto phi_end = phi_start + _currentLayerphi; -- GitLab