ATLAS Offline Software
JetSelectorToolsConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def JetCleaningToolCfg(ConfigFlags, name, jetdef, cleaningLevel, useDecorations):
7  """Configure the jet cleaning tool"""
9  JetCleaningTool = CompFactory.JetCleaningTool
10  acc.setPrivateTools(JetCleaningTool(name, CutLevel=cleaningLevel, JetContainer=jetdef, UseDecorations=useDecorations))
11  return acc
12 
13 
14 def EventCleaningToolCfg(ConfigFlags, name, cleaningLevel):
15  """Configure the event cleaning tool"""
16  acc = ComponentAccumulator()
17  EventCleaningTool = CompFactory.ECUtils.EventCleaningTool
18  acc.setPrivateTools(EventCleaningTool(name, CleaningLevel=cleaningLevel))
19  return acc
20 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.JetSelectorToolsConfig.EventCleaningToolCfg
def EventCleaningToolCfg(ConfigFlags, name, cleaningLevel)
Definition: JetSelectorToolsConfig.py:14
JetCleaningTool
Class for selecting jets that pass cleaning cuts.
Definition: JetCleaningTool.h:40
python.JetSelectorToolsConfig.JetCleaningToolCfg
def JetCleaningToolCfg(ConfigFlags, name, jetdef, cleaningLevel, useDecorations)
Definition: JetSelectorToolsConfig.py:6
EventCleaningTool
Class for selecting jets that pass cleaning cuts.