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

Constructor & Destructor Documentation

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

Member Function Documentation

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

Definition at line 848 of file IndexIntoFile.h.

References event_.

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

848 {return event_;}
LuminosityBlockNumber_t edm::IndexIntoFile::IndexRunLumiEventKey::lumi ( ) const
inline

Definition at line 847 of file IndexIntoFile.h.

References lumi_.

Referenced by operator<().

847 {return lumi_;}
bool edm::IndexIntoFile::IndexRunLumiEventKey::operator< ( IndexRunLumiEventKey const &  right) const
inline

Definition at line 850 of file IndexIntoFile.h.

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

850  {
851  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
852  if (run_ == right.run()) {
853  if (lumi_ == right.lumi()) {
854  return event_ < right.event();
855  }
856  return lumi_ < right.lumi();
857  }
858  return run_ < right.run();
859  }
860  return processHistoryIDIndex_ < right.processHistoryIDIndex();
861  }
int edm::IndexIntoFile::IndexRunLumiEventKey::processHistoryIDIndex ( ) const
inline

Definition at line 845 of file IndexIntoFile.h.

References processHistoryIDIndex_.

Referenced by operator<().

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

Definition at line 846 of file IndexIntoFile.h.

References run_.

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

846 {return run_;}

Member Data Documentation

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

Definition at line 867 of file IndexIntoFile.h.

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

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

Definition at line 866 of file IndexIntoFile.h.

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

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

Definition at line 864 of file IndexIntoFile.h.

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

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

Definition at line 865 of file IndexIntoFile.h.

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