CMS 3D CMS Logo

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

#include <IndexIntoFile.h>

Public Member Functions

 IndexRunKey (int index, RunNumber_t run)
 
bool operator< (IndexRunKey const &right) const
 
int processHistoryIDIndex () const
 
RunNumber_t run () const
 

Private Attributes

int processHistoryIDIndex_
 
RunNumber_t run_
 

Detailed Description

Definition at line 842 of file IndexIntoFile.h.

Constructor & Destructor Documentation

edm::IndexIntoFile::IndexRunKey::IndexRunKey ( int  index,
RunNumber_t  run 
)
inline

Member Function Documentation

bool edm::IndexIntoFile::IndexRunKey::operator< ( IndexRunKey const &  right) const
inline

Definition at line 852 of file IndexIntoFile.h.

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

852  {
853  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
854  return run_ < right.run();
855  }
856  return processHistoryIDIndex_ < right.processHistoryIDIndex();
857  }
int edm::IndexIntoFile::IndexRunKey::processHistoryIDIndex ( ) const
inline
RunNumber_t edm::IndexIntoFile::IndexRunKey::run ( ) const
inline

Member Data Documentation

int edm::IndexIntoFile::IndexRunKey::processHistoryIDIndex_
private

Definition at line 860 of file IndexIntoFile.h.

RunNumber_t edm::IndexIntoFile::IndexRunKey::run_
private

Definition at line 861 of file IndexIntoFile.h.