CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::python::ConstEventWrapper Class Reference

#include <EventWrapper.h>

List of all members.

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_

Detailed Description

Definition at line 32 of file EventWrapper.h.


Constructor & Destructor Documentation

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)
{
}

Member Function Documentation

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);
  }
}

Member Data Documentation

Definition at line 54 of file EventWrapper.h.

Referenced by getByLabel().