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

Merge branch '21.2-fixSoftMuonsOnTruth1' into '21.2'

AnalysisTop: small fix for using soft muons on TRUTH1 derivations

See merge request atlas/athena!44486
parents a6931bd8 36a504ea
No related branches found
No related tags found
No related merge requests found
......@@ -101,7 +101,7 @@ namespace top {
}
///-- Soft Muons --///
if (topConfig->useSoftMuons()) {
if (topConfig->useMuons() && topConfig->useSoftMuons()) {
objectSelection->softmuonSelection(new top::SoftMuonMC15(topConfig->softmuonPtcut()));
}
......
......@@ -75,7 +75,7 @@ namespace top {
// (3) Determination of Fakes control regions in MC - expert fakes mode
//
if (m_config->useSoftMuons()) {
if (m_config->useSoftMuons() && m_config->useMuons()) {
top::check(m_overlapRemovalTool_softMuons_PFjets.retrieve(), "Failed to retrieve overlap removal tool for soft muons - PF jets");
top::check(m_overlapRemovalTool_softMuons_Alljets.retrieve(), "Failed to retrieve overlap removal tool for soft muons - all jets");
}
......
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