#include <StreamerOutputModuleCommon.h>
Public Member Functions | |
SerializeDataBuffer * | getSerializerBuffer () |
std::unique_ptr< EventMsgBuilder > | serializeEvent (SerializeDataBuffer &sbuf, EventForOutput const &e, Handle< TriggerResults > const &triggerResults, ParameterSetID const &selectorCfg) |
std::unique_ptr< InitMsgBuilder > | serializeRegistry (SerializeDataBuffer &sbuf, BranchIDLists const &branchLists, ThinnedAssociationsHelper const &helper, std::string const &processName, std::string const &moduleLabel, ParameterSetID const &toplevel, SendJobHeader::ParameterSetMap const *psetMap) |
StreamerOutputModuleCommon (ParameterSet const &ps, SelectedProducts const *selections, std::string const &moduleLabel) | |
~StreamerOutputModuleCommon () | |
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
Protected Attributes | |
std::unique_ptr < SerializeDataBuffer > | serializerBuffer_ |
Private Member Functions | |
void | setHltMask (EventForOutput const &e, Handle< TriggerResults > const &triggerResults, std::vector< unsigned char > &hltbits) const |
Private Attributes | |
StreamerCompressionAlgo | compressionAlgo_ |
std::string | compressionAlgoStr_ |
int | compressionLevel_ |
unsigned int | hltsize_ |
Strings | hltTriggerSelections_ |
char | host_name_ [255] |
int | lumiSectionInterval_ |
int | maxEventSize_ |
uint32 | outputModuleId_ |
StreamSerializer | serializer_ |
double | timeInSecSinceUTC |
bool | useCompression_ |
Definition at line 21 of file StreamerOutputModuleCommon.h.
|
explicit |
Definition at line 26 of file StreamerOutputModuleCommon.cc.
References visDQMUpload::buf, compressionAlgo_, compressionAlgoStr_, compressionLevel_, Exception, FDEBUG, edm::getAllTriggerNames(), edm::EventSelector::getEventSelectionVString(), hltsize_, hltTriggerSelections_, host_name_, dttmaxenums::L, edm::LZMA, outputModuleId_, timeInSecSinceUTC, edm::UNCOMPRESSED, useCompression_, edm::ZLIB, and edm::ZSTD.
edm::StreamerOutputModuleCommon::~StreamerOutputModuleCommon | ( | ) |
Definition at line 100 of file StreamerOutputModuleCommon.cc.
|
static |
Definition at line 275 of file StreamerOutputModuleCommon.cc.
References edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::StreamerOutputModuleBase::fillDescription(), evf::EvFOutputModule::fillDescriptions(), and evf::GlobalEvFOutputModule::fillDescriptions().
SerializeDataBuffer * edm::StreamerOutputModuleCommon::getSerializerBuffer | ( | ) |
Definition at line 288 of file StreamerOutputModuleCommon.cc.
References serializerBuffer_.
Referenced by edm::StreamerOutputModuleBase::beginRun(), and edm::StreamerOutputModuleBase::write().
std::unique_ptr< EventMsgBuilder > edm::StreamerOutputModuleCommon::serializeEvent | ( | SerializeDataBuffer & | sbuf, |
EventForOutput const & | e, | ||
Handle< TriggerResults > const & | triggerResults, | ||
ParameterSetID const & | selectorCfg | ||
) |
Definition at line 204 of file StreamerOutputModuleCommon.cc.
References SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), SerializeDataBuffer::comp_buf_, compressionAlgo_, compressionLevel_, filterCSVwithJSON::copy, SerializeDataBuffer::currentEventSize(), SerializeDataBuffer::currentSpaceUsed(), edm::EventID::event(), Exception, SerializeDataBuffer::header_buf_, hltsize_, host_name_, edm::EventForOutput::id(), dqmdumpme::lumi, edm::EventForOutput::luminosityBlock(), lumiSectionInterval_, mps_check::msg, outputModuleId_, SerializeDataBuffer::reserve_size, edm::EventID::run(), edm::StreamSerializer::serializeEvent(), serializer_, setHltMask(), timeInSecSinceUTC, and useCompression_.
Referenced by edm::StreamerOutputModuleBase::write().
std::unique_ptr< InitMsgBuilder > edm::StreamerOutputModuleCommon::serializeRegistry | ( | SerializeDataBuffer & | sbuf, |
BranchIDLists const & | branchLists, | ||
ThinnedAssociationsHelper const & | helper, | ||
std::string const & | processName, | ||
std::string const & | moduleLabel, | ||
ParameterSetID const & | toplevel, | ||
SendJobHeader::ParameterSetMap const * | psetMap | ||
) |
Definition at line 102 of file StreamerOutputModuleCommon.cc.
References SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), edm::Hash< I >::compactForm(), filterCSVwithJSON::copy, SerializeDataBuffer::currentSpaceUsed(), edm::getAllTriggerNames(), edm::getReleaseVersion(), SerializeDataBuffer::header_buf_, hltTriggerSelections_, outputModuleId_, submitPVValidationJobs::run, serializer_, edm::StreamSerializer::serializeRegistry(), and alcazmumu_cfi::src.
Referenced by edm::StreamerOutputModuleBase::beginRun().
|
private |
Definition at line 163 of file StreamerOutputModuleCommon.cc.
References PVValHelper::fill(), hltsize_, mps_fire::i, edm::HandleBase::isValid(), and edm::hlt::Pass.
Referenced by serializeEvent().
|
private |
Definition at line 59 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 56 of file StreamerOutputModuleCommon.h.
Referenced by StreamerOutputModuleCommon().
|
private |
Definition at line 57 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 65 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), setHltMask(), and StreamerOutputModuleCommon().
|
private |
Definition at line 68 of file StreamerOutputModuleCommon.h.
Referenced by serializeRegistry(), and StreamerOutputModuleCommon().
|
private |
Definition at line 66 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 62 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent().
|
private |
Definition at line 54 of file StreamerOutputModuleCommon.h.
|
private |
Definition at line 69 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), serializeRegistry(), and StreamerOutputModuleCommon().
|
private |
Definition at line 52 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and serializeRegistry().
|
protected |
Definition at line 45 of file StreamerOutputModuleCommon.h.
Referenced by edm::StreamerOutputModuleBase::beginRun(), and getSerializerBuffer().
|
private |
Definition at line 63 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 55 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().