Skip to content
Snippets Groups Projects
Commit 7c2acc44 authored by Nils Erik Krumnack's avatar Nils Erik Krumnack
Browse files

Merge branch 'AT_electronPromptLeptonIsolationVeto' into '21.2'

Update to electron PromptLepton tagger in AT

See merge request atlas/athena!21033
parents 25c88733 eb530968
No related branches found
No related tags found
No related merge requests found
......@@ -299,9 +299,14 @@ namespace top{
AnalysisTop_Isol_FCLoose(*electron) = (m_isolationTool_FCLoose->accept(*electron) ? 1 : 0);
}
// For electron prompt isolation tagger, check a cut on the tagger and also loose isolation
electron->auxdecor<char>("AnalysisTop_Isol_PromptLepton") = (electron->auxdata<float>("PromptLeptonIso_TagWeight") < -0.5) ? 1 : 0;
// Prompt Electron Tagging (PLV): https://twiki.cern.ch/twiki/bin/view/AtlasProtected/PromptLeptonTagging
// This is not recommended, purely experimental! (no plans for electron SFs from e/gamma any time soon, unless strong motivation from analyses)
// The r20.7 BDT is called "Iso", the r21 one is "Veto". The cut on the BDT weight is <-0.5, with the FixedCutLoose WP. But this WP is no longer
// supported by e/gamma, so here let's just decorate that check, and we'll let the user access the BDT weights themselves if needed.
if (electron->isAvailable<float>("PromptLeptonIso")) // r20.7
electron->auxdecor<char>("AnalysisTop_Isol_PromptLeptonIso") = (electron->auxdata<float>("PromptLeptonIso") < -0.5) ? 1 : 0;
if (electron->isAvailable<float>("PromptLeptonVeto")) // r21
electron->auxdecor<char>("AnalysisTop_Isol_PromptLeptonVeto") = (electron->auxdata<float>("PromptLeptonVeto") < -0.5) ? 1 : 0;
}
///-- set links to original objects- needed for MET calculation --///
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment