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 121 of file RootFile.cc.

Constructor & Destructor Documentation

◆ RootFileEventFinder()

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

Definition at line 123 of file RootFile.cc.

123 : eventTree_(eventTree) {}

◆ ~RootFileEventFinder()

edm::RootFileEventFinder::~RootFileEventFinder ( )
inlineoverride

Definition at line 124 of file RootFile.cc.

124 {}

Member Function Documentation

◆ getEventNumberOfEntry()

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

Implements edm::IndexIntoFile::EventFinder.

Definition at line 126 of file RootFile.cc.

126  {
129  EventAuxiliary eventAux;
130  EventAuxiliary* pEvAux = &eventAux;
131  eventTree_.fillAux<EventAuxiliary>(pEvAux);
132  eventTree_.setEntryNumber(saveEntry);
133  return eventAux.event();
134  }

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

Member Data Documentation

◆ eventTree_

RootTree& edm::RootFileEventFinder::eventTree_
private

Definition at line 137 of file RootFile.cc.

Referenced by getEventNumberOfEntry().

edm::RootTree::setEntryNumber
void setEntryNumber(EntryNumber theEntryNumber)
Definition: RootTree.cc:202
mps_splice.entry
entry
Definition: mps_splice.py:68
edm::RootFileEventFinder::eventTree_
RootTree & eventTree_
Definition: RootFile.cc:137
edm::roottree::EntryNumber
IndexIntoFile::EntryNumber_t EntryNumber
Definition: RootTree.h:51
edm::RootTree::fillAux
void fillAux(T *&pAux)
Definition: RootTree.h:144
edm::RootTree::entryNumber
EntryNumber const & entryNumber() const
Definition: RootTree.h:135