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

Constructor & Destructor Documentation

◆ RunOrLumiIndexes()

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

Definition at line 880 of file IndexIntoFile.cc.

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

422 { return indexToGetEntry_; }

References indexToGetEntry_.

◆ isRun()

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

◆ lumi()

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

Definition at line 421 of file IndexIntoFile.h.

421 { return lumi_; }

References lumi_.

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

◆ operator<()

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

Definition at line 431 of file IndexIntoFile.h.

431  {
432  if (processHistoryIDIndex_ == right.processHistoryIDIndex()) {
433  if (run_ == right.run()) {
434  return lumi_ < right.lumi();
435  }
436  return run_ < right.run();
437  }
438  return processHistoryIDIndex_ < right.processHistoryIDIndex();
439  }

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

◆ 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

Definition at line 428 of file IndexIntoFile.h.

428 { beginEventNumbers_ = v; }

References beginEventNumbers_, and findQualityFiles::v.

◆ setEndEventNumbers()

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

Definition at line 429 of file IndexIntoFile.h.

429 { endEventNumbers_ = v; }

References endEventNumbers_, and findQualityFiles::v.

Member Data Documentation

◆ beginEventNumbers_

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

Definition at line 459 of file IndexIntoFile.h.

Referenced by beginEventNumbers(), and setBeginEventNumbers().

◆ endEventNumbers_

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

Definition at line 460 of file IndexIntoFile.h.

Referenced by endEventNumbers(), and setEndEventNumbers().

◆ indexToGetEntry_

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

Definition at line 445 of file IndexIntoFile.h.

Referenced by indexToGetEntry().

◆ lumi_

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

Definition at line 444 of file IndexIntoFile.h.

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

◆ processHistoryIDIndex_

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

Definition at line 442 of file IndexIntoFile.h.

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

◆ run_

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

Definition at line 443 of file IndexIntoFile.h.

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

edm::IndexIntoFile::RunOrLumiIndexes::lumi
LuminosityBlockNumber_t lumi() const
Definition: IndexIntoFile.h:421
edm::IndexIntoFile::RunOrLumiIndexes::lumi_
LuminosityBlockNumber_t lumi_
Definition: IndexIntoFile.h:444
edm::IndexIntoFile::RunOrLumiIndexes::run
RunNumber_t run() const
Definition: IndexIntoFile.h:420
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::IndexIntoFile::RunOrLumiIndexes::endEventNumbers_
long long endEventNumbers_
Definition: IndexIntoFile.h:460
edm::IndexIntoFile::RunOrLumiIndexes::indexToGetEntry_
int indexToGetEntry_
Definition: IndexIntoFile.h:445
edm::IndexIntoFile::invalidLumi
static constexpr LuminosityBlockNumber_t invalidLumi
Definition: IndexIntoFile.h:234
edm::IndexIntoFile::RunOrLumiIndexes::processHistoryIDIndex_
int processHistoryIDIndex_
Definition: IndexIntoFile.h:442
edm::IndexIntoFile::RunOrLumiIndexes::run_
RunNumber_t run_
Definition: IndexIntoFile.h:443
edm::IndexIntoFile::RunOrLumiIndexes::processHistoryIDIndex
int processHistoryIDIndex() const
Definition: IndexIntoFile.h:419
edm::IndexIntoFile::RunOrLumiIndexes::beginEventNumbers_
long long beginEventNumbers_
Definition: IndexIntoFile.h:459
lumi
Definition: LumiSectionData.h:20
edm::IndexIntoFile::RunOrLumiIndexes::indexToGetEntry
int indexToGetEntry() const
Definition: IndexIntoFile.h:422