Skip to content
Snippets Groups Projects
Commit 36a504ea authored by Marco Vanadia's avatar Marco Vanadia
Browse files

small fix for using soft muons on TRUTH1 derivations

parent a6931bd8
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