ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
InnerDetector
InDetConfig
python
BCM_ZeroSuppressionConfig.py
Go to the documentation of this file.
1
# Copyright (C) 2002-2022 CERN for the benefit of the ATLAS collaboration
2
# Configuration of BCM_ZeroSuppression package
3
4
from
AthenaConfiguration.ComponentAccumulator
import
ComponentAccumulator
5
from
AthenaConfiguration.ComponentFactory
import
CompFactory
6
from
AthenaConfiguration.Enums
import
ProductionStep
7
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.BCM_ZeroSuppressionConfig.BCM_ZeroSuppressionCfg
BCM_ZeroSuppressionCfg(flags, name="InDetBCM_ZeroSuppression", **kwargs)
Definition
BCM_ZeroSuppressionConfig.py:8
Generated on
for ATLAS Offline Software by
1.17.0