ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
Functions
BackgroundAlgsConfig Namespace Reference
Functions
BackgroundAlgsCfg
(flags)
Function Documentation
◆
BackgroundAlgsCfg()
BackgroundAlgsCfg
(
flags
)
Definition at line
7
of file
BackgroundAlgsConfig.py
.
7
def
BackgroundAlgsCfg(flags):
8
9
result=ComponentAccumulator()
10
11
result.merge(LArCollisionTimeCfg(flags))
12
from
AthenaConfiguration.Enums
import
BeamType
13
if
flags.Beam.Type
is
BeamType.Collisions:
14
from
MuonCombinedConfig.MuonCombinedRecToolsConfig
import
MuonSegmentSelectionToolCfg
15
result.addEventAlgo(CompFactory.BeamBackgroundFiller(SegmentSelector = result.popToolsAndMerge(MuonSegmentSelectionToolCfg(flags))))
16
result.addEventAlgo(CompFactory.BcmCollisionTimeAlg())
17
18
result.addEventAlgo(CompFactory.BackgroundWordFiller(IsMC=flags.Input.isMC))
19
20
return
result
21
22
#No self-test __main__ here because these algos depend on many event data objects not stored in ESD, therefore they can't run stand-alone.
Generated on
for ATLAS Offline Software by
1.17.0