#include <FWCore/Modules/src/AbortOnEventIDAnalyzer.cc>
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 | |
void | analyze (edm::Event const &, edm::EventSetup const &) override |
void | beginJob () override |
void | endJob () override |
Private Attributes | |
std::vector< edm::EventID > | ids_ |
bool | throwException_ |
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: Does a system abort when it seens the specified EventID. Useful for testing error handling.
Implementation: <Notes on="" implementation>="">
Definition at line 38 of file AbortOnEventIDAnalyzer.cc.
|
explicit |
Definition at line 66 of file AbortOnEventIDAnalyzer.cc.
|
override |
Definition at line 75 of file AbortOnEventIDAnalyzer.cc.
References edm::EventID::event(), and edm::EventID::run().
|
overrideprivatevirtual |
Implements edm::EDAnalyzer.
Definition at line 100 of file AbortOnEventIDAnalyzer.cc.
References Exception, edm::EventBase::id(), ids_, and throwException_.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 113 of file AbortOnEventIDAnalyzer.cc.
|
overrideprivatevirtual |
Reimplemented from edm::EDAnalyzer.
Definition at line 118 of file AbortOnEventIDAnalyzer.cc.
|
static |
Definition at line 123 of file AbortOnEventIDAnalyzer.cc.
References edm::ConfigurationDescriptions::add(), edm::ParameterSetDescription::addUntracked(), and DEFINE_FWK_MODULE.
|
private |
Definition at line 51 of file AbortOnEventIDAnalyzer.cc.
Referenced by analyze().
|
private |
Definition at line 52 of file AbortOnEventIDAnalyzer.cc.
Referenced by analyze().