CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::RunKey Class Reference

#include <PrincipalCache.h>

List of all members.

Public Member Functions

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

Private Attributes

int processHistoryIDIndex_
int run_

Detailed Description

Definition at line 23 of file PrincipalCache.h.


Constructor & Destructor Documentation

edm::RunKey::RunKey ( int  index,
int  run 
) [inline]

Definition at line 28 of file PrincipalCache.h.


Member Function Documentation

bool edm::RunKey::operator< ( RunKey const &  right) const [inline]

Definition at line 30 of file PrincipalCache.h.

References processHistoryIDIndex_, and run_.

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

Definition at line 25 of file PrincipalCache.h.

References processHistoryIDIndex_.

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

Definition at line 26 of file PrincipalCache.h.

References run_.

{ return run_; }

Member Data Documentation

Definition at line 38 of file PrincipalCache.h.

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

int edm::RunKey::run_ [private]

Definition at line 39 of file PrincipalCache.h.

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