From f6a11540101a90c95788126ede35f515bf246bdb Mon Sep 17 00:00:00 2001 From: Wahid Redjeb Date: Fri, 23 Aug 2024 14:35:09 +0200 Subject: [PATCH] fix locateCell, set norot back to false --- Geometry/HGCalGeometry/src/HGCalGeometry.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Geometry/HGCalGeometry/src/HGCalGeometry.cc b/Geometry/HGCalGeometry/src/HGCalGeometry.cc index 8a7896fa10bb4..b84494c2e1487 100644 --- a/Geometry/HGCalGeometry/src/HGCalGeometry.cc +++ b/Geometry/HGCalGeometry/src/HGCalGeometry.cc @@ -237,7 +237,7 @@ GlobalPoint HGCalGeometry::getPosition(const DetId& detid, bool cog, bool debug) << id.iCell2; } xy = m_topology.dddConstants().locateCell( - id.zSide, id.iLay, id.iSec1, id.iSec2, id.iCell1, id.iCell2, true, true, true, cog, debug); + id.zSide, id.iLay, id.iSec1, id.iSec2, id.iCell1, id.iCell2, true, true, false, cog, debug); double xx = id.zSide * xy.first; double zz = id.zSide * m_topology.dddConstants().waferZ(id.iLay, true); glob = GlobalPoint(xx, xy.second, zz);