21 seqkw = {
'sequence': sequenceName}
if sequenceName
else {}
22 acc = ComponentAccumulator (**seqkw)
24 if "EMClusterTool" not in kwargs:
26 kwargs[
"EMClusterTool"] = acc.popToolsAndMerge(emclustool)
28 if "EMShowerTool" not in kwargs:
30 kwargs[
"EMShowerTool"] = acc.popToolsAndMerge(emshowerbuilder)
32 if "ObjectQualityTool" not in kwargs
and not flags.Common.isOnline:
34 kwargs[
"ObjectQualityTool"] = acc.popToolsAndMerge(oqtool)
40 "InputElectronRecCollectionName",
41 flags.Egamma.Keys.Internal.ElectronSuperRecs)
43 "InputPhotonRecCollectionName",
44 flags.Egamma.Keys.Internal.PhotonSuperRecs)
47 flags.Egamma.Keys.Output.Electrons)
50 flags.Egamma.Keys.Output.Photons)
53 CompFactory.EGammaAmbiguityTool())
65 topoegAlg = CompFactory.xAODEgammaBuilder(name, **kwargs)
67 acc.addEventAlgo(topoegAlg)