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::LumiKey Class Reference

#include <PrincipalCache.h>

Public Member Functions

int lumi () const
 
 LumiKey (int index, int run, int lumi)
 
bool operator< (const LumiKey &right) const
 
int processHistoryIDIndex () const
 
int run () const
 

Private Attributes

int lumi_
 
int processHistoryIDIndex_
 
int run_
 

Detailed Description

Definition at line 42 of file PrincipalCache.h.

Constructor & Destructor Documentation

edm::LumiKey::LumiKey ( int  index,
int  run,
int  lumi 
)
inline

Definition at line 48 of file PrincipalCache.h.

Member Function Documentation

int edm::LumiKey::lumi ( ) const
inline

Definition at line 46 of file PrincipalCache.h.

References lumi_.

46 { return lumi_; }
bool edm::LumiKey::operator< ( const LumiKey right) const
inline

Definition at line 50 of file PrincipalCache.h.

References lumi_, processHistoryIDIndex_, and run_.

50  {
51  if (processHistoryIDIndex_ == right.processHistoryIDIndex_) {
52  if (run_ == right.run_) return lumi_ < right.lumi_;
53  return run_ < right.run_;
54  }
55  return processHistoryIDIndex_ < right.processHistoryIDIndex_;
56  }
int processHistoryIDIndex_
int edm::LumiKey::processHistoryIDIndex ( ) const
inline

Definition at line 44 of file PrincipalCache.h.

References processHistoryIDIndex_.

44 { return processHistoryIDIndex_; }
int processHistoryIDIndex_
int edm::LumiKey::run ( void  ) const
inline

Definition at line 45 of file PrincipalCache.h.

References run_.

Referenced by Types.LuminosityBlockID::cppID().

45 { return run_; }

Member Data Documentation

int edm::LumiKey::lumi_
private

Definition at line 61 of file PrincipalCache.h.

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

int edm::LumiKey::processHistoryIDIndex_
private

Definition at line 59 of file PrincipalCache.h.

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

int edm::LumiKey::run_
private

Definition at line 60 of file PrincipalCache.h.

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