CMS 3D CMS Logo

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

#include <IndexIntoFile.h>

Public Member Functions

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

Private Attributes

LuminosityBlockNumber_t lumi_
 
int processHistoryIDIndex_
 
RunNumber_t run_
 

Detailed Description

Definition at line 817 of file IndexIntoFile.h.

Constructor & Destructor Documentation

edm::IndexIntoFile::IndexRunLumiKey::IndexRunLumiKey ( int  index,
RunNumber_t  run,
LuminosityBlockNumber_t  lumi 
)
inline

Definition at line 819 of file IndexIntoFile.h.

Member Function Documentation

LuminosityBlockNumber_t edm::IndexIntoFile::IndexRunLumiKey::lumi ( ) const
inline

Definition at line 827 of file IndexIntoFile.h.

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

Referenced by operator<().

827 {return lumi_;}
LuminosityBlockNumber_t lumi_
bool edm::IndexIntoFile::IndexRunLumiKey::operator< ( IndexRunLumiKey const &  right) const
inline

Definition at line 829 of file IndexIntoFile.h.

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

829  {
830  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
831  if (run_ == right.run()) {
832  return lumi_ < right.lumi();
833  }
834  return run_ < right.run();
835  }
836  return processHistoryIDIndex_ < right.processHistoryIDIndex();
837  }
LuminosityBlockNumber_t lumi_
int edm::IndexIntoFile::IndexRunLumiKey::processHistoryIDIndex ( ) const
inline
RunNumber_t edm::IndexIntoFile::IndexRunLumiKey::run ( ) const
inline

Member Data Documentation

LuminosityBlockNumber_t edm::IndexIntoFile::IndexRunLumiKey::lumi_
private

Definition at line 842 of file IndexIntoFile.h.

int edm::IndexIntoFile::IndexRunLumiKey::processHistoryIDIndex_
private

Definition at line 840 of file IndexIntoFile.h.

RunNumber_t edm::IndexIntoFile::IndexRunLumiKey::run_
private

Definition at line 841 of file IndexIntoFile.h.