#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 | |
virtual void | beginJob () override |
virtual void | beginRun (RunPrincipal const &, ModuleCallingContext const *) override |
virtual void | doOutputEvent (EventMsgBuilder const &msg)=0 |
virtual void | doOutputHeader (InitMsgBuilder const &init_message)=0 |
virtual void | endJob () override |
virtual void | endRun (RunPrincipal const &, ModuleCallingContext const *) override |
Trig | getTriggerResults (EDGetTokenT< TriggerResults > const &token, EventPrincipal const &ep, ModuleCallingContext const *) const |
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 ()=0 |
virtual void | stop ()=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 |
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 19 of file StreamerOutputModuleBase.h.
|
explicit |
Definition at line 58 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::bufs_, compressionLevel_, FDEBUG, edm::EventSelector::getEventSelectionVString(), hltTriggerSelections_, host_name_, maxEventSize_, serializeDataBuffer_, timeInSecSinceUTC, and useCompression_.
|
virtual |
Definition at line 107 of file StreamerOutputModuleBase.cc.
|
overrideprivatevirtual |
Reimplemented from edm::one::OutputModuleBase.
Reimplemented in evf::RecoEventOutputModuleForFU< Consumer >.
Definition at line 124 of file StreamerOutputModuleBase.cc.
|
overrideprivatevirtual |
Definition at line 110 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 127 of file StreamerOutputModuleBase.cc.
References stop().
|
overrideprivatevirtual |
Definition at line 119 of file StreamerOutputModuleBase.cc.
References stop().
|
static |
Definition at line 306 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 202 of file StreamerOutputModuleBase.cc.
References edm::convert_handle(), edm::PrincipalGetAdapter::getByToken_(), edm::one::OutputModuleBase::moduleDescription(), eostools::move(), edm::PRODUCT_TYPE, mps_fire::result, and edm::PrincipalGetAdapter::setConsumer().
Referenced by setHltMask().
|
private |
Definition at line 254 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_, visualization-live-secondInstance_cfg::msg, origSize_, outputModuleId_, edm::EventID::run(), edm::one::OutputModuleBase::selectorConfig(), serializeDataBuffer_, edm::StreamSerializer::serializeEvent(), serializer_, setHltMask(), setLumiSection(), alcazmumu_cfi::src, and useCompression_.
Referenced by write().
|
private |
Definition at line 144 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::adler32_chksum(), edm::one::OutputModuleBase::branchIDLists(), SerializeDataBuffer::bufferPointer(), edm::Hash< I >::compactForm(), filterCSVwithJSON::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(), DTTTrigCorrFirst::run, serializeDataBuffer_, serializer_, edm::StreamSerializer::serializeRegistry(), alcazmumu_cfi::src, AlCaHLTBitMon_QueryRunRegistry::string, and edm::one::OutputModuleBase::thinnedAssociationsHelper().
Referenced by beginRun().
|
private |
Definition at line 213 of file StreamerOutputModuleBase.cc.
References getTriggerResults(), hltbits_, hltsize_, i, edm::HandleBase::isValid(), edm::hlt::Pass, parseEventContent::prod, and trToken_.
Referenced by serializeEvent().
|
private |
Definition at line 244 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 138 of file StreamerOutputModuleBase.cc.
References doOutputEvent(), visualization-live-secondInstance_cfg::msg, and serializeEvent().
|
overrideprivatevirtual |
Implements edm::one::OutputModuleBase.
Definition at line 135 of file StreamerOutputModuleBase.cc.
|
overrideprivatevirtual |
Implements edm::one::OutputModuleBase.
Definition at line 132 of file StreamerOutputModuleBase.cc.
|
private |
Definition at line 50 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().
|
private |
Definition at line 64 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setHltMask().
|
private |
Definition at line 61 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), serializeRegistry(), and setHltMask().
|
private |
Definition at line 69 of file StreamerOutputModuleBase.h.
Referenced by serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 66 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().
|
private |
Definition at line 63 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 62 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 53 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 48 of file StreamerOutputModuleBase.h.
Referenced by StreamerOutputModuleBase().
|
private |
Definition at line 65 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 70 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 46 of file StreamerOutputModuleBase.h.
|
private |
Definition at line 58 of file StreamerOutputModuleBase.h.
Referenced by beginRun(), serializeEvent(), serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 56 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 54 of file StreamerOutputModuleBase.h.
Referenced by setLumiSection(), and StreamerOutputModuleBase().
|
private |
Definition at line 68 of file StreamerOutputModuleBase.h.
Referenced by setHltMask().
|
private |
Definition at line 49 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().