#include <PrincipalGetAdapter.h>
Public Types | |
typedef std::vector< BasicHandle > | BasicHandleVec |
Public Member Functions | |
template<typename PROD > | |
bool | get (SelectorBase const &, Handle< PROD > &result) const |
BasicHandle | get_ (TypeID const &tid, SelectorBase const &) const |
ConstBranchDescription const & | getBranchDescription (TypeID const &type, std::string const &productInstanceName) const |
template<typename PROD > | |
bool | getByLabel (std::string const &label, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByLabel (std::string const &label, std::string const &productInstanceName, Handle< PROD > &result) const |
template<typename PROD > | |
bool | getByLabel (InputTag const &tag, Handle< PROD > &result) const |
same as above, but using the InputTag class More... | |
BasicHandle | getByLabel_ (TypeID const &tid, std::string const &label, std::string const &productInstanceName, std::string const &processName) const |
BasicHandle | getByLabel_ (TypeID const &tid, InputTag const &tag) const |
template<typename PROD > | |
bool | getByType (Handle< PROD > &result) const |
BasicHandle | getByType_ (TypeID const &tid) const |
template<typename PROD > | |
void | getMany (SelectorBase const &, std::vector< Handle< PROD > > &results) const |
void | getMany_ (TypeID const &tid, SelectorBase const &sel, BasicHandleVec &results) const |
template<typename PROD > | |
void | getManyByType (std::vector< Handle< PROD > > &results) const |
void | getManyByType_ (TypeID const &tid, BasicHandleVec &results) const |
int | getMatchingSequence_ (TypeID const &typeID, SelectorBase const &selector, BasicHandle &result) const |
int | getMatchingSequenceByLabel_ (TypeID const &typeID, std::string const &label, std::string const &productInstanceName, BasicHandle &result) const |
int | getMatchingSequenceByLabel_ (TypeID const &typeID, std::string const &label, std::string const &productInstanceName, std::string const &processName, BasicHandle &result) const |
Principal & | principal () |
Principal const & | principal () const |
PrincipalGetAdapter (Principal &pcpl, ModuleDescription const &md) | |
ProcessHistory const & | processHistory () const |
EDProductGetter const * | prodGetter () const |
~PrincipalGetAdapter () | |
Private Member Functions | |
BranchType const & | branchType () const |
PrincipalGetAdapter const & | operator= (PrincipalGetAdapter const &) |
PrincipalGetAdapter (PrincipalGetAdapter const &) | |
Private Attributes | |
ModuleDescription const & | md_ |
Principal & | principal_ |
Definition at line 113 of file PrincipalGetAdapter.h.
typedef std::vector<BasicHandle> edm::PrincipalGetAdapter::BasicHandleVec |
Definition at line 162 of file PrincipalGetAdapter.h.
PrincipalGetAdapter::PrincipalGetAdapter | ( | Principal & | pcpl, |
ModuleDescription const & | md | ||
) |
Definition at line 15 of file PrincipalGetAdapter.cc.
PrincipalGetAdapter::~PrincipalGetAdapter | ( | ) |
Definition at line 22 of file PrincipalGetAdapter.cc.
|
private |
|
private |
Definition at line 48 of file PrincipalGetAdapter.cc.
|
inline |
Definition at line 317 of file PrincipalGetAdapter.h.
References edm::HandleBase::clear(), edm::convert_handle(), edm::BasicHandle::failedToGet(), get_(), and PROD.
Referenced by Options.Options::__getitem__(), betterConfigParser.BetterConfigParser::__updateDict(), edm::LuminosityBlock::get(), edm::Run::get(), edm::Event::get(), betterConfigParser.BetterConfigParser::getCompares(), betterConfigParser.BetterConfigParser::getGeneral(), and betterConfigParser.BetterConfigParser::getResultingSection().
BasicHandle PrincipalGetAdapter::get_ | ( | TypeID const & | tid, |
SelectorBase const & | sel | ||
) | const |
Definition at line 53 of file PrincipalGetAdapter.cc.
Referenced by get().
ConstBranchDescription const & PrincipalGetAdapter::getBranchDescription | ( | TypeID const & | type, |
std::string const & | productInstanceName | ||
) | const |
Definition at line 138 of file PrincipalGetAdapter.cc.
References revisionDML::branchType(), edm::TransientProductLookupMap::equal_range(), edm::hlt::Exception, edm::TypeID::friendlyClassName(), and edm::errors::InsertFailure.
Referenced by edm::Event::getRefBeforePut(), edm::Run::put(), edm::LuminosityBlock::put(), and edm::Event::put().
|
inline |
Definition at line 331 of file PrincipalGetAdapter.h.
References edm::HandleBase::clear().
Referenced by edm::LuminosityBlock::getByLabel(), edm::Run::getByLabel(), and edm::Event::getByLabel().
|
inline |
Definition at line 353 of file PrincipalGetAdapter.h.
References edm::HandleBase::clear(), edm::convert_handle(), edm::BasicHandle::failedToGet(), getByLabel_(), and PROD.
|
inline |
same as above, but using the InputTag class
Definition at line 340 of file PrincipalGetAdapter.h.
References edm::HandleBase::clear(), edm::convert_handle(), edm::BasicHandle::failedToGet(), getByLabel_(), and PROD.
BasicHandle PrincipalGetAdapter::getByLabel_ | ( | TypeID const & | tid, |
std::string const & | label, | ||
std::string const & | productInstanceName, | ||
std::string const & | processName | ||
) | const |
Definition at line 65 of file PrincipalGetAdapter.cc.
Referenced by getByLabel(), edm::LuminosityBlock::getByLabelImpl(), edm::Run::getByLabelImpl(), and edm::Event::getByLabelImpl().
BasicHandle PrincipalGetAdapter::getByLabel_ | ( | TypeID const & | tid, |
InputTag const & | tag | ||
) | const |
Definition at line 75 of file PrincipalGetAdapter.cc.
References edm::InputTag::cachedOffset(), edm::InputTag::fillCount(), edm::InputTag::instance(), edm::InputTag::label(), and edm::InputTag::process().
|
inline |
Definition at line 402 of file PrincipalGetAdapter.h.
References edm::HandleBase::clear(), edm::convert_handle(), edm::BasicHandle::failedToGet(), getByType_(), and PROD.
Referenced by edm::LuminosityBlock::getByType(), edm::Run::getByType(), and edm::Event::getByType().
BasicHandle PrincipalGetAdapter::getByType_ | ( | TypeID const & | tid | ) | const |
Definition at line 83 of file PrincipalGetAdapter.cc.
Referenced by getByType().
|
inline |
Definition at line 368 of file PrincipalGetAdapter.h.
References edm::convert_handle(), end, getMany_(), PROD, edm::es::products(), query::result, and python.entryComment::results.
Referenced by edm::LuminosityBlock::getMany(), edm::Run::getMany(), and edm::Event::getMany().
void PrincipalGetAdapter::getMany_ | ( | TypeID const & | tid, |
SelectorBase const & | sel, | ||
BasicHandleVec & | results | ||
) | const |
Definition at line 58 of file PrincipalGetAdapter.cc.
Referenced by getMany().
|
inline |
Definition at line 415 of file PrincipalGetAdapter.h.
References edm::convert_handle(), end, getManyByType_(), PROD, edm::es::products(), query::result, and python.entryComment::results.
Referenced by edm::LuminosityBlock::getManyByType(), edm::Run::getManyByType(), and edm::Event::getManyByType().
void PrincipalGetAdapter::getManyByType_ | ( | TypeID const & | tid, |
BasicHandleVec & | results | ||
) | const |
Definition at line 88 of file PrincipalGetAdapter.cc.
Referenced by getManyByType().
int PrincipalGetAdapter::getMatchingSequence_ | ( | TypeID const & | typeID, |
SelectorBase const & | selector, | ||
BasicHandle & | result | ||
) | const |
Definition at line 94 of file PrincipalGetAdapter.cc.
int PrincipalGetAdapter::getMatchingSequenceByLabel_ | ( | TypeID const & | typeID, |
std::string const & | label, | ||
std::string const & | productInstanceName, | ||
BasicHandle & | result | ||
) | const |
Definition at line 103 of file PrincipalGetAdapter.cc.
References n, and EgammaValidation_Wenu_cff::sel.
Referenced by edm::Event::getByLabel().
int PrincipalGetAdapter::getMatchingSequenceByLabel_ | ( | TypeID const & | typeID, |
std::string const & | label, | ||
std::string const & | productInstanceName, | ||
std::string const & | processName, | ||
BasicHandle & | result | ||
) | const |
Definition at line 117 of file PrincipalGetAdapter.cc.
References n, and EgammaValidation_Wenu_cff::sel.
|
private |
|
inline |
Definition at line 156 of file PrincipalGetAdapter.h.
References principal_.
Referenced by edm::Event::eventPrincipal(), edm::Event::getAllProvenance(), edm::Event::getProvenance(), edm::LuminosityBlock::luminosityBlockPrincipal(), edm::Run::runPrincipal(), and edm::Event::size().
|
inline |
ProcessHistory const & PrincipalGetAdapter::processHistory | ( | ) | const |
Definition at line 133 of file PrincipalGetAdapter.cc.
Referenced by edm::LuminosityBlock::processHistory(), edm::Run::processHistory(), and edm::Event::processHistory().
EDProductGetter const * PrincipalGetAdapter::prodGetter | ( | ) | const |
|
private |
Definition at line 237 of file PrincipalGetAdapter.h.
|
private |
Definition at line 233 of file PrincipalGetAdapter.h.
Referenced by principal().