|
ATLAS Offline Software
|
|
def | TRT_LocalOccupancyCfg (flags, name="TRT_LocalOccupancy", **kwargs) |
|
def | TrigTRT_LocalOccupancyCfg (flags, name="TrigTRT_LocalOccupancy", **kwargs) |
|
def | TRT_OverlayLocalOccupancyCfg (flags, name="TRT_OverlayLocalOccupancy", **kwargs) |
|
def | TRTOccupancyIncludeCfg (flags, name="TRTOccupancyInclude", **kwargs) |
|
def | __TRT_dEdxToolBaseCfg (flags, name, **kwargs) |
|
def | TRT_dEdxToolCfg (flags, name="TRT_dEdxTool", **kwargs) |
|
def | TrigTRT_dEdxToolCfg (flags, name="TrigTRT_dEdxTool", **kwargs) |
|
def | TRT_ElectronPidToolCfg (flags, name="TRT_ElectronPidTool", **kwargs) |
|
def | TrigTRT_ElectronPidToolCfg (flags, name="InDetTrigTRT_ElectronPidTool", **kwargs) |
|
def | GSFBuildTRT_ElectronPidToolCfg (flags, name="GSFBuildTRT_ElectronPidTool", isTrigger=False, **kwargs) |
|
◆ __TRT_dEdxToolBaseCfg()
def python.TRT_ElectronPidToolsConfig.__TRT_dEdxToolBaseCfg |
( |
|
flags, |
|
|
|
name, |
|
|
** |
kwargs |
|
) |
| |
|
private |
internal function to avoid code duplication,
it does not deal with LumiBlockMuWriterCfg dependancy correctly
Definition at line 54 of file TRT_ElectronPidToolsConfig.py.
55 """internal function to avoid code duplication,
56 it does not deal with LumiBlockMuWriterCfg dependancy correctly
59 from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig
import TRTToTCondAlgCfg
62 kwargs.setdefault(
"TRT_dEdx_isData",
not flags.Input.isMC)
64 acc.setPrivateTools(CompFactory.TRT_ToT_dEdx(name,**kwargs))
◆ GSFBuildTRT_ElectronPidToolCfg()
def python.TRT_ElectronPidToolsConfig.GSFBuildTRT_ElectronPidToolCfg |
( |
|
flags, |
|
|
|
name = "GSFBuildTRT_ElectronPidTool" , |
|
|
|
isTrigger = False , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 150 of file TRT_ElectronPidToolsConfig.py.
151 kwargs.setdefault(
"CalculateNNPid",
False)
152 kwargs.setdefault(
"MinimumTrackPtForNNPid", 0.)
◆ TrigTRT_dEdxToolCfg()
def python.TRT_ElectronPidToolsConfig.TrigTRT_dEdxToolCfg |
( |
|
flags, |
|
|
|
name = "TrigTRT_dEdxTool" , |
|
|
** |
kwargs |
|
) |
| |
trigger version should not add LumiBlockMuWriterCfg to views as it is scheduled globally
Definition at line 94 of file TRT_ElectronPidToolsConfig.py.
95 """trigger version should not add LumiBlockMuWriterCfg to views as it is scheduled globally"""
99 if "TRT_LocalOccupancyTool" not in kwargs:
102 if "AssociationTool" not in kwargs:
103 from InDetConfig.InDetAssociationToolsConfig
import TrigPrdAssociationToolCfg
◆ TrigTRT_ElectronPidToolCfg()
def python.TRT_ElectronPidToolsConfig.TrigTRT_ElectronPidToolCfg |
( |
|
flags, |
|
|
|
name = "InDetTrigTRT_ElectronPidTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 133 of file TRT_ElectronPidToolsConfig.py.
137 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import TRT_StrawStatusSummaryToolCfg
139 acc.addPublicTool(StrawStatusTool)
140 kwargs.setdefault(
"TRTStrawSummaryTool", StrawStatusTool)
145 kwargs.setdefault(
"CalculateNNPid",
False)
◆ TrigTRT_LocalOccupancyCfg()
def python.TRT_ElectronPidToolsConfig.TrigTRT_LocalOccupancyCfg |
( |
|
flags, |
|
|
|
name = "TrigTRT_LocalOccupancy" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 26 of file TRT_ElectronPidToolsConfig.py.
29 kwargs.setdefault(
"isTrigger",
True)
30 kwargs.setdefault(
"TRT_DriftCircleCollection",
"TRT_TrigDriftCircles")
◆ TRT_dEdxToolCfg()
def python.TRT_ElectronPidToolsConfig.TRT_dEdxToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_dEdxTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 68 of file TRT_ElectronPidToolsConfig.py.
71 if not flags.Input.isMC:
72 from LumiBlockComps.LumiBlockMuWriterConfig
import LumiBlockMuWriterCfg
75 if "TRT_LocalOccupancyTool" not in kwargs:
76 kwargs.setdefault(
"TRT_LocalOccupancyTool", acc.popToolsAndMerge(
79 if "AssociationTool" not in kwargs:
80 from InDetConfig.InDetAssociationToolsConfig
import (
81 InDetPrdAssociationToolCfg)
82 kwargs.setdefault(
"AssociationTool", acc.popToolsAndMerge(
85 from AthenaConfiguration.Enums
import ProductionStep
86 if flags.Common.ProductionStep
in [ProductionStep.MinbiasPreprocessing]:
87 kwargs.setdefault(
"averageInteractionsPerCrossingKey", f
"{flags.Overlay.BkgPrefix}EventInfo.averageInteractionsPerCrossing")
89 acc.setPrivateTools(acc.popToolsAndMerge(
◆ TRT_ElectronPidToolCfg()
def python.TRT_ElectronPidToolsConfig.TRT_ElectronPidToolCfg |
( |
|
flags, |
|
|
|
name = "TRT_ElectronPidTool" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 109 of file TRT_ElectronPidToolsConfig.py.
110 from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig
import TRTHTCondAlgCfg, TRTPIDNNCondAlgCfg
113 kwargs.setdefault(
"CalculateNNPid",
True)
115 if kwargs[
"CalculateNNPid"]:
118 if "TRTStrawSummaryTool" not in kwargs:
119 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import TRT_StrawStatusSummaryToolCfg
121 acc.addPublicTool(StrawStatusTool)
122 kwargs.setdefault(
"TRTStrawSummaryTool", StrawStatusTool)
124 if "TRT_LocalOccupancyTool" not in kwargs:
127 if "TRT_ToT_dEdx_Tool" not in kwargs:
128 kwargs.setdefault(
"TRT_ToT_dEdx_Tool", acc.popToolsAndMerge(
TRT_dEdxToolCfg(flags)))
130 acc.setPrivateTools(CompFactory.InDet.TRT_ElectronPidToolRun2(name, **kwargs))
◆ TRT_LocalOccupancyCfg()
def python.TRT_ElectronPidToolsConfig.TRT_LocalOccupancyCfg |
( |
|
flags, |
|
|
|
name = "TRT_LocalOccupancy" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 6 of file TRT_ElectronPidToolsConfig.py.
8 from TRT_ConditionsServices.TRT_ConditionsServicesConfig
import TRT_CalDbToolCfg
10 acc.addPublicTool(CalDbTool)
11 kwargs.setdefault(
"TRTCalDbTool", CalDbTool)
13 from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig
import TRTStrawStatusCondAlgCfg, TRTStrawCondAlgCfg
17 kwargs.setdefault(
"isTrigger",
False)
19 if "TRT_DriftCircleCollection" not in kwargs:
23 acc.setPrivateTools(CompFactory.InDet.TRT_LocalOccupancy(name, **kwargs))
◆ TRT_OverlayLocalOccupancyCfg()
def python.TRT_ElectronPidToolsConfig.TRT_OverlayLocalOccupancyCfg |
( |
|
flags, |
|
|
|
name = "TRT_OverlayLocalOccupancy" , |
|
|
** |
kwargs |
|
) |
| |
Return a ComponentAccumulator for overlay TRT_LocalOccupancy Tool
Definition at line 36 of file TRT_ElectronPidToolsConfig.py.
37 """Return a ComponentAccumulator for overlay TRT_LocalOccupancy Tool"""
38 kwargs.setdefault(
"TRT_DriftCircleCollection",
"")
39 from TRT_ConditionsAlgs.TRT_ConditionsAlgsConfig
import TRTStrawStatusCondAlgCfg
◆ TRTOccupancyIncludeCfg()
def python.TRT_ElectronPidToolsConfig.TRTOccupancyIncludeCfg |
( |
|
flags, |
|
|
|
name = "TRTOccupancyInclude" , |
|
|
** |
kwargs |
|
) |
| |
Definition at line 45 of file TRT_ElectronPidToolsConfig.py.
48 acc.addPublicTool(tool)
49 kwargs.setdefault(
"TRT_LocalOccupancyTool", tool)
50 acc.addEventAlgo(CompFactory.TRTOccupancyInclude(name, **kwargs))
def TRTToTCondAlgCfg(flags, name="TRTToTCondAlg", **kwargs)
def TRT_StrawStatusSummaryToolCfg(flags, name="TRT_StrawStatusSummaryTool", forceLegacyAccess=False, **kwargs)
def TRTPIDNNCondAlgCfg(flags, name="TRTPIDNNCondAlg", **kwargs)
def LumiBlockMuWriterCfg(flags, name='LumiBlockMuWriter', seqName="AthAlgSeq")
def TRTHTCondAlgCfg(flags, name="TRTHTCondAlg", **kwargs)
def TRTStrawStatusCondAlgCfg(flags, name="TRTStrawStatusCondAlg", **kwargs)
def TRTStrawCondAlgCfg(flags, name="TRTStrawCondAlg", **kwargs)
def TRT_CalDbToolCfg(flags, name="TRT_CalDbTool", **kwags)