#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) |
StreamerOutputModuleCommon (ParameterSet const &ps, SelectedProducts const *selections) | |
~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 20 of file StreamerOutputModuleCommon.h.
|
explicit |
Definition at line 26 of file StreamerOutputModuleCommon.cc.
References compressionAlgo_, compressionAlgoStr_, compressionLevel_, Exception, FDEBUG, edm::EventSelector::getEventSelectionVString(), hltTriggerSelections_, host_name_, edm::LZMA, timeInSecSinceUTC, edm::UNCOMPRESSED, useCompression_, edm::ZLIB, and edm::ZSTD.
edm::StreamerOutputModuleCommon::~StreamerOutputModuleCommon | ( | ) |
Definition at line 89 of file StreamerOutputModuleCommon.cc.
|
static |
Definition at line 265 of file StreamerOutputModuleCommon.cc.
References edm::ParameterSetDescription::addUntracked(), and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by edm::StreamerOutputModuleBase::fillDescription(), and evf::EvFOutputModule::fillDescriptions().
SerializeDataBuffer * edm::StreamerOutputModuleCommon::getSerializerBuffer | ( | ) |
Definition at line 278 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 194 of file StreamerOutputModuleCommon.cc.
References SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), SerializeDataBuffer::comp_buf_, compressionAlgo_, compressionLevel_, constexpr, filterCSVwithJSON::copy, SerializeDataBuffer::currentEventSize(), SerializeDataBuffer::currentSpaceUsed(), edm::EventID::event(), Exception, SerializeDataBuffer::header_buf_, hltsize_, host_name_, edm::EventForOutput::id(), BXlumiParameters_cfi::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 | ||
) |
Definition at line 91 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_, hltsize_, hltTriggerSelections_, dttmaxenums::L, outputModuleId_, writedatasetfile::run, serializer_, edm::StreamSerializer::serializeRegistry(), and TrackRefitter_38T_cff::src.
Referenced by edm::StreamerOutputModuleBase::beginRun().
|
private |
Definition at line 153 of file StreamerOutputModuleCommon.cc.
References ntuplemaker::fill, hltsize_, mps_fire::i, edm::HandleBase::isValid(), and edm::hlt::Pass.
Referenced by serializeEvent().
|
private |
Definition at line 55 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 52 of file StreamerOutputModuleCommon.h.
Referenced by StreamerOutputModuleCommon().
|
private |
Definition at line 53 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 61 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), serializeRegistry(), and setHltMask().
|
private |
Definition at line 64 of file StreamerOutputModuleCommon.h.
Referenced by serializeRegistry(), and StreamerOutputModuleCommon().
|
private |
Definition at line 62 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 58 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent().
|
private |
Definition at line 50 of file StreamerOutputModuleCommon.h.
|
private |
Definition at line 65 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 48 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and serializeRegistry().
|
protected |
Definition at line 41 of file StreamerOutputModuleCommon.h.
Referenced by edm::StreamerOutputModuleBase::beginRun(), and getSerializerBuffer().
|
private |
Definition at line 59 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 51 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().