#include <RecoEventOutputModuleForFU.h>
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::StreamerOutputModuleBase | |
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 | beginLuminosityBlock (edm::LuminosityBlockForOutput const &) override |
void | doOutputEvent (EventMsgBuilder const &msg) override |
void | doOutputHeader (InitMsgBuilder const &init_message) override |
void | endLuminosityBlock (edm::LuminosityBlockForOutput const &) override |
void | initRun () |
void | start () override |
void | stop () override |
Private Attributes | |
jsoncollector::IntJ | accepted_ |
std::auto_ptr< Consumer > | c_ |
struct flock | dataRwFlk_ |
struct flock | dataRwFulk_ |
jsoncollector::IntJ | errorEvents_ |
jsoncollector::IntJ | fileAdler32_ |
jsoncollector::StringJ | filelist_ |
jsoncollector::IntJ | filesize_ |
evf::FastMonitoringService * | fms_ |
jsoncollector::IntJ | hltErrorEvents_ |
jsoncollector::StringJ | inputFiles_ |
boost::shared_ptr< jsoncollector::FastMonitor > | jsonMonitor_ |
jsoncollector::StringJ | mergeType_ |
boost::filesystem::path | openDatChecksumFilePath_ |
boost::filesystem::path | openDatFilePath_ |
unsigned char * | outBuf_ = 0 |
jsoncollector::DataPointDefinition | outJsonDef_ |
jsoncollector::IntJ | processed_ |
bool | readAdler32Check_ =false |
jsoncollector::IntJ | retCodeMask_ |
std::string | streamLabel_ |
jsoncollector::StringJ | transferDestination_ |
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 25 of file RecoEventOutputModuleForFU.h.
|
explicit |
Consumers are supposed to provide void doOutputHeader(InitMsgBuilder const& init_message) void doOutputEvent(EventMsgBuilder const& msg) void start() void stop() static void fillDescription(ParameterSetDescription&)
Definition at line 78 of file RecoEventOutputModuleForFU.h.
References Exception, evf::RecoEventOutputModuleForFU< Consumer >::fms_, evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
override |
Definition at line 187 of file RecoEventOutputModuleForFU.h.
|
overrideprivatevirtual |
Reimplemented from edm::one::OutputModuleBase.
Definition at line 274 of file RecoEventOutputModuleForFU.h.
References evf::RecoEventOutputModuleForFU< Consumer >::mergeType_, evf::MergeTypeDAT, evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_, and evf::RecoEventOutputModuleForFU< Consumer >::transferDestination_.
|
overrideprivate |
Definition at line 283 of file RecoEventOutputModuleForFU.h.
References evf::RecoEventOutputModuleForFU< Consumer >::c_, evf::RecoEventOutputModuleForFU< Consumer >::filelist_, edm::LuminosityBlockForOutput::luminosityBlock(), evf::RecoEventOutputModuleForFU< Consumer >::openDatChecksumFilePath_, evf::RecoEventOutputModuleForFU< Consumer >::openDatFilePath_, and evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_.
|
overrideprivatevirtual |
Implements edm::StreamerOutputModuleBase.
Definition at line 248 of file RecoEventOutputModuleForFU.h.
References evf::RecoEventOutputModuleForFU< Consumer >::accepted_, evf::RecoEventOutputModuleForFU< Consumer >::c_, and jsoncollector::IntJ::value().
|
overrideprivatevirtual |
Implements edm::StreamerOutputModuleBase.
Definition at line 211 of file RecoEventOutputModuleForFU.h.
References cms::Adler32(), evf::RecoEventOutputModuleForFU< Consumer >::c_, Exception, evf::RecoEventOutputModuleForFU< Consumer >::outBuf_, TrackRefitter_38T_cff::src, trackingPlots::stat, evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_, and AlCaHLTBitMon_QueryRunRegistry::string.
|
overrideprivate |
Definition at line 293 of file RecoEventOutputModuleForFU.h.
References evf::RecoEventOutputModuleForFU< Consumer >::accepted_, cms::Adler32(), evf::RecoEventOutputModuleForFU< Consumer >::c_, evf::RecoEventOutputModuleForFU< Consumer >::dataRwFlk_, Exception, f, evf::RecoEventOutputModuleForFU< Consumer >::fileAdler32_, evf::RecoEventOutputModuleForFU< Consumer >::filelist_, evf::RecoEventOutputModuleForFU< Consumer >::filesize_, evf::RecoEventOutputModuleForFU< Consumer >::fms_, evf::FastMonitoringService::getEventsProcessedForLumi(), evf::RecoEventOutputModuleForFU< Consumer >::jsonMonitor_, LogDebug, edm::LuminosityBlockForOutput::luminosityBlock(), evf::RecoEventOutputModuleForFU< Consumer >::openDatFilePath_, evf::RecoEventOutputModuleForFU< Consumer >::outBuf_, evf::RecoEventOutputModuleForFU< Consumer >::processed_, evf::RecoEventOutputModuleForFU< Consumer >::readAdler32Check_, TrackRefitter_38T_cff::src, trackingPlots::stat, evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_, AlCaHLTBitMon_QueryRunRegistry::string, and jsoncollector::IntJ::value().
|
static |
Definition at line 255 of file RecoEventOutputModuleForFU.h.
References edm::ConfigurationDescriptions::addDefault(), and edm::StreamerOutputModuleBase::fillDescription().
|
private |
Definition at line 120 of file RecoEventOutputModuleForFU.h.
References evf::RecoEventOutputModuleForFU< Consumer >::accepted_, jsoncollector::DataPointDefinition::addLegendItem(), jsoncollector::DataPointDefinition::ADLER32, jsoncollector::DataPointDefinition::BINARYOR, jsoncollector::DataPointDefinition::CAT, ws_sso_content_reader::content, evf::RecoEventOutputModuleForFU< Consumer >::errorEvents_, evf::RecoEventOutputModuleForFU< Consumer >::fileAdler32_, evf::RecoEventOutputModuleForFU< Consumer >::filelist_, evf::RecoEventOutputModuleForFU< Consumer >::filesize_, evf::RecoEventOutputModuleForFU< Consumer >::hltErrorEvents_, evf::RecoEventOutputModuleForFU< Consumer >::inputFiles_, evf::RecoEventOutputModuleForFU< Consumer >::jsonMonitor_, LogDebug, jsoncollector::DataPointDefinition::MERGE, evf::RecoEventOutputModuleForFU< Consumer >::mergeType_, evf::RecoEventOutputModuleForFU< Consumer >::outJsonDef_, evf::RecoEventOutputModuleForFU< Consumer >::processed_, evf::RecoEventOutputModuleForFU< Consumer >::readAdler32Check_, evf::RecoEventOutputModuleForFU< Consumer >::retCodeMask_, jsoncollector::DataPointDefinition::SAME, jsoncollector::JSONSerializer::serialize(), jsoncollector::DataPointDefinition::setDefaultGroup(), jsoncollector::JsonMonitorable::setName(), AlCaHLTBitMon_QueryRunRegistry::string, jsoncollector::DataPointDefinition::SUM, evf::RecoEventOutputModuleForFU< Consumer >::transferDestination_, and jsoncollector::FileIO::writeStringToFile().
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::start().
|
overrideprivatevirtual |
Implements edm::StreamerOutputModuleBase.
Definition at line 191 of file RecoEventOutputModuleForFU.h.
References evf::RecoEventOutputModuleForFU< Consumer >::c_, evf::RecoEventOutputModuleForFU< Consumer >::initRun(), evf::RecoEventOutputModuleForFU< Consumer >::streamLabel_, and AlCaHLTBitMon_QueryRunRegistry::string.
Referenced by progressbar.ProgressBar::__next__(), Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
|
overrideprivatevirtual |
Implements edm::StreamerOutputModuleBase.
Definition at line 204 of file RecoEventOutputModuleForFU.h.
References evf::RecoEventOutputModuleForFU< Consumer >::c_.
|
mutableprivate |
Definition at line 57 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::doOutputEvent(), evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 52 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::beginLuminosityBlock(), evf::RecoEventOutputModuleForFU< Consumer >::doOutputEvent(), evf::RecoEventOutputModuleForFU< Consumer >::doOutputHeader(), evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), evf::RecoEventOutputModuleForFU< Consumer >::start(), and evf::RecoEventOutputModuleForFU< Consumer >::stop().
|
private |
Definition at line 72 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock().
|
private |
Definition at line 73 of file RecoEventOutputModuleForFU.h.
|
private |
Definition at line 58 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 63 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
|
private |
Definition at line 61 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 68 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::RecoEventOutputModuleForFU().
|
private |
Definition at line 66 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 62 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 67 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 65 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::beginJob(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 55 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::beginLuminosityBlock().
|
private |
Definition at line 54 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::beginLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock().
|
private |
Definition at line 70 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::doOutputHeader(), and evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock().
|
private |
Definition at line 69 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 56 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 71 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 59 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::initRun().
|
private |
Definition at line 53 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::beginJob(), evf::RecoEventOutputModuleForFU< Consumer >::beginLuminosityBlock(), evf::RecoEventOutputModuleForFU< Consumer >::doOutputHeader(), evf::RecoEventOutputModuleForFU< Consumer >::endLuminosityBlock(), evf::RecoEventOutputModuleForFU< Consumer >::RecoEventOutputModuleForFU(), and evf::RecoEventOutputModuleForFU< Consumer >::start().
|
private |
Definition at line 64 of file RecoEventOutputModuleForFU.h.
Referenced by evf::RecoEventOutputModuleForFU< Consumer >::beginJob(), and evf::RecoEventOutputModuleForFU< Consumer >::initRun().