Skip to content

Commit

Permalink
add log warning
Browse files Browse the repository at this point in the history
  • Loading branch information
mandrenguyen committed Jun 18, 2024
1 parent acd5e58 commit 18d6a7a
Showing 1 changed file with 2 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -683,6 +683,8 @@ void DeepBoostedJetTagInfoProducer::fillParticleFeatures(DeepBoostedJetFeatures
pv_ass = (*pvas_)[cand];
if (pv_ass.isNonnull())
vtx_ass = vtx_ass_from_pfcand(*reco_cand, pv_ass_quality, pv_ass);
else
edm::LogWarning("DeepBoostedJetTagInfoProducer") << "Null primary vertex reference";
} else
throw edm::Exception(edm::errors::InvalidReference) << "Vertex association missing";
}
Expand Down

0 comments on commit 18d6a7a

Please sign in to comment.