ATLAS Offline Software
Functions
TRTCalibToolsConfig Namespace Reference

Functions

def FillAlignTrkInfoCfg (flags, name='FillAlignTrkInfo', **kwargs)
 
def FillAlignTRTHitsCfg (flags, name='FillAlignTRTHits', **kwargs)
 
def FitToolCfg (flags, name="FitToolCfg", **kwargs)
 

Detailed Description

Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration

Function Documentation

◆ FillAlignTrkInfoCfg()

def TRTCalibToolsConfig.FillAlignTrkInfoCfg (   flags,
  name = 'FillAlignTrkInfo',
**  kwargs 
)

Definition at line 9 of file TRTCalibToolsConfig.py.

9 def FillAlignTrkInfoCfg(flags,name='FillAlignTrkInfo',**kwargs) :
10  acc = ComponentAccumulator()
11 
12  from TrkConfig.TrkTrackSummaryToolConfig import InDetTrackSummaryToolCfg
13  kwargs.setdefault("TrackSummaryTool", acc.popToolsAndMerge(InDetTrackSummaryToolCfg(flags)))
14 
15  acc.setPrivateTools(CompFactory.FillAlignTrkInfo(name, **kwargs))
16  return acc
17 
18 
19 # Tool to write a hit-tuple with R-t info

◆ FillAlignTRTHitsCfg()

def TRTCalibToolsConfig.FillAlignTRTHitsCfg (   flags,
  name = 'FillAlignTRTHits',
**  kwargs 
)

Definition at line 20 of file TRTCalibToolsConfig.py.

20 def FillAlignTRTHitsCfg(flags,name='FillAlignTRTHits',**kwargs) :
21  acc = ComponentAccumulator()
22 
23  kwargs.setdefault("minTimebinsOverThreshold", 0)
24 
25  if "TRTCalDbTool" not in kwargs:
26  from TRT_ConditionsServices.TRT_ConditionsServicesConfig import (
27  TRT_CalDbToolCfg)
28  kwargs.setdefault("TRTCalDbTool", acc.popToolsAndMerge(
29  TRT_CalDbToolCfg(flags)))
30 
31  if "TRTStrawSummaryTool" not in kwargs:
32  from TRT_ConditionsServices.TRT_ConditionsServicesConfig import (
33  TRT_StrawStatusSummaryToolCfg)
34  kwargs.setdefault("TRTStrawSummaryTool", acc.popToolsAndMerge(
36 
37  if "NeighbourSvc" not in kwargs:
38  from TRT_ConditionsServices.TRT_ConditionsServicesConfig import (
39  TRT_StrawNeighbourSvcCfg)
40  kwargs.setdefault("NeighbourSvc", acc.getPrimaryAndMerge(
42 
43  if "TRTDriftFunctionTool" not in kwargs:
44  from InDetConfig.TRT_DriftFunctionToolConfig import (
45  TRT_DriftFunctionToolCfg)
46  kwargs.setdefault("TRTDriftFunctionTool", acc.popToolsAndMerge(
48 
49  if flags.Output.HISTFileName:
50  kwargs.setdefault("NtupleName", flags.Output.HISTFileName)
51 
52  acc.setPrivateTools(CompFactory.FillAlignTRTHits(name, **kwargs))
53 
54  return acc
55 
56 
57 # Tool to refit tracks

◆ FitToolCfg()

def TRTCalibToolsConfig.FitToolCfg (   flags,
  name = "FitToolCfg",
**  kwargs 
)

Definition at line 58 of file TRTCalibToolsConfig.py.

58 def FitToolCfg(flags, name = "FitToolCfg" ,**kwargs):
59  acc = ComponentAccumulator()
60  acc.setPrivateTools(CompFactory.FitTool(name, **kwargs))
61  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
TRTCalibToolsConfig.FillAlignTRTHitsCfg
def FillAlignTRTHitsCfg(flags, name='FillAlignTRTHits', **kwargs)
Definition: TRTCalibToolsConfig.py:20
python.TRT_ConditionsServicesConfig.TRT_StrawStatusSummaryToolCfg
def TRT_StrawStatusSummaryToolCfg(flags, name="TRT_StrawStatusSummaryTool", forceLegacyAccess=False, **kwargs)
Definition: TRT_ConditionsServicesConfig.py:23
python.TRT_DriftFunctionToolConfig.TRT_DriftFunctionToolCfg
def TRT_DriftFunctionToolCfg(flags, name="InDetTRT_DriftFunctionTool", **kwargs)
Definition: TRT_DriftFunctionToolConfig.py:6
python.TrkTrackSummaryToolConfig.InDetTrackSummaryToolCfg
def InDetTrackSummaryToolCfg(flags, name='InDetTrackSummaryTool', **kwargs)
Definition: TrkTrackSummaryToolConfig.py:22
python.TRT_ConditionsServicesConfig.TRT_StrawNeighbourSvcCfg
def TRT_StrawNeighbourSvcCfg(flags, name="TRT_StrawNeighbourSvc", **kwargs)
Definition: TRT_ConditionsServicesConfig.py:42
TRTCalibToolsConfig.FitToolCfg
def FitToolCfg(flags, name="FitToolCfg", **kwargs)
Definition: TRTCalibToolsConfig.py:58
TRTCalibToolsConfig.FillAlignTrkInfoCfg
def FillAlignTrkInfoCfg(flags, name='FillAlignTrkInfo', **kwargs)
Definition: TRTCalibToolsConfig.py:9
python.TRT_ConditionsServicesConfig.TRT_CalDbToolCfg
def TRT_CalDbToolCfg(flags, name="TRT_CalDbTool", **kwags)
Definition: TRT_ConditionsServicesConfig.py:9