ATLAS Offline Software
Loading...
Searching...
No Matches
GepMETAlgConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentFactory import CompFactory
4from 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
GepMETAlgCfg(flags, name, caloClustersKey, outputMETKey, OutputLevel=None)