Skip to content

Commit 85d5c49

Browse files
authored
Merge pull request #48188 from bsunanda/Phase2-hgx364D
Phase2-hgx364D Make cog the default position for v19 while retrieving position from DetId
2 parents ebb1b53 + 2344a09 commit 85d5c49

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

Geometry/HGCalGeometry/src/HGCalGeometry.cc

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,8 @@ bool HGCalGeometry::present(const DetId& detId) const {
204204
}
205205

206206
GlobalPoint HGCalGeometry::getPosition(const DetId& detid, bool debug) const {
207-
return getPosition(detid, false, debug);
207+
bool cog = m_topology.dddConstants().waferHexagon8Fine() ? true : false;
208+
return getPosition(detid, cog, debug);
208209
}
209210

210211
GlobalPoint HGCalGeometry::getPosition(const DetId& detid, bool cog, bool debug) const {

0 commit comments

Comments
 (0)