#include <StreamerFileWriter.h>
Public Member Functions | |
void | doOutputEvent (EventMsgBuilder const &msg) |
void | doOutputEvent (EventMsgView const &msg) |
void | doOutputEventFragment (StreamerFileWriterEventParams const &) |
void | doOutputHeader (InitMsgBuilder const &init_message) |
void | doOutputHeader (InitMsgView const &init_message) |
void | doOutputHeaderFragment (StreamerFileWriterHeaderParams const &) |
uint32 | get_adler32 () const |
uint32 | getStreamEOFSize () const |
void | start () |
void | stop () |
StreamerFileWriter (edm::ParameterSet const &ps) | |
StreamerFileWriter (std::string const &fileName) | |
~StreamerFileWriter () | |
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
Private Member Functions | |
void | updateHLTStats (std::vector< uint8 > const &packedHlt) |
Private Attributes | |
uint32 | hltCount_ |
std::vector< uint32 > | hltStats_ |
uint32 | stream_eof_size_ |
std::auto_ptr< StreamerOutputFile > | stream_writer_ |
Definition at line 46 of file StreamerFileWriter.h.
|
explicit |
Definition at line 5 of file StreamerFileWriter.cc.
|
explicit |
Definition at line 12 of file StreamerFileWriter.cc.
edm::StreamerFileWriter::~StreamerFileWriter | ( | ) |
Definition at line 18 of file StreamerFileWriter.cc.
void edm::StreamerFileWriter::doOutputEvent | ( | EventMsgBuilder const & | msg | ) |
Definition at line 81 of file StreamerFileWriter.cc.
References EventMsgBuilder::startAddress().
void edm::StreamerFileWriter::doOutputEvent | ( | EventMsgView const & | msg | ) |
Definition at line 66 of file StreamerFileWriter.cc.
References hltCount_, EventMsgView::hltTriggerBits(), stream_writer_, and updateHLTStats().
void edm::StreamerFileWriter::doOutputEventFragment | ( | StreamerFileWriterEventParams const & | evtParams | ) |
Definition at line 86 of file StreamerFileWriter.cc.
References edm::StreamerFileWriterEventParams::dataPtr, edm::StreamerFileWriterEventParams::dataSize, edm::StreamerFileWriterEventParams::fragmentCount, edm::StreamerFileWriterEventParams::fragmentIndex, edm::StreamerFileWriterEventParams::hltBits, stream_writer_, and updateHLTStats().
void edm::StreamerFileWriter::doOutputHeader | ( | InitMsgBuilder const & | init_message | ) |
Definition at line 30 of file StreamerFileWriter.cc.
References InitMsgBuilder::startAddress().
void edm::StreamerFileWriter::doOutputHeader | ( | InitMsgView const & | init_message | ) |
Definition at line 36 of file StreamerFileWriter.cc.
References InitMsgView::get_hlt_bit_cnt(), hltCount_, hltStats_, i, and stream_writer_.
void edm::StreamerFileWriter::doOutputHeaderFragment | ( | StreamerFileWriterHeaderParams const & | hdrParams | ) |
Definition at line 49 of file StreamerFileWriter.cc.
References edm::StreamerFileWriterHeaderParams::dataPtr, edm::StreamerFileWriterHeaderParams::dataSize, edm::StreamerFileWriterHeaderParams::fragmentCount, edm::StreamerFileWriterHeaderParams::fragmentIndex, edm::StreamerFileWriterHeaderParams::hltCount, hltCount_, hltStats_, i, and stream_writer_.
|
static |
Definition at line 112 of file StreamerFileWriter.cc.
References edm::ParameterSetDescription::addUntracked(), edm::ParameterSetDescription::setComment(), and AlCaHLTBitMon_QueryRunRegistry::string.
|
inline |
Definition at line 70 of file StreamerFileWriter.h.
References stream_writer_.
|
inline |
|
inline |
Definition at line 64 of file StreamerFileWriter.h.
Referenced by progressbar.ProgressBar::__next__().
void edm::StreamerFileWriter::stop | ( | ) |
Definition at line 21 of file StreamerFileWriter.cc.
References hltStats_, stream_eof_size_, and stream_writer_.
|
private |
Definition at line 99 of file StreamerFileWriter.cc.
References hltCount_, hltStats_, and i.
Referenced by doOutputEvent(), and doOutputEventFragment().
|
private |
Definition at line 76 of file StreamerFileWriter.h.
Referenced by doOutputEvent(), doOutputHeader(), doOutputHeaderFragment(), and updateHLTStats().
|
private |
Definition at line 77 of file StreamerFileWriter.h.
Referenced by doOutputHeader(), doOutputHeaderFragment(), stop(), and updateHLTStats().
|
private |
Definition at line 78 of file StreamerFileWriter.h.
Referenced by getStreamEOFSize(), and stop().
|
private |
Definition at line 75 of file StreamerFileWriter.h.
Referenced by doOutputEvent(), doOutputEventFragment(), doOutputHeader(), doOutputHeaderFragment(), get_adler32(), and stop().