ATLAS Offline Software
commonBPHYMethodsCfg.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2023 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def BPHY_TrkVKalVrtFitterCfg(flags, BPHYDerivationName, **kwargs):
7  from TrkConfig.TrkVKalVrtFitterConfig import BPHY_TrkVKalVrtFitterCfg \
8  as TrkVKalVrtFitterCfg
9  return TrkVKalVrtFitterCfg(flags, name=BPHYDerivationName+"_VKalVrtFitter", **kwargs)
10 
11 def BPHY_V0ToolCfg(flags, BPHYDerivationName):
12  from TrkConfig.TrkVertexAnalysisUtilsConfig import V0ToolsCfg
13  return V0ToolsCfg(flags, BPHYDerivationName+"_V0Tools")
14 
15 def BPHY_VertexPointEstimatorCfg(flags, BPHYDerivationName):
16  from InDetConfig.InDetConversionFinderToolsConfig import \
17  BPHY_VertexPointEstimatorCfg as VertexPointEstimatorCfg
18  return VertexPointEstimatorCfg(flags, BPHYDerivationName+"_VtxPointEstimator")
19 
20 def BPHY_InDetDetailedTrackSelectorToolCfg(flags, BPHYDerivationName):
21  from InDetConfig.InDetTrackSelectorToolConfig import \
22  BPHY_InDetDetailedTrackSelectorToolCfg as \
23  InDetDetailedTrackSelectorToolCfg
24  return InDetDetailedTrackSelectorToolCfg(flags, BPHYDerivationName+"_InDetDetailedTrackSelectorTool")
25 
26 def Thin_vtxTrkCfg(flags, name, **kwargs):
27  acc = ComponentAccumulator()
28  acc.addPublicTool(CompFactory.DerivationFramework.Thin_vtxTrk(name, **kwargs),
29  primary = True)
30  return acc
31 
33  return ["EventInfo"]
commonBPHYMethodsCfg.Thin_vtxTrkCfg
def Thin_vtxTrkCfg(flags, name, **kwargs)
Definition: commonBPHYMethodsCfg.py:26
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
commonBPHYMethodsCfg.BPHY_TrkVKalVrtFitterCfg
def BPHY_TrkVKalVrtFitterCfg(flags, BPHYDerivationName, **kwargs)
Definition: commonBPHYMethodsCfg.py:6
python.TrkVertexAnalysisUtilsConfig.V0ToolsCfg
def V0ToolsCfg(flags, name="V0Tools", **kwargs)
Definition: TrkVertexAnalysisUtilsConfig.py:6
python.TrkVKalVrtFitterConfig.TrkVKalVrtFitterCfg
def TrkVKalVrtFitterCfg(flags, name="TrkVKalVrtFitter", **kwargs)
Definition: TrkVKalVrtFitterConfig.py:7
commonBPHYMethodsCfg.BPHY_InDetDetailedTrackSelectorToolCfg
def BPHY_InDetDetailedTrackSelectorToolCfg(flags, BPHYDerivationName)
Definition: commonBPHYMethodsCfg.py:20
commonBPHYMethodsCfg.BPHY_V0ToolCfg
def BPHY_V0ToolCfg(flags, BPHYDerivationName)
Definition: commonBPHYMethodsCfg.py:11
python.InDetConversionFinderToolsConfig.VertexPointEstimatorCfg
def VertexPointEstimatorCfg(flags, name="VertexPointEstimator", **kwargs)
Definition: InDetConversionFinderToolsConfig.py:59
commonBPHYMethodsCfg.getDefaultAllVariables
def getDefaultAllVariables()
Definition: commonBPHYMethodsCfg.py:32
commonBPHYMethodsCfg.BPHY_VertexPointEstimatorCfg
def BPHY_VertexPointEstimatorCfg(flags, BPHYDerivationName)
Definition: commonBPHYMethodsCfg.py:15