ATLAS Offline Software
CaloTriggerToolConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 #==============================================================================
4 # Provides configs for the tools/algorithms used for building/thinning L1Calo related
5 # object containers and decorations in the DAODs
6 #==============================================================================
7 
8 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
9 from AthenaConfiguration.ComponentFactory import CompFactory
10 
11 def CaloTriggerTowerServiceCfg(flags, name, **kwargs):
12  """
13  Configure the CaloTriggerTowerService
14  """
15  acc = ComponentAccumulator()
16 
17  # The calorimeter towers require conditions data
18  from CaloConditions.CaloConditionsConfig import CaloTriggerTowerCfg
19  acc.merge(CaloTriggerTowerCfg(flags))
20 
21  acc.setPrivateTools(CompFactory.CaloTriggerTowerService(name, **kwargs))
22 
23  return acc
python.CaloConditionsConfig.CaloTriggerTowerCfg
def CaloTriggerTowerCfg(flags)
Definition: CaloConditionsConfig.py:8
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
CaloTriggerToolConfig.CaloTriggerTowerServiceCfg
def CaloTriggerTowerServiceCfg(flags, name, **kwargs)
Definition: CaloTriggerToolConfig.py:11