Returns ComponentAccumulator with all components required to write objects to ByteStream output
Params:
flags (AthConfigFlags): The configuration flags container
type_names (list): Objects to register converters for reading from BS, format ["typeA/key1", "typeB/key2"]
extra_inputs (list): Objects which need to be produced before the output stream algorithm runs
(scheduler dependencies), format [('typeC', 'key3'), ('typeD', 'key4')]
Definition at line 38 of file TriggerByteStreamConfig.py.
40 Returns ComponentAccumulator with all components required to write objects to ByteStream output
43 flags (AthConfigFlags): The configuration flags container
44 type_names (list): Objects to register converters for reading from BS, format ["typeA/key1", "typeB/key2"]
45 extra_inputs (list): Objects which need to be produced before the output stream algorithm runs
46 (scheduler dependencies), format [('typeC', 'key3'), ('typeD', 'key4')]
50 if flags.Trigger.Online.isPartition:
51 raise RuntimeError(
'Cannot write arbitrary objects to ByteStream in online HLT configuration')
53 from ByteStreamCnvSvc.ByteStreamConfig
import ByteStreamWriteCfg
55 acc.getPrimary().ExtraInputs = extra_inputs
56 acc.getService(
'ByteStreamEventStorageOutputSvc').StreamType =
'unknown'
57 acc.getService(
'ByteStreamEventStorageOutputSvc').StreamName =
'SingleStream'