Classes | |
struct | BranchInfo |
Typedefs | |
typedef std::map< BranchKey const, BranchInfo > | BranchMap |
typedef Long64_t | EntryNumber |
Functions | |
Int_t | getEntry (TTree *tree, EntryNumber entryNumber) |
Int_t | getEntry (TBranch *branch, EntryNumber entryNumber) |
typedef std::map<BranchKey const, BranchInfo> edm::input::BranchMap |
Definition at line 30 of file Inputfwd.h.
typedef Long64_t edm::input::EntryNumber |
Definition at line 31 of file Inputfwd.h.
Int_t edm::input::getEntry | ( | TTree * | tree, | |
EntryNumber | entryNumber | |||
) |
Definition at line 162 of file RootTree.cc.
References e, cms::Exception::explainSelf(), edm::errors::FileReadError, and n.
Referenced by edm::RootTree::fillAux(), edm::RootFile::fillHistory(), edm::RootTree::fillStatus(), edm::RootDelayedReader::getProduct_(), edm::RootFile::makeBranchMapper(), edm::RootFile::readEntryDescriptionTree(), edm::BranchMapperWithReader< T >::readProvenance_(), and edm::RootFile::RootFile().
00162 { 00163 Int_t n = 0; 00164 try { 00165 n = tree->GetEntry(entryNumber); 00166 } 00167 catch(cms::Exception e) { 00168 throw edm::Exception(edm::errors::FileReadError) << e.explainSelf() << "\n"; 00169 } 00170 return n; 00171 }
Int_t edm::input::getEntry | ( | TBranch * | branch, | |
EntryNumber | entryNumber | |||
) |
Definition at line 150 of file RootTree.cc.
References e, cms::Exception::explainSelf(), edm::errors::FileReadError, and n.
00150 { 00151 Int_t n = 0; 00152 try { 00153 n = branch->GetEntry(entryNumber); 00154 } 00155 catch(cms::Exception e) { 00156 throw edm::Exception(edm::errors::FileReadError) << e.explainSelf() << "\n"; 00157 } 00158 return n; 00159 }