CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
edm::python::ConstEventWrapper Class Reference

#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_
 

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.

36 : event_(0) {}
edm::Event const * event_
Definition: EventWrapper.h:54
ConstEventWrapper::ConstEventWrapper ( const edm::Event iEvent)

Definition at line 31 of file EventWrapper.cc.

31  :
32 event_(&iEvent)
33 {
34 }
edm::Event const * event_
Definition: EventWrapper.h:54

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().

62 {
63  if(event_) {
64  event_->getByLabel(iLabel,oHandle);
65  }
66 }
edm::Event const * event_
Definition: EventWrapper.h:54
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356
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().

70 {
71  if(event_) {
72  event_->getByLabel(iLabel,iInstance,oHandle);
73  }
74 }
edm::Event const * event_
Definition: EventWrapper.h:54
bool getByLabel(InputTag const &tag, Handle< PROD > &result) const
Definition: Event.h:356

Member Data Documentation

edm::Event const* edm::python::ConstEventWrapper::event_
private

Definition at line 54 of file EventWrapper.h.

Referenced by getByLabel().