#include <StreamerOutputModuleBase.h>
Static Public Member Functions | |
static void | fillDescription (ParameterSetDescription &desc) |
Static Public Member Functions inherited from edm::OutputModule | |
static const std::string & | baseType () |
static void | fillDescription (ParameterSetDescription &desc) |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
virtual void | beginJob () override |
virtual void | beginRun (RunPrincipal const &, ModuleCallingContext const *) override |
virtual void | doOutputEvent (EventMsgBuilder const &msg) const =0 |
virtual void | doOutputHeader (InitMsgBuilder const &init_message) const =0 |
virtual void | endJob () override |
virtual void | endRun (RunPrincipal const &, ModuleCallingContext const *) override |
std::auto_ptr< EventMsgBuilder > | serializeEvent (EventPrincipal const &e, ModuleCallingContext const *mcc) |
std::auto_ptr< InitMsgBuilder > | serializeRegistry () |
void | setHltMask (EventPrincipal const &e, ModuleCallingContext const *) |
void | setLumiSection () |
virtual void | start () const =0 |
virtual void | stop () const =0 |
virtual void | write (EventPrincipal const &e, ModuleCallingContext const *) override |
virtual void | writeLuminosityBlock (LuminosityBlockPrincipal const &, ModuleCallingContext const *) override |
virtual void | writeRun (RunPrincipal const &, ModuleCallingContext 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 |
bool | useCompression_ |
Additional Inherited Members | |
Public Types inherited from edm::OutputModule | |
typedef OutputModule | ModuleType |
Protected Member Functions inherited from edm::OutputModule | |
void | configure (OutputModuleDescription const &desc) |
ModuleDescription const & | description () const |
void | doBeginJob () |
bool | doBeginLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc) |
bool | doBeginRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
void | doEndJob () |
bool | doEndLuminosityBlock (LuminosityBlockPrincipal const &lbp, EventSetup const &c, ModuleCallingContext const *mcc) |
bool | doEndRun (RunPrincipal const &rp, EventSetup const &c, ModuleCallingContext const *mcc) |
bool | doEvent (EventPrincipal const &ep, EventSetup const &c, ActivityRegistry *act, ModuleCallingContext const *mcc) |
void | doPreallocate (PreallocationConfiguration const &) |
std::map< BranchID::value_type, BranchID::value_type > const & | droppedBranchIDToKeptBranchID () |
Trig | getTriggerResults (EventPrincipal const &ep, ModuleCallingContext const *) const |
ModuleDescription const & | moduleDescription () const |
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 16 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_.
|
virtual |
Definition at line 104 of file StreamerOutputModuleBase.cc.
|
overrideprivatevirtual |
Reimplemented from edm::OutputModule.
Reimplemented in evf::RecoEventOutputModuleForFU< Consumer >.
Definition at line 119 of file StreamerOutputModuleBase.cc.
|
overrideprivatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 107 of file StreamerOutputModuleBase.cc.
References doOutputHeader(), 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::OutputModule.
Definition at line 122 of file StreamerOutputModuleBase.cc.
References stop().
|
overrideprivatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 114 of file StreamerOutputModuleBase.cc.
References stop().
|
static |
Definition at line 290 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 238 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::adler32_chksum(), SerializeDataBuffer::bufferPointer(), SerializeDataBuffer::bufs_, compressionLevel_, filterCSVwithJSON::copy, SerializeDataBuffer::currentEventSize(), SerializeDataBuffer::currentSpaceUsed(), edm::EventID::event(), hltbits_, hltsize_, host_name_, edm::EventPrincipal::id(), l1bit_, lumi_, edm::EventPrincipal::luminosityBlock(), lumiSectionInterval_, producerFileCleanner::msg, origSize_, outputModuleId_, edm::EventID::run(), edm::OutputModule::selectorConfig(), serializeDataBuffer_, edm::StreamSerializer::serializeEvent(), serializer_, setHltMask(), setLumiSection(), alcazmumu_cfi::src, and useCompression_.
Referenced by write().
|
private |
Definition at line 139 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::adler32_chksum(), edm::OutputModule::branchIDLists(), SerializeDataBuffer::bufferPointer(), edm::Hash< I >::compactForm(), filterCSVwithJSON::copy, SerializeDataBuffer::currentSpaceUsed(), edm::OutputModule::description(), edm::getAllTriggerNames(), edm::pset::getProcessParameterSetID(), edm::getReleaseVersion(), SerializeDataBuffer::header_buf_, hltsize_, hltTriggerSelections_, dttmaxenums::L, edm::ModuleDescription::moduleLabel(), outputModuleId_, edm::OutputModule::processName(), DTTTrigCorrFirst::run, serializeDataBuffer_, serializer_, edm::StreamSerializer::serializeRegistry(), alcazmumu_cfi::src, AlCaHLTBitMon_QueryRunRegistry::string, and edm::OutputModule::thinnedAssociationsHelper().
Referenced by beginRun().
|
private |
Definition at line 197 of file StreamerOutputModuleBase.cc.
References edm::OutputModule::getTriggerResults(), hltbits_, hltsize_, i, edm::HandleBase::isValid(), edm::hlt::Pass, and parseEventContent::prod.
Referenced by serializeEvent().
|
private |
Definition at line 228 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::OutputModule.
Definition at line 133 of file StreamerOutputModuleBase.cc.
References doOutputEvent(), producerFileCleanner::msg, and serializeEvent().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
private |
Definition at line 46 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().
|
private |
Definition at line 60 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setHltMask().
|
private |
Definition at line 57 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), serializeRegistry(), and setHltMask().
|
private |
Definition at line 64 of file StreamerOutputModuleBase.h.
Referenced by serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 62 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().
|
private |
Definition at line 59 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 58 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 49 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 44 of file StreamerOutputModuleBase.h.
Referenced by StreamerOutputModuleBase().
|
private |
Definition at line 61 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 65 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 42 of file StreamerOutputModuleBase.h.
|
private |
Definition at line 54 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 52 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 50 of file StreamerOutputModuleBase.h.
Referenced by setLumiSection(), and StreamerOutputModuleBase().
|
private |
Definition at line 45 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().