From 7dc0f7c7e8ee8345160fa9be9ce2146b2efa013a Mon Sep 17 00:00:00 2001 From: Andrea Carlo Marini Date: Wed, 8 Mar 2017 14:43:55 +0100 Subject: [PATCH] addressing davidlange comments pII --- DataFormats/L1THGCal/src/ClusterShapes.cc | 5 ----- 1 file changed, 5 deletions(-) diff --git a/DataFormats/L1THGCal/src/ClusterShapes.cc b/DataFormats/L1THGCal/src/ClusterShapes.cc index 6e1cc2a488508..2784a84d90841 100644 --- a/DataFormats/L1THGCal/src/ClusterShapes.cc +++ b/DataFormats/L1THGCal/src/ClusterShapes.cc @@ -93,17 +93,12 @@ float ClusterShapes::SigmaPhiPhi()const { if (spp_0 < spp_1 ) { - // return phi in a well defined set of coordinates isPhi0_=true; - while (phi_0 < - M_PI) phi_0 += 2*M_PI; - while (phi_0 > M_PI) phi_0 -= 2*M_PI; return spp_0; } else { isPhi0_=false; - while (phi_1 < - M_PI) phi_1 += 2*M_PI; - while (phi_1 > M_PI) phi_1 -= 2*M_PI; return spp_1; } }