#include <StreamerOutputModuleCommon.h>
Classes | |
struct | Parameters |
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 (Parameters const &p, SelectedProducts const *selections, std::string const &moduleLabel) | |
StreamerOutputModuleCommon (ParameterSet const &ps, SelectedProducts const *selections, std::string const &moduleLabel) | |
~StreamerOutputModuleCommon () | |
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
static Parameters | parameters (ParameterSet const &ps) |
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 36 of file StreamerOutputModuleCommon.cc.
References visDQMUpload::buf, compressionAlgo_, compressionAlgoStr_, compressionLevel_, Exception, FDEBUG, edm::getAllTriggerNames(), hltsize_, hltTriggerSelections_, host_name_, dttmaxenums::L, edm::LZMA, HerwigMaxPtPartonFilter_cfi::moduleLabel, submitPVValidationJobs::now, outputModuleId_, AlCaHLTBitMon_ParallelJobs::p, timeInSecSinceUTC, edm::UNCOMPRESSED, useCompression_, edm::ZLIB, and edm::ZSTD.
|
inlineexplicit |
Definition at line 37 of file StreamerOutputModuleCommon.h.
edm::StreamerOutputModuleCommon::~StreamerOutputModuleCommon | ( | ) |
Definition at line 110 of file StreamerOutputModuleCommon.cc.
|
static |
Definition at line 282 of file StreamerOutputModuleCommon.cc.
References submitPVResolutionJobs::desc, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::StreamerOutputModuleBase::fillDescription(), and evf::GlobalEvFOutputModule::fillDescriptions().
SerializeDataBuffer * edm::StreamerOutputModuleCommon::getSerializerBuffer | ( | ) |
Definition at line 295 of file StreamerOutputModuleCommon.cc.
References serializerBuffer_.
Referenced by edm::StreamerOutputModuleBase::beginRun(), evf::GlobalEvFOutputModule::globalBeginRun(), and edm::StreamerOutputModuleBase::write().
|
static |
Definition at line 26 of file StreamerOutputModuleCommon.cc.
References edm::EventSelector::getEventSelectionVString(), edm::ParameterSet::getUntrackedParameter(), runTheMatrix::ret, and AlCaHLTBitMon_QueryRunRegistry::string.
std::unique_ptr< EventMsgBuilder > edm::StreamerOutputModuleCommon::serializeEvent | ( | SerializeDataBuffer & | sbuf, |
EventForOutput const & | e, | ||
Handle< TriggerResults > const & | triggerResults, | ||
ParameterSetID const & | selectorCfg | ||
) |
Definition at line 214 of file StreamerOutputModuleCommon.cc.
References funct::abs(), SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), SerializeDataBuffer::comp_buf_, compressionAlgo_, compressionLevel_, ALPAKA_ACCELERATOR_NAMESPACE::brokenline::constexpr(), 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 112 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 173 of file StreamerOutputModuleCommon.cc.
References ntuplemaker::fill, hltsize_, mps_fire::i, edm::hlt::Pass, and edm::triggerResults().
Referenced by serializeEvent().
|
private |
Definition at line 75 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 72 of file StreamerOutputModuleCommon.h.
Referenced by StreamerOutputModuleCommon().
|
private |
Definition at line 73 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 81 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), setHltMask(), and StreamerOutputModuleCommon().
|
private |
Definition at line 84 of file StreamerOutputModuleCommon.h.
Referenced by serializeRegistry(), and StreamerOutputModuleCommon().
|
private |
Definition at line 82 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 78 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent().
|
private |
Definition at line 70 of file StreamerOutputModuleCommon.h.
|
private |
Definition at line 85 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), serializeRegistry(), and StreamerOutputModuleCommon().
|
private |
Definition at line 68 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and serializeRegistry().
|
protected |
Definition at line 61 of file StreamerOutputModuleCommon.h.
Referenced by edm::StreamerOutputModuleBase::beginRun(), and getSerializerBuffer().
|
private |
Definition at line 79 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 71 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().