CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
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 300 of file IndexIntoFile.h.

Constructor & Destructor Documentation

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

Definition at line 921 of file IndexIntoFile.cc.

921  :
926  run_(invalidRun),
930  }
static int const invalidIndex
static RunNumber_t const invalidRun
LuminosityBlockNumber_t lumi_
static EntryNumber_t const invalidEntry
static LuminosityBlockNumber_t const 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 932 of file IndexIntoFile.cc.

939  :
942  entry_(entry),
944  run_(run),
945  lumi_(lumi),
948  }
EntryNumber_t endEvents() const
EntryNumber_t beginEvents() const
EntryNumber_t orderPHIDRun() const
EntryNumber_t orderPHIDRunLumi() const
LuminosityBlockNumber_t lumi_
LuminosityBlockNumber_t lumi() const
EntryNumber_t entry() const

Member Function Documentation

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

Definition at line 320 of file IndexIntoFile.h.

References beginEvents_.

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

Definition at line 321 of file IndexIntoFile.h.

References endEvents_.

321 {return endEvents_;}
EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::entry ( ) const
inline

Definition at line 316 of file IndexIntoFile.h.

References entry_.

Referenced by operator<().

316 {return entry_;}
bool edm::IndexIntoFile::RunOrLumiEntry::isRun ( ) const
inline

Definition at line 323 of file IndexIntoFile.h.

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

323 {return lumi() == invalidLumi;}
static LuminosityBlockNumber_t const invalidLumi
LuminosityBlockNumber_t lumi() const
LuminosityBlockNumber_t edm::IndexIntoFile::RunOrLumiEntry::lumi ( ) const
inline

Definition at line 319 of file IndexIntoFile.h.

References lumi_.

Referenced by isRun().

319 {return lumi_;}
LuminosityBlockNumber_t lumi_
bool edm::IndexIntoFile::RunOrLumiEntry::operator< ( RunOrLumiEntry const &  right) const
inline

Definition at line 329 of file IndexIntoFile.h.

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

329  {
330  if (orderPHIDRun_ == right.orderPHIDRun()) {
331  if (orderPHIDRunLumi_ == right.orderPHIDRunLumi()) {
332  return entry_ < right.entry();
333  }
334  return orderPHIDRunLumi_ < right.orderPHIDRunLumi();
335  }
336  return orderPHIDRun_ < right.orderPHIDRun();
337  }
EntryNumber_t edm::IndexIntoFile::RunOrLumiEntry::orderPHIDRun ( ) const
inline

Definition at line 314 of file IndexIntoFile.h.

References orderPHIDRun_.

Referenced by operator<().

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

Definition at line 315 of file IndexIntoFile.h.

References orderPHIDRunLumi_.

Referenced by operator<().

315 {return orderPHIDRunLumi_;}
int edm::IndexIntoFile::RunOrLumiEntry::processHistoryIDIndex ( ) const
inline

Definition at line 317 of file IndexIntoFile.h.

References processHistoryIDIndex_.

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

Definition at line 318 of file IndexIntoFile.h.

References run_.

Referenced by Types.LuminosityBlockID::cppID().

318 {return run_;}
void edm::IndexIntoFile::RunOrLumiEntry::setOrderPHIDRun ( EntryNumber_t  v)
inline

Definition at line 325 of file IndexIntoFile.h.

References orderPHIDRun_, and findQualityFiles::v.

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

Referenced by beginEvents().

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

Definition at line 364 of file IndexIntoFile.h.

Referenced by endEvents().

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

Definition at line 354 of file IndexIntoFile.h.

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

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

Definition at line 358 of file IndexIntoFile.h.

Referenced by lumi().

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

Definition at line 344 of file IndexIntoFile.h.

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

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

Definition at line 351 of file IndexIntoFile.h.

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

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

Definition at line 356 of file IndexIntoFile.h.

Referenced by processHistoryIDIndex(), and setProcessHistoryIDIndex().

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

Definition at line 357 of file IndexIntoFile.h.

Referenced by run().