3 __doc__ =
"""Configure egammaLargeFWDClusterMaker,
4 which chooses cells to store in the AOD"""
5 __author__ =
"Jovan Mitrevski"
7 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
8 from AthenaConfiguration.ComponentFactory
import CompFactory
9 from egammaTools.egammaLargeFWDClusterMakerConfig
import (
10 egammaLargeFWDClusterMakerCfg)
11 from CaloClusterCorrection.CaloSwCorrections
import (
12 make_CaloSwCorrectionsCfg)
17 name="egammaLargeFWDClusterMaker",
22 kwargs.setdefault(
"SaveUncalibratedSignalState",
False)
23 kwargs.setdefault(
"ClustersOutputName",
24 flags.Egamma.Keys.Output.EgammaLargeFWDClusters)
26 if "ClusterMakerTools" not in kwargs:
28 kwargs[
"ClusterMakerTools"] = [toolAcc.popPrivateTools()]
31 if "ClusterCorrectionTools" not in kwargs:
38 cells_name=flags.Egamma.Keys.Input.CaloCells)
39 kwargs[
"ClusterCorrectionTools"] = acc.popToolsAndMerge(tools)
41 acc.addEventAlgo(CompFactory.CaloClusterMaker(name, **kwargs))