#include <EventWrapper.h>
Public Member Functions | |
ConstEventWrapper () | |
ConstEventWrapper (const edm::Event &) | |
void | getByLabel (std::string const &, edm::GenericHandle &) const |
void | getByLabel (std::string const &, std::string const &, edm::GenericHandle &) const |
Private Attributes | |
edm::Event const * | event_ |
Definition at line 32 of file EventWrapper.h.
edm::python::ConstEventWrapper::ConstEventWrapper | ( | ) | [inline] |
Definition at line 36 of file EventWrapper.h.
: event_(0) {}
ConstEventWrapper::ConstEventWrapper | ( | const edm::Event & | iEvent | ) |
Definition at line 31 of file EventWrapper.cc.
: event_(&iEvent) { }
void ConstEventWrapper::getByLabel | ( | std::string const & | iLabel, |
edm::GenericHandle & | oHandle | ||
) | const |
Definition at line 61 of file EventWrapper.cc.
References event_, and edm::Event::getByLabel().
{ if(event_) { event_->getByLabel(iLabel,oHandle); } }
void ConstEventWrapper::getByLabel | ( | std::string const & | iLabel, |
std::string const & | iInstance, | ||
edm::GenericHandle & | oHandle | ||
) | const |
Definition at line 69 of file EventWrapper.cc.
References event_, and edm::Event::getByLabel().
{ if(event_) { event_->getByLabel(iLabel,iInstance,oHandle); } }
edm::Event const* edm::python::ConstEventWrapper::event_ [private] |
Definition at line 54 of file EventWrapper.h.
Referenced by getByLabel().