CMS 3D CMS Logo

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

#include <IndexIntoFile.h>

Public Member Functions

 IndexRunKey (int index, RunNumber_t run)
 
bool operator< (IndexRunKey const &right) const
 
int processHistoryIDIndex () const
 
RunNumber_t run () const
 

Private Attributes

int processHistoryIDIndex_
 
RunNumber_t run_
 

Detailed Description

Definition at line 819 of file IndexIntoFile.h.

Constructor & Destructor Documentation

◆ IndexRunKey()

edm::IndexIntoFile::IndexRunKey::IndexRunKey ( int  index,
RunNumber_t  run 
)
inline

Definition at line 821 of file IndexIntoFile.h.

Member Function Documentation

◆ operator<()

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

Definition at line 826 of file IndexIntoFile.h.

826  {
827  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
828  return run_ < right.run();
829  }
830  return processHistoryIDIndex_ < right.processHistoryIDIndex();
831  }

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

◆ processHistoryIDIndex()

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

Definition at line 823 of file IndexIntoFile.h.

823 { return processHistoryIDIndex_; }

References processHistoryIDIndex_.

Referenced by operator<().

◆ run()

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

Definition at line 824 of file IndexIntoFile.h.

824 { return run_; }

References run_.

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

Member Data Documentation

◆ processHistoryIDIndex_

int edm::IndexIntoFile::IndexRunKey::processHistoryIDIndex_
private

Definition at line 834 of file IndexIntoFile.h.

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

◆ run_

RunNumber_t edm::IndexIntoFile::IndexRunKey::run_
private

Definition at line 835 of file IndexIntoFile.h.

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

edm::IndexIntoFile::IndexRunKey::processHistoryIDIndex_
int processHistoryIDIndex_
Definition: IndexIntoFile.h:834
edm::IndexIntoFile::IndexRunKey::run
RunNumber_t run() const
Definition: IndexIntoFile.h:824
edm::IndexIntoFile::IndexRunKey::run_
RunNumber_t run_
Definition: IndexIntoFile.h:835
AlignmentPI::index
index
Definition: AlignmentPayloadInspectorHelper.h:46