ATLAS Offline Software
Loading...
Searching...
No Matches
PFlowCommonConfig.py
Go to the documentation of this file.
1# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4from AthenaConfiguration.ComponentFactory import CompFactory
5
6def PFlowCommonCfg(ConfigFlags):
7 """Main config for PFlow decorations """
8
9 acc = ComponentAccumulator()
10 CommonAugmentation = CompFactory.DerivationFramework.CommonAugmentation
11 from DerivationFrameworkJetEtMiss.JetToolConfig import PFlowAugmentationToolCfg
12 PFlowAugTool = acc.getPrimaryAndMerge(PFlowAugmentationToolCfg(ConfigFlags))
13 acc.addEventAlgo(CommonAugmentation("PFlowAugmentation", AugmentationTools = [PFlowAugTool]))
14
15 return acc
16
17