ATLAS Offline Software
Functions
JpsiUpsilonToolsConfig Namespace Reference

Functions

def PrimaryVertexRefittingToolCfg (flags, **kwargs)
 
def JpsiFinderCfg (flags, name="JpsiFinder", **kwargs)
 
def JpsiAlgCfg (flags, name="JpsiAlg", **kwargs)
 

Function Documentation

◆ JpsiAlgCfg()

def JpsiUpsilonToolsConfig.JpsiAlgCfg (   flags,
  name = "JpsiAlg",
**  kwargs 
)

Definition at line 36 of file JpsiUpsilonToolsConfig.py.

36 def JpsiAlgCfg(flags, name="JpsiAlg", **kwargs):
37  acc = ComponentAccumulator()
38  if "JpsiFinderName" not in kwargs:
39  kwargs.setdefault("JpsiFinderName", acc.popToolsAndMerge(JpsiFinderCfg(flags)))
40  acc.addEventAlgo(CompFactory.JpsiAlg(name, **kwargs))
41  return acc

◆ JpsiFinderCfg()

def JpsiUpsilonToolsConfig.JpsiFinderCfg (   flags,
  name = "JpsiFinder",
**  kwargs 
)

Definition at line 16 of file JpsiUpsilonToolsConfig.py.

16 def JpsiFinderCfg(flags,name="JpsiFinder", **kwargs):
17  acc = ComponentAccumulator()
18  kwargs.setdefault("useV0Fitter", False)
19  kwargs.setdefault("V0VertexFitterTool", None)
20  if "TrkVertexFitterTool" not in kwargs:
21  from TrkConfig.TrkVKalVrtFitterConfig import BPHY_TrkVKalVrtFitterCfg
22  kwargs.setdefault("TrkVertexFitterTool", acc.addPublicTool(acc.popToolsAndMerge(BPHY_TrkVKalVrtFitterCfg(flags))))
23  if "TrackSelectorTool" not in kwargs:
24  from InDetConfig.InDetTrackSelectorToolConfig import BPHY_InDetDetailedTrackSelectorToolCfg
25  kwargs.setdefault("TrackSelectorTool", acc.addPublicTool(acc.popToolsAndMerge(BPHY_InDetDetailedTrackSelectorToolCfg(flags))))
26  if "VertexPointEstimator" not in kwargs:
27  from InDetConfig.InDetConversionFinderToolsConfig import BPHY_VertexPointEstimatorCfg
28  kwargs.setdefault("VertexPointEstimator", acc.addPublicTool(acc.popToolsAndMerge(BPHY_VertexPointEstimatorCfg(flags))))
29  if "PartPropSvc" not in kwargs:
30  from AthenaServices.PartPropSvcConfig import PartPropSvcCfg
31  kwargs.setdefault("PartPropSvc", acc.getPrimaryAndMerge(PartPropSvcCfg(flags)).name)
32  acc.setPrivateTools(CompFactory.Analysis.JpsiFinder(name, **kwargs))
33  return acc
34 
35 

◆ PrimaryVertexRefittingToolCfg()

def JpsiUpsilonToolsConfig.PrimaryVertexRefittingToolCfg (   flags,
**  kwargs 
)

Definition at line 7 of file JpsiUpsilonToolsConfig.py.

7 def PrimaryVertexRefittingToolCfg(flags, **kwargs):
9  from TrkConfig.TrkVertexFitterUtilsConfig import TrackToVertexIPEstimatorCfg
10  kwargs.setdefault( "TrackToVertexIPEstimator", acc.popToolsAndMerge( TrackToVertexIPEstimatorCfg(flags,**kwargs) ) )
11  acc.setPrivateTools( CompFactory.Analysis.PrimaryVertexRefitter( **kwargs) )
12  return acc
13 
14 
15 #A setup with nice friendly defaults
JpsiUpsilonToolsConfig.JpsiFinderCfg
def JpsiFinderCfg(flags, name="JpsiFinder", **kwargs)
Definition: JpsiUpsilonToolsConfig.py:16
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
commonBPHYMethodsCfg.BPHY_TrkVKalVrtFitterCfg
def BPHY_TrkVKalVrtFitterCfg(flags, BPHYDerivationName, **kwargs)
Definition: commonBPHYMethodsCfg.py:6
python.TrkVertexFitterUtilsConfig.TrackToVertexIPEstimatorCfg
def TrackToVertexIPEstimatorCfg(flags, name='TrackToVertexIPEstimator', **kwargs)
Definition: TrkVertexFitterUtilsConfig.py:48
python.PartPropSvcConfig.PartPropSvcCfg
def PartPropSvcCfg(flags, **kwargs)
Definition: PartPropSvcConfig.py:6
JpsiUpsilonToolsConfig.PrimaryVertexRefittingToolCfg
def PrimaryVertexRefittingToolCfg(flags, **kwargs)
Definition: JpsiUpsilonToolsConfig.py:7
python.InDetConversionFinderToolsConfig.BPHY_VertexPointEstimatorCfg
def BPHY_VertexPointEstimatorCfg(flags, name="BPHY_VertexPointEstimator", **kwargs)
Definition: InDetConversionFinderToolsConfig.py:69
python.InDetTrackSelectorToolConfig.BPHY_InDetDetailedTrackSelectorToolCfg
def BPHY_InDetDetailedTrackSelectorToolCfg(flags, name='BPHY_InDetDetailedTrackSelectorTool', **kwargs)
Definition: InDetTrackSelectorToolConfig.py:213
JpsiUpsilonToolsConfig.JpsiAlgCfg
def JpsiAlgCfg(flags, name="JpsiAlg", **kwargs)
Definition: JpsiUpsilonToolsConfig.py:36