Public Member Functions | |
fltrname (const edm::ParameterSet &) | |
~fltrname () | |
Private Member Functions | |
virtual void | beginJob (const edm::EventSetup &) |
virtual void | endJob () |
virtual bool | filter (edm::Event &, const edm::EventSetup &) |
Implementation: <Notes on="" implementation>="">
Definition at line 37 of file edfilter.cc.
fltrname::fltrname | ( | const edm::ParameterSet & | iConfig | ) | [explicit] |
fltrname::~fltrname | ( | ) |
Definition at line 68 of file edfilter.cc.
00069 { 00070 00071 // do anything here that needs to be done at desctruction time 00072 // (e.g. close files, deallocate resources etc.) 00073 00074 }
void fltrname::beginJob | ( | const edm::EventSetup & | ) | [private, virtual] |
bool fltrname::filter | ( | edm::Event & | iEvent, | |
const edm::EventSetup & | iSetup | |||
) | [private, virtual] |
Implements edm::EDFilter.
Definition at line 83 of file edfilter.cc.
References edm::EventSetup::get(), and edm::Event::getByLabel().
00084 { 00085 using namespace edm; 00086 #ifdef THIS_IS_AN_EVENT_EXAMPLE 00087 Handle<ExampleData> pIn; 00088 iEvent.getByLabel("example",pIn); 00089 #endif 00090 00091 #ifdef THIS_IS_AN_EVENTSETUP_EXAMPLE 00092 ESHandle<SetupData> pSetup; 00093 iSetup.get<SetupRecord>().get(pSetup); 00094 #endif 00095 return true; 00096 }