ATLAS Offline Software
Toggle main menu visibility
Loading...
Searching...
No Matches
graphics
EventDisplaysOnline
python
graphics/EventDisplaysOnline/python/ByteStreamConfig.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
5
def
ByteStreamCfg
(flags, **kwargs):
6
7
acc = ComponentAccumulator()
8
9
from
ByteStreamEmonSvc.EmonByteStreamConfig
import
EmonByteStreamCfg
10
acc.merge(EmonByteStreamCfg(flags))
11
12
bytestreamInput = acc.getService(
"ByteStreamInputSvc"
)
13
bytestreamInput.Partition = flags.OnlineEventDisplays.PartitionName
14
bytestreamInput.GroupName =
"EventDisplaysOnline"
15
bytestreamInput.PublishName =
"EventDisplays"
16
bytestreamInput.Key =
"dcm"
17
bytestreamInput.KeyCount = 1
18
bytestreamInput.Timeout = 600000
19
bytestreamInput.UpdatePeriod = 200
20
bytestreamInput.BufferSize = 10
21
bytestreamInput.ISServer =
''
# Disable histogramming
22
bytestreamInput.StreamNames = flags.OnlineEventDisplays.TriggerStreams
23
bytestreamInput.ProcessCorruptedEvents =
True
24
#bytestreamInput.StreamType = "physics" #comment out for all streams, e.g. if you also want claibration streams
25
bytestreamInput.StreamLogic =
"Or"
26
27
if
flags.OnlineEventDisplays.BeamSplashMode:
28
bytestreamInput.KeyCount = 64
# equal or greater than the number of DCMs for beam splashes
29
bytestreamInput.BufferSize = 192
# at least three times of keycount for beam splashes
30
bytestreamInput.Timeout = 144000000
#(40 hrs)
31
bytestreamInput.StreamType =
"physics"
#if trigger fails it will go to debug_HltError
32
33
if
flags.OnlineEventDisplays.PartitionName !=
'ATLAS'
:
34
bytestreamInput.KeyValue = [
'Test_emon_push'
]
35
bytestreamInput.KeyCount = 1
36
37
return
acc
ByteStreamConfig.ByteStreamCfg
ByteStreamCfg(flags, **kwargs)
Definition
graphics/EventDisplaysOnline/python/ByteStreamConfig.py:5
Generated on
for ATLAS Offline Software by
1.17.0