ATLAS Offline Software
Functions
python.TrkResidualPullCalculatorConfig Namespace Reference

Functions

def ResidualPullCalculatorCfg (flags, name='ResidualPullCalculator', **kwargs)
 

Function Documentation

◆ ResidualPullCalculatorCfg()

def python.TrkResidualPullCalculatorConfig.ResidualPullCalculatorCfg (   flags,
  name = 'ResidualPullCalculator',
**  kwargs 
)

Definition at line 6 of file TrkResidualPullCalculatorConfig.py.

6 def ResidualPullCalculatorCfg(flags, name='ResidualPullCalculator', **kwargs):
8 
9  if not flags.Detector.EnableSCT and not flags.Detector.EnableITkStrip:
10  kwargs.setdefault("ResidualPullCalculatorForSCT", "")
11  if not flags.Detector.EnableRPC:
12  kwargs.setdefault("ResidualPullCalculatorForRPC", "")
13  if not flags.Detector.EnableTGC:
14  kwargs.setdefault("ResidualPullCalculatorForTGC", "")
15 
16  acc.setPrivateTools(CompFactory.Trk.ResidualPullCalculator(name, **kwargs))
17  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.TrkResidualPullCalculatorConfig.ResidualPullCalculatorCfg
def ResidualPullCalculatorCfg(flags, name='ResidualPullCalculator', **kwargs)
Definition: TrkResidualPullCalculatorConfig.py:6