CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::RootFileEventFinder Class Reference
Inheritance diagram for edm::RootFileEventFinder:
edm::IndexIntoFile::EventFinder

Public Member Functions

EventNumber_t getEventNumberOfEntry (roottree::EntryNumber entry) const override
 
 RootFileEventFinder (RootTree &eventTree)
 
 ~RootFileEventFinder () override
 
- Public Member Functions inherited from edm::IndexIntoFile::EventFinder
virtual ~EventFinder ()
 

Private Attributes

RootTreeeventTree_
 

Detailed Description

Definition at line 109 of file RootFile.cc.

Constructor & Destructor Documentation

edm::RootFileEventFinder::RootFileEventFinder ( RootTree eventTree)
inlineexplicit

Definition at line 111 of file RootFile.cc.

111 : eventTree_(eventTree) {}
edm::RootFileEventFinder::~RootFileEventFinder ( )
inlineoverride

Definition at line 112 of file RootFile.cc.

112 {}

Member Function Documentation

EventNumber_t edm::RootFileEventFinder::getEventNumberOfEntry ( roottree::EntryNumber  entry) const
inlineoverridevirtual

Implements edm::IndexIntoFile::EventFinder.

Definition at line 114 of file RootFile.cc.

References edm::EventAuxiliary::event().

114  {
117  EventAuxiliary eventAux;
118  EventAuxiliary *pEvAux = &eventAux;
119  eventTree_.fillAux<EventAuxiliary>(pEvAux);
120  eventTree_.setEntryNumber(saveEntry);
121  return eventAux.event();
122  }
IndexIntoFile::EntryNumber_t EntryNumber
Definition: RootTree.h:50
EntryNumber const & entryNumber() const
Definition: RootTree.h:131
void fillAux(T *&pAux)
Definition: RootTree.h:140
void setEntryNumber(EntryNumber theEntryNumber)
Definition: RootTree.cc:205

Member Data Documentation

RootTree& edm::RootFileEventFinder::eventTree_
private

Definition at line 125 of file RootFile.cc.