206 kwargs.setdefault(
"pTmin", flags.Tracking.ActiveConfig.minPTSeed)
207 kwargs.setdefault(
"maxdImpact",
208 flags.Tracking.ActiveConfig.maxPrimaryImpactSeed)
209 kwargs.setdefault(
"maxZ", flags.Tracking.ActiveConfig.maxZImpactSeed)
210 kwargs.setdefault(
"minZ", -flags.Tracking.ActiveConfig.maxZImpactSeed)
211 kwargs.setdefault(
"radMax", flags.Tracking.ActiveConfig.radMax)
212 kwargs.setdefault(
"etaMax", flags.Tracking.ActiveConfig.maxEta)
214 kwargs.setdefault(
"usePixel",
215 flags.Tracking.ActiveConfig.useITkPixel
and
216 flags.Tracking.ActiveConfig.useITkPixelSeeding)
217 kwargs.setdefault(
"SpacePointsPixelName",
'ITkPixelSpacePoints')
218 kwargs.setdefault(
"useStrip",
219 flags.Tracking.ActiveConfig.useITkStrip
and
220 flags.Tracking.ActiveConfig.useITkStripSeeding)
221 kwargs.setdefault(
"SpacePointsStripName",
'ITkStripSpacePoints')
222 kwargs.setdefault(
"useOverlapSpCollection",
223 flags.Tracking.ActiveConfig.useITkStrip
and
224 flags.Tracking.ActiveConfig.useITkStripSeeding)
225 kwargs.setdefault(
"SpacePointsOverlapName",
'ITkOverlapSpacePoints')
227 if flags.Tracking.ActiveConfig.usePrdAssociationTool:
229 kwargs.setdefault(
"PRDtoTrackMap", (
230 'ITkPRDtoTrackMap' + flags.Tracking.ActiveConfig.extension))
232 if flags.Tracking.doITkFastTracking:
233 kwargs.setdefault(
"useFastTracking",
True)
234 kwargs.setdefault(
"maxSeedsForSpacePoint", 3)
236 if flags.Tracking.ActiveConfig.extension ==
"LargeD0":
237 kwargs.setdefault(
"isLRT",
True)
239 if flags.Tracking.writeSeedValNtuple:
240 kwargs.setdefault(
"WriteNtuple",
True)
241 acc.addService(CompFactory.THistSvc(
242 Output=[
"valNtuples DATAFILE='SeedMakerValidation.root' OPT='RECREATE'"]))
244 acc.setPrivateTools(CompFactory.ITk.SiSpacePointsSeedMaker(
245 name+flags.Tracking.ActiveConfig.extension, **kwargs))