ATLAS Offline Software
Loading...
Searching...
No Matches
METTruth_Cfg.py
Go to the documentation of this file.
1# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2
3from METReconstruction.METRecoCfg import BuildConfig, METConfig,getMETRecoAlg
4from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
5
6
7def METTruth_Cfg(configFlags):
8
9 components = ComponentAccumulator()
10
11 cfg_truth = METConfig('Truth',configFlags,
12 [BuildConfig('NonInt'),
13 BuildConfig('Int'),
14 BuildConfig('IntOut'),
15 BuildConfig('IntMuons')],
16 doRegions=True
17 )
18 components.merge(cfg_truth.accumulator)
19
20 recoAlg=getMETRecoAlg(algName='METRecoAlg_Truth',configs={"Truth":cfg_truth})
21 components.addEventAlgo(recoAlg)
22 return components