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 ByteStreamOutputSvc for the conversion service to write the output.
Definition at line 25 of file ByteStreamRDP_OutputSvc.h.
◆ ByteStreamRDP_OutputSvc()
ByteStreamRDP_OutputSvc::ByteStreamRDP_OutputSvc |
( |
const std::string & |
name, |
|
|
ISvcLocator * |
svcloc |
|
) |
| |
◆ initialize()
StatusCode ByteStreamRDP_OutputSvc::initialize |
( |
| ) |
|
|
overridevirtual |
Required of all Gaudi Services.
Definition at line 23 of file ByteStreamRDP_OutputSvc.cxx.
26 ATH_MSG_FATAL(
"Cannot initialize ByteStreamOutputSvc base class.");
27 return(StatusCode::FAILURE);
33 return(StatusCode::FAILURE);
35 return(StatusCode::SUCCESS);
◆ interfaceID()
const InterfaceID & ByteStreamOutputSvc::interfaceID |
( |
| ) |
|
|
inlinestaticinherited |
Retrieve interface ID.
Declaration of the interface ID ( interface id, major version, minor version)
Definition at line 43 of file ByteStreamOutputSvc.h.
46 static const InterfaceID IID_ByteStreamOutputSvc(
"ByteStreamOutputSvc", 1, 0);
47 return(IID_ByteStreamOutputSvc);
◆ msg() [1/2]
◆ msg() [2/2]
◆ msgLvl()
◆ putEvent() [1/2]
◆ putEvent() [2/2]
context-aware method for writing the event
Implements ByteStreamOutputSvc.
Definition at line 44 of file ByteStreamRDP_OutputSvc.cxx.
46 cache->releaseEvent();
47 const uint32_t reSize =
re->fragment_size_word();
49 cache->dataBuffer = std::make_unique<uint32_t[]>(reSize);
50 std::copy(reStart, reStart+reSize, cache->dataBuffer.get());
53 cache->rawEvent = std::make_unique<RawEvent>(cache->dataBuffer.get());
◆ queryInterface()
StatusCode ByteStreamRDP_OutputSvc::queryInterface |
( |
const InterfaceID & |
riid, |
|
|
void ** |
ppvInterface |
|
) |
| |
|
override |
Required of all Gaudi services: see Gaudi documentation for details.
Definition at line 61 of file ByteStreamRDP_OutputSvc.cxx.
66 return(::AthService::queryInterface(riid, ppvInterface));
69 return(StatusCode::SUCCESS);
◆ m_bsOutputStreamName
Gaudi::Property<std::string> ByteStreamRDP_OutputSvc::m_bsOutputStreamName |
|
private |
Initial value:{
this, "BSOutputStreamName", "", "Stream name for multiple output"}
Definition at line 53 of file ByteStreamRDP_OutputSvc.h.
◆ m_eventsCache
◆ m_robProvider
Initial value:{
this, "ROBDataProviderSvc", "ROBDataProviderSvc", "ROB data provider"}
Definition at line 51 of file ByteStreamRDP_OutputSvc.h.
The documentation for this class was generated from the following files: