Skip to content

Commit

Permalink
Merge pull request #45784 from Dr15Jones/fwGeomPhase2
Browse files Browse the repository at this point in the history
Skip non-leaf GeomDets when dumping fireworks geometry
  • Loading branch information
cmsbuild authored Aug 28, 2024
2 parents 39d9e04 + fb01256 commit 3196c18
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion Fireworks/Geometry/src/FWRecoGeometryESProducer.cc
Original file line number Diff line number Diff line change
Expand Up @@ -402,7 +402,7 @@ void FWRecoGeometryESProducer::addPixelBarrelGeometry(FWRecoGeometry& fwRecoGeom
++it) {
const GeomDet* det = *it;

if (det) {
if (det and det->isLeaf()) {
DetId detid = det->geographicalId();
unsigned int rawid = detid.rawId();
unsigned int current = insert_id(rawid, fwRecoGeometry);
Expand Down

0 comments on commit 3196c18

Please sign in to comment.