ATLAS Offline Software
keepTopoClusterCellsConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 # File: CaloRec/python/KeepTopoClusterCells.py
4 # Created: August 2025, C.A
5 # Purpose: To be used as postInclude to Keep
6 # All Cell associated with TopoClusters
7 
8 
9 def keepTopoClusterCellsCfg(flags, cfg):
10  """Fragment to be used as postInclude:
11  CaloRec.keepTopoClusterCellsConfig.keepTopoClusterCellsCfg"""
12 
13  from CaloRec.CaloThinCellsByClusterAlgConfig import (
14  CaloThinCellsByClusterAlgCfg)
15  doLCCalib = flags.Calo.TopoCluster.doTopoClusterLocalCalib
16  clustersname = "CaloCalTopoClusters" if doLCCalib else "CaloTopoClusters"
17  cellsName = flags.Egamma.Keys.Input.CaloCells
18 
20  flags,
21  streamName="StreamAOD",
22  clusters=clustersname,
23  samplings=[],
24  cells=cellsName
25  ))
26 
27  return cfg
python.CaloThinCellsByClusterAlgConfig.CaloThinCellsByClusterAlgCfg
def CaloThinCellsByClusterAlgCfg(flags, streamName, clusters, samplings=[], cells='AllCalo')
Definition: CaloThinCellsByClusterAlgConfig.py:11
python.keepTopoClusterCellsConfig.keepTopoClusterCellsCfg
def keepTopoClusterCellsCfg(flags, cfg)
Definition: keepTopoClusterCellsConfig.py:9