CMS 3D CMS Logo

Public Member Functions | Private Attributes

edm::IndexIntoFile::RunOrLumiIndexes Class Reference

#include <IndexIntoFile.h>

List of all members.

Public Member Functions

long long beginEventNumbers () const
long long endEventNumbers () const
int indexToGetEntry () const
bool isRun () const
LuminosityBlockNumber_t lumi () const
bool operator< (RunOrLumiIndexes const &right) const
int processHistoryIDIndex () const
RunNumber_t run () const
 RunOrLumiIndexes (int processHistoryIDIndex, RunNumber_t run, LuminosityBlockNumber_t lumi, int indexToGetEntry)
void setBeginEventNumbers (long long v)
void setEndEventNumbers (long long v)

Private Attributes

long long beginEventNumbers_
long long endEventNumbers_
int indexToGetEntry_
LuminosityBlockNumber_t lumi_
int processHistoryIDIndex_
RunNumber_t run_

Detailed Description

Definition at line 364 of file IndexIntoFile.h.


Constructor & Destructor Documentation

edm::IndexIntoFile::RunOrLumiIndexes::RunOrLumiIndexes ( int  processHistoryIDIndex,
RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
int  indexToGetEntry 
)

Member Function Documentation

long long edm::IndexIntoFile::RunOrLumiIndexes::beginEventNumbers ( ) const [inline]
long long edm::IndexIntoFile::RunOrLumiIndexes::endEventNumbers ( ) const [inline]
int edm::IndexIntoFile::RunOrLumiIndexes::indexToGetEntry ( ) const [inline]

Definition at line 371 of file IndexIntoFile.h.

References indexToGetEntry_.

{return indexToGetEntry_;}
bool edm::IndexIntoFile::RunOrLumiIndexes::isRun ( ) const [inline]
LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiIndexes::lumi ( ) const [inline]

Definition at line 370 of file IndexIntoFile.h.

References lumi_.

Referenced by isRun(), operator<(), and edm::IndexIntoFile::set_intersection().

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

Definition at line 380 of file IndexIntoFile.h.

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

                                                            {
          if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
            if (run_ == right.run()) {
              return lumi_ < right.lumi();
            }
            return run_ < right.run();
          }
          return processHistoryIDIndex_ < right.processHistoryIDIndex();
        }
int edm::IndexIntoFile::RunOrLumiIndexes::processHistoryIDIndex ( ) const [inline]
RunNumber_t edm::IndexIntoFile::RunOrLumiIndexes::run ( ) const [inline]

Definition at line 369 of file IndexIntoFile.h.

References run_.

Referenced by edm::Compare_Index_Run::operator()(), operator<(), and edm::IndexIntoFile::set_intersection().

{return run_;}
void edm::IndexIntoFile::RunOrLumiIndexes::setBeginEventNumbers ( long long  v) [inline]

Definition at line 377 of file IndexIntoFile.h.

References beginEventNumbers_, and v.

void edm::IndexIntoFile::RunOrLumiIndexes::setEndEventNumbers ( long long  v) [inline]

Definition at line 378 of file IndexIntoFile.h.

References endEventNumbers_, and v.


Member Data Documentation

Definition at line 409 of file IndexIntoFile.h.

Referenced by beginEventNumbers(), and setBeginEventNumbers().

Definition at line 410 of file IndexIntoFile.h.

Referenced by endEventNumbers(), and setEndEventNumbers().

Definition at line 395 of file IndexIntoFile.h.

Referenced by indexToGetEntry().

Definition at line 394 of file IndexIntoFile.h.

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

Definition at line 392 of file IndexIntoFile.h.

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

Definition at line 393 of file IndexIntoFile.h.

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