ATLAS Offline Software
Functions
python.TRT_SeededSpacePointFinderToolConfig Namespace Reference

Functions

def SimpleTRT_SeededSpacePointFinder_ATLCfg (flags, name='InDetTRT_SeededSpFinder', InputCollections=None, **kwargs)
 
def TRT_SeededSpacePointFinder_ATLCfg (flags, name='InDetTRT_SeededSpFinder', InputCollections=None, **kwargs)
 

Function Documentation

◆ SimpleTRT_SeededSpacePointFinder_ATLCfg()

def python.TRT_SeededSpacePointFinderToolConfig.SimpleTRT_SeededSpacePointFinder_ATLCfg (   flags,
  name = 'InDetTRT_SeededSpFinder',
  InputCollections = None,
**  kwargs 
)

Definition at line 8 of file TRT_SeededSpacePointFinderToolConfig.py.

8 def SimpleTRT_SeededSpacePointFinder_ATLCfg(flags, name='InDetTRT_SeededSpFinder', InputCollections=None, **kwargs):
9  from MagFieldServices.MagFieldServicesConfig import AtlasFieldCacheCondAlgCfg
10  acc = AtlasFieldCacheCondAlgCfg(flags)
11 
12  kwargs.setdefault("SpacePointsSCTName", 'SCT_SpacePoints')
13  kwargs.setdefault("PRDtoTrackMap",
14  'InDetSegmentPRDtoTrackMap' if InputCollections is not None else "")
15  kwargs.setdefault("PerigeeCut", 1000.)
16  kwargs.setdefault("DirectionPhiCut", .3)
17  kwargs.setdefault("MaxHoles", 2)
18  kwargs.setdefault("RestrictROI", True)
19 
20  acc.setPrivateTools(
21  CompFactory.InDet.SimpleTRT_SeededSpacePointFinder_ATL(name, **kwargs))
22  return acc
23 

◆ TRT_SeededSpacePointFinder_ATLCfg()

def python.TRT_SeededSpacePointFinderToolConfig.TRT_SeededSpacePointFinder_ATLCfg (   flags,
  name = 'InDetTRT_SeededSpFinder',
  InputCollections = None,
**  kwargs 
)

Definition at line 24 of file TRT_SeededSpacePointFinderToolConfig.py.

24 def TRT_SeededSpacePointFinder_ATLCfg(flags, name='InDetTRT_SeededSpFinder', InputCollections=None, **kwargs):
25  acc = ComponentAccumulator()
26 
27  kwargs.setdefault("SpacePointsSCTName", 'SCT_SpacePoints')
28  kwargs.setdefault("SpacePointsOverlapName", 'OverlapSpacePoints')
29  kwargs.setdefault("PRDtoTrackMap",
30  'InDetSegmentPRDtoTrackMap' if InputCollections is not None else "")
31  kwargs.setdefault("NeighborSearch", True)
32  kwargs.setdefault("LoadFull", False)
33  kwargs.setdefault("DoCosmics", flags.Beam.Type is BeamType.Cosmics)
34  kwargs.setdefault("pTmin", flags.Tracking.BackTracking.minPt)
35 
36  acc.setPrivateTools(
37  CompFactory.InDet.TRT_SeededSpacePointFinder_ATL(name, **kwargs))
38  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TRT_SeededSpacePointFinderToolConfig.TRT_SeededSpacePointFinder_ATLCfg
def TRT_SeededSpacePointFinder_ATLCfg(flags, name='InDetTRT_SeededSpFinder', InputCollections=None, **kwargs)
Definition: TRT_SeededSpacePointFinderToolConfig.py:24
python.MagFieldServicesConfig.AtlasFieldCacheCondAlgCfg
def AtlasFieldCacheCondAlgCfg(flags, **kwargs)
Definition: MagFieldServicesConfig.py:8
python.TRT_SeededSpacePointFinderToolConfig.SimpleTRT_SeededSpacePointFinder_ATLCfg
def SimpleTRT_SeededSpacePointFinder_ATLCfg(flags, name='InDetTRT_SeededSpFinder', InputCollections=None, **kwargs)
Definition: TRT_SeededSpacePointFinderToolConfig.py:8