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

Constructor & Destructor Documentation

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

Definition at line 805 of file IndexIntoFile.h.

805  :
807  run_(run),
808  lumi_(lumi) {
809  }
LuminosityBlockNumber_t lumi() const
LuminosityBlockNumber_t lumi_

Member Function Documentation

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

Definition at line 813 of file IndexIntoFile.h.

References lumi_.

Referenced by operator<().

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

Definition at line 815 of file IndexIntoFile.h.

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

815  {
816  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
817  if (run_ == right.run()) {
818  return lumi_ < right.lumi();
819  }
820  return run_ < right.run();
821  }
822  return processHistoryIDIndex_ < right.processHistoryIDIndex();
823  }
LuminosityBlockNumber_t lumi_
int edm::IndexIntoFile::IndexRunLumiKey::processHistoryIDIndex ( ) const
inline

Definition at line 811 of file IndexIntoFile.h.

References processHistoryIDIndex_.

Referenced by operator<().

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

Definition at line 812 of file IndexIntoFile.h.

References run_.

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

812 {return run_;}

Member Data Documentation

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

Definition at line 828 of file IndexIntoFile.h.

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

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

Definition at line 826 of file IndexIntoFile.h.

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

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

Definition at line 827 of file IndexIntoFile.h.

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