#include <StreamerOutputModuleBase.h>
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::one::OutputModuleBase | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
void | beginJob () override |
void | beginRun (RunForOutput const &) override |
virtual void | doOutputEvent (EventMsgBuilder const &msg)=0 |
virtual void | doOutputHeader (InitMsgBuilder const &init_message)=0 |
void | endJob () override |
void | endRun (RunForOutput const &) override |
Trig | getTriggerResults (EDGetTokenT< TriggerResults > const &token, EventForOutput const &e) const |
std::unique_ptr< EventMsgBuilder > | serializeEvent (EventForOutput const &e) |
std::unique_ptr< InitMsgBuilder > | serializeRegistry () |
void | setHltMask (EventForOutput const &e) |
void | setLumiSection () |
virtual void | start ()=0 |
virtual void | stop ()=0 |
void | write (EventForOutput const &e) override |
void | writeLuminosityBlock (LuminosityBlockForOutput const &) override |
void | writeRun (RunForOutput const &) override |
Private Attributes | |
int | compressionLevel_ |
std::vector< unsigned char > | hltbits_ |
unsigned int | hltsize_ |
Strings | hltTriggerSelections_ |
char | host_name_ [255] |
std::vector< bool > | l1bit_ |
uint32 | lumi_ |
int | lumiSectionInterval_ |
int | maxEventSize_ |
uint32 | origSize_ |
uint32 | outputModuleId_ |
SelectedProducts const * | selections_ |
SerializeDataBuffer | serializeDataBuffer_ |
StreamSerializer | serializer_ |
double | timeInSecSinceUTC |
edm::EDGetTokenT< edm::TriggerResults > | trToken_ |
bool | useCompression_ |
Additional Inherited Members | |
Public Types inherited from edm::one::OutputModuleBase | |
typedef OutputModuleBase | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
Protected Member Functions inherited from edm::one::OutputModuleBase | |
void | configure (OutputModuleDescription const &desc) |
ModuleDescription const & | description () const |
void | doBeginJob () |
bool | doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *) |
bool | doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *) |
void | doEndJob () |
bool | doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *) |
bool | doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *) |
bool | doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *, ModuleCallingContext const *) |
void | doPreallocate (PreallocationConfiguration const &) |
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
ParameterSetID | selectorConfig () const |
void | setEventSelectionInfo (std::map< std::string, std::vector< std::pair< std::string, int > > > const &outputModulePathPositions, bool anyProductProduced) |
Protected Member Functions inherited from edm::EDConsumerBase | |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | consumes (edm::InputTag const &tag) |
EDGetToken | consumes (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | consumes (TypeToGet const &id, edm::InputTag const &tag) |
ConsumesCollector | consumesCollector () |
Use a ConsumesCollector to gather consumes information from helper functions. More... | |
template<typename ProductType , BranchType B = InEvent> | |
void | consumesMany () |
void | consumesMany (const TypeToGet &id) |
template<BranchType B> | |
void | consumesMany (const TypeToGet &id) |
template<typename ProductType , BranchType B = InEvent> | |
EDGetTokenT< ProductType > | mayConsume (edm::InputTag const &tag) |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
template<BranchType B> | |
EDGetToken | mayConsume (const TypeToGet &id, edm::InputTag const &tag) |
Definition at line 18 of file StreamerOutputModuleBase.h.
|
explicit |
Definition at line 57 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::bufs_, compressionLevel_, FDEBUG, edm::EventSelector::getEventSelectionVString(), hltTriggerSelections_, host_name_, maxEventSize_, serializeDataBuffer_, timeInSecSinceUTC, and useCompression_.
|
override |
Definition at line 106 of file StreamerOutputModuleBase.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::OutputModuleBase.
Definition at line 123 of file StreamerOutputModuleBase.cc.
|
overrideprivate |
Definition at line 109 of file StreamerOutputModuleBase.cc.
References doOutputHeader(), SerializeDataBuffer::header_buf_, serializeDataBuffer_, serializeRegistry(), and start().
|
privatepure virtual |
Implemented in evf::RecoEventOutputModuleForFU< Consumer >, and edm::StreamerOutputModule< Consumer >.
Referenced by write().
|
privatepure virtual |
Implemented in evf::RecoEventOutputModuleForFU< Consumer >, and edm::StreamerOutputModule< Consumer >.
Referenced by beginRun().
|
overrideprivatevirtual |
Reimplemented from edm::one::OutputModuleBase.
Definition at line 126 of file StreamerOutputModuleBase.cc.
References stop().
|
overrideprivate |
Definition at line 118 of file StreamerOutputModuleBase.cc.
References stop().
|
static |
Definition at line 301 of file StreamerOutputModuleBase.cc.
References edm::ParameterSetDescription::addUntracked(), and edm::OutputModule::fillDescription().
Referenced by edm::StreamerOutputModule< Consumer >::fillDescriptions(), and evf::RecoEventOutputModuleForFU< Consumer >::fillDescriptions().
|
private |
Definition at line 201 of file StreamerOutputModuleBase.cc.
References edm::OccurrenceForOutput::getByToken(), and mps_fire::result.
Referenced by setHltMask().
|
private |
Definition at line 249 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), SerializeDataBuffer::bufs_, compressionLevel_, popcon2dropbox::copy(), SerializeDataBuffer::currentEventSize(), SerializeDataBuffer::currentSpaceUsed(), edm::EventID::event(), hltbits_, hltsize_, host_name_, edm::EventForOutput::id(), l1bit_, lumi_, edm::EventForOutput::luminosityBlock(), lumiSectionInterval_, mps_check::msg, origSize_, outputModuleId_, edm::EventID::run(), edm::one::OutputModuleBase::selectorConfig(), serializeDataBuffer_, edm::StreamSerializer::serializeEvent(), serializer_, setHltMask(), setLumiSection(), TrackRefitter_38T_cff::src, and useCompression_.
Referenced by write().
|
private |
Definition at line 143 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::adler32_chksum(), edm::one::OutputModuleBase::branchIDLists(), SerializeDataBuffer::bufferPointer(), edm::Hash< I >::compactForm(), popcon2dropbox::copy(), SerializeDataBuffer::currentSpaceUsed(), edm::one::OutputModuleBase::description(), edm::getAllTriggerNames(), edm::getReleaseVersion(), SerializeDataBuffer::header_buf_, hltsize_, hltTriggerSelections_, dttmaxenums::L, edm::ModuleDescription::mainParameterSetID(), edm::one::OutputModuleBase::moduleDescription(), edm::ModuleDescription::moduleLabel(), outputModuleId_, edm::OutputModule::processName(), edm::one::OutputModuleBase::processName(), findQualityFiles::run, serializeDataBuffer_, serializer_, edm::StreamSerializer::serializeRegistry(), TrackRefitter_38T_cff::src, AlCaHLTBitMon_QueryRunRegistry::string, and edm::one::OutputModuleBase::thinnedAssociationsHelper().
Referenced by beginRun().
|
private |
Definition at line 208 of file StreamerOutputModuleBase.cc.
References getTriggerResults(), hltbits_, hltsize_, mps_fire::i, edm::HandleBase::isValid(), edm::hlt::Pass, parseEventContent::prod, and trToken_.
Referenced by serializeEvent().
|
private |
Definition at line 239 of file StreamerOutputModuleBase.cc.
References lumi_, lumiSectionInterval_, and timeInSecSinceUTC.
Referenced by serializeEvent().
|
privatepure virtual |
Implemented in evf::RecoEventOutputModuleForFU< Consumer >, and edm::StreamerOutputModule< Consumer >.
Referenced by progressbar.ProgressBar::__next__(), and beginRun().
|
privatepure virtual |
Implemented in evf::RecoEventOutputModuleForFU< Consumer >, and edm::StreamerOutputModule< Consumer >.
|
overrideprivatevirtual |
Implements edm::one::OutputModuleBase.
Definition at line 137 of file StreamerOutputModuleBase.cc.
References doOutputEvent(), mps_check::msg, and serializeEvent().
|
overrideprivatevirtual |
Implements edm::one::OutputModuleBase.
Definition at line 134 of file StreamerOutputModuleBase.cc.
|
overrideprivatevirtual |
Implements edm::one::OutputModuleBase.
Definition at line 131 of file StreamerOutputModuleBase.cc.
|
private |
Definition at line 49 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().
|
private |
Definition at line 63 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setHltMask().
|
private |
Definition at line 60 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), serializeRegistry(), and setHltMask().
|
private |
Definition at line 68 of file StreamerOutputModuleBase.h.
Referenced by serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 65 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().
|
private |
Definition at line 62 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 61 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 52 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 47 of file StreamerOutputModuleBase.h.
Referenced by StreamerOutputModuleBase().
|
private |
Definition at line 64 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 69 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 45 of file StreamerOutputModuleBase.h.
|
private |
Definition at line 57 of file StreamerOutputModuleBase.h.
Referenced by beginRun(), serializeEvent(), serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 55 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 53 of file StreamerOutputModuleBase.h.
Referenced by setLumiSection(), and StreamerOutputModuleBase().
|
private |
Definition at line 67 of file StreamerOutputModuleBase.h.
Referenced by setHltMask().
|
private |
Definition at line 48 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().