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