Skip to content

Commit 2344a09

Browse files
author
Sunanda
committed
Make cog the default position for v19 while retrieving position from DetId
1 parent 0e91209 commit 2344a09

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)