ATLAS Offline Software
HIEgammaRecConfigCA.py
Go to the documentation of this file.
1 #
2 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
3 #
4 
5 
6 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
7 
8 def HIEgammaRecCfg(flags):
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
HIEgammaRecConfigCA.HIEgammaRecCfg
def HIEgammaRecCfg(flags)
Definition: HIEgammaRecConfigCA.py:8
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
HIJetRecConfigCA.HIModulatorCfg
def HIModulatorCfg(flags, mod_key, suffix=None, **kwargs)
Definition: HIJetRecConfigCA.py:323
SubtractedCellGetterCA.SubtractedCellGetterCfgCA
def SubtractedCellGetterCfgCA(flags, modulator)
Definition: SubtractedCellGetterCA.py:8
python.CaloTopoClusterConfig.CaloTopoClusterCfg
def CaloTopoClusterCfg(flags, cellsname="AllCalo", clustersname=None, clustersnapname="CaloTopoClusters")
Definition: CaloTopoClusterConfig.py:318