#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, HerwigMaxPtPartonFilter_cfi::moduleLabel, submitPVValidationJobs::now, 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 submitPVResolutionJobs::desc, 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(), evf::GlobalEvFOutputModule::globalBeginRun(), 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(), MillePedeFileConverter_cfg::e, Exception, SerializeDataBuffer::header_buf_, hltsize_, host_name_, BXlumiParameters_cfi::lumi, lumiSectionInterval_, mps_check::msg, submitPVValidationJobs::now, outputModuleId_, SerializeDataBuffer::reserve_size, edm::StreamSerializer::serializeEvent(), serializer_, setHltMask(), timeInSecSinceUTC, edm::triggerResults(), 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_, HerwigMaxPtPartonFilter_cfi::moduleLabel, outputModuleId_, SimL1EmulatorRepack_CalouGT_cff::processName, writedatasetfile::run, serializer_, edm::StreamSerializer::serializeRegistry(), and TrackRefitter_38T_cff::src.
Referenced by edm::StreamerOutputModuleBase::beginRun(), and evf::GlobalEvFOutputModule::globalBeginRun().
|
private |
Definition at line 163 of file StreamerOutputModuleCommon.cc.
References ntuplemaker::fill, hltsize_, mps_fire::i, edm::hlt::Pass, and edm::triggerResults().
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().