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

Constructor & Destructor Documentation

◆ RunOrLumiEntry() [1/2]

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

◆ 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 
)

Member Function Documentation

◆ beginEvents()

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

Definition at line 357 of file IndexIntoFile.h.

357 { return beginEvents_; }

References beginEvents_.

◆ endEvents()

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

Definition at line 358 of file IndexIntoFile.h.

358 { return endEvents_; }

References endEvents_.

◆ entry()

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

Definition at line 353 of file IndexIntoFile.h.

353 { return entry_; }

References entry_.

Referenced by operator<().

◆ isRun()

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

Definition at line 360 of file IndexIntoFile.h.

360 { return lumi() == invalidLumi; }

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

◆ lumi()

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

Definition at line 356 of file IndexIntoFile.h.

356 { return lumi_; }

References lumi_.

Referenced by isRun().

◆ operator<()

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

Definition at line 366 of file IndexIntoFile.h.

366  {
367  if (orderPHIDRun_ == right.orderPHIDRun()) {
368  if (orderPHIDRunLumi_ == right.orderPHIDRunLumi()) {
369  return entry_ < right.entry();
370  }
371  return orderPHIDRunLumi_ < right.orderPHIDRunLumi();
372  }
373  return orderPHIDRun_ < right.orderPHIDRun();
374  }

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

◆ orderPHIDRun()

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

Definition at line 351 of file IndexIntoFile.h.

351 { return orderPHIDRun_; }

References orderPHIDRun_.

Referenced by operator<().

◆ orderPHIDRunLumi()

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

Definition at line 352 of file IndexIntoFile.h.

352 { return orderPHIDRunLumi_; }

References orderPHIDRunLumi_.

Referenced by operator<().

◆ processHistoryIDIndex()

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

Definition at line 354 of file IndexIntoFile.h.

354 { return processHistoryIDIndex_; }

References processHistoryIDIndex_.

◆ run()

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

Definition at line 355 of file IndexIntoFile.h.

355 { return run_; }

References run_.

Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().

◆ setOrderPHIDRun()

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

Definition at line 362 of file IndexIntoFile.h.

362 { orderPHIDRun_ = v; }

References orderPHIDRun_, and findQualityFiles::v.

◆ setOrderPHIDRunLumi()

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

Definition at line 363 of file IndexIntoFile.h.

363 { orderPHIDRunLumi_ = v; }

References orderPHIDRunLumi_, and findQualityFiles::v.

◆ setProcessHistoryIDIndex()

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

Definition at line 364 of file IndexIntoFile.h.

References processHistoryIDIndex_, and findQualityFiles::v.

Member Data Documentation

◆ beginEvents_

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

Definition at line 408 of file IndexIntoFile.h.

Referenced by beginEvents().

◆ endEvents_

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

Definition at line 409 of file IndexIntoFile.h.

Referenced by endEvents().

◆ entry_

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

Definition at line 399 of file IndexIntoFile.h.

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

◆ lumi_

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

Definition at line 403 of file IndexIntoFile.h.

Referenced by lumi().

◆ orderPHIDRun_

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

Definition at line 381 of file IndexIntoFile.h.

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

◆ orderPHIDRunLumi_

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

Definition at line 388 of file IndexIntoFile.h.

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

◆ processHistoryIDIndex_

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

Definition at line 401 of file IndexIntoFile.h.

Referenced by processHistoryIDIndex(), and setProcessHistoryIDIndex().

◆ run_

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

Definition at line 402 of file IndexIntoFile.h.

Referenced by run().

edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex_
int processHistoryIDIndex_
Definition: IndexIntoFile.h:401
edm::IndexIntoFile::RunOrLumiEntry::beginEvents_
EntryNumber_t beginEvents_
Definition: IndexIntoFile.h:408
edm::IndexIntoFile::RunOrLumiEntry::entry_
EntryNumber_t entry_
Definition: IndexIntoFile.h:399
edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRunLumi
EntryNumber_t orderPHIDRunLumi() const
Definition: IndexIntoFile.h:352
edm::IndexIntoFile::invalidEntry
static constexpr EntryNumber_t invalidEntry
Definition: IndexIntoFile.h:236
edm::IndexIntoFile::RunOrLumiEntry::lumi
LuminosityBlockNumber_t lumi() const
Definition: IndexIntoFile.h:356
findQualityFiles.v
v
Definition: findQualityFiles.py:179
edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex
int processHistoryIDIndex() const
Definition: IndexIntoFile.h:354
edm::IndexIntoFile::RunOrLumiEntry::run
RunNumber_t run() const
Definition: IndexIntoFile.h:355
edm::IndexIntoFile::RunOrLumiEntry::endEvents_
EntryNumber_t endEvents_
Definition: IndexIntoFile.h:409
edm::IndexIntoFile::invalidIndex
static constexpr int invalidIndex
Definition: IndexIntoFile.h:232
edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRun_
EntryNumber_t orderPHIDRun_
Definition: IndexIntoFile.h:381
edm::IndexIntoFile::invalidLumi
static constexpr LuminosityBlockNumber_t invalidLumi
Definition: IndexIntoFile.h:234
edm::IndexIntoFile::RunOrLumiEntry::beginEvents
EntryNumber_t beginEvents() const
Definition: IndexIntoFile.h:357
edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRun
EntryNumber_t orderPHIDRun() const
Definition: IndexIntoFile.h:351
edm::IndexIntoFile::RunOrLumiEntry::run_
RunNumber_t run_
Definition: IndexIntoFile.h:402
edm::IndexIntoFile::RunOrLumiEntry::lumi_
LuminosityBlockNumber_t lumi_
Definition: IndexIntoFile.h:403
edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRunLumi_
EntryNumber_t orderPHIDRunLumi_
Definition: IndexIntoFile.h:388
edm::IndexIntoFile::RunOrLumiEntry::entry
EntryNumber_t entry() const
Definition: IndexIntoFile.h:353
lumi
Definition: LumiSectionData.h:20
edm::IndexIntoFile::RunOrLumiEntry::endEvents
EntryNumber_t endEvents() const
Definition: IndexIntoFile.h:358
edm::IndexIntoFile::invalidRun
static constexpr RunNumber_t invalidRun
Definition: IndexIntoFile.h:233