We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f6e0fc4 commit fb01256Copy full SHA for fb01256
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