4 Configure egammaLargeClusterMaker,
5 which chooses cells to store in the AOD"""
6 __author__ =
"Jovan Mitrevski"
8 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
9 from AthenaConfiguration.ComponentFactory
import CompFactory
10 from egammaTools.egammaLargeClusterMakerConfig
import (
11 egammaLargeClusterMakerCfg)
12 from CaloClusterCorrection.CaloSwCorrections
import (
13 make_CaloSwCorrectionsCfg)
18 name="egammaLargeClusterMaker",
23 kwargs.setdefault(
"SaveUncalibratedSignalState",
False)
24 kwargs.setdefault(
"ClustersOutputName",
25 flags.Egamma.Keys.Output.EgammaLargeClusters)
27 if "ClusterMakerTools" not in kwargs:
29 kwargs[
"ClusterMakerTools"] = [acc.popToolsAndMerge(tool)]
31 if "ClusterCorrectionTools" not in kwargs:
37 cells_name=flags.Egamma.Keys.Input.CaloCells)
38 kwargs[
"ClusterCorrectionTools"] = acc.popToolsAndMerge(tools)
40 acc.addEventAlgo(CompFactory.CaloClusterMaker(name, **kwargs))