ATLAS Offline Software
OnlineStreamToServerConfig.py
Go to the documentation of this file.
1 # Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
2 
3 from AthenaConfiguration.ComponentAccumulator import ComponentAccumulator
4 from AthenaConfiguration.ComponentFactory import CompFactory
5 
6 def OnlineStreamToServerCfg(flags, name='OnlineStreamToServerTool', **kwargs):
8 
9  if "OnlineEventDisplaysSvc" not in kwargs:
10  from EventDisplaysOnline.OnlineEventDisplaysSvcConfig import OnlineEventDisplaysSvcCfg
11  acc.merge(OnlineEventDisplaysSvcCfg(flags))
12  kwargs.setdefault("OnlineEventDisplaysSvc", acc.getService("OnlineEventDisplaysSvc"))
13 
14  serverService = CompFactory.JiveXML.ExternalONCRPCServerSvc(name="ExternalONCRPCServerSvc", Hostname = "pc-tdq-mon-29")
15  acc.addService(serverService)
16  kwargs.setdefault("ServerService",serverService)
17  kwargs.setdefault("StreamName",".Unknown")
18  the_tool = CompFactory.JiveXML.StreamToServerTool(name,**kwargs)
19  acc.setPrivateTools(the_tool)
20  return acc
python.JetAnalysisCommon.ComponentAccumulator
ComponentAccumulator
Definition: JetAnalysisCommon.py:302
OnlineStreamToServerConfig.OnlineStreamToServerCfg
def OnlineStreamToServerCfg(flags, name='OnlineStreamToServerTool', **kwargs)
Definition: OnlineStreamToServerConfig.py:6
OnlineEventDisplaysSvcConfig.OnlineEventDisplaysSvcCfg
def OnlineEventDisplaysSvcCfg(flags, name="OnlineEventDisplaysSvc", **kwargs)
Definition: OnlineEventDisplaysSvcConfig.py:6