CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
edm::IndexIntoFile::RunOrLumiIndexes Class Reference

#include <IndexIntoFile.h>

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

Constructor & Destructor Documentation

◆ RunOrLumiIndexes()

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

Member Function Documentation

◆ beginEventNumbers()

long long edm::IndexIntoFile::RunOrLumiIndexes::beginEventNumbers ( ) const
inline

◆ endEventNumbers()

long long edm::IndexIntoFile::RunOrLumiIndexes::endEventNumbers ( ) const
inline

◆ indexToGetEntry()

int edm::IndexIntoFile::RunOrLumiIndexes::indexToGetEntry ( ) const
inline

Definition at line 489 of file IndexIntoFile.h.

References indexToGetEntry_.

◆ isRun()

bool edm::IndexIntoFile::RunOrLumiIndexes::isRun ( ) const
inline

Definition at line 493 of file IndexIntoFile.h.

References edm::IndexIntoFile::invalidLumi, and lumi().

Referenced by edm::IndexIntoFile::containsDuplicateEvents(), and edm::IndexIntoFile::set_intersection().

493 { return lumi() == invalidLumi; }
LuminosityBlockNumber_t lumi() const
static constexpr LuminosityBlockNumber_t invalidLumi

◆ lumi()

LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiIndexes::lumi ( ) const
inline

Definition at line 488 of file IndexIntoFile.h.

References lumi_.

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

488 { return lumi_; }

◆ operator<()

bool edm::IndexIntoFile::RunOrLumiIndexes::operator< ( RunOrLumiIndexes const &  right) const
inline

Definition at line 498 of file IndexIntoFile.h.

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

498  {
499  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
500  if (run_ == right.run()) {
501  return lumi_ < right.lumi();
502  }
503  return run_ < right.run();
504  }
505  return processHistoryIDIndex_ < right.processHistoryIDIndex();
506  }

◆ processHistoryIDIndex()

int edm::IndexIntoFile::RunOrLumiIndexes::processHistoryIDIndex ( ) const
inline

◆ run()

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

◆ setBeginEventNumbers()

void edm::IndexIntoFile::RunOrLumiIndexes::setBeginEventNumbers ( long long  v)
inline

◆ setEndEventNumbers()

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

Member Data Documentation

◆ beginEventNumbers_

long long edm::IndexIntoFile::RunOrLumiIndexes::beginEventNumbers_
private

Definition at line 526 of file IndexIntoFile.h.

Referenced by beginEventNumbers(), and setBeginEventNumbers().

◆ endEventNumbers_

long long edm::IndexIntoFile::RunOrLumiIndexes::endEventNumbers_
private

Definition at line 527 of file IndexIntoFile.h.

Referenced by endEventNumbers(), and setEndEventNumbers().

◆ indexToGetEntry_

int edm::IndexIntoFile::RunOrLumiIndexes::indexToGetEntry_
private

Definition at line 512 of file IndexIntoFile.h.

Referenced by indexToGetEntry().

◆ lumi_

LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiIndexes::lumi_
private

Definition at line 511 of file IndexIntoFile.h.

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

◆ processHistoryIDIndex_

int edm::IndexIntoFile::RunOrLumiIndexes::processHistoryIDIndex_
private

Definition at line 509 of file IndexIntoFile.h.

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

◆ run_

RunNumber_t edm::IndexIntoFile::RunOrLumiIndexes::run_
private

Definition at line 510 of file IndexIntoFile.h.

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