3 """ Configure egammaLargeFWDClusterMaker 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.egammaLargeFWDClusterMakerConfig
import (
11 egammaLargeFWDClusterMakerCfg)
12 from CaloClusterCorrection.CaloSwCorrections
import (
13 make_CaloSwCorrectionsCfg)
18 name="egammaLargeFWDClusterMaker",
23 kwargs.setdefault(
"SaveUncalibratedSignalState",
False)
24 kwargs.setdefault(
"ClustersOutputName",
25 flags.Egamma.Keys.Output.EgammaLargeFWDClusters)
27 if "ClusterMakerTools" not in kwargs:
29 kwargs[
"ClusterMakerTools"] = [toolAcc.popPrivateTools()]
32 if "ClusterCorrectionTools" not in kwargs:
39 cells_name=flags.Egamma.Keys.Input.CaloCells)
40 kwargs[
"ClusterCorrectionTools"] = acc.popToolsAndMerge(tools)
42 acc.addEventAlgo(CompFactory.CaloClusterMaker(name, **kwargs))