28 kwargs.setdefault(
"ConfigPath",
"")
29 from ROOT
import TauAnalysisTools
30 selectioncuts = TauAnalysisTools.SelectionCuts
31 kwargs.setdefault(
"SelectionCuts",
int(selectioncuts.CutPt | selectioncuts.CutAbsEta | selectioncuts.CutAbsCharge | selectioncuts.CutNTrack))
32 kwargs.setdefault(
"PtMin", 20.0)
33 kwargs.setdefault(
"JetIDWP", TauAnalysisTools.JETIDNONE)
34 kwargs.setdefault(
"NTracks", (0, 1, 2, 3, 4, 5))
35 kwargs.setdefault(
"AbsCharges", (0, 1, 2, 3))
36 kwargs.setdefault(
"AbsEtaRegion", (0.0, 1.37, 1.52, flags.Tau.SeedMaxEta))
37 from TauAnalysisTools.TauAnalysisToolsConfig
import TauSelectionToolCfg
38 nominalseltool = acc.popToolsAndMerge(
TauSelectionToolCfg(flags,
"NominalTauSelectionTool", **kwargs))