#include <StreamerOutputModuleBase.h>
Public Member Functions | |
StreamerOutputModuleBase (ParameterSet const &ps) | |
virtual | ~StreamerOutputModuleBase () |
Public Member Functions inherited from edm::OutputModule | |
BranchChildren const & | branchChildren () const |
boost::array< bool, NumBranchTypes > const & | hasNewlyDroppedBranch () const |
SelectionsArray const & | keptProducts () const |
int | maxEvents () const |
OutputModule (ParameterSet const &pset) | |
std::string const & | processName () const |
int | remainingEvents () const |
bool | selected (BranchDescription const &desc) const |
void | selectProducts () |
bool | wantAllEvents () const |
virtual | ~OutputModule () |
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) |
Private Member Functions | |
virtual void | beginJob () |
virtual void | beginRun (RunPrincipal const &) |
virtual void | doOutputEvent (EventMsgBuilder const &msg) const =0 |
virtual void | doOutputHeader (InitMsgBuilder const &init_message) const =0 |
virtual void | endJob () |
virtual void | endRun (RunPrincipal const &) |
std::auto_ptr< EventMsgBuilder > | serializeEvent (EventPrincipal const &e) |
std::auto_ptr< InitMsgBuilder > | serializeRegistry () |
void | setHltMask (EventPrincipal const &e) |
void | setLumiSection () |
virtual void | start () const =0 |
virtual void | stop () const =0 |
virtual void | write (EventPrincipal const &e) |
virtual void | writeLuminosityBlock (LuminosityBlockPrincipal const &) |
virtual void | writeRun (RunPrincipal const &) |
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_ |
Selections const * | selections_ |
StreamSerializer | serializer_ |
double | timeInSecSinceUTC |
bool | useCompression_ |
Definition at line 15 of file StreamerOutputModuleBase.h.
|
explicit |
Definition at line 56 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::bufs_, compressionLevel_, edm::RootAutoLibraryLoader::enable(), FDEBUG, edm::EventSelector::getEventSelectionVString(), hltTriggerSelections_, host_name_, maxEventSize_, timeInSecSinceUTC, and useCompression_.
|
virtual |
Definition at line 100 of file StreamerOutputModuleBase.cc.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 115 of file StreamerOutputModuleBase.cc.
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 103 of file StreamerOutputModuleBase.cc.
References doOutputHeader(), serializeRegistry(), and start().
|
privatepure virtual |
Implemented in edm::StreamerOutputModule< Consumer >.
Referenced by write().
|
privatepure virtual |
Implemented in edm::StreamerOutputModule< Consumer >.
Referenced by beginRun().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 118 of file StreamerOutputModuleBase.cc.
References stop().
|
privatevirtual |
Reimplemented from edm::OutputModule.
Definition at line 110 of file StreamerOutputModuleBase.cc.
References stop().
|
static |
Definition at line 289 of file StreamerOutputModuleBase.cc.
References edm::ParameterSetDescription::addUntracked(), and edm::OutputModule::fillDescription().
Referenced by edm::StreamerOutputModule< Consumer >::fillDescriptions().
|
private |
Definition at line 237 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_, runTheMatrix::msg, origSize_, outputModuleId_, edm::EventID::run(), edm::OutputModule::selectorConfig(), edm::StreamSerializer::serializeEvent(), serializer_, setHltMask(), setLumiSection(), align_tpl::src, and useCompression_.
Referenced by write().
|
private |
Definition at line 135 of file StreamerOutputModuleBase.cc.
References SerializeDataBuffer::adler32_chksum(), 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_, host_name_, edm::detail::ThreadSafeRegistry< KEY, T, E >::instance(), dttmaxenums::L, moduleLabel(), edm::ModuleDescription::moduleLabel(), outputModuleId_, edm::OutputModule::processName(), DTTTrigCorrFirst::run, serializer_, edm::StreamSerializer::serializeRegistry(), align_tpl::src, and v.
Referenced by beginRun().
|
private |
Definition at line 196 of file StreamerOutputModuleBase.cc.
References edm::OutputModule::getTriggerResults(), hltbits_, hltsize_, i, edm::HandleBase::isValid(), edm::hlt::Pass, parseEventContent::prod, and evf::utils::state.
Referenced by serializeEvent().
|
private |
Definition at line 227 of file StreamerOutputModuleBase.cc.
References lumi_, lumiSectionInterval_, and timeInSecSinceUTC.
Referenced by serializeEvent().
|
privatepure virtual |
Implemented in edm::StreamerOutputModule< Consumer >.
Referenced by beginRun().
|
privatepure virtual |
Implemented in edm::StreamerOutputModule< Consumer >.
|
privatevirtual |
Implements edm::OutputModule.
Definition at line 129 of file StreamerOutputModuleBase.cc.
References doOutputEvent(), runTheMatrix::msg, and serializeEvent().
|
privatevirtual |
|
privatevirtual |
|
private |
Definition at line 45 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().
|
private |
Definition at line 57 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setHltMask().
|
private |
Definition at line 54 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), serializeRegistry(), and setHltMask().
|
private |
Definition at line 61 of file StreamerOutputModuleBase.h.
Referenced by serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 59 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), serializeRegistry(), and StreamerOutputModuleBase().
|
private |
Definition at line 56 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 55 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 48 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and setLumiSection().
|
private |
Definition at line 43 of file StreamerOutputModuleBase.h.
Referenced by StreamerOutputModuleBase().
|
private |
Definition at line 58 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent().
|
private |
Definition at line 62 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 41 of file StreamerOutputModuleBase.h.
|
private |
Definition at line 51 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and serializeRegistry().
|
private |
Definition at line 49 of file StreamerOutputModuleBase.h.
Referenced by setLumiSection(), and StreamerOutputModuleBase().
|
private |
Definition at line 44 of file StreamerOutputModuleBase.h.
Referenced by serializeEvent(), and StreamerOutputModuleBase().