Commit b2d4eb89 authored by Dan Guest's avatar Dan Guest
Browse files

Fix incorrect definition of jetFitter deltaR

parent 37ea262f
......@@ -165,9 +165,9 @@ void BTagJetAugmenter::augment(const xAOD::Jet &jet, const xAOD::Jet &uncalibrat
void BTagJetAugmenter::augmentJfDr(const xAOD::BTagging& btag) {
if (jfIsDefaults(btag)) {
jf_deltaR(btag) = std::hypot(jf_deltaEta(btag), jf_deltaPhi(btag));
} else {
jf_deltaR(btag) = NAN;
} else {
jf_deltaR(btag) = std::hypot(jf_deltaEta(btag), jf_deltaPhi(btag));
}
}
void BTagJetAugmenter::augmentIpRatios(const xAOD::BTagging& btag) {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment