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

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

Private Attributes

RootTreeeventTree_
 

Detailed Description

Definition at line 110 of file RootFile.cc.

Constructor & Destructor Documentation

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

Definition at line 112 of file RootFile.cc.

112 : eventTree_(eventTree) {}
virtual edm::RootFileEventFinder::~RootFileEventFinder ( )
inlinevirtual

Definition at line 113 of file RootFile.cc.

113 {}

Member Function Documentation

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

Implements edm::IndexIntoFile::EventFinder.

Definition at line 115 of file RootFile.cc.

References edm::EventAuxiliary::event().

115  {
118  EventAuxiliary eventAux;
119  EventAuxiliary *pEvAux = &eventAux;
120  eventTree_.fillAux<EventAuxiliary>(pEvAux);
121  eventTree_.setEntryNumber(saveEntry);
122  return eventAux.event();
123  }
IndexIntoFile::EntryNumber_t EntryNumber
Definition: RootTree.h:49
EntryNumber const & entryNumber() const
Definition: RootTree.h:102
void fillAux(T *&pAux)
Definition: RootTree.h:111
void setEntryNumber(EntryNumber theEntryNumber)
Definition: RootTree.cc:197

Member Data Documentation

RootTree& edm::RootFileEventFinder::eventTree_
private

Definition at line 126 of file RootFile.cc.