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

Constructor & Destructor Documentation

◆ IndexRunLumiKey()

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

Definition at line 843 of file IndexIntoFile.h.

Member Function Documentation

◆ lumi()

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

Definition at line 848 of file IndexIntoFile.h.

848 { return lumi_; }

References lumi_.

Referenced by operator<().

◆ operator<()

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

Definition at line 850 of file IndexIntoFile.h.

850  {
851  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
852  if (run_ == right.run()) {
853  return lumi_ < right.lumi();
854  }
855  return run_ < right.run();
856  }
857  return processHistoryIDIndex_ < right.processHistoryIDIndex();
858  }

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

◆ processHistoryIDIndex()

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

Definition at line 846 of file IndexIntoFile.h.

846 { return processHistoryIDIndex_; }

References processHistoryIDIndex_.

Referenced by operator<().

◆ run()

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

Definition at line 847 of file IndexIntoFile.h.

847 { return run_; }

References run_.

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

Member Data Documentation

◆ lumi_

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

Definition at line 863 of file IndexIntoFile.h.

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

◆ processHistoryIDIndex_

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

Definition at line 861 of file IndexIntoFile.h.

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

◆ run_

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

Definition at line 862 of file IndexIntoFile.h.

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

edm::IndexIntoFile::IndexRunLumiKey::run_
RunNumber_t run_
Definition: IndexIntoFile.h:862
edm::IndexIntoFile::IndexRunLumiKey::processHistoryIDIndex_
int processHistoryIDIndex_
Definition: IndexIntoFile.h:861
edm::IndexIntoFile::IndexRunLumiKey::run
RunNumber_t run() const
Definition: IndexIntoFile.h:847
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46
edm::IndexIntoFile::IndexRunLumiKey::lumi_
LuminosityBlockNumber_t lumi_
Definition: IndexIntoFile.h:863
lumi
Definition: LumiSectionData.h:20