ATLAS Offline Software
Functions
python.SeedToTrackConversionToolConfig Namespace Reference

Functions

def SeedToTrackConversionToolCfg (flags, name="SeedToTrackConversionTool", **kwargs)
 
def ITkSeedToTrackConversionToolCfg (flags, name="ITkSeedToTrackConversionTool", **kwargs)
 

Function Documentation

◆ ITkSeedToTrackConversionToolCfg()

def python.SeedToTrackConversionToolConfig.ITkSeedToTrackConversionToolCfg (   flags,
  name = "ITkSeedToTrackConversionTool",
**  kwargs 
)

Definition at line 34 of file SeedToTrackConversionToolConfig.py.

35  flags, name="ITkSeedToTrackConversionTool", **kwargs):
36  acc = ComponentAccumulator()
37 
38  if "Extrapolator" not in kwargs:
39  from TrkConfig.AtlasExtrapolatorConfig import AtlasExtrapolatorCfg
40  AtlasExtrapolator = acc.popToolsAndMerge(AtlasExtrapolatorCfg(flags))
41  acc.addPublicTool(AtlasExtrapolator)
42  kwargs.setdefault("Extrapolator", AtlasExtrapolator)
43 
44  if "RIO_OnTrackCreator" not in kwargs:
45  from TrkConfig.TrkRIO_OnTrackCreatorConfig import ITkRotCreatorCfg
46  kwargs.setdefault("RIO_OnTrackCreator", acc.popToolsAndMerge(ITkRotCreatorCfg(flags)))
47 
48  extension = flags.Tracking.ActiveConfig.extension
49  if extension == flags.Tracking.PrimaryPassConfig.value:
50  extension = ""
51  kwargs.setdefault("OutputName",
52  f"SiSPSeedSegments{extension}")
53 
54  acc.setPrivateTools(
55  CompFactory.InDet.SeedToTrackConversionTool(name, **kwargs))
56  return acc

◆ SeedToTrackConversionToolCfg()

def python.SeedToTrackConversionToolConfig.SeedToTrackConversionToolCfg (   flags,
  name = "SeedToTrackConversionTool",
**  kwargs 
)

Definition at line 6 of file SeedToTrackConversionToolConfig.py.

7  flags, name="SeedToTrackConversionTool", **kwargs):
9 
10  if "Extrapolator" not in kwargs:
11  from TrkConfig.AtlasExtrapolatorConfig import InDetExtrapolatorCfg
12  InDetExtrapolator = acc.popToolsAndMerge(InDetExtrapolatorCfg(flags))
13  acc.addPublicTool(InDetExtrapolator)
14  kwargs.setdefault("Extrapolator", InDetExtrapolator)
15 
16  if "RIO_OnTrackCreator" not in kwargs:
17  from TrkConfig.TrkRIO_OnTrackCreatorConfig import (
18  InDetRotCreatorDigitalCfg)
19  RotCreator = acc.popToolsAndMerge(InDetRotCreatorDigitalCfg(flags))
20  acc.addPublicTool(RotCreator)
21  kwargs.setdefault("RIO_OnTrackCreator", RotCreator)
22 
23  extension = flags.Tracking.ActiveConfig.extension
24  if extension == flags.Tracking.PrimaryPassConfig.value:
25  extension = ""
26  kwargs.setdefault("OutputName",
27  f"SiSPSeedSegments{extension}")
28 
29  acc.setPrivateTools(
30  CompFactory.InDet.SeedToTrackConversionTool(name, **kwargs))
31  return acc
32 
33 
python.SeedToTrackConversionToolConfig.ITkSeedToTrackConversionToolCfg
def ITkSeedToTrackConversionToolCfg(flags, name="ITkSeedToTrackConversionTool", **kwargs)
Definition: SeedToTrackConversionToolConfig.py:34
python.TrkRIO_OnTrackCreatorConfig.ITkRotCreatorCfg
def ITkRotCreatorCfg(flags, name='ITkRotCreator', **kwargs)
Definition: TrkRIO_OnTrackCreatorConfig.py:134
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.SeedToTrackConversionToolConfig.SeedToTrackConversionToolCfg
def SeedToTrackConversionToolCfg(flags, name="SeedToTrackConversionTool", **kwargs)
Definition: SeedToTrackConversionToolConfig.py:6
python.TrkRIO_OnTrackCreatorConfig.InDetRotCreatorDigitalCfg
def InDetRotCreatorDigitalCfg(flags, name='InDetRotCreatorDigital', **kwargs)
Definition: TrkRIO_OnTrackCreatorConfig.py:99
python.AtlasExtrapolatorConfig.AtlasExtrapolatorCfg
def AtlasExtrapolatorCfg(flags, name='AtlasExtrapolator')
Definition: AtlasExtrapolatorConfig.py:63
python.AtlasExtrapolatorConfig.InDetExtrapolatorCfg
def InDetExtrapolatorCfg(flags, name='InDetExtrapolator', **kwargs)
Definition: AtlasExtrapolatorConfig.py:315