ATLAS Offline Software
Loading...
Searching...
No Matches
HIEgammaRecConfigCA.py
Go to the documentation of this file.
2# Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3#
4
5
6from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7
8def HIEgammaRecCfg(flags):
9 acc=ComponentAccumulator()
10
11 from HIJetRec.HIJetRecConfigCA import HIModulatorCfg
12 modulator=acc.popToolsAndMerge(HIModulatorCfg(flags,
13 # caveat: mod_key has to be the same as in HIJetRecConfigCA
14 mod_key="HIEventShapeWeighted_iter1_Modulate",
15 suffix="iter1"))
16
17 # get subtracted cells
18 from HIJetRec.SubtractedCellGetterCA import SubtractedCellGetterCfgCA
19 acc.merge(SubtractedCellGetterCfgCA(flags, modulator))
20
21 # make subtracted topo clusters
22 from CaloRec.CaloTopoClusterConfig import CaloTopoClusterCfg
23 acc.merge(CaloTopoClusterCfg(flags,
24 cellsname=flags.HeavyIon.Egamma.SubtractedCells,
25 clustersname=flags.HeavyIon.Egamma.CaloTopoCluster,
26 clustersnapname=flags.HeavyIon.Egamma.UncalibCaloTopoCluster))
27
28 return acc