#include <LuminosityBlockBase.h>
Public Member Functions | |
virtual bool | atEnd () const =0 |
virtual Long64_t | fileIndex () const |
virtual bool | getByLabel (std::type_info const &, char const *, char const *, char const *, void *) const =0 |
virtual bool | getByLabel (std::type_info const &, char const *, char const *, char const *, edm::WrapperHolder &) const =0 |
LuminosityBlockBase () | |
virtual const LuminosityBlockBase & | operator++ ()=0 |
virtual Long64_t | secondaryFileIndex () const |
virtual const LuminosityBlockBase & | toBegin ()=0 |
virtual | ~LuminosityBlockBase () |
Private Member Functions | |
virtual edm::BasicHandle | getByLabelImpl (std::type_info const &, std::type_info const &, const edm::InputTag &) const |
Definition at line 32 of file LuminosityBlockBase.h.
LuminosityBlockBase::LuminosityBlockBase | ( | ) |
Reimplemented from edm::LuminosityBlockBase.
Definition at line 34 of file LuminosityBlockBase.cc.
{ }
LuminosityBlockBase::~LuminosityBlockBase | ( | ) | [virtual] |
Reimplemented from edm::LuminosityBlockBase.
Definition at line 38 of file LuminosityBlockBase.cc.
{ }
virtual bool fwlite::LuminosityBlockBase::atEnd | ( | ) | const [pure virtual] |
Implemented in fwlite::LuminosityBlock.
virtual Long64_t fwlite::LuminosityBlockBase::fileIndex | ( | ) | const [inline, virtual] |
Definition at line 60 of file LuminosityBlockBase.h.
{ return -1; }
virtual bool fwlite::LuminosityBlockBase::getByLabel | ( | std::type_info const & | , |
char const * | , | ||
char const * | , | ||
char const * | , | ||
edm::WrapperHolder & | |||
) | const [pure virtual] |
Implemented in fwlite::LuminosityBlock.
virtual bool fwlite::LuminosityBlockBase::getByLabel | ( | std::type_info const & | , |
char const * | , | ||
char const * | , | ||
char const * | , | ||
void * | |||
) | const [pure virtual] |
Implemented in fwlite::LuminosityBlock.
Referenced by getByLabelImpl().
edm::BasicHandle LuminosityBlockBase::getByLabelImpl | ( | std::type_info const & | iWrapperInfo, |
std::type_info const & | , | ||
const edm::InputTag & | iTag | ||
) | const [private, virtual] |
Implements edm::LuminosityBlockBase.
Definition at line 43 of file LuminosityBlockBase.cc.
References compareJSON::const, getByLabel(), edm::InputTag::instance(), edm::WrapperHolder::isPresent(), edm::WrapperHolder::isValid(), edm::InputTag::label(), edm::InputTag::process(), edm::errors::ProductNotFound, s_prov, and relativeConstraints::value.
{ edm::WrapperHolder edp; getByLabel(iWrapperInfo, iTag.label().c_str(), iTag.instance().empty()?static_cast<char const*>(0):iTag.instance().c_str(), iTag.process().empty()?static_cast<char const*> (0):iTag.process().c_str(), edp); if(!edp.isValid() || !edp.isPresent()) { edm::TypeID productType(iWrapperInfo); boost::shared_ptr<cms::Exception> whyFailed(new edm::Exception(edm::errors::ProductNotFound)); *whyFailed << "getByLabel: Found zero products matching all criteria\n" << "Looking for type: " << productType << "\n" << "Looking for module label: " << iTag.label() << "\n" << "Looking for productInstanceName: " << iTag.instance() << "\n" << (iTag.process().empty() ? "" : "Looking for process: ") << iTag.process() << "\n"; edm::BasicHandle failed(whyFailed); return failed; } edm::BasicHandle value(edp, &s_prov); return value; }
virtual const LuminosityBlockBase& fwlite::LuminosityBlockBase::operator++ | ( | ) | [pure virtual] |
Implemented in fwlite::LuminosityBlock.
virtual Long64_t fwlite::LuminosityBlockBase::secondaryFileIndex | ( | ) | const [inline, virtual] |
Definition at line 61 of file LuminosityBlockBase.h.
{ return -1; }
virtual const LuminosityBlockBase& fwlite::LuminosityBlockBase::toBegin | ( | ) | [pure virtual] |
Implemented in fwlite::LuminosityBlock.