#include <FWCore/Modules/src/MulticoreRunLumiEventChecker.cc>
Public Member Functions | |
MulticoreRunLumiEventChecker (edm::ParameterSet const &) | |
~MulticoreRunLumiEventChecker () | |
Public Member Functions inherited from edm::EDAnalyzer | |
void | callWhenNewProductsRegistered (std::function< void(BranchDescription const &)> const &func) |
EDAnalyzer () | |
ModuleDescription const & | moduleDescription () const |
std::string | workerType () const |
virtual | ~EDAnalyzer () |
Public Member Functions inherited from edm::EDConsumerBase | |
std::vector< ConsumesInfo > | consumesInfo () const |
EDConsumerBase () | |
ProductHolderIndexAndSkipBit | indexFrom (EDGetToken, BranchType, TypeID const &) const |
void | itemsMayGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
void | itemsToGet (BranchType, std::vector< ProductHolderIndexAndSkipBit > &) const |
std::vector < ProductHolderIndexAndSkipBit > const & | itemsToGetFromEvent () const |
void | labelsForToken (EDGetToken iToken, Labels &oLabels) const |
void | modulesDependentUpon (std::string const &iProcessName, std::string const &iModuleLabel, bool iPrint, std::vector< char const * > &oModuleLabels) const |
void | modulesWhoseProductsAreConsumed (std::vector< ModuleDescription const * > &modules, ProductRegistry const &preg, std::map< std::string, ModuleDescription const * > const &labelsToDesc, std::string const &processName) const |
bool | registeredToConsume (ProductHolderIndex, bool, BranchType) const |
bool | registeredToConsumeMany (TypeID const &, BranchType) const |
void | updateLookup (BranchType iBranchType, ProductHolderIndexHelper const &) |
virtual | ~EDConsumerBase () |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Static Public Member Functions inherited from edm::EDAnalyzer | |
static const std::string & | baseType () |
static void | fillDescriptions (ConfigurationDescriptions &descriptions) |
static void | prevalidate (ConfigurationDescriptions &) |
Private Member Functions | |
virtual void | analyze (edm::Event const &, edm::EventSetup const &) override |
virtual void | beginJob () override |
virtual void | beginLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &es) override |
virtual void | beginRun (edm::Run const &run, edm::EventSetup const &es) override |
void | check (edm::EventID const &iID, bool isEvent) |
virtual void | endJob () override |
virtual void | endLuminosityBlock (edm::LuminosityBlock const &lumi, edm::EventSetup const &es) override |
virtual void | endRun (edm::Run const &run, edm::EventSetup const &es) override |
virtual void | postForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) override |
virtual void | preForkReleaseResources () override |
Private Attributes | |
std::vector< edm::EventID > | ids_ |
unsigned int | index_ |
edm::propagate_const < std::shared_ptr < boost::thread > > | listenerThread_ |
int | messageQueue_ |
unsigned int | multiProcessSequentialEvents_ |
bool | mustSearch_ |
unsigned int | numberOfEventsLeftBeforeSearch_ |
std::map< edm::EventID, unsigned int > | seenIDs_ |
Additional Inherited Members | |
Public Types inherited from edm::EDAnalyzer | |
typedef EDAnalyzer | ModuleType |
Public Types inherited from edm::EDConsumerBase | |
typedef ProductLabels | Labels |
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) |
Description: Checks that the events passed to it come in the order specified in its configuration
Implementation: <Notes on="" implementation>="">
Definition at line 52 of file MulticoreRunLumiEventChecker.cc.
|
explicit |
Definition at line 97 of file MulticoreRunLumiEventChecker.cc.
MulticoreRunLumiEventChecker::~MulticoreRunLumiEventChecker | ( | ) |
Definition at line 109 of file MulticoreRunLumiEventChecker.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 211 of file MulticoreRunLumiEventChecker.cc.
References check(), and edm::EventBase::id().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 237 of file MulticoreRunLumiEventChecker.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 225 of file MulticoreRunLumiEventChecker.cc.
References check(), edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and edm::LuminosityBlockID::run().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 216 of file MulticoreRunLumiEventChecker.cc.
References check(), edm::RunBase::id(), and edm::RunID::run().
|
private |
Definition at line 174 of file MulticoreRunLumiEventChecker.cc.
References Exception, spr::find(), ids_, index_, messageQueue_, multiProcessSequentialEvents_, mustSearch_, numberOfEventsLeftBeforeSearch_, and relativeConstraints::value.
Referenced by analyze(), beginLuminosityBlock(), beginRun(), endLuminosityBlock(), and endRun().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 242 of file MulticoreRunLumiEventChecker.cc.
References Exception, ids_, index_, listenerThread_, messageQueue_, mustSearch_, seenIDs_, and relativeConstraints::value.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 230 of file MulticoreRunLumiEventChecker.cc.
References check(), edm::LuminosityBlockBase::id(), edm::LuminosityBlockID::luminosityBlock(), and edm::LuminosityBlockID::run().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 220 of file MulticoreRunLumiEventChecker.cc.
References check(), edm::RunBase::id(), and edm::RunID::run().
|
static |
Definition at line 282 of file MulticoreRunLumiEventChecker.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::addUntracked().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 299 of file MulticoreRunLumiEventChecker.cc.
References edm::disableAllSigs(), listenerThread_, messageQueue_, mustSearch_, edm::reenableSigs(), and seenIDs_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 290 of file MulticoreRunLumiEventChecker.cc.
References Exception, and messageQueue_.
|
private |
Definition at line 74 of file MulticoreRunLumiEventChecker.cc.
|
private |
Definition at line 75 of file MulticoreRunLumiEventChecker.cc.
|
private |
Definition at line 82 of file MulticoreRunLumiEventChecker.cc.
Referenced by endJob(), and postForkReacquireResources().
|
private |
Definition at line 83 of file MulticoreRunLumiEventChecker.cc.
Referenced by check(), endJob(), postForkReacquireResources(), and preForkReleaseResources().
|
private |
Definition at line 78 of file MulticoreRunLumiEventChecker.cc.
Referenced by check().
|
private |
Definition at line 80 of file MulticoreRunLumiEventChecker.cc.
Referenced by check(), endJob(), and postForkReacquireResources().
|
private |
Definition at line 79 of file MulticoreRunLumiEventChecker.cc.
Referenced by check().
|
private |
Definition at line 76 of file MulticoreRunLumiEventChecker.cc.
Referenced by endJob(), and postForkReacquireResources().