ATLAS Offline Software
Functions
python.BCM_ZeroSuppressionConfig Namespace Reference

Functions

def BCM_ZeroSuppressionCfg (flags, name="InDetBCM_ZeroSuppression", **kwargs)
 

Function Documentation

◆ BCM_ZeroSuppressionCfg()

def python.BCM_ZeroSuppressionConfig.BCM_ZeroSuppressionCfg (   flags,
  name = "InDetBCM_ZeroSuppression",
**  kwargs 
)

Definition at line 8 of file BCM_ZeroSuppressionConfig.py.

8 def BCM_ZeroSuppressionCfg(flags, name="InDetBCM_ZeroSuppression", **kwargs):
9  if flags.Detector.GeometryITk:
10  name = name.replace("InDet", "ITk")
11 
12  acc = ComponentAccumulator()
13  if flags.Common.ProductionStep is ProductionStep.PileUpPretracking:
14  kwargs.setdefault("BcmContainerName", flags.Overlay.BkgPrefix + "BCM_RDOs")
15  else:
16  kwargs.setdefault("BcmContainerName", "BCM_RDOs")
17  algo = CompFactory.BCM_ZeroSuppression(name, **kwargs)
18  acc.addEventAlgo(algo, primary = True)
19  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.BCM_ZeroSuppressionConfig.BCM_ZeroSuppressionCfg
def BCM_ZeroSuppressionCfg(flags, name="InDetBCM_ZeroSuppression", **kwargs)
Definition: BCM_ZeroSuppressionConfig.py:8