CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 105 of file RootFile.cc.

Constructor & Destructor Documentation

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

Definition at line 107 of file RootFile.cc.

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

Definition at line 108 of file RootFile.cc.

108 {}

Member Function Documentation

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

Implements edm::IndexIntoFile::EventFinder.

Definition at line 110 of file RootFile.cc.

References edm::RootTree::entryNumber(), edm::EventAuxiliary::event(), eventTree_, edm::RootTree::fillAux(), and edm::RootTree::setEntryNumber().

110  {
113  EventAuxiliary eventAux;
114  EventAuxiliary *pEvAux = &eventAux;
115  eventTree_.fillAux<EventAuxiliary>(pEvAux);
116  eventTree_.setEntryNumber(saveEntry);
117  return eventAux.event();
118  }
IndexIntoFile::EntryNumber_t EntryNumber
Definition: RootTree.h:41
EntryNumber const & entryNumber() const
Definition: RootTree.h:94
list entry
Definition: mps_splice.py:62
void fillAux(T *&pAux)
Definition: RootTree.h:102
void setEntryNumber(EntryNumber theEntryNumber)
Definition: RootTree.cc:190

Member Data Documentation

RootTree& edm::RootFileEventFinder::eventTree_
private

Definition at line 121 of file RootFile.cc.

Referenced by getEventNumberOfEntry().