Skip to content

Commit

Permalink
Merge pull request #45782 from waredjeb/fix_locateCell_14_1_0_pre6
Browse files Browse the repository at this point in the history
Fix HGCAL Geometry - Revert `norot` back to False in `locateCell()`
  • Loading branch information
cmsbuild authored Aug 25, 2024
2 parents 76cf93f + f6a1154 commit 3ad0e57
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Geometry/HGCalGeometry/src/HGCalGeometry.cc
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 3ad0e57

Please sign in to comment.