#include <StreamerOutputModuleCommon.h>
Public Member Functions | |
void | clearSerializeDataBuffer () |
std::unique_ptr< EventMsgBuilder > | serializeEvent (EventForOutput const &e, Handle< TriggerResults > const &triggerResults, ParameterSetID const &selectorCfg) |
std::unique_ptr< InitMsgBuilder > | serializeRegistry (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) |
Private Member Functions | |
void | setHltMask (EventForOutput const &e, Handle< TriggerResults > const &triggerResults, std::vector< unsigned char > &hltbits) const |
Private Attributes | |
int | compressionLevel_ |
unsigned int | hltsize_ |
Strings | hltTriggerSelections_ |
char | host_name_ [255] |
int | lumiSectionInterval_ |
int | maxEventSize_ |
uint32 | origSize_ |
uint32 | outputModuleId_ |
SerializeDataBuffer | serializeDataBuffer_ |
StreamSerializer | serializer_ |
double | timeInSecSinceUTC |
bool | useCompression_ |
Definition at line 20 of file StreamerOutputModuleCommon.h.
|
explicit |
Definition at line 26 of file StreamerOutputModuleCommon.cc.
References SerializeDataBuffer::bufs_, compressionLevel_, FDEBUG, edm::EventSelector::getEventSelectionVString(), hltTriggerSelections_, host_name_, maxEventSize_, serializeDataBuffer_, timeInSecSinceUTC, and useCompression_.
edm::StreamerOutputModuleCommon::~StreamerOutputModuleCommon | ( | ) |
Definition at line 69 of file StreamerOutputModuleCommon.cc.
|
inline |
Definition at line 36 of file StreamerOutputModuleCommon.h.
References SerializeDataBuffer::header_buf_, serializeDataBuffer_, and setHltMask().
Referenced by edm::StreamerOutputModuleBase::beginRun().
|
static |
Definition at line 240 of file StreamerOutputModuleCommon.cc.
References edm::ParameterSetDescription::addUntracked().
Referenced by edm::StreamerOutputModuleBase::fillDescription(), and evf::EvFOutputModule::fillDescriptions().
std::unique_ptr< EventMsgBuilder > edm::StreamerOutputModuleCommon::serializeEvent | ( | EventForOutput const & | e, |
Handle< TriggerResults > const & | triggerResults, | ||
ParameterSetID const & | selectorCfg | ||
) |
Definition at line 173 of file StreamerOutputModuleCommon.cc.
References SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), SerializeDataBuffer::bufs_, compressionLevel_, popcon2dropbox::copy(), SerializeDataBuffer::currentEventSize(), SerializeDataBuffer::currentSpaceUsed(), edm::EventID::event(), hltsize_, host_name_, edm::EventForOutput::id(), csvLumiCalc::lumi, edm::EventForOutput::luminosityBlock(), lumiSectionInterval_, mps_check::msg, origSize_, outputModuleId_, edm::EventID::run(), serializeDataBuffer_, edm::StreamSerializer::serializeEvent(), serializer_, setHltMask(), TrackRefitter_38T_cff::src, timeInSecSinceUTC, and useCompression_.
Referenced by edm::StreamerOutputModuleBase::write().
std::unique_ptr< InitMsgBuilder > edm::StreamerOutputModuleCommon::serializeRegistry | ( | BranchIDLists const & | branchLists, |
ThinnedAssociationsHelper const & | helper, | ||
std::string const & | processName, | ||
std::string const & | moduleLabel, | ||
ParameterSetID const & | toplevel | ||
) |
Definition at line 71 of file StreamerOutputModuleCommon.cc.
References SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), edm::Hash< I >::compactForm(), popcon2dropbox::copy(), SerializeDataBuffer::currentSpaceUsed(), edm::getAllTriggerNames(), edm::getReleaseVersion(), SerializeDataBuffer::header_buf_, hltsize_, hltTriggerSelections_, dttmaxenums::L, outputModuleId_, writedatasetfile::run, serializeDataBuffer_, serializer_, edm::StreamSerializer::serializeRegistry(), and TrackRefitter_38T_cff::src.
Referenced by edm::StreamerOutputModuleBase::beginRun().
|
private |
Definition at line 132 of file StreamerOutputModuleCommon.cc.
References lumiContext::fill, hltsize_, mps_fire::i, edm::HandleBase::isValid(), and edm::hlt::Pass.
Referenced by clearSerializeDataBuffer(), and serializeEvent().
|
private |
Definition at line 50 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 58 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), serializeRegistry(), and setHltMask().
|
private |
Definition at line 62 of file StreamerOutputModuleCommon.h.
Referenced by serializeRegistry(), and StreamerOutputModuleCommon().
|
private |
Definition at line 60 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 53 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent().
|
private |
Definition at line 48 of file StreamerOutputModuleCommon.h.
Referenced by StreamerOutputModuleCommon().
|
private |
Definition at line 59 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent().
|
private |
Definition at line 63 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 56 of file StreamerOutputModuleCommon.h.
Referenced by clearSerializeDataBuffer(), serializeEvent(), serializeRegistry(), and StreamerOutputModuleCommon().
|
private |
Definition at line 46 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 54 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().
|
private |
Definition at line 49 of file StreamerOutputModuleCommon.h.
Referenced by serializeEvent(), and StreamerOutputModuleCommon().