16 name='egammaRecBuilder',
20 seqkw = {
'sequence': sequenceName}
if sequenceName
else {}
21 acc = ComponentAccumulator (**seqkw)
23 kwargs.setdefault(
"doTrackMatching", flags.Egamma.doTracking)
24 kwargs.setdefault(
"doConversions", flags.Egamma.doConversionBuilding)
26 if "TrackMatchBuilderTool" not in kwargs:
28 kwargs[
"TrackMatchBuilderTool"] = acc.popToolsAndMerge(emtrkmatch)
30 if "ConversionBuilderTool" not in kwargs:
32 kwargs[
"ConversionBuilderTool"] = acc.popToolsAndMerge(emcnv)
36 flags.Egamma.Keys.Internal.EgammaRecs)
38 "InputClusterContainerName",
39 flags.Egamma.Keys.Internal.EgammaTopoClusters)
41 egrecAlg = CompFactory.egammaRecBuilder(name, **kwargs)
43 acc.addEventAlgo(egrecAlg)