23 seqkw = {
'sequence': sequenceName}
if sequenceName
else {}
24 acc = ComponentAccumulator (**seqkw)
26 if "EMClusterTool" not in kwargs:
28 kwargs[
"EMClusterTool"] = acc.popToolsAndMerge(emclustool)
30 if "EMShowerTool" not in kwargs:
32 kwargs[
"EMShowerTool"] = acc.popToolsAndMerge(emshowerbuilder)
34 if "ObjectQualityTool" not in kwargs
and not flags.Common.isOnline:
36 kwargs[
"ObjectQualityTool"] = acc.popToolsAndMerge(oqtool)
42 "InputElectronRecCollectionName",
43 flags.Egamma.Keys.Internal.ElectronSuperRecs)
45 "InputPhotonRecCollectionName",
46 flags.Egamma.Keys.Internal.PhotonSuperRecs)
49 flags.Egamma.Keys.Output.Electrons)
52 flags.Egamma.Keys.Output.Photons)
55 CompFactory.EGammaAmbiguityTool())
67 topoegAlg = CompFactory.xAODEgammaBuilder(name, **kwargs)
69 acc.addEventAlgo(topoegAlg)