ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
JiveXML
python
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):
7
acc = ComponentAccumulator()
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
OnlineStreamToServerConfig.OnlineStreamToServerCfg
OnlineStreamToServerCfg(flags, name='OnlineStreamToServerTool', **kwargs)
Definition
OnlineStreamToServerConfig.py:6
Generated on
for ATLAS Offline Software by
1.17.0