ATLAS Offline Software
Functions
BackgroundAlgsConfig Namespace Reference

Functions

def BackgroundAlgsCfg (flags)
 

Function Documentation

◆ BackgroundAlgsCfg()

def BackgroundAlgsConfig.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.
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
python.MuonCombinedRecToolsConfig.MuonSegmentSelectionToolCfg
def MuonSegmentSelectionToolCfg(flags, name="MuonSegmentSelectionTool", **kwargs)
Definition: MuonCombinedRecToolsConfig.py:1041
BackgroundAlgsConfig.BackgroundAlgsCfg
def BackgroundAlgsCfg(flags)
Definition: BackgroundAlgsConfig.py:7
LArCollisionTimeConfig.LArCollisionTimeCfg
def LArCollisionTimeCfg(configFlags, cutIteration=False)
Definition: LArCollisionTimeConfig.py:8