18 : base_class(name, svcloc) {
29 return StatusCode::SUCCESS;
34 return putEvent(
re, Gaudi::Hive::currentContext());
40 cache->releaseEvent();
41 const uint32_t reSize =
re->fragment_size_word();
42 const uint32_t* reStart =
re->start();
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());
const boost::regex re(r_e)
#define ATH_CHECK
Evaluate an expression and check for errors.
OFFLINE_FRAGMENTS_NAMESPACE::FullEventFragment RawEvent
data type for reading raw event
virtual bool putEvent(const RawEvent *re) override
Implementation of the IByteStreamOutputSvc interface methods.
virtual StatusCode initialize() override
Required of all Gaudi Services.
ServiceHandle< IROBDataProviderSvc > m_robProvider
Gaudi::Property< std::string > m_bsOutputStreamName
SG::SlotSpecificObj< EventCache > m_eventsCache
Cache of event data for each slot.
ByteStreamRDP_OutputSvc(const std::string &name, ISvcLocator *svcloc)
Constructors: