15 mlog = logging.getLogger(name)
16 mlog.debug(
'Start configuration')
20 if "ExtrapolationTool" not in kwargs:
22 kwargs[
"ExtrapolationTool"] = acc.popToolsAndMerge(extrap)
24 if "TrackParticlesName" not in kwargs:
25 kwargs.setdefault(
"TrackParticlesName",
26 flags.Egamma.Keys.Output.GSFTrackParticles)
29 kwargs.setdefault(
"broadDeltaEta", 0.1)
31 kwargs.setdefault(
"broadDeltaPhi", 0.15)
32 kwargs.setdefault(
"useCandidateMatch",
True)
33 kwargs.setdefault(
"useScoring",
True)
34 kwargs.setdefault(
"SecondPassRescale",
True)
35 kwargs.setdefault(
"UseRescaleMetric",
True)
36 kwargs.setdefault(
"isCosmics", flags.Beam.Type
is BeamType.Cosmics)
38 tool = CompFactory.EMTrackMatchBuilder(name, **kwargs)
40 acc.setPrivateTools(tool)