#include <DummySelector.h>
Public Member Functions | |
DummySelector (const edm::ParameterSet &) | |
void | newEvent (const edm::Event &, const edm::EventSetup &) |
template<typename T > | |
bool | operator() (const T &) |
Private Attributes | |
bool | updated_ |
Definition at line 20 of file DummySelector.h.
DummySelector::DummySelector | ( | const edm::ParameterSet & | ) | [inline, explicit] |
Definition at line 22 of file DummySelector.h.
: updated_(false) { }
void DummySelector::newEvent | ( | const edm::Event & | , |
const edm::EventSetup & | |||
) | [inline] |
bool DummySelector::operator() | ( | const T & | ) | [inline] |
Definition at line 25 of file DummySelector.h.
References edm::errors::Configuration, Exception, and updated_.
{ if(!updated_) throw edm::Exception(edm::errors::Configuration) << "DummySelector: forgot to call newEvent\n"; return true; }
bool DummySelector::updated_ [private] |
Definition at line 32 of file DummySelector.h.
Referenced by newEvent(), and operator()().