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

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

Definition at line 425 of file IndexIntoFile.h.

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

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

425 { return lumi() == invalidLumi; }
LuminosityBlockNumber_t lumi() const
static constexpr LuminosityBlockNumber_t invalidLumi
LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiIndexes::lumi ( ) const
inline

Definition at line 420 of file IndexIntoFile.h.

References edm::IndexIntoFile::RunOrLumiEntry::lumi_.

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

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

Definition at line 430 of file IndexIntoFile.h.

References lumi(), edm::IndexIntoFile::RunOrLumiEntry::lumi_, processHistoryIDIndex(), edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex_, run(), and edm::IndexIntoFile::RunOrLumiEntry::run_.

430  {
431  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
432  if (run_ == right.run()) {
433  return lumi_ < right.lumi();
434  }
435  return run_ < right.run();
436  }
437  return processHistoryIDIndex_ < right.processHistoryIDIndex();
438  }
int edm::IndexIntoFile::RunOrLumiIndexes::processHistoryIDIndex ( ) const
inline
RunNumber_t edm::IndexIntoFile::RunOrLumiIndexes::run ( ) const
inline
void edm::IndexIntoFile::RunOrLumiIndexes::setBeginEventNumbers ( long long  v)
inline
void edm::IndexIntoFile::RunOrLumiIndexes::setEndEventNumbers ( long long  v)
inline

Member Data Documentation

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

Definition at line 458 of file IndexIntoFile.h.

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

Definition at line 459 of file IndexIntoFile.h.

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

Definition at line 444 of file IndexIntoFile.h.

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

Definition at line 443 of file IndexIntoFile.h.

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

Definition at line 441 of file IndexIntoFile.h.

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

Definition at line 442 of file IndexIntoFile.h.