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::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 779 of file IndexIntoFile.h.

Constructor & Destructor Documentation

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

Definition at line 781 of file IndexIntoFile.h.

Member Function Documentation

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

Definition at line 789 of file IndexIntoFile.h.

References processHistoryIDIndex(), processHistoryIDIndex_, run(), and run_.

789  {
790  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
791  return run_ < right.run();
792  }
793  return processHistoryIDIndex_ < right.processHistoryIDIndex();
794  }
int edm::IndexIntoFile::IndexRunKey::processHistoryIDIndex ( ) const
inline

Definition at line 786 of file IndexIntoFile.h.

References processHistoryIDIndex_.

Referenced by operator<().

RunNumber_t edm::IndexIntoFile::IndexRunKey::run ( ) const
inline

Definition at line 787 of file IndexIntoFile.h.

References run_.

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

787 {return run_;}

Member Data Documentation

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

Definition at line 797 of file IndexIntoFile.h.

Referenced by operator<(), and processHistoryIDIndex().

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

Definition at line 798 of file IndexIntoFile.h.

Referenced by operator<(), and run().