3 from AthenaConfiguration.ComponentAccumulator
import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory
import CompFactory
7 flags, name = 'InDetTRT_SeedsMakerCondAlg', **kwargs):
8 from TRT_GeoModel.TRT_GeoModelConfig
import TRT_ReadoutGeometryCfg
11 if "PropagatorTool" not in kwargs:
12 from TrkConfig.TrkExRungeKuttaPropagatorConfig
import (
13 RungeKuttaPropagatorCfg)
14 kwargs.setdefault(
"PropagatorTool", acc.popToolsAndMerge(
17 kwargs.setdefault(
"NumberMomentumChannel",
18 flags.Tracking.BackTracking.TRTSegFinderPtBins)
21 CompFactory.InDet.TRT_TrackSegmentsMakerCondAlg_ATLxk(name, **kwargs))
25 flags, name='InDetTRTSegmentsMaker', **kwargs) :
28 kwargs.setdefault(
"TrtManagerLocation",
'TRT')
29 kwargs.setdefault(
"TRT_ClustersContainer",
'TRT_DriftCirclesUncalibrated')
30 kwargs.setdefault(
"IsMagneticFieldOn", flags.BField.solenoidOn)
33 CompFactory.InDet.TRT_TrackSegmentsMaker_BarrelCosmics(name, **kwargs))
37 flags, name = 'InDetTRT_SeedsMaker',
38 InputCollections = None, **kwargs):
42 name =
'InDetTRT_SeedsMakerCondAlg',
43 pTmin = flags.Tracking.BackTracking.minPt)
45 if "TrackExtensionTool" not in kwargs:
46 from InDetConfig.TRT_TrackExtensionToolConfig
import (
47 TRT_TrackExtensionToolCfg)
48 kwargs.setdefault(
"TrackExtensionTool", acc.popToolsAndMerge(
51 kwargs.setdefault(
"TRT_ClustersContainer",
'TRT_DriftCircles')
52 kwargs.setdefault(
"RemoveNoiseDriftCircles",
False)
53 kwargs.setdefault(
"NumberMomentumChannel",
54 flags.Tracking.BackTracking.TRTSegFinderPtBins)
55 if InputCollections
is not None:
56 kwargs.setdefault(
"PRDtoTrackMap",
'InDetSegmentPRDtoTrackMap')
57 kwargs.setdefault(
"MinNumberDriftCircles", flags.Tracking.BackTracking.minTRT)
58 kwargs.setdefault(
"pTmin", flags.Tracking.BackTracking.minPt)
59 kwargs.setdefault(
"sharedFrac", flags.Tracking.BackTracking.maxTRTSharedFrac)
62 CompFactory.InDet.TRT_TrackSegmentsMaker_ATLxk(name, **kwargs))
66 flags, name = 'InDetTRT_SeedsMaker_Phase', **kwargs):
67 kwargs.setdefault(
"PRDtoTrackMap",
"")
71 flags, name = 'InDetTRT_SeedsMaker_TrackSegments', **kwargs):
72 kwargs.setdefault(
"pTmin", flags.Tracking.ActiveConfig.minPT)
73 kwargs.setdefault(
"MinNumberDriftCircles", flags.Tracking.ActiveConfig.minPT)
74 kwargs.setdefault(
"sharedFrac", 0.7)
75 kwargs.setdefault(
"PRDtoTrackMap",
"")