Skip to content
Snippets Groups Projects
Commit e8a39061 authored by Savanna Shaw's avatar Savanna Shaw
Browse files

Fixes to small mistakes in isolation flags in previous commit

parent 1cfd1d28
No related branches found
No related tags found
No related merge requests found
...@@ -75,6 +75,6 @@ MuonTagTool = ConfiguredMuonTagTool(Container = theMuonCollection, ...@@ -75,6 +75,6 @@ MuonTagTool = ConfiguredMuonTagTool(Container = theMuonCollection,
GradientLooseIsolation = GradientLooseIsoTool, GradientLooseIsolation = GradientLooseIsoTool,
FixedCutTightTrackOnlyIsolation= FixedCutTightTrackOnlyIsoTool, FixedCutTightTrackOnlyIsolation= FixedCutTightTrackOnlyIsoTool,
FixedCutLooseIsolation = FixedCutLooseIsoTool, FixedCutLooseIsolation = FixedCutLooseIsoTool,
DoIsolation = False DoIsolation = muonRecFlags.doMuonIso()
) )
ToolSvc += MuonTagTool ToolSvc += MuonTagTool
...@@ -239,8 +239,7 @@ isoBuilder = AlgFactory(IsolationBuilder, ...@@ -239,8 +239,7 @@ isoBuilder = AlgFactory(IsolationBuilder,
FeCorTypes = IsoCorFe, FeCorTypes = IsoCorFe,
EgIsoTypes = [[]] if not rec.doEgamma() else IsoTypes, EgIsoTypes = [[]] if not rec.doEgamma() else IsoTypes,
EgCorTypes = IsoCorEg, EgCorTypes = IsoCorEg,
MuIsoTypes = IsoTypes if rec.doMuon() and muonRecFlags.doMuonIso else [[]], MuIsoTypes = IsoTypes if rec.doMuon() and muonRecFlags.doMuonIso() else [[]],
# MuIsoTypes = [[]] if not rec.doMuon() or not muonRecFlags.doMuonIso else IsoTypes,
MuCorTypes = IsoCorMu, MuCorTypes = IsoCorMu,
LeakageTool = None, LeakageTool = None,
OutputLevel = 3) OutputLevel = 3)
......
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