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

Constructor & Destructor Documentation

◆ IndexRunLumiKey()

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

Member Function Documentation

◆ lumi()

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

Definition at line 1058 of file IndexIntoFile.h.

References lumi_.

Referenced by operator<().

1058 { return lumi_; }

◆ operator<()

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

Definition at line 1060 of file IndexIntoFile.h.

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

1060  {
1061  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
1062  if (run_ == right.run()) {
1063  return lumi_ < right.lumi();
1064  }
1065  return run_ < right.run();
1066  }
1067  return processHistoryIDIndex_ < right.processHistoryIDIndex();
1068  }

◆ processHistoryIDIndex()

int edm::IndexIntoFile::IndexRunLumiKey::processHistoryIDIndex ( ) const
inline

Definition at line 1056 of file IndexIntoFile.h.

References processHistoryIDIndex_.

Referenced by operator<().

◆ run()

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

Definition at line 1057 of file IndexIntoFile.h.

References run_.

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

1057 { return run_; }

Member Data Documentation

◆ lumi_

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

Definition at line 1073 of file IndexIntoFile.h.

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

◆ processHistoryIDIndex_

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

Definition at line 1071 of file IndexIntoFile.h.

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

◆ run_

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

Definition at line 1072 of file IndexIntoFile.h.

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