Definition at line 66 of file TFWLiteSelectorBasic.cc.
◆ FWLiteDelayedReader()
edm::root::FWLiteDelayedReader::FWLiteDelayedReader |
( |
| ) |
|
|
inline |
◆ getProduct_()
◆ getProvenance_()
◆ getTheProduct()
std::unique_ptr< WrapperBase > edm::root::FWLiteDelayedReader::getTheProduct |
( |
BranchID const & |
k | ) |
const |
|
private |
Definition at line 102 of file TFWLiteSelectorBasic.cc.
References edm::ObjectWithDict::address(), bidToDesc_, MicroEventContent_cff::branch, edm::BranchDescription::branchName(), edm::TypeWithDict::byName(), edm::ObjectWithDict::castObject(), edm::BranchDescription::className(), entry_, eventTree_, Exception, newFWLiteAna::fullName, dqmdumpme::k, dumpMFGeometry_cfg::prod, edm::errors::ProductNotFound, AlCaHLTBitMon_QueryRunRegistry::string, and edm::wrappedClassName().
Referenced by getProduct_().
107 BranchDescription
const& bDesc = *(itFind->second);
111 throw cms::Exception(
"MissingBranch") <<
"could not find branch named '" << bDesc.branchName() <<
"'" 112 <<
"\n Perhaps the data being requested was not saved in this file?";
117 if (!
bool(classType)) {
119 <<
"\n Please make sure all the necessary libraries are available.";
123 ObjectWithDict wrapperObj = classType.construct();
124 if (
nullptr == wrapperObj.address()) {
127 void* address = wrapperObj.address();
128 branch->SetAddress(&address);
131 WrapperBase*
prod =
reinterpret_cast<WrapperBase*
>(edProdObj.address());
133 if (
nullptr ==
prod) {
134 throw cms::Exception(
"FailedConversion") <<
"failed to convert a '" <<
fullName <<
"' to a edm::WrapperBase." 135 <<
"Please contact developers since something is very wrong.";
138 return std::unique_ptr<WrapperBase>(
prod);
std::shared_ptr< std::unordered_map< unsigned int, BranchDescription const * > > bidToDesc_
static TypeWithDict byName(std::string const &name)
std::string wrappedClassName(std::string const &iFullName)
◆ mergeReaders_()
void edm::root::FWLiteDelayedReader::mergeReaders_ |
( |
DelayedReader * |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ postEventReadFromSourceSignal()
|
inlineoverrideprivatevirtual |
◆ preEventReadFromSourceSignal()
|
inlineoverrideprivatevirtual |
◆ reset_()
void edm::root::FWLiteDelayedReader::reset_ |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
◆ set()
void edm::root::FWLiteDelayedReader::set |
( |
std::shared_ptr< std::unordered_map< unsigned int, BranchDescription const *>> |
iMap | ) |
|
|
inline |
◆ setEntry()
void edm::root::FWLiteDelayedReader::setEntry |
( |
Long64_t |
iEntry | ) |
|
|
inline |
◆ setTree()
void edm::root::FWLiteDelayedReader::setTree |
( |
TTree * |
iTree | ) |
|
|
inline |
◆ bidToDesc_
std::shared_ptr<std::unordered_map<unsigned int, BranchDescription const*> > edm::root::FWLiteDelayedReader::bidToDesc_ |
|
private |
◆ entry_
Long64_t edm::root::FWLiteDelayedReader::entry_ |
|
private |
◆ eventTree_
TTree* edm::root::FWLiteDelayedReader::eventTree_ |
|
private |