CMS 3D CMS Logo

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

#include <IndexIntoFile.h>

Public Member Functions

EntryNumber_t beginEvents () const
 
EntryNumber_t endEvents () const
 
EntryNumber_t entry () const
 
bool isRun () const
 
LuminosityBlockNumber_t lumi () const
 
bool operator< (RunOrLumiEntry const &right) const
 
EntryNumber_t orderPHIDRun () const
 
EntryNumber_t orderPHIDRunLumi () const
 
int processHistoryIDIndex () const
 
RunNumber_t run () const
 
 RunOrLumiEntry ()
 
 RunOrLumiEntry (EntryNumber_t orderPHIDRun, EntryNumber_t orderPHIDRunLumi, EntryNumber_t entry, int processHistoryIDIndex, RunNumber_t run, LuminosityBlockNumber_t lumi, EntryNumber_t beginEvents, EntryNumber_t Event)
 
void setOrderPHIDRun (EntryNumber_t v)
 
void setOrderPHIDRunLumi (EntryNumber_t v)
 
void setProcessHistoryIDIndex (int v)
 

Private Attributes

EntryNumber_t beginEvents_
 
EntryNumber_t endEvents_
 
EntryNumber_t entry_
 
LuminosityBlockNumber_t lumi_
 
EntryNumber_t orderPHIDRun_
 
EntryNumber_t orderPHIDRunLumi_
 
int processHistoryIDIndex_
 
RunNumber_t run_
 

Detailed Description

Definition at line 405 of file IndexIntoFile.h.

Constructor & Destructor Documentation

◆ RunOrLumiEntry() [1/2]

edm::IndexIntoFile::RunOrLumiEntry::RunOrLumiEntry ( )

Definition at line 898 of file IndexIntoFile.cc.

903  run_(invalidRun),
static constexpr int invalidIndex
static constexpr RunNumber_t invalidRun
LuminosityBlockNumber_t lumi_
static constexpr EntryNumber_t invalidEntry
static constexpr LuminosityBlockNumber_t invalidLumi

◆ RunOrLumiEntry() [2/2]

edm::IndexIntoFile::RunOrLumiEntry::RunOrLumiEntry ( EntryNumber_t  orderPHIDRun,
EntryNumber_t  orderPHIDRunLumi,
EntryNumber_t  entry,
int  processHistoryIDIndex,
RunNumber_t  run,
LuminosityBlockNumber_t  lumi,
EntryNumber_t  beginEvents,
EntryNumber_t  Event 
)

Definition at line 908 of file IndexIntoFile.cc.

918  entry_(entry),
920  run_(run),
921  lumi_(lumi),
EntryNumber_t endEvents() const
EntryNumber_t orderPHIDRunLumi() const
LuminosityBlockNumber_t lumi_
EntryNumber_t beginEvents() const
EntryNumber_t orderPHIDRun() const

Member Function Documentation

◆ beginEvents()

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::beginEvents ( ) const
inline

◆ endEvents()

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::endEvents ( ) const
inline

Definition at line 425 of file IndexIntoFile.h.

References endEvents_.

425 { return endEvents_; }

◆ entry()

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::entry ( ) const
inline

Definition at line 420 of file IndexIntoFile.h.

References entry_.

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

420 { return entry_; }

◆ isRun()

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

Definition at line 427 of file IndexIntoFile.h.

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

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

◆ lumi()

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

Definition at line 423 of file IndexIntoFile.h.

References lumi_.

Referenced by edm::IndexIntoFile::checkForMissingRunOrLumiEntry(), and isRun().

423 { return lumi_; }
LuminosityBlockNumber_t lumi_

◆ operator<()

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

Definition at line 433 of file IndexIntoFile.h.

References entry(), entry_, orderPHIDRun(), orderPHIDRun_, orderPHIDRunLumi(), and orderPHIDRunLumi_.

433  {
434  if (orderPHIDRun_ == right.orderPHIDRun()) {
435  if (orderPHIDRunLumi_ == right.orderPHIDRunLumi()) {
436  return entry_ < right.entry();
437  }
438  return orderPHIDRunLumi_ < right.orderPHIDRunLumi();
439  }
440  return orderPHIDRun_ < right.orderPHIDRun();
441  }

◆ orderPHIDRun()

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRun ( ) const
inline

Definition at line 418 of file IndexIntoFile.h.

References orderPHIDRun_.

Referenced by operator<().

418 { return orderPHIDRun_; }

◆ orderPHIDRunLumi()

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRunLumi ( ) const
inline

Definition at line 419 of file IndexIntoFile.h.

References orderPHIDRunLumi_.

Referenced by operator<().

419 { return orderPHIDRunLumi_; }

◆ processHistoryIDIndex()

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

Definition at line 421 of file IndexIntoFile.h.

References processHistoryIDIndex_.

◆ run()

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

◆ setOrderPHIDRun()

void edm::IndexIntoFile::RunOrLumiEntry::setOrderPHIDRun ( EntryNumber_t  v)
inline

Definition at line 429 of file IndexIntoFile.h.

References orderPHIDRun_, and findQualityFiles::v.

◆ setOrderPHIDRunLumi()

void edm::IndexIntoFile::RunOrLumiEntry::setOrderPHIDRunLumi ( EntryNumber_t  v)
inline

◆ setProcessHistoryIDIndex()

void edm::IndexIntoFile::RunOrLumiEntry::setProcessHistoryIDIndex ( int  v)
inline

Member Data Documentation

◆ beginEvents_

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::beginEvents_
private

Definition at line 475 of file IndexIntoFile.h.

Referenced by beginEvents().

◆ endEvents_

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::endEvents_
private

Definition at line 476 of file IndexIntoFile.h.

Referenced by endEvents().

◆ entry_

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::entry_
private

Definition at line 466 of file IndexIntoFile.h.

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

◆ lumi_

LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiEntry::lumi_
private

Definition at line 470 of file IndexIntoFile.h.

Referenced by lumi().

◆ orderPHIDRun_

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRun_
private

Definition at line 448 of file IndexIntoFile.h.

Referenced by operator<(), orderPHIDRun(), and setOrderPHIDRun().

◆ orderPHIDRunLumi_

EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRunLumi_
private

Definition at line 455 of file IndexIntoFile.h.

Referenced by operator<(), orderPHIDRunLumi(), and setOrderPHIDRunLumi().

◆ processHistoryIDIndex_

int edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex_
private

Definition at line 468 of file IndexIntoFile.h.

Referenced by processHistoryIDIndex(), and setProcessHistoryIDIndex().

◆ run_

RunNumber_t edm::IndexIntoFile::RunOrLumiEntry::run_
private

Definition at line 469 of file IndexIntoFile.h.

Referenced by run().