#include <FWCore/Modules/src/EventIDChecker.cc>
Public Member Functions | |
EventIDChecker (edm::ParameterSet const &) | |
~EventIDChecker () | |
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 | endJob () override |
virtual void | postForkReacquireResources (unsigned int iChildIndex, unsigned int iNumberOfChildren) override |
Private Attributes | |
std::vector< edm::EventID > | ids_ |
unsigned int | index_ |
unsigned int | multiProcessSequentialEvents_ |
bool | mustSearch_ |
unsigned int | numberOfEventsLeftBeforeSearch_ |
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 37 of file EventIDChecker.cc.
|
explicit |
Definition at line 70 of file EventIDChecker.cc.
EventIDChecker::~EventIDChecker | ( | ) |
Definition at line 82 of file EventIDChecker.cc.
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 107 of file EventIDChecker.cc.
References edm::EventID::event(), Exception, edm::EventBase::id(), ids_, index_, multiProcessSequentialEvents_, mustSearch_, numberOfEventsLeftBeforeSearch_, and edm::EventID::run().
|
overrideprivatevirtual |
|
overrideprivatevirtual |
|
static |
Definition at line 142 of file EventIDChecker.cc.
References edm::ConfigurationDescriptions::add(), and edm::ParameterSetDescription::addUntracked().
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 150 of file EventIDChecker.cc.
References mustSearch_.
|
private |
Definition at line 51 of file EventIDChecker.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file EventIDChecker.cc.
Referenced by analyze().
|
private |
Definition at line 54 of file EventIDChecker.cc.
Referenced by analyze().
|
private |
Definition at line 56 of file EventIDChecker.cc.
Referenced by analyze(), and postForkReacquireResources().
|
private |
Definition at line 55 of file EventIDChecker.cc.
Referenced by analyze().