ATLAS Offline Software
Functions
python.InDetExtensionProcessorConfig Namespace Reference

Functions

def InDetExtensionProcessorCfg (flags, name="InDetExtensionProcessor", **kwargs)
 
def TrigInDetExtensionProcessorCfg (flags, name="InDetTrigMTExtensionProcessor", **kwargs)
 

Function Documentation

◆ InDetExtensionProcessorCfg()

def python.InDetExtensionProcessorConfig.InDetExtensionProcessorCfg (   flags,
  name = "InDetExtensionProcessor",
**  kwargs 
)

Definition at line 8 of file InDetExtensionProcessorConfig.py.

8 def InDetExtensionProcessorCfg(flags, name="InDetExtensionProcessor", **kwargs):
10 
11  if "TrackFitter" not in kwargs:
12  if flags.Tracking.ActiveConfig.extension != "LowPt":
13  from TrkConfig.CommonTrackFitterConfig import (
14  InDetTrackFitterHoleSearchCfg)
15  InDetExtensionFitter = acc.popToolsAndMerge(
17  flags,
18  name=('InDetTrackFitter_TRTExtension' +
19  flags.Tracking.ActiveConfig.extension)))
20  else:
21  from TrkConfig.CommonTrackFitterConfig import (
22  InDetTrackFitterLowPtHoleSearchCfg)
23  InDetExtensionFitter = acc.popToolsAndMerge(
25  flags,
26  name=('InDetTrackFitter_TRTExtension' +
27  flags.Tracking.ActiveConfig.extension)))
28 
29  acc.addPublicTool(InDetExtensionFitter)
30  kwargs.setdefault("TrackFitter", InDetExtensionFitter)
31 
32  if "ScoringTool" not in kwargs:
33  if flags.Beam.Type is BeamType.Cosmics:
34  from InDetConfig.InDetTrackScoringToolsConfig import (
35  InDetCosmicExtenScoringToolCfg)
36  InDetExtenScoringTool = acc.popToolsAndMerge(
38  else:
39  from InDetConfig.InDetTrackScoringToolsConfig import (
40  InDetExtenScoringToolCfg)
41  InDetExtenScoringTool = acc.popToolsAndMerge(
43 
44  acc.addPublicTool(InDetExtenScoringTool)
45  kwargs.setdefault("ScoringTool", InDetExtenScoringTool)
46 
47  if "TrackSummaryTool" not in kwargs:
48  from TrkConfig.TrkTrackSummaryToolConfig import InDetTrackSummaryToolCfg
49  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
51 
52  kwargs.setdefault("suppressHoleSearch", False)
53  kwargs.setdefault("tryBremFit", flags.Tracking.ActiveConfig.doBremRecoverySi)
54  kwargs.setdefault("caloSeededBrem", flags.Tracking.doCaloSeededBrem)
55  kwargs.setdefault("pTminBrem", flags.Tracking.ActiveConfig.minPTBrem)
56  kwargs.setdefault("RefitPrds", False)
57  kwargs.setdefault("matEffects",
58  flags.Tracking.materialInteractionsType
59  if flags.Tracking.materialInteractions else 0)
60  kwargs.setdefault("Cosmics", flags.Beam.Type is BeamType.Cosmics)
61 
62  acc.addEventAlgo(CompFactory.InDet.InDetExtensionProcessor(
63  name + flags.Tracking.ActiveConfig.extension, **kwargs))
64  return acc
65 
66 

◆ TrigInDetExtensionProcessorCfg()

def python.InDetExtensionProcessorConfig.TrigInDetExtensionProcessorCfg (   flags,
  name = "InDetTrigMTExtensionProcessor",
**  kwargs 
)

Definition at line 67 of file InDetExtensionProcessorConfig.py.

67 def TrigInDetExtensionProcessorCfg(flags, name="InDetTrigMTExtensionProcessor", **kwargs):
68  acc = ComponentAccumulator()
69 
70  if "TrackFitter" not in kwargs:
71  from TrkConfig.TrkGlobalChi2FitterConfig import (
72  InDetTrigGlobalChi2FitterCfg)
73  InDetExtensionFitter = acc.popToolsAndMerge(
75  acc.addPublicTool(InDetExtensionFitter)
76  kwargs.setdefault("TrackFitter", InDetExtensionFitter)
77 
78  if "ScoringTool" not in kwargs:
79  from InDetConfig.InDetTrackScoringToolsConfig import (
80  InDetTrigAmbiScoringToolCfg)
81  InDetExtenScoringTool = acc.popToolsAndMerge(
83  name="TrigAmbiguityScoringTool"+flags.Tracking.ActiveConfig.input_name))
84  acc.addPublicTool(InDetExtenScoringTool)
85  kwargs.setdefault("ScoringTool", InDetExtenScoringTool)
86 
87  if "TrackSummaryTool" not in kwargs:
88  from TrkConfig.TrkTrackSummaryToolConfig import (
89  InDetTrigTrackSummaryToolCfg)
90  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(
92 
93  kwargs.setdefault("suppressHoleSearch", False)
94  kwargs.setdefault("RefitPrds",
95  not flags.Tracking.ActiveConfig.refitROT)
96 
97  kwargs.setdefault("TrackName",
98  flags.Tracking.ActiveConfig.trkTracks_IDTrig+"_Amb")
99  kwargs.setdefault("ExtensionMap", "ExtendedTrackMap")
100  kwargs.setdefault("NewTrackName",
101  flags.Tracking.ActiveConfig.trkTracks_IDTrig)
102 
103  acc.addEventAlgo(CompFactory.InDet.InDetExtensionProcessor(
104  name + flags.Tracking.ActiveConfig.input_name, **kwargs))
105  return acc
python.TrkTrackSummaryToolConfig.InDetTrigTrackSummaryToolCfg
def InDetTrigTrackSummaryToolCfg(flags, name="InDetTrigTrackSummaryTool", **kwargs)
Definition: TrkTrackSummaryToolConfig.py:53
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.InDetExtensionProcessorConfig.TrigInDetExtensionProcessorCfg
def TrigInDetExtensionProcessorCfg(flags, name="InDetTrigMTExtensionProcessor", **kwargs)
Definition: InDetExtensionProcessorConfig.py:67
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg
def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:22
python.TrkGlobalChi2FitterConfig.InDetTrigGlobalChi2FitterCfg
def InDetTrigGlobalChi2FitterCfg(flags, name='InDetTrigTrackFitter', **kwargs)
InDet trigger config.
Definition: TrkGlobalChi2FitterConfig.py:338
python.CommonTrackFitterConfig.InDetTrackFitterLowPtHoleSearchCfg
def InDetTrackFitterLowPtHoleSearchCfg(flags, name='InDetTrackFitterHoleSearch', **kwargs)
Definition: CommonTrackFitterConfig.py:76
python.InDetTrackScoringToolsConfig.InDetTrigAmbiScoringToolCfg
def InDetTrigAmbiScoringToolCfg(flags, name='TrigAmbiguityScoringTool', **kwargs)
Definition: InDetTrackScoringToolsConfig.py:100
python.InDetExtensionProcessorConfig.InDetExtensionProcessorCfg
def InDetExtensionProcessorCfg(flags, name="InDetExtensionProcessor", **kwargs)
Definition: InDetExtensionProcessorConfig.py:8
python.InDetTrackScoringToolsConfig.InDetExtenScoringToolCfg
def InDetExtenScoringToolCfg(flags, name='InDetExtenScoringTool', **kwargs)
Definition: InDetTrackScoringToolsConfig.py:74
python.InDetTrackScoringToolsConfig.InDetCosmicExtenScoringToolCfg
def InDetCosmicExtenScoringToolCfg(flags, name='InDetCosmicExtenScoringTool', **kwargs)
Definition: InDetTrackScoringToolsConfig.py:164
python.CommonTrackFitterConfig.InDetTrackFitterHoleSearchCfg
def InDetTrackFitterHoleSearchCfg(flags, name='InDetTrackFitterHoleSearch', **kwargs)
Definition: CommonTrackFitterConfig.py:21