Public Member Functions | |
fltrname (const edm::ParameterSet &) | |
~fltrname () | |
Static Public Member Functions | |
static void | fillDescriptions (edm::ConfigurationDescriptions &descriptions) |
Private Member Functions | |
virtual void | beginJob () |
virtual bool | beginLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual bool | beginRun (edm::Run &, edm::EventSetup const &) |
virtual void | endJob () |
virtual bool | endLuminosityBlock (edm::LuminosityBlock &, edm::EventSetup const &) |
virtual bool | endRun (edm::Run &, edm::EventSetup const &) |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
Description: [one line class summary]
Implementation: [Notes on implementation]
Definition at line 37 of file edfilter.cc.
fltrname::fltrname | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
Definition at line 68 of file edfilter.cc.
{
//now do what ever initialization is needed
}
fltrname::~fltrname | ( | ) |
Definition at line 75 of file edfilter.cc.
{ // do anything here that needs to be done at desctruction time // (e.g. close files, deallocate resources etc.) }
void fltrname::beginJob | ( | void | ) | [private, virtual] |
bool fltrname::beginLuminosityBlock | ( | edm::LuminosityBlock & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
bool fltrname::beginRun | ( | edm::Run & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
void fltrname::endJob | ( | void | ) | [private, virtual] |
bool fltrname::endLuminosityBlock | ( | edm::LuminosityBlock & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
bool fltrname::endRun | ( | edm::Run & | , |
edm::EventSetup const & | |||
) | [private, virtual] |
void fltrname::fillDescriptions | ( | edm::ConfigurationDescriptions & | descriptions | ) | [static] |
Reimplemented from edm::EDFilter.
Definition at line 146 of file edfilter.cc.
References edm::ConfigurationDescriptions::addDefault(), and edm::ParameterSetDescription::setUnknown().
{ //The following says we do not know what parameters are allowed so do no validation // Please change this to state exactly what you do use, even if it is no parameters edm::ParameterSetDescription desc; desc.setUnknown(); descriptions.addDefault(desc); }
bool fltrname::filter | ( | edm::Event & | iEvent, |
const edm::EventSetup & | iSetup | ||
) | [private, virtual] |
Implements edm::EDFilter.
Definition at line 90 of file edfilter.cc.
References edm::EventSetup::get(), and edm::Event::getByLabel().
{ using namespace edm; #ifdef THIS_IS_AN_EVENT_EXAMPLE Handle<ExampleData> pIn; iEvent.getByLabel("example",pIn); #endif #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE ESHandle<SetupData> pSetup; iSetup.get<SetupRecord>().get(pSetup); #endif return true; }