Writing the data to ROBDataProviderSvc for transient BS.
More...
#include <ByteStreamRDP_OutputSvc.h>
Writing the data to ROBDataProviderSvc for transient BS.
RDP == RobDataProvider
Description: An class for writing FullEventFragment into RobDataProvider this class implements the interface IByteStreamOutputSvc for the conversion service to write the output.
Definition at line 26 of file ByteStreamRDP_OutputSvc.h.
◆ ByteStreamRDP_OutputSvc()
ByteStreamRDP_OutputSvc::ByteStreamRDP_OutputSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
◆ initialize()
StatusCode ByteStreamRDP_OutputSvc::initialize |
( |
| ) |
|
|
overridevirtual |
◆ putEvent() [1/2]
◆ putEvent() [2/2]
Definition at line 38 of file ByteStreamRDP_OutputSvc.cxx.
40 cache->releaseEvent();
41 const uint32_t reSize =
re->fragment_size_word();
43 cache->dataBuffer = std::make_unique<uint32_t[]>(reSize);
44 std::copy(reStart, reStart+reSize, cache->dataBuffer.get());
47 cache->rawEvent = std::make_unique<RawEvent>(cache->dataBuffer.get());
◆ m_bsOutputStreamName
Gaudi::Property<std::string> ByteStreamRDP_OutputSvc::m_bsOutputStreamName |
|
private |
Initial value:{
this, "BSOutputStreamName", "", "Stream name for multiple output"}
Definition at line 51 of file ByteStreamRDP_OutputSvc.h.
◆ m_eventsCache
◆ m_robProvider
Initial value:{
this, "ROBDataProviderSvc", "ROBDataProviderSvc", "ROB data provider"}
Definition at line 49 of file ByteStreamRDP_OutputSvc.h.
The documentation for this class was generated from the following files: