ATLAS Offline Software
OnlineEventDisplaysSvcConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def OnlineEventDisplaysSvcCfg(flags, name = "OnlineEventDisplaysSvc", **kwargs):
7 
9  kwargs.setdefault("MaxEvents", flags.OnlineEventDisplays.MaxEvents)
10  kwargs.setdefault("OutputDirectory", flags.OnlineEventDisplays.OutputDirectory)
11  kwargs.setdefault("ProjectTag", flags.OnlineEventDisplays.ProjectTag)
12  kwargs.setdefault("PublicStreams", flags.OnlineEventDisplays.PublicStreams)
13  kwargs.setdefault("StreamsWanted", flags.OnlineEventDisplays.TriggerStreams)
14  kwargs.setdefault("BeamSplash", flags.OnlineEventDisplays.BeamSplashMode)
15  kwargs.setdefault("CheckPair", False)
16  onlineEventDisplaysSvc = CompFactory.OnlineEventDisplaysSvc(name, **kwargs)
17 
18  acc.addService(onlineEventDisplaysSvc, create=True)
19 
20  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
OnlineEventDisplaysSvcConfig.OnlineEventDisplaysSvcCfg
def OnlineEventDisplaysSvcCfg(flags, name="OnlineEventDisplaysSvc", **kwargs)
Definition: OnlineEventDisplaysSvcConfig.py:6