ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
GepTopoTowerAlgConfig.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.ComponentFactory import CompFactory
4 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5 
7  flags,
8  name,
9  caloClustersKey,
10  outputCaloClustersKey,
11  gepCellMapKey='GepCells',
12  OutputLevel=None):
13 
14  cfg = ComponentAccumulator()
15 
16  alg = CompFactory.GepTopoTowerAlg(name,
17  gepCellMapKey=gepCellMapKey,
18  caloClustersKey=caloClustersKey,
19  outputCaloClustersKey=outputCaloClustersKey)
20  if OutputLevel is not None:
21  alg.OutputLevel = OutputLevel
22 
23  cfg.addEventAlgo(alg)
24 
25  return cfg
26 
27 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
GepTopoTowerAlgConfig.GepTopoTowerAlgCfg
def GepTopoTowerAlgCfg(flags, name, caloClustersKey, outputCaloClustersKey, gepCellMapKey='GepCells', OutputLevel=None)
Definition: GepTopoTowerAlgConfig.py:6