We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 39d9e04 + fb01256 commit 3196c18Copy full SHA for 3196c18
Fireworks/Geometry/src/FWRecoGeometryESProducer.cc
@@ -402,7 +402,7 @@ void FWRecoGeometryESProducer::addPixelBarrelGeometry(FWRecoGeometry& fwRecoGeom
402
++it) {
403
const GeomDet* det = *it;
404
405
- if (det) {
+ if (det and det->isLeaf()) {
406
DetId detid = det->geographicalId();
407
unsigned int rawid = detid.rawId();
408
unsigned int current = insert_id(rawid, fwRecoGeometry);
0 commit comments