Definition at line 58 of file TFWLiteSelectorBasic.cc.
edm::root::FWLiteDelayedReader::FWLiteDelayedReader |
( |
| ) |
|
|
inline |
edm::root::FWLiteDelayedReader::boost::shared_ptr |
( |
reg_ |
| ) |
|
|
private |
Implements edm::DelayedReader.
Definition at line 77 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().
78 ProductRegistry::ProductList::const_iterator itFind= reg_->productList().find(
k);
79 if(itFind == reg_->productList().end()) {
82 BranchDescription
const& bDesc = itFind->second;
84 TBranch* branch=
eventTree_->GetBranch(bDesc.branchName().c_str());
87 <<
"could not find branch named '" << bDesc.branchName() <<
"'"
88 <<
"\n Perhaps the data being requested was not saved in this file?";
93 if(!
bool(classType)) {
95 <<
"could not find dictionary for type '" << fullName <<
"'"
96 <<
"\n Please make sure all the necessary libraries are available.";
100 void const*
address = classType.construct().address();
102 throw cms::Exception(
"FailedToCreate") <<
"could not create an instance of '" << fullName <<
"'";
104 branch->SetAddress(&address);
107 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 * |
| ) |
|
|
inlineprivatevirtual |
virtual void edm::root::FWLiteDelayedReader::reset_ |
( |
| ) |
|
|
inlineprivatevirtual |
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 |