#include <FileIndex.h>
Classes | |
class | Element |
struct | Transients |
Public Types | |
typedef std::vector< Element > ::const_iterator | const_iterator |
typedef long long | EntryNumber_t |
enum | EntryType { kRun, kLumi, kEvent, kEnd } |
typedef std::vector< Element > ::iterator | iterator |
enum | SortState { kNotSorted, kSorted_Run_Lumi_Event, kSorted_Run_Lumi_EventEntry } |
Private Member Functions | |
bool & | allInEntryOrder () const |
bool & | resultCached () const |
SortState & | sortState () const |
Private Attributes | |
std::vector< Element > | entries_ |
Transient< Transients > | transients_ |
Definition at line 20 of file FileIndex.h.
typedef std::vector<Element>::const_iterator edm::FileIndex::const_iterator |
Definition at line 53 of file FileIndex.h.
typedef long long edm::FileIndex::EntryNumber_t |
Definition at line 23 of file FileIndex.h.
typedef std::vector<Element>::iterator edm::FileIndex::iterator |
Definition at line 55 of file FileIndex.h.
Enumerator | |
---|---|
kRun | |
kLumi | |
kEvent | |
kEnd |
Definition at line 30 of file FileIndex.h.
Enumerator | |
---|---|
kNotSorted | |
kSorted_Run_Lumi_Event | |
kSorted_Run_Lumi_EventEntry |
Definition at line 116 of file FileIndex.h.
edm::FileIndex::FileIndex | ( | ) |
Definition at line 10 of file FileIndex.cc.
|
inline |
Definition at line 26 of file FileIndex.h.
void edm::FileIndex::addEntry | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event, | ||
EntryNumber_t | entry | ||
) |
Definition at line 22 of file FileIndex.cc.
References entries_, kNotSorted, resultCached(), and sortState().
bool edm::FileIndex::allEventsInEntryOrder | ( | ) | const |
Definition at line 40 of file FileIndex.cc.
References allInEntryOrder(), entries_, edm::FileIndex::Element::invalidEntry, kEvent, and resultCached().
|
inlineprivate |
Definition at line 127 of file FileIndex.h.
References transients_.
Referenced by allEventsInEntryOrder().
|
inline |
|
inline |
|
inline |
Definition at line 84 of file FileIndex.h.
References entries_, and findEventPosition().
Referenced by containsItem().
|
inline |
Definition at line 79 of file FileIndex.h.
References containsEvent(), containsLumi(), and containsRun().
|
inline |
Definition at line 89 of file FileIndex.h.
References entries_, and findLumiPosition().
Referenced by containsItem().
|
inline |
Definition at line 94 of file FileIndex.h.
References entries_, and findRunPosition().
Referenced by containsItem().
|
inline |
Definition at line 112 of file FileIndex.h.
References entries_.
Referenced by fwlite::EntryFinder::empty(), python.Vispa.Gui.VispaWidget.TextField::setAutosizeFont(), and python.Vispa.Gui.VispaWidget.TextField::setAutotruncate().
|
inline |
Definition at line 100 of file FileIndex.h.
References entries_.
Referenced by Types.LuminosityBlockRange::cppID(), Types.EventRange::cppID(), fwlite::EntryFinder::findEvent(), fwlite::EntryFinder::findLumi(), fwlite::EntryFinder::findRun(), and edm::operator<<().
|
inline |
Definition at line 104 of file FileIndex.h.
References entries_.
Referenced by Types.LuminosityBlockRange::cppID(), and Types.EventRange::cppID().
FileIndex::const_iterator edm::FileIndex::findEventEntryPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event, | ||
EntryNumber_t | entry | ||
) | const |
Definition at line 156 of file FileIndex.cc.
References entries_, findEventPosition(), kNotSorted, kSorted_Run_Lumi_EventEntry, edm::lower_bound_all(), and sortState().
FileIndex::const_iterator edm::FileIndex::findEventPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi, | ||
EventNumber_t | event | ||
) | const |
Definition at line 85 of file FileIndex.cc.
References entries_, findPosition(), kEvent, kSorted_Run_Lumi_Event, and sortState().
Referenced by containsEvent(), fwlite::EntryFinder::findEvent(), and findEventEntryPosition().
FileIndex::const_iterator edm::FileIndex::findLumiOrRunPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi | ||
) | const |
Definition at line 146 of file FileIndex.cc.
References entries_, findPosition(), kLumi, and kRun.
FileIndex::const_iterator edm::FileIndex::findLumiPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi | ||
) | const |
Definition at line 114 of file FileIndex.cc.
References entries_, findPosition(), and kLumi.
Referenced by containsLumi(), and fwlite::EntryFinder::findLumi().
FileIndex::const_iterator edm::FileIndex::findPosition | ( | RunNumber_t | run, |
LuminosityBlockNumber_t | lumi = 0U , |
||
EventNumber_t | event = 0U |
||
) | const |
Definition at line 60 of file FileIndex.cc.
References entries_, kNotSorted, kSorted_Run_Lumi_Event, edm::lower_bound_all(), and sortState().
Referenced by findEventPosition(), findLumiOrRunPosition(), findLumiPosition(), and findRunPosition().
FileIndex::const_iterator edm::FileIndex::findRunPosition | ( | RunNumber_t | run | ) | const |
Definition at line 130 of file FileIndex.cc.
References entries_, findPosition(), and kRun.
Referenced by containsRun(), and fwlite::EntryFinder::findRun().
|
inlineprivate |
Definition at line 128 of file FileIndex.h.
References transients_.
Referenced by addEntry(), allEventsInEntryOrder(), sortBy_Run_Lumi_Event(), and sortBy_Run_Lumi_EventEntry().
|
inline |
void edm::FileIndex::sortBy_Run_Lumi_Event | ( | ) |
Definition at line 28 of file FileIndex.cc.
References entries_, kSorted_Run_Lumi_Event, resultCached(), sortState(), and edm::stable_sort_all().
void edm::FileIndex::sortBy_Run_Lumi_EventEntry | ( | ) |
Definition at line 34 of file FileIndex.cc.
References entries_, kSorted_Run_Lumi_EventEntry, resultCached(), sortState(), and edm::stable_sort_all().
|
inlineprivate |
Definition at line 129 of file FileIndex.h.
References transients_.
Referenced by addEntry(), findEventEntryPosition(), findEventPosition(), findPosition(), sortBy_Run_Lumi_Event(), and sortBy_Run_Lumi_EventEntry().
|
private |
Definition at line 131 of file FileIndex.h.
Referenced by addEntry(), allEventsInEntryOrder(), begin(), containsEvent(), containsLumi(), containsRun(), empty(), end(), erase(), findEventEntryPosition(), findEventPosition(), findLumiOrRunPosition(), findLumiPosition(), findPosition(), findRunPosition(), size(), sortBy_Run_Lumi_Event(), and sortBy_Run_Lumi_EventEntry().
|
mutableprivate |
Definition at line 132 of file FileIndex.h.
Referenced by allInEntryOrder(), resultCached(), and sortState().