#include <StreamerOutputFile.h>
Public Member Functions | |
uint32 | adler32 () const |
void | close () |
StreamerOutputFile (const std::string &name, uint32 padding=0) | |
void | write (const InitMsgBuilder &) |
void | write (const InitMsgView &) |
uint64 | write (const EventMsgBuilder &) |
uint64 | write (const EventMsgView &) |
uint64 | writeEventFragment (uint32 fragIndex, uint32 fragCount, const char *dataPtr, uint32 dataSize) |
void | writeInitFragment (uint32 fragIndex, uint32 fragCount, const char *dataPtr, uint32 dataSize) |
~StreamerOutputFile () | |
Private Member Functions | |
void | writeEventHeader (const EventMsgView &ineview) |
void | writeStart (const InitMsgView &inview) |
Private Attributes | |
edm::propagate_const< std::shared_ptr< edm::streamer::OutputFile > > | streamerfile_ |
Class for doing Streamer Write operations
Definition at line 24 of file StreamerOutputFile.h.
|
explicit |
Definition at line 7 of file StreamerOutputFile.cc.
References streamerfile_.
edm::streamer::StreamerOutputFile::~StreamerOutputFile | ( | ) |
|
inline |
Definition at line 56 of file StreamerOutputFile.h.
References streamerfile_.
Referenced by evf::GlobalEvFOutputModule::globalBeginRun().
|
inline |
Definition at line 58 of file StreamerOutputFile.h.
References streamerfile_.
Referenced by evf::GlobalEvFOutputModule::globalBeginRun(), esMonitoring.AsyncLineReaderMixin::handle_close(), and esMonitoring.FDJsonServer::handle_close().
void edm::streamer::StreamerOutputFile::write | ( | const InitMsgBuilder & | inview | ) |
Definition at line 56 of file StreamerOutputFile.cc.
References edm::streamer::InitMsgBuilder::startAddress().
Referenced by evf::GlobalEvFOutputModule::globalBeginRun(), and write().
void edm::streamer::StreamerOutputFile::write | ( | const InitMsgView & | inview | ) |
Performs write on InitMsgBuilder type, Header + Blob, both are written out.
Definition at line 61 of file StreamerOutputFile.cc.
References edm::streamer::InitMsgView::descData(), Exception, edm::streamer::InitMsgView::headerSize(), runTheMatrix::ret, edm::streamer::InitMsgView::size(), streamerfile_, and writeStart().
uint64 edm::streamer::StreamerOutputFile::write | ( | const EventMsgBuilder & | ineview | ) |
Definition at line 12 of file StreamerOutputFile.cc.
References edm::streamer::EventMsgBuilder::startAddress(), and write().
uint64 edm::streamer::StreamerOutputFile::write | ( | const EventMsgView & | ineview | ) |
Performs write on EventMsgBuilder type, Header + Blob, both are written out. RETURNS the Offset in Stream while at which EventForOutputwas written.
Offset where current event starts
Definition at line 17 of file StreamerOutputFile.cc.
References edm::streamer::EventMsgView::eventData(), Exception, edm::streamer::EventMsgView::headerSize(), runTheMatrix::ret, edm::streamer::EventMsgView::size(), streamerfile_, and writeEventHeader().
uint64 edm::streamer::StreamerOutputFile::writeEventFragment | ( | uint32 | fragIndex, |
uint32 | fragCount, | ||
const char * | dataPtr, | ||
uint32 | dataSize | ||
) |
Offset where current event starts
Definition at line 31 of file StreamerOutputFile.cc.
References Exception, runTheMatrix::ret, and streamerfile_.
|
private |
Definition at line 47 of file StreamerOutputFile.cc.
References Exception, edm::streamer::EventMsgView::headerSize(), runTheMatrix::ret, edm::streamer::EventMsgView::startAddress(), and streamerfile_.
Referenced by write().
void edm::streamer::StreamerOutputFile::writeInitFragment | ( | uint32 | fragIndex, |
uint32 | fragCount, | ||
const char * | dataPtr, | ||
uint32 | dataSize | ||
) |
Definition at line 71 of file StreamerOutputFile.cc.
References Exception, runTheMatrix::ret, and streamerfile_.
|
private |
Definition at line 80 of file StreamerOutputFile.cc.
References Exception, edm::streamer::InitMsgView::headerSize(), runTheMatrix::ret, edm::streamer::InitMsgView::startAddress(), and streamerfile_.
Referenced by write().
|
private |
Definition at line 65 of file StreamerOutputFile.h.
Referenced by adler32(), close(), StreamerOutputFile(), write(), writeEventFragment(), writeEventHeader(), writeInitFragment(), and writeStart().