Public Member Functions | |
FWLiteEventFinder (TBranch *auxBranch) | |
virtual edm::EventNumber_t | getEventNumberOfEntry (long long entry) const |
virtual | ~FWLiteEventFinder () |
Private Attributes | |
TBranch * | auxBranch_ |
Definition at line 34 of file EntryFinder.cc.
fwlite::FWLiteEventFinder::FWLiteEventFinder | ( | TBranch * | auxBranch | ) | [inline, explicit] |
Definition at line 36 of file EntryFinder.cc.
: auxBranch_(auxBranch) {}
virtual fwlite::FWLiteEventFinder::~FWLiteEventFinder | ( | ) | [inline, virtual] |
Definition at line 37 of file EntryFinder.cc.
{}
virtual edm::EventNumber_t fwlite::FWLiteEventFinder::getEventNumberOfEntry | ( | long long | entry | ) | const [inline, virtual] |
Implements edm::IndexIntoFile::EventFinder.
Definition at line 39 of file EntryFinder.cc.
References auxBranch_, and edm::EventAuxiliary::event().
{ void* saveAddress = auxBranch_->GetAddress(); edm::EventAuxiliary eventAux; edm::EventAuxiliary *pEvAux = &eventAux; auxBranch_->SetAddress(&pEvAux); auxBranch_->GetEntry(entry); auxBranch_->SetAddress(saveAddress); return eventAux.event(); }
TBranch* fwlite::FWLiteEventFinder::auxBranch_ [private] |
Definition at line 50 of file EntryFinder.cc.
Referenced by getEventNumberOfEntry().