ATLAS Offline Software
Loading...
Searching...
No Matches
python.BCM_ZeroSuppressionConfig Namespace Reference

Functions

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

Function Documentation

◆ BCM_ZeroSuppressionCfg()

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

Definition at line 8 of file BCM_ZeroSuppressionConfig.py.

8def 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