CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::IndexIntoFile::IndexRunLumiEventKey Class Reference

#include <IndexIntoFile.h>

Public Member Functions

EventNumber_t event () const
 
 IndexRunLumiEventKey (int index, RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event)
 
LuminosityBlockNumber_t lumi () const
 
bool operator< (IndexRunLumiEventKey const &right) const
 
int processHistoryIDIndex () const
 
RunNumber_t run () const
 

Private Attributes

EventNumber_t event_
 
LuminosityBlockNumber_t lumi_
 
int processHistoryIDIndex_
 
RunNumber_t run_
 

Detailed Description

Definition at line 1079 of file IndexIntoFile.h.

Constructor & Destructor Documentation

◆ IndexRunLumiEventKey()

edm::IndexIntoFile::IndexRunLumiEventKey::IndexRunLumiEventKey ( int  index,
RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EventNumber_t  event 
)
inline

Member Function Documentation

◆ event()

EventNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::event ( ) const
inline

Definition at line 1087 of file IndexIntoFile.h.

References event_.

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

1087 { return event_; }

◆ lumi()

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

Definition at line 1086 of file IndexIntoFile.h.

References lumi_.

Referenced by operator<().

1086 { return lumi_; }

◆ operator<()

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

Definition at line 1089 of file IndexIntoFile.h.

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

1089  {
1090  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
1091  if (run_ == right.run()) {
1092  if (lumi_ == right.lumi()) {
1093  return event_ < right.event();
1094  }
1095  return lumi_ < right.lumi();
1096  }
1097  return run_ < right.run();
1098  }
1099  return processHistoryIDIndex_ < right.processHistoryIDIndex();
1100  }

◆ processHistoryIDIndex()

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

Definition at line 1084 of file IndexIntoFile.h.

References processHistoryIDIndex_.

Referenced by operator<().

◆ run()

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

Definition at line 1085 of file IndexIntoFile.h.

References run_.

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

1085 { return run_; }

Member Data Documentation

◆ event_

EventNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::event_
private

Definition at line 1106 of file IndexIntoFile.h.

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

◆ lumi_

LuminosityBlockNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::lumi_
private

Definition at line 1105 of file IndexIntoFile.h.

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

◆ processHistoryIDIndex_

int edm::IndexIntoFile::IndexRunLumiEventKey::processHistoryIDIndex_
private

Definition at line 1103 of file IndexIntoFile.h.

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

◆ run_

RunNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::run_
private

Definition at line 1104 of file IndexIntoFile.h.

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