ATLAS Offline Software
Functions
python.ZWindowRoISeedToolConfig Namespace Reference

Functions

def LeadTracksRoISeedToolCfg (flags, **kwargs)
 
def RandomRoISeedToolCfg (flags, **kwargs)
 
def FileRoISeedToolCfg (flags, **kwargs)
 
def TruthHSRoISeedToolCfg (flags, **kwargs)
 

Function Documentation

◆ FileRoISeedToolCfg()

def python.ZWindowRoISeedToolConfig.FileRoISeedToolCfg (   flags,
**  kwargs 
)

Definition at line 43 of file ZWindowRoISeedToolConfig.py.

43 def FileRoISeedToolCfg(flags, **kwargs) :
44  acc = ComponentAccumulator()
45 
46  # Set input/output
47  kwargs.setdefault("InputFileName", flags.Tracking.ActiveConfig.inputLowPtRoIfile)
48 
49  # Set other input properties
50  kwargs.setdefault("TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
51 
52  acc.setPrivateTools(CompFactory.InDet.FlatRoISeedTool(
53  "InDetFlatRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))
54 
55  return acc
56 

◆ LeadTracksRoISeedToolCfg()

def python.ZWindowRoISeedToolConfig.LeadTracksRoISeedToolCfg (   flags,
**  kwargs 
)

Definition at line 8 of file ZWindowRoISeedToolConfig.py.

8 def LeadTracksRoISeedToolCfg(flags, **kwargs) :
10 
11  # Set up needed tools
12  if "TrackToVertexTool" not in kwargs:
13  from TrackToVertex.TrackToVertexConfig import InDetTrackToVertexCfg
14  kwargs.setdefault("TrackToVertexTool", acc.popToolsAndMerge(
15  InDetTrackToVertexCfg(flags)))
16 
17  # Set input/output
18  kwargs.setdefault("InputTracksCollection", "ExtendedTracks")
19  kwargs.setdefault("BeamSpotKey", "BeamSpotData")
20 
21  # Set other input properties
22  kwargs.setdefault("TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
23 
24  acc.setPrivateTools(CompFactory.InDet.LeadTracksRoISeedTool(
25  "InDetLeadTracksRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))
26 
27  return acc
28 

◆ RandomRoISeedToolCfg()

def python.ZWindowRoISeedToolConfig.RandomRoISeedToolCfg (   flags,
**  kwargs 
)

Definition at line 29 of file ZWindowRoISeedToolConfig.py.

29 def RandomRoISeedToolCfg(flags, **kwargs) :
30  acc = ComponentAccumulator()
31 
32  # Set input/output
33  kwargs.setdefault("BeamSpotKey", "BeamSpotData")
34 
35  # Set other input properties
36  kwargs.setdefault("TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
37 
38  acc.setPrivateTools(CompFactory.InDet.RandomRoISeedTool(
39  "InDetRandomRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))
40 
41  return acc
42 

◆ TruthHSRoISeedToolCfg()

def python.ZWindowRoISeedToolConfig.TruthHSRoISeedToolCfg (   flags,
**  kwargs 
)

Definition at line 57 of file ZWindowRoISeedToolConfig.py.

57 def TruthHSRoISeedToolCfg(flags, **kwargs) :
58  acc = ComponentAccumulator()
59 
60  # Set input/output
61  kwargs.setdefault("InputTruthEventsCollection", "TruthEvents")
62 
63  # Set other input properties
64  kwargs.setdefault("TrackZ0Window", flags.Tracking.ActiveConfig.z0WindowRoI)
65 
66  acc.setPrivateTools(CompFactory.InDet.TruthHSRoISeedTool(
67  "InDetTruthHSRoISeedTool"+flags.Tracking.ActiveConfig.extension, **kwargs))
68 
69  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.ZWindowRoISeedToolConfig.RandomRoISeedToolCfg
def RandomRoISeedToolCfg(flags, **kwargs)
Definition: ZWindowRoISeedToolConfig.py:29
python.ZWindowRoISeedToolConfig.TruthHSRoISeedToolCfg
def TruthHSRoISeedToolCfg(flags, **kwargs)
Definition: ZWindowRoISeedToolConfig.py:57
TrackToVertexConfig.InDetTrackToVertexCfg
def InDetTrackToVertexCfg(flags, name='InDetTrackToVertex', **kwargs)
Definition: TrackToVertexConfig.py:14
python.ZWindowRoISeedToolConfig.FileRoISeedToolCfg
def FileRoISeedToolCfg(flags, **kwargs)
Definition: ZWindowRoISeedToolConfig.py:43
python.ZWindowRoISeedToolConfig.LeadTracksRoISeedToolCfg
def LeadTracksRoISeedToolCfg(flags, **kwargs)
Definition: ZWindowRoISeedToolConfig.py:8