#include <IndexIntoFile.h>
Protected Member Functions | |
void | setIndexToEvent (long long value) |
void | setIndexToEventRange (int value) |
void | setIndexToLumi (int value) |
void | setInvalid () |
void | setNEvents (long long value) |
Private Member Functions | |
virtual EntryType | getRunOrLumiEntryType (int index) const =0 |
virtual void | initializeLumi_ ()=0 |
virtual bool | isSameLumi (int index1, int index2) const =0 |
virtual bool | isSameRun (int index1, int index2) const =0 |
virtual LuminosityBlockNumber_t | lumi (int index) const =0 |
virtual bool | nextEventRange ()=0 |
virtual bool | previousEventRange ()=0 |
bool | previousLumiWithEvents () |
virtual bool | setToLastEventInRange (int index)=0 |
Private Attributes | |
IndexIntoFile const * | indexIntoFile_ |
long long | indexToEvent_ |
int | indexToEventRange_ |
int | indexToLumi_ |
int | indexToRun_ |
long long | nEvents_ |
int | size_ |
EntryType | type_ |
Definition at line 584 of file IndexIntoFile.h.
edm::IndexIntoFile::IndexIntoFileItrImpl::IndexIntoFileItrImpl | ( | IndexIntoFile const * | indexIntoFile, |
EntryType | entryType, | ||
int | indexToRun, | ||
int | indexToLumi, | ||
int | indexToEventRange, | ||
long long | indexToEvent, | ||
long long | nEvents | ||
) |
Definition at line 977 of file IndexIntoFile.cc.
|
virtual |
Definition at line 993 of file IndexIntoFile.cc.
void edm::IndexIntoFile::IndexIntoFileItrImpl::advanceToNextLumiOrRun | ( | ) |
Definition at line 1280 of file IndexIntoFile.cc.
References cms::cuda::assert(), mps_fire::i, edm::IndexIntoFile::invalidIndex, edm::IndexIntoFile::kEnd, edm::IndexIntoFile::kLumi, and edm::IndexIntoFile::kRun.
void edm::IndexIntoFile::IndexIntoFileItrImpl::advanceToNextRun | ( | ) |
Definition at line 1264 of file IndexIntoFile.cc.
References mps_fire::i, edm::IndexIntoFile::kEnd, and edm::IndexIntoFile::kRun.
|
pure virtual |
void edm::IndexIntoFile::IndexIntoFileItrImpl::copyPosition | ( | IndexIntoFileItrImpl const & | position | ) |
Definition at line 1379 of file IndexIntoFile.cc.
References position.
|
pure virtual |
IndexIntoFile::EntryNumber_t edm::IndexIntoFile::IndexIntoFileItrImpl::firstEventEntryThisLumi | ( | ) |
Definition at line 1232 of file IndexIntoFile.cc.
References edm::IndexIntoFile::invalidEntry, edm::IndexIntoFile::invalidIndex, edm::IndexIntoFile::kRun, and createIOVlist::nEvents.
IndexIntoFile::EntryNumber_t edm::IndexIntoFile::IndexIntoFileItrImpl::firstEventEntryThisRun | ( | ) |
Definition at line 1204 of file IndexIntoFile.cc.
References edm::IndexIntoFile::invalidEntry, edm::IndexIntoFile::invalidIndex, and createIOVlist::nEvents.
|
inline |
void edm::IndexIntoFile::IndexIntoFileItrImpl::getLumisInRun | ( | std::vector< LuminosityBlockNumber_t > & | lumis | ) | const |
Definition at line 1388 of file IndexIntoFile.cc.
References cms::cuda::assert(), mps_fire::i, edm::IndexIntoFile::invalidLumi, edm::IndexIntoFile::kEnd, edm::IndexIntoFile::kRun, BXlumiParameters_cfi::lumi, edmLumisInFiles::lumis, jetsAK4_CHS_cff::sort, and tier0::unique().
|
privatepure virtual |
|
virtual |
Reimplemented in edm::IndexIntoFile::IndexIntoFileItrEntryOrder.
Definition at line 1377 of file IndexIntoFile.cc.
References findQualityFiles::size.
|
inline |
Definition at line 633 of file IndexIntoFile.h.
References indexIntoFile_.
Referenced by edm::IndexIntoFile::IndexIntoFileItrEntryOrder::IndexIntoFileItrEntryOrder(), edm::IndexIntoFile::IndexIntoFileItrSorted::IndexIntoFileItrSorted(), and edm::IndexIntoFile::IndexIntoFileItrEntryOrder::runOrLumisEntry().
|
inline |
Definition at line 652 of file IndexIntoFile.h.
References indexToEvent_.
|
inline |
Definition at line 651 of file IndexIntoFile.h.
References indexToEventRange_.
|
inline |
Definition at line 650 of file IndexIntoFile.h.
References indexToLumi_.
|
inline |
void edm::IndexIntoFile::IndexIntoFileItrImpl::initializeLumi | ( | ) |
Definition at line 1359 of file IndexIntoFile.cc.
References cms::cuda::assert(), and BXlumiParameters_cfi::lumi.
|
privatepure virtual |
void edm::IndexIntoFile::IndexIntoFileItrImpl::initializeRun | ( | ) |
Definition at line 1335 of file IndexIntoFile.cc.
References mps_fire::i, edm::IndexIntoFile::invalidIndex, and edm::IndexIntoFile::kRun.
|
privatepure virtual |
|
privatepure virtual |
|
pure virtual |
|
privatepure virtual |
|
pure virtual |
|
inline |
void edm::IndexIntoFile::IndexIntoFileItrImpl::next | ( | void | ) |
Definition at line 995 of file IndexIntoFile.cc.
References newFWLiteAna::found, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, and edm::IndexIntoFile::kRun.
|
privatepure virtual |
bool edm::IndexIntoFile::IndexIntoFileItrImpl::operator== | ( | IndexIntoFileItrImpl const & | right | ) | const |
Definition at line 1370 of file IndexIntoFile.cc.
References indexIntoFile_, indexToEvent_, indexToEventRange_, indexToLumi_, indexToRun_, nEvents_, size_, and type_.
|
pure virtual |
|
pure virtual |
|
privatepure virtual |
|
private |
Definition at line 1146 of file IndexIntoFile.cc.
References cms::cuda::assert(), edm::IndexIntoFile::invalidIndex, edm::IndexIntoFile::kEnd, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, and edm::IndexIntoFile::kRun.
|
pure virtual |
|
pure virtual |
Implemented in edm::IndexIntoFile::IndexIntoFileItrEntryOrder, edm::IndexIntoFile::IndexIntoFileItrSorted, and edm::IndexIntoFile::IndexIntoFileItrNoSort.
Referenced by Types.EventID::cppID(), and Types.LuminosityBlockID::cppID().
|
inlineprotected |
Definition at line 664 of file IndexIntoFile.h.
References indexToEvent_, and relativeConstraints::value.
|
inlineprotected |
Definition at line 663 of file IndexIntoFile.h.
References indexToEventRange_, and relativeConstraints::value.
|
inlineprotected |
Definition at line 662 of file IndexIntoFile.h.
References indexToLumi_, and relativeConstraints::value.
|
protected |
Definition at line 1419 of file IndexIntoFile.cc.
References edm::IndexIntoFile::invalidIndex, and edm::IndexIntoFile::kEnd.
|
inlineprotected |
Definition at line 665 of file IndexIntoFile.h.
References nEvents_, and relativeConstraints::value.
|
privatepure virtual |
|
pure virtual |
|
pure virtual |
|
inline |
Definition at line 644 of file IndexIntoFile.h.
References size_.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and edm::IndexIntoFile::IndexIntoFileItrEntryOrder::IndexIntoFileItrEntryOrder().
void edm::IndexIntoFile::IndexIntoFileItrImpl::skipEventBackward | ( | int & | phIndexOfEvent, |
RunNumber_t & | runOfEvent, | ||
LuminosityBlockNumber_t & | lumiOfEvent, | ||
EntryNumber_t & | eventEntry | ||
) |
Definition at line 1111 of file IndexIntoFile.cc.
References edm::IndexIntoFile::invalidEntry, edm::IndexIntoFile::invalidIndex, edm::IndexIntoFile::invalidLumi, edm::IndexIntoFile::invalidRun, edm::IndexIntoFile::kRun, and writedatasetfile::run.
void edm::IndexIntoFile::IndexIntoFileItrImpl::skipEventForward | ( | int & | phIndexOfSkippedEvent, |
RunNumber_t & | runOfSkippedEvent, | ||
LuminosityBlockNumber_t & | lumiOfSkippedEvent, | ||
EntryNumber_t & | skippedEventEntry | ||
) |
Definition at line 1055 of file IndexIntoFile.cc.
References edm::IndexIntoFile::invalidEntry, edm::IndexIntoFile::invalidIndex, edm::IndexIntoFile::invalidLumi, edm::IndexIntoFile::invalidRun, edm::IndexIntoFile::kEnd, edm::IndexIntoFile::kEvent, edm::IndexIntoFile::kLumi, edm::IndexIntoFile::kRun, GetRecoTauVFromDQM_MC_cff::next, and writedatasetfile::run.
|
pure virtual |
bool edm::IndexIntoFile::IndexIntoFileItrImpl::skipToNextEventInLumi | ( | ) |
Definition at line 1325 of file IndexIntoFile.cc.
|
inline |
|
private |
Definition at line 678 of file IndexIntoFile.h.
Referenced by indexIntoFile(), and operator==().
|
private |
Definition at line 685 of file IndexIntoFile.h.
Referenced by indexToEvent(), operator==(), and setIndexToEvent().
|
private |
Definition at line 684 of file IndexIntoFile.h.
Referenced by indexToEventRange(), operator==(), and setIndexToEventRange().
|
private |
Definition at line 683 of file IndexIntoFile.h.
Referenced by indexToLumi(), operator==(), and setIndexToLumi().
|
private |
Definition at line 682 of file IndexIntoFile.h.
Referenced by indexToRun(), and operator==().
|
private |
Definition at line 686 of file IndexIntoFile.h.
Referenced by nEvents(), operator==(), and setNEvents().
|
private |
Definition at line 679 of file IndexIntoFile.h.
Referenced by operator==(), and size().
|
private |
Definition at line 681 of file IndexIntoFile.h.
Referenced by Modules.Service::__str__(), Modules.Service::_placeImpl(), Modules.ESSource::_placeImpl(), Modules.ESProducer::_placeImpl(), Modules.ESPrefer::copy(), Mixins._TypedParameterizable::dumpPython(), Modules.ESPrefer::dumpPythonAs(), Modules.Service::dumpSequencePython(), getEntryType(), RandomRunSource.RandomRunSource::insertInto(), Modules.Service::insertInto(), ExternalGeneratorFilter.ExternalGeneratorFilter::insertInto(), Mixins._TypedParameterizable::insertInto(), Modules.ESSource::moduleLabel_(), Modules.ESProducer::moduleLabel_(), Modules.ESSource::nameInProcessDesc_(), Modules.ESProducer::nameInProcessDesc_(), Modules.ESPrefer::nameInProcessDesc_(), operator==(), and type().