CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::IndexIntoFile::IndexRunLumiEventKey Class Reference

#include <IndexIntoFile.h>

Public Member Functions

EventNumber_t event () const
 
 IndexRunLumiEventKey (int index, RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event)
 
LuminosityBlockNumber_t lumi () const
 
bool operator< (IndexRunLumiEventKey const &right) const
 
int processHistoryIDIndex () const
 
RunNumber_t run () const
 

Private Attributes

EventNumber_t event_
 
LuminosityBlockNumber_t lumi_
 
int processHistoryIDIndex_
 
RunNumber_t run_
 

Detailed Description

Definition at line 868 of file IndexIntoFile.h.

Constructor & Destructor Documentation

edm::IndexIntoFile::IndexRunLumiEventKey::IndexRunLumiEventKey ( int  index,
RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event 
)
inline

Member Function Documentation

EventNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::event ( ) const
inline

Definition at line 876 of file IndexIntoFile.h.

References event_().

Referenced by Types.EventID::cppID(), and operator<().

876 { return event_; }
LuminosityBlockNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::lumi ( ) const
inline

Definition at line 875 of file IndexIntoFile.h.

References edm::IndexIntoFile::RunOrLumiEntry::lumi_.

Referenced by operator<().

875 { return lumi_; }
bool edm::IndexIntoFile::IndexRunLumiEventKey::operator< ( IndexRunLumiEventKey const &  right) const
inline

Definition at line 878 of file IndexIntoFile.h.

References event(), event_(), lumi(), edm::IndexIntoFile::RunOrLumiEntry::lumi_, processHistoryIDIndex(), edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex_, run(), and edm::IndexIntoFile::RunOrLumiEntry::run_.

878  {
879  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
880  if (run_ == right.run()) {
881  if (lumi_ == right.lumi()) {
882  return event_ < right.event();
883  }
884  return lumi_ < right.lumi();
885  }
886  return run_ < right.run();
887  }
888  return processHistoryIDIndex_ < right.processHistoryIDIndex();
889  }
int edm::IndexIntoFile::IndexRunLumiEventKey::processHistoryIDIndex ( ) const
inline
RunNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::run ( ) const
inline

Member Data Documentation

EventNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::event_
private

Definition at line 895 of file IndexIntoFile.h.

LuminosityBlockNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::lumi_
private

Definition at line 894 of file IndexIntoFile.h.

int edm::IndexIntoFile::IndexRunLumiEventKey::processHistoryIDIndex_
private

Definition at line 892 of file IndexIntoFile.h.

RunNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::run_
private

Definition at line 893 of file IndexIntoFile.h.