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

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

Definition at line 934 of file IndexIntoFile.cc.

934  :
939  run_(invalidRun),
943  }
static constexpr int invalidIndex
static constexpr RunNumber_t invalidRun
LuminosityBlockNumber_t lumi_
static constexpr EntryNumber_t invalidEntry
static constexpr LuminosityBlockNumber_t invalidLumi
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 945 of file IndexIntoFile.cc.

952  :
955  entry_(entry),
957  run_(run),
958  lumi_(lumi),
961  }
EntryNumber_t endEvents() const
EntryNumber_t beginEvents() const
EntryNumber_t orderPHIDRun() const
EntryNumber_t orderPHIDRunLumi() const
LuminosityBlockNumber_t lumi_
EntryNumber_t entry() const

Member Function Documentation

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

Definition at line 358 of file IndexIntoFile.h.

References beginEvents_.

358 {return beginEvents_;}
EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::endEvents ( ) const
inline

Definition at line 359 of file IndexIntoFile.h.

References endEvents_.

359 {return endEvents_;}
EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::entry ( ) const
inline
bool edm::IndexIntoFile::RunOrLumiEntry::isRun ( ) const
inline

Definition at line 361 of file IndexIntoFile.h.

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

Referenced by edm::IndexIntoFile::SortedRunOrLumiItr::runOrLumi().

361 {return lumi() == invalidLumi;}
static constexpr LuminosityBlockNumber_t invalidLumi
LuminosityBlockNumber_t lumi() const
LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiEntry::lumi ( ) const
inline
bool edm::IndexIntoFile::RunOrLumiEntry::operator< ( RunOrLumiEntry const &  right) const
inline

Definition at line 367 of file IndexIntoFile.h.

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

367  {
368  if (orderPHIDRun_ == right.orderPHIDRun()) {
369  if (orderPHIDRunLumi_ == right.orderPHIDRunLumi()) {
370  return entry_ < right.entry();
371  }
372  return orderPHIDRunLumi_ < right.orderPHIDRunLumi();
373  }
374  return orderPHIDRun_ < right.orderPHIDRun();
375  }
EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRun ( ) const
inline

Definition at line 352 of file IndexIntoFile.h.

References orderPHIDRun_.

Referenced by operator<().

352 {return orderPHIDRun_;}
EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRunLumi ( ) const
inline

Definition at line 353 of file IndexIntoFile.h.

References orderPHIDRunLumi_.

Referenced by operator<().

353 {return orderPHIDRunLumi_;}
int edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex ( ) const
inline
RunNumber_t edm::IndexIntoFile::RunOrLumiEntry::run ( ) const
inline
void edm::IndexIntoFile::RunOrLumiEntry::setOrderPHIDRun ( EntryNumber_t  v)
inline
void edm::IndexIntoFile::RunOrLumiEntry::setOrderPHIDRunLumi ( EntryNumber_t  v)
inline
void edm::IndexIntoFile::RunOrLumiEntry::setProcessHistoryIDIndex ( int  v)
inline

Member Data Documentation

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

Definition at line 410 of file IndexIntoFile.h.

Referenced by beginEvents().

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

Definition at line 411 of file IndexIntoFile.h.

Referenced by endEvents().

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

Definition at line 401 of file IndexIntoFile.h.

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

LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiEntry::lumi_
private
EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRun_
private

Definition at line 383 of file IndexIntoFile.h.

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

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

Definition at line 390 of file IndexIntoFile.h.

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

int edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex_
private
RunNumber_t edm::IndexIntoFile::RunOrLumiEntry::run_
private