CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::LumiKey Class Reference

#include <PrincipalCache.h>

List of all members.

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_.

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

Definition at line 50 of file PrincipalCache.h.

References lumi_, processHistoryIDIndex_, and run_.

                                               {
      if (processHistoryIDIndex_ == right.processHistoryIDIndex_) {
        if (run_ == right.run_) return lumi_ < right.lumi_;
        return run_ < right.run_;
      }
      return processHistoryIDIndex_ < right.processHistoryIDIndex_;
    }
int edm::LumiKey::processHistoryIDIndex ( ) const [inline]

Definition at line 44 of file PrincipalCache.h.

References processHistoryIDIndex_.

int edm::LumiKey::run ( void  ) const [inline]

Definition at line 45 of file PrincipalCache.h.

References run_.

{ return run_; }

Member Data Documentation

int edm::LumiKey::lumi_ [private]

Definition at line 61 of file PrincipalCache.h.

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

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().