From a7cb99723a846679c87c6b03dc736a46df94c5bf Mon Sep 17 00:00:00 2001 From: Jean-Baptiste Sauvan Date: Tue, 26 Jul 2022 09:56:50 +0200 Subject: [PATCH] Fix 60deg sector 0 and 1 definition --- Geometry/HGCalCommonData/src/HGCalGeomRotation.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geometry/HGCalCommonData/src/HGCalGeomRotation.cc b/Geometry/HGCalCommonData/src/HGCalGeomRotation.cc index 49ae8e3c1a6ec..e7f51cf17b91c 100644 --- a/Geometry/HGCalCommonData/src/HGCalGeomRotation.cc +++ b/Geometry/HGCalCommonData/src/HGCalGeomRotation.cc @@ -128,7 +128,7 @@ unsigned HGCalGeomRotation::uvMappingTo60DegreeSector0(WaferCentring waferCentri } if (moduleU > 0 && moduleV >= 0) { - if (moduleV <= moduleU) { + if (moduleV < moduleU) { return sector; } else { sector = 1;