ATLAS Offline Software
Loading...
Searching...
No Matches
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
8from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
9from AthenaConfiguration.ComponentFactory import CompFactory
10
11def 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
CaloTriggerTowerServiceCfg(flags, name, **kwargs)