ATLAS Offline Software
Functions
python.TRT_DriftCircleOnTrackToolConfig Namespace Reference

Functions

def TRT_DriftCircleOnTrackNoDriftTimeToolCfg (flags, name='TRT_DriftCircleOnTrackNoDriftTimeTool', **kwargs)
 
def TRT_DriftCircleOnTrackToolCfg (flags, name='TRT_DriftCircleOnTrackTool', **kwargs)
 
def TRT_DriftCircleOnTrackUniversalToolCfg (flags, name='InDetTRT_RefitRotCreator', **kwargs)
 
def TRT_DriftCircleOnTrackUniversalToolCosmicsCfg (flags, name='TRT_DriftCircleOnTrackUniversalTool', **kwargs)
 

Function Documentation

◆ TRT_DriftCircleOnTrackNoDriftTimeToolCfg()

def python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackNoDriftTimeToolCfg (   flags,
  name = 'TRT_DriftCircleOnTrackNoDriftTimeTool',
**  kwargs 
)

Definition at line 7 of file TRT_DriftCircleOnTrackToolConfig.py.

7 def TRT_DriftCircleOnTrackNoDriftTimeToolCfg(flags, name='TRT_DriftCircleOnTrackNoDriftTimeTool', **kwargs):
9  acc.setPrivateTools(CompFactory.InDet.TRT_DriftCircleOnTrackNoDriftTimeTool(name, **kwargs))
10  return acc
11 

◆ TRT_DriftCircleOnTrackToolCfg()

def python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackToolCfg (   flags,
  name = 'TRT_DriftCircleOnTrackTool',
**  kwargs 
)

Definition at line 12 of file TRT_DriftCircleOnTrackToolConfig.py.

12 def TRT_DriftCircleOnTrackToolCfg(flags, name='TRT_DriftCircleOnTrackTool', **kwargs):
13  acc = ComponentAccumulator()
14  from TrkConfig.TrkRIO_OnTrackCreatorConfig import RIO_OnTrackErrorScalingCondAlgCfg
15  acc.merge(RIO_OnTrackErrorScalingCondAlgCfg(flags))
16  kwargs.setdefault("TRTErrorScalingKey", '/Indet/TrkErrorScalingTRT')
17 
18  LuminosityOutputKey = ''
19  if flags.Beam.Type is not BeamType.Cosmics:
20  from LumiBlockComps.LuminosityCondAlgConfig import LuminosityCondAlgCfg
21  LuminosityCondAlg = LuminosityCondAlgCfg(flags)
22  acc.merge(LuminosityCondAlg)
23  LuminosityOutputKey = LuminosityCondAlg.getCondAlgo('LuminosityCondAlg').LuminosityOutputKey
24 
25  kwargs.setdefault("LumiDataKey", LuminosityOutputKey)
26  acc.setPrivateTools(CompFactory.InDet.TRT_DriftCircleOnTrackTool(name, **kwargs))
27  return acc
28 

◆ TRT_DriftCircleOnTrackUniversalToolCfg()

def python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackUniversalToolCfg (   flags,
  name = 'InDetTRT_RefitRotCreator',
**  kwargs 
)

Definition at line 29 of file TRT_DriftCircleOnTrackToolConfig.py.

29 def TRT_DriftCircleOnTrackUniversalToolCfg(flags, name='InDetTRT_RefitRotCreator', **kwargs):
30  acc = ComponentAccumulator()
31 
32  if 'RIOonTrackToolDrift' not in kwargs:
33  kwargs.setdefault("RIOonTrackToolDrift", acc.popToolsAndMerge(TRT_DriftCircleOnTrackNoDriftTimeToolCfg(flags)))
34  if 'RIOonTrackToolTube' not in kwargs:
35  kwargs.setdefault("RIOonTrackToolTube", acc.popToolsAndMerge(TRT_DriftCircleOnTrackNoDriftTimeToolCfg(flags)))
36  kwargs.setdefault("ScaleHitUncertainty", 2.5)
37 
38  acc.setPrivateTools(CompFactory.InDet.TRT_DriftCircleOnTrackUniversalTool(name, **kwargs))
39  return acc
40 

◆ TRT_DriftCircleOnTrackUniversalToolCosmicsCfg()

def python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackUniversalToolCosmicsCfg (   flags,
  name = 'TRT_DriftCircleOnTrackUniversalTool',
**  kwargs 
)

Definition at line 41 of file TRT_DriftCircleOnTrackToolConfig.py.

41 def TRT_DriftCircleOnTrackUniversalToolCosmicsCfg(flags, name='TRT_DriftCircleOnTrackUniversalTool', **kwargs):
42  kwargs.setdefault("ScaleHitUncertainty", 2.)
43  return TRT_DriftCircleOnTrackUniversalToolCfg(flags, name, **kwargs)
python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackToolCfg
def TRT_DriftCircleOnTrackToolCfg(flags, name='TRT_DriftCircleOnTrackTool', **kwargs)
Definition: TRT_DriftCircleOnTrackToolConfig.py:12
python.LuminosityCondAlgConfig.LuminosityCondAlgCfg
def LuminosityCondAlgCfg(flags, useOnlineLumi=None, suffix=None)
Definition: LuminosityCondAlgConfig.py:17
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackUniversalToolCfg
def TRT_DriftCircleOnTrackUniversalToolCfg(flags, name='InDetTRT_RefitRotCreator', **kwargs)
Definition: TRT_DriftCircleOnTrackToolConfig.py:29
python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackNoDriftTimeToolCfg
def TRT_DriftCircleOnTrackNoDriftTimeToolCfg(flags, name='TRT_DriftCircleOnTrackNoDriftTimeTool', **kwargs)
Definition: TRT_DriftCircleOnTrackToolConfig.py:7
python.TRT_DriftCircleOnTrackToolConfig.TRT_DriftCircleOnTrackUniversalToolCosmicsCfg
def TRT_DriftCircleOnTrackUniversalToolCosmicsCfg(flags, name='TRT_DriftCircleOnTrackUniversalTool', **kwargs)
Definition: TRT_DriftCircleOnTrackToolConfig.py:41
python.TrkRIO_OnTrackCreatorConfig.RIO_OnTrackErrorScalingCondAlgCfg
def RIO_OnTrackErrorScalingCondAlgCfg(flags, name='RIO_OnTrackErrorScalingCondAlg', **kwargs)
Definition: TrkRIO_OnTrackCreatorConfig.py:197