CMS 3D CMS Logo

Public Member Functions

edm::Compare_Index_Run Class Reference

#include <IndexIntoFile.h>

List of all members.

Public Member Functions

bool operator() (IndexIntoFile::RunOrLumiIndexes const &lh, IndexIntoFile::RunOrLumiIndexes const &rh)

Detailed Description

Definition at line 1032 of file IndexIntoFile.h.


Member Function Documentation

bool edm::Compare_Index_Run::operator() ( IndexIntoFile::RunOrLumiIndexes const &  lh,
IndexIntoFile::RunOrLumiIndexes const &  rh 
)

Definition at line 1704 of file IndexIntoFile.cc.

References edm::IndexIntoFile::RunOrLumiIndexes::processHistoryIDIndex(), and edm::IndexIntoFile::RunOrLumiIndexes::run().

                                                                                                                     {
    if (lh.processHistoryIDIndex() == rh.processHistoryIDIndex()) {
      return lh.run() < rh.run();
    }
    return lh.processHistoryIDIndex() < rh.processHistoryIDIndex();
  }