ATLAS Offline Software
Loading...
Searching...
No Matches
python.TRT_StandaloneTrackFinderConfig Namespace Reference

Functions

 TRT_StandaloneTrackFinderCfg (flags, name='InDetTRT_StandaloneTrackFinder', **kwargs)
 TRT_TrackSegment_TrackFinderCfg (flags, name='InDetTRT_TrackSegment_TrackFinder', **kwargs)

Function Documentation

◆ TRT_StandaloneTrackFinderCfg()

python.TRT_StandaloneTrackFinderConfig.TRT_StandaloneTrackFinderCfg ( flags,
name = 'InDetTRT_StandaloneTrackFinder',
** kwargs )

Definition at line 7 of file TRT_StandaloneTrackFinderConfig.py.

8 flags, name ='InDetTRT_StandaloneTrackFinder', **kwargs):
9 acc = ComponentAccumulator()
10
11 kwargs.setdefault("MinNumDriftCircles", flags.Tracking.TRTStandalone.minTRT)
12 kwargs.setdefault("MinPt", flags.Tracking.TRTStandalone.minPt)
13 kwargs.setdefault("OldTransitionLogic", (
14 flags.Tracking.PrimaryPassConfig is PrimaryPassConfig.MinBias))
15
16 if "TRT_SegToTrackTool" not in kwargs:
17 from InDetConfig.TRT_SegmentsToTrackToolConfig import (
18 TRT_Standalone_SegmentToTrackToolCfg)
19 kwargs.setdefault("TRT_SegToTrackTool", acc.popToolsAndMerge(
20 TRT_Standalone_SegmentToTrackToolCfg(flags)))
21
22 acc.addEventAlgo(CompFactory.InDet.TRT_StandaloneTrackFinder(name, **kwargs))
23 return acc
24

◆ TRT_TrackSegment_TrackFinderCfg()

python.TRT_StandaloneTrackFinderConfig.TRT_TrackSegment_TrackFinderCfg ( flags,
name = 'InDetTRT_TrackSegment_TrackFinder',
** kwargs )

Definition at line 25 of file TRT_StandaloneTrackFinderConfig.py.

27 **kwargs):
28 acc = ComponentAccumulator()
29
30 if "TRT_SegToTrackTool" not in kwargs:
31 from InDetConfig.TRT_SegmentsToTrackToolConfig import (
32 TRT_TrackSegment_SegmentToTrackToolCfg)
33 kwargs.setdefault("TRT_SegToTrackTool", acc.popToolsAndMerge(
34 TRT_TrackSegment_SegmentToTrackToolCfg(flags)))
35
36 kwargs.setdefault("OutputTracksLocation", "StandaloneTRTTracks")
37
38 acc.merge(TRT_StandaloneTrackFinderCfg(flags, name, **kwargs))
39 return acc