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

Merge branch 'QuickAna-20180911' into '21.2'

update derivation Jet clean

See merge request atlas/athena!14136

Former-commit-id: 2ab6eeb2a85bb2a43a55d8cff5faec369a2611b1
parents bdc96e08 71e2b2aa
No related branches found
No related tags found
No related merge requests found
......@@ -287,7 +287,9 @@ namespace ana
// We only clean, by default, jets that might've passed our JVT selection.
// This is too hard-coded, ugly.
bool is_clean = ( jet.pt() < 20.*GeV || (jet.pt()<60.*GeV && !jvt_pass) ||
bool is_clean = jet.isAvailable<char>("DFCommonJets_jetClean_LooseBad") ?
static_cast<bool>(jet.auxdata<char>("DFCommonJets_jetClean_LooseBad")) :
( jet.pt() < 20.*GeV || (jet.pt()<60.*GeV && !jvt_pass) ||
m_cleaning_tool->keep(jet) );
cut_cleaning_tool.setPassedIf ( is_clean );
......
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