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
 
 RootFileEventFinder (RootTree &eventTree)
 
virtual ~RootFileEventFinder ()
 
- Public Member Functions inherited from edm::IndexIntoFile::EventFinder
virtual EventNumber_t getEventNumberOfEntry (EntryNumber_t entry) const =0
 
virtual ~EventFinder ()
 

Private Attributes

RootTreeeventTree_
 

Detailed Description

Definition at line 102 of file RootFile.cc.

Constructor & Destructor Documentation

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

Definition at line 104 of file RootFile.cc.

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

Definition at line 105 of file RootFile.cc.

105 {}

Member Function Documentation

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

Definition at line 107 of file RootFile.cc.

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

107  {
110  EventAuxiliary eventAux;
111  EventAuxiliary *pEvAux = &eventAux;
112  eventTree_.fillAux<EventAuxiliary>(pEvAux);
113  eventTree_.setEntryNumber(saveEntry);
114  return eventAux.event();
115  }
std::pair< std::string, MonitorElement * > entry
Definition: ME_MAP.h:8
EntryNumber const & entryNumber() const
Definition: RootTree.h:84
Long64_t EntryNumber
Definition: RootTree.h:38
void fillAux(T *&pAux)
Definition: RootTree.h:90
void setEntryNumber(EntryNumber theEntryNumber)
Definition: RootTree.cc:155

Member Data Documentation

RootTree& edm::RootFileEventFinder::eventTree_
private

Definition at line 118 of file RootFile.cc.

Referenced by getEventNumberOfEntry().