ATLAS Offline Software
GepMETAlgConfig.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  outputMETKey,
11  OutputLevel=None):
12 
13  cfg = ComponentAccumulator()
14 
15  alg = CompFactory.GepMETAlg(name,
16  caloClustersKey=caloClustersKey,
17  outputMETKey=outputMETKey)
18  if OutputLevel is not None:
19  alg.OutputLevel = OutputLevel
20 
21  cfg.addEventAlgo(alg)
22 
23  return cfg
24 
25 
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
GepMETAlgConfig.GepMETAlgCfg
def GepMETAlgCfg(flags, name, caloClustersKey, outputMETKey, OutputLevel=None)
Definition: GepMETAlgConfig.py:6