Definition at line 57 of file TFWLiteSelectorBasic.cc.
edm::root::FWLiteDelayedReader::FWLiteDelayedReader |
( |
| ) |
|
|
inline |
edm::root::FWLiteDelayedReader::boost::shared_ptr |
( |
reg_ |
| ) |
|
|
private |
Definition at line 82 of file TFWLiteSelectorBasic.cc.
References edm::BranchDescription::branchName(), edm::TypeWithDict::byName(), edm::BranchDescription::className(), entry_, eventTree_, edm::hlt::Exception, newFWLiteAna::fullName, edm::BranchDescription::getInterface(), gen::k, edm::errors::ProductNotFound, AlCaHLTBitMon_QueryRunRegistry::string, and edm::wrappedClassName().
Referenced by getProduct_().
83 ProductRegistry::ProductList::const_iterator itFind= reg_->productList().find(
k);
84 if(itFind == reg_->productList().end()) {
87 BranchDescription
const& bDesc = itFind->second;
89 TBranch* branch=
eventTree_->GetBranch(bDesc.branchName().c_str());
90 if(
nullptr == branch) {
92 <<
"could not find branch named '" << bDesc.branchName() <<
"'"
93 <<
"\n Perhaps the data being requested was not saved in this file?";
98 if(!
bool(classType)) {
100 <<
"could not find dictionary for type '" << fullName <<
"'"
101 <<
"\n Please make sure all the necessary libraries are available.";
105 void const* address = classType.construct().address();
106 if(
nullptr == address) {
107 throw cms::Exception(
"FailedToCreate") <<
"could not create an instance of '" << fullName <<
"'";
109 branch->SetAddress(&address);
112 return WrapperOwningHolder(address, bDesc.getInterface());
static TypeWithDict byName(std::string const &className)
std::string wrappedClassName(std::string const &iFullName)
virtual void edm::root::FWLiteDelayedReader::mergeReaders_ |
( |
DelayedReader * |
| ) |
|
|
inlineoverrideprivatevirtual |
virtual void edm::root::FWLiteDelayedReader::reset_ |
( |
| ) |
|
|
inlineoverrideprivatevirtual |
void edm::root::FWLiteDelayedReader::set |
( |
boost::shared_ptr< ProductRegistry const > |
iReg | ) |
|
|
inline |
void edm::root::FWLiteDelayedReader::setEntry |
( |
Long64_t |
iEntry | ) |
|
|
inline |
void edm::root::FWLiteDelayedReader::setTree |
( |
TTree * |
iTree | ) |
|
|
inline |
Long64_t edm::root::FWLiteDelayedReader::entry_ |
|
private |
TTree* edm::root::FWLiteDelayedReader::eventTree_ |
|
private |