20 : allInEntryOrder_(
false), resultCached_(
false), sortState_(kSorted_Run_Lumi_Event) {}
23 allInEntryOrder_ =
false;
24 resultCached_ =
false;
50 for (std::vector<FileIndex::Element>::const_iterator
it =
entries_.begin(), itEnd =
entries_.end();
it != itEnd;
53 if (
it->entry_ < maxEntry) {
57 maxEntry =
it->entry_;
76 bool lumiMissing = (
lumi == 0 &&
event != 0);
78 while (
it != itEnd &&
it->run_ <
run) {
144 if (
it->run_ !=
run) {
200 }
else if (
lh.event_ == 0
U) {
214 os <<
"\nPrinting FileIndex contents. This includes a list of all Runs, LuminosityBlocks\n" 215 <<
"and Events stored in the root file.\n\n";
216 os << std::setw(15) <<
"Run" << std::setw(15) <<
"Lumi" << std::setw(15) <<
"Event" << std::setw(15)
219 for (std::vector<FileIndex::Element>::const_iterator
it = fileIndex.
begin(), itEnd = fileIndex.
end();
it != itEnd;
222 os << std::setw(15) <<
it->run_ << std::setw(15) <<
it->lumi_ << std::setw(15) <<
it->event_ << std::setw(15)
223 <<
it->entry_ <<
"\n";
225 os << std::setw(15) <<
it->run_ << std::setw(15) <<
it->lumi_ << std::setw(15) <<
" " << std::setw(15)
226 <<
it->entry_ <<
" (LuminosityBlock)" 229 os << std::setw(15) <<
it->run_ << std::setw(15) <<
" " << std::setw(15) <<
" " << std::setw(15) <<
it->entry_
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
const_iterator findLumiOrRunPosition(RunNumber_t run, LuminosityBlockNumber_t lumi) const
const_iterator findRunPosition(RunNumber_t run) const
ForwardSequence::const_iterator lower_bound_all(ForwardSequence const &s, Datum const &d)
wrappers for std::lower_bound
const_iterator end() const
bool operator()(FileIndex::Element const &lh, FileIndex::Element const &rh)
bool & resultCached() const
unsigned long long EventNumber_t
bool allEventsInEntryOrder() const
void stable_sort_all(RandomAccessSequence &s)
wrappers for std::stable_sort
const_iterator findEventPosition(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
unsigned int LuminosityBlockNumber_t
void sortBy_Run_Lumi_EventEntry()
std::vector< Element >::const_iterator const_iterator
const_iterator findEventEntryPosition(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, EntryNumber_t entry) const
static EntryNumber_t const invalidEntry
LuminosityBlockNumber_t lumi_
const_iterator begin() const
std::vector< Element > entries_
void sortBy_Run_Lumi_Event()
void addEntry(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, EntryNumber_t entry)
const_iterator findLumiPosition(RunNumber_t run, LuminosityBlockNumber_t lumi) const
bool & allInEntryOrder() const
const_iterator findPosition(RunNumber_t run, LuminosityBlockNumber_t lumi=0U, EventNumber_t event=0U) const
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger table.
SortState & sortState() const