ATLAS Offline Software
Loading...
Searching...
No Matches
JetCSSKMerging.py
Go to the documentation of this file.
1# Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2
3from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4
5# Function to recreate CSSKGParticleFlowObjects and get the links to the PFlows associated to the UFOs.
6def CSSKMergingCfg(flags):
7 from JetRecConfig.JetRecConfig import getInputAlgs
8 from JetRecConfig.StandardJetConstits import stdConstitDic
9 algs = getInputAlgs(stdConstitDic.GPFlowCSSK, flags)
10 acc = ComponentAccumulator()
11 # instantiate algorithm configuration object setting its properties
12 del algs[2] # remove a pflowselalgs starting from original pflow not existing in input FTAG1
13 for a in algs:
14 acc.addEventAlgo(a)
15 return acc