#include <IndexIntoFile.h>
|
void | advanceToEvent () |
|
void | advanceToLumi () |
|
void | advanceToNextLumiOrRun () |
|
void | advanceToNextRun () |
|
void | copyPosition (IndexIntoFileItr const &position) |
| Copy the position without modifying the pointer to the IndexIntoFile or size. More...
|
|
EntryNumber_t | entry () const |
|
EntryNumber_t | firstEventEntryThisLumi () const |
|
EntryNumber_t | firstEventEntryThisRun () const |
|
EntryType | getEntryType () const |
|
| IndexIntoFileItr (IndexIntoFile const *indexIntoFile, SortOrder sortOrder, EntryType entryType, int indexToRun, int indexToLumi, int indexToEventRange, long long indexToEvent, long long nEvents) |
|
void | initializeLumi () |
| Should only be used internally and for tests. More...
|
|
void | initializeRun () |
| Should only be used internally and for tests. More...
|
|
LuminosityBlockNumber_t | lumi () const |
|
bool | operator!= (IndexIntoFileItr const &right) const |
|
IndexIntoFileItr & | operator++ () |
| Move to next event to be processed. More...
|
|
bool | operator== (IndexIntoFileItr const &right) const |
|
EntryNumber_t | peekAheadAtEventEntry () const |
|
LuminosityBlockNumber_t | peekAheadAtLumi () const |
|
int | processHistoryIDIndex () const |
|
RunNumber_t | run () const |
|
void | skipEventBackward (int &phIndexOfEvent, RunNumber_t &runOfEvent, LuminosityBlockNumber_t &lumiOfEvent, EntryNumber_t &eventEntry) |
|
void | skipEventForward (int &phIndexOfSkippedEvent, RunNumber_t &runOfSkippedEvent, LuminosityBlockNumber_t &lumiOfSkippedEvent, EntryNumber_t &skippedEventEntry) |
|
bool | skipLumiInRun () |
|
bool | skipToNextEventInLumi () |
|
Definition at line 650 of file IndexIntoFile.h.
edm::IndexIntoFile::IndexIntoFileItr::IndexIntoFileItr |
( |
IndexIntoFile const * |
indexIntoFile, |
|
|
SortOrder |
sortOrder, |
|
|
EntryType |
entryType, |
|
|
int |
indexToRun, |
|
|
int |
indexToLumi, |
|
|
int |
indexToEventRange, |
|
|
long long |
indexToEvent, |
|
|
long long |
nEvents |
|
) |
| |
This itended to be used only internally and by IndexIntoFile. One thing that is needed for the future, is to add some checks to make sure the iterator is in a valid state inside this constructor. It is currently possible to create an iterator with this constructor in an invalid state and the behavior would then be undefined. In the existing internal usages the iterator will always be valid. (for example IndexIntoFile::begin and IndexIntoFile::findPosition will always return a valid iterator).
Definition at line 1738 of file IndexIntoFile.cc.
void edm::IndexIntoFile::IndexIntoFileItr::advanceToEvent |
( |
| ) |
|
void edm::IndexIntoFile::IndexIntoFileItr::advanceToLumi |
( |
| ) |
|
void edm::IndexIntoFile::IndexIntoFileItr::advanceToNextLumiOrRun |
( |
| ) |
|
|
inline |
void edm::IndexIntoFile::IndexIntoFileItr::advanceToNextRun |
( |
| ) |
|
|
inline |
void edm::IndexIntoFile::IndexIntoFileItr::copyPosition |
( |
IndexIntoFileItr const & |
position | ) |
|
EntryNumber_t edm::IndexIntoFile::IndexIntoFileItr::entry |
( |
| ) |
const |
|
inline |
EntryNumber_t edm::IndexIntoFile::IndexIntoFileItr::firstEventEntryThisLumi |
( |
| ) |
const |
|
inline |
EntryNumber_t edm::IndexIntoFile::IndexIntoFileItr::firstEventEntryThisRun |
( |
| ) |
const |
|
inline |
Returns the TTree entry of the first event which would be processed in the current run/lumi if all the events in the run/lumi were processed in the current processing order. If there are none it returns -1 (invalid).
Definition at line 689 of file IndexIntoFile.h.
EntryType edm::IndexIntoFile::IndexIntoFileItr::getEntryType |
( |
| ) |
const |
|
inline |
IndexIntoFile const* edm::IndexIntoFile::IndexIntoFileItr::indexIntoFile |
( |
| ) |
const |
|
inlineprivate |
long long edm::IndexIntoFile::IndexIntoFileItr::indexToEvent |
( |
| ) |
const |
|
inlineprivate |
int edm::IndexIntoFile::IndexIntoFileItr::indexToEventRange |
( |
| ) |
const |
|
inlineprivate |
int edm::IndexIntoFile::IndexIntoFileItr::indexToLumi |
( |
| ) |
const |
|
inlineprivate |
int edm::IndexIntoFile::IndexIntoFileItr::indexToRun |
( |
| ) |
const |
|
inlineprivate |
void edm::IndexIntoFile::IndexIntoFileItr::initializeLumi |
( |
| ) |
|
|
inline |
Should only be used internally and for tests.
Definition at line 763 of file IndexIntoFile.h.
void edm::IndexIntoFile::IndexIntoFileItr::initializeRun |
( |
| ) |
|
|
inline |
Should only be used internally and for tests.
Definition at line 760 of file IndexIntoFile.h.
long long edm::IndexIntoFile::IndexIntoFileItr::nEvents |
( |
| ) |
const |
|
inlineprivate |
bool edm::IndexIntoFile::IndexIntoFileItr::operator!= |
( |
IndexIntoFileItr const & |
right | ) |
const |
|
inline |
bool edm::IndexIntoFile::IndexIntoFileItr::operator== |
( |
IndexIntoFileItr const & |
right | ) |
const |
|
inline |
EntryNumber_t edm::IndexIntoFile::IndexIntoFileItr::peekAheadAtEventEntry |
( |
| ) |
const |
|
inline |
Same as entry() except when the the current type is kRun or kLumi. In that case instead of always returning -1 (invalid), it will return the event entry that will be processed next and which is in the current run and lumi. If there is none it still returns -1 (invalid).
Definition at line 684 of file IndexIntoFile.h.
Same as lumi() except when the the current type is kRun. In that case instead of always returning 0 (invalid), it will return the lumi that will be processed next
Definition at line 678 of file IndexIntoFile.h.
int edm::IndexIntoFile::IndexIntoFileItr::processHistoryIDIndex |
( |
| ) |
const |
|
inline |
RunNumber_t edm::IndexIntoFile::IndexIntoFileItr::run |
( |
| ) |
const |
|
inline |
int edm::IndexIntoFile::IndexIntoFileItr::size |
( |
void |
| ) |
const |
|
inlineprivate |
Move so that the event immediately preceding the the current position is the next event processed. If the type is kEvent or kLumi, then change the type to kRun if and only if the preceding event is in a different run. If the type is kEvent, change the type to kLumi if the lumi is different but the run is the same. Otherwise leave the type unchanged.
Definition at line 730 of file IndexIntoFile.h.
Move to whatever is immediately after the current event or after the next event if there is not a current event, but do not modify the type or run/lumi indexes unless it is necessary because there are no more events in the current run or lumi.
Definition at line 716 of file IndexIntoFile.h.
bool edm::IndexIntoFile::IndexIntoFileItr::skipLumiInRun |
( |
| ) |
|
|
inline |
Move to the next lumi in the current run. Returns false if there is not one.
Definition at line 739 of file IndexIntoFile.h.
bool edm::IndexIntoFile::IndexIntoFileItr::skipToNextEventInLumi |
( |
| ) |
|
|
inline |
Move to the next event in the current lumi. Returns false if there is not one.
Definition at line 743 of file IndexIntoFile.h.
EntryType edm::IndexIntoFile::IndexIntoFileItr::type |
( |
| ) |
const |
|
inlineprivate |
friend class ::TestIndexIntoFile |
|
friend |
friend class ::TestIndexIntoFile3 |
|
friend |
friend class ::TestIndexIntoFile4 |
|
friend |
friend class ::TestIndexIntoFile5 |
|
friend |