5 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
11 kwargs.setdefault(
"ConfigPath",
"")
12 from ROOT
import TauAnalysisTools
13 selectioncuts = TauAnalysisTools.SelectionCuts
14 kwargs.setdefault(
"SelectionCuts",
int(selectioncuts.CutAbsEta | selectioncuts.CutAbsCharge | selectioncuts.CutNTrack))
15 kwargs.setdefault(
"PtMin", 0.0)
16 kwargs.setdefault(
"JetIDWP", TauAnalysisTools.JETIDNONE)
17 kwargs.setdefault(
"NTracks", (0, 1, 2, 3, 4, 5))
18 kwargs.setdefault(
"AbsCharges", (0, 1, 2, 3))
19 kwargs.setdefault(
"AbsEtaRegion", (0.0, 10.0))
20 from TauAnalysisTools.TauAnalysisToolsConfig
import TauSelectionToolCfg
21 primaryseltool = acc.popToolsAndMerge(
TauSelectionToolCfg(flags,
"PrimativeTauSelectionTool", **kwargs))
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))
45 kwargs.setdefault(
"TruthElectronContainerName",
"TruthElectrons")
46 kwargs.setdefault(
"TruthMuonContainerName",
"MuonTruthParticles")
47 from TauAnalysisTools.TauAnalysisToolsConfig
import TauTruthMatchingToolCfg