46 return eventAux.
event();
111 if (
nullptr == meta) {
112 throw cms::Exception(
"NoMetaTree") <<
"The TFile does not contain a TTree named " 118 b->SetAddress(&indexPtr);
122 if(
nullptr == auxBranch) {
125 <<
" does not contain a branch named 'EventAuxiliary'";
134 b->SetAddress(&findexPtr);
138 throw cms::Exception(
"NoIndexBranch") <<
"The TFile does not contain a TBranch named " <<
void setEventFinder(std::shared_ptr< EventFinder > ptr) const
std::string const & BranchTypeToAuxiliaryBranchName(BranchType const &branchType)
FWLiteEventFinder(TBranch *auxBranch)
bool empty() const
True if no runs, lumis, or events are in the file.
TFile const * getFile() const
unsigned long long EventNumber_t
edm::IndexIntoFile indexIntoFile_
unsigned int LuminosityBlockNumber_t
IndexIntoFileItr findRunPosition(RunNumber_t run) const
Same as findPosition.
EntryNumber_t findEvent(edm::RunNumber_t const &run, edm::LuminosityBlockNumber_t const &lumi, edm::EventNumber_t const &event) const
std::vector< Element >::const_iterator const_iterator
const_iterator findEventPosition(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
std::string const & fileIndexBranchName()
edm::IndexIntoFile::EntryNumber_t EntryNumber_t
const_iterator findRunPosition(RunNumber_t run) const
std::string const & indexIntoFileBranchName()
IndexIntoFileItr end(SortOrder sortOrder) const
Used to end an iteration over the Runs, Lumis, and Events in a file.
const_iterator end() const
std::string const & metaDataTreeName()
TTree const * getEventTree() const
EntryNumber_t findRun(edm::RunNumber_t const &run) const
void fillIndex(BranchMapReader &branchMap)
static EntryNumber_t const invalidEntry
const_iterator findLumiPosition(RunNumber_t run, LuminosityBlockNumber_t lumi) const
IndexIntoFileItr findLumiPosition(RunNumber_t run, LuminosityBlockNumber_t lumi) const
~FWLiteEventFinder() override
edm::FileIndex fileIndex_
void setNumberOfEvents(EntryNumber_t nevents) const
std::string const & eventTreeName()
IndexIntoFileItr findEventPosition(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
EntryNumber_t entry() const
EventNumber_t event() const
edm::EventNumber_t getEventNumberOfEntry(edm::IndexIntoFile::EntryNumber_t entry) const override
EntryNumber_t findLumi(edm::RunNumber_t const &run, edm::LuminosityBlockNumber_t const &lumi) const