23 allInEntryOrder_ =
false;
24 resultCached_ =
false;
30 entries_.emplace_back(run, lumi, event, entry);
51 for(std::vector<FileIndex::Element>::const_iterator it =
entries_.begin(), itEnd =
entries_.end(); it != itEnd; ++it) {
52 if(it->getEntryType() ==
kEvent) {
53 if(it->entry_ < maxEntry) {
57 maxEntry = it->entry_;
75 bool lumiMissing = (lumi == 0 &&
event != 0);
77 while(it != itEnd && it->run_ < run) {
80 while(it != itEnd && (it->run_ == run && it->event_ < event)) {
104 if(it->run_ != run || it->lumi_ != lumi || it->event_ != event) {
109 while (it != itEnd && it->run_ == run && it->lumi_ == lumi && it->event_ != event) {
112 if(it->run_ != run || it->lumi_ != lumi || it->event_ != event) {
129 if(it->run_ != run || it->lumi_ != lumi) {
145 if(it->run_ != run) {
168 Element el(run, lumi, event, entry);
172 while(it != itEnd && it->entry_ != entry && it->event_ == event) {
176 if(it == itEnd)
return itEnd;
177 if(lumi == 0) lumi = it->lumi_;
178 if(it->run_ != run || it->lumi_ != lumi || it->event_ != event || it->entry_ != entry)
return itEnd;
197 }
else if(lh.
event_ == 0U) {
199 }
else if(rh.
event_ == 0U) {
213 os <<
"\nPrinting FileIndex contents. This includes a list of all Runs, LuminosityBlocks\n"
214 <<
"and Events stored in the root file.\n\n";
215 os << std::setw(15) <<
"Run"
216 << std::setw(15) <<
"Lumi"
217 << std::setw(15) <<
"Event"
218 << std::setw(15) <<
"TTree Entry"
220 for(std::vector<FileIndex::Element>::const_iterator it = fileIndex.
begin(), itEnd = fileIndex.
end(); it != itEnd; ++it) {
222 os << std::setw(15) << it->run_
223 << std::setw(15) << it ->lumi_
224 << std::setw(15) << it->event_
225 << std::setw(15) << it->entry_
229 os << std::setw(15) << it->run_
230 << std::setw(15) << it ->lumi_
231 << std::setw(15) <<
" "
232 << std::setw(15) << it->entry_ <<
" (LuminosityBlock)"
236 os << std::setw(15) << it->run_
237 << std::setw(15) <<
" "
238 << std::setw(15) <<
" "
239 << std::setw(15) << it->entry_ <<
" (Run)"
bool operator<(DetSet< T > const &x, DetSet< T > const &y)
const_iterator findEventEntryPosition(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event, EntryNumber_t entry) const
ForwardSequence::const_iterator lower_bound_all(ForwardSequence const &s, Datum const &d)
wrappers for std::lower_bound
bool & allInEntryOrder() const
bool operator()(FileIndex::Element const &lh, FileIndex::Element const &rh)
SortState & sortState() const
unsigned long long EventNumber_t
void stable_sort_all(RandomAccessSequence &s)
wrappers for std::stable_sort
unsigned int LuminosityBlockNumber_t
void sortBy_Run_Lumi_EventEntry()
std::vector< Element >::const_iterator const_iterator
bool allEventsInEntryOrder() const
static EntryNumber_t const invalidEntry
const_iterator findEventPosition(RunNumber_t run, LuminosityBlockNumber_t lumi, EventNumber_t event) const
const_iterator findRunPosition(RunNumber_t run) const
const_iterator end() const
How EventSelector::AcceptEvent() decides whether to accept an event for output otherwise it is excluding the probing of A single or multiple positive and the trigger will pass if any such matching triggers are PASS or EXCEPTION[A criterion thatmatches no triggers at all is detected and causes a throw.] A single negative with an expectation of appropriate bit checking in the decision and the trigger will pass if any such matching triggers are FAIL or EXCEPTION A wildcarded negative criterion that matches more than one trigger in the trigger but the state exists so we define the behavior If all triggers are the negative crieriion will lead to accepting the event(this again matches the behavior of"!*"before the partial wildcard feature was incorporated).The per-event"cost"of each negative criterion with multiple relevant triggers is about the same as!*was in the past
const_iterator findLumiPosition(RunNumber_t run, LuminosityBlockNumber_t lumi) const
LuminosityBlockNumber_t lumi_
const_iterator findLumiOrRunPosition(RunNumber_t run, LuminosityBlockNumber_t lumi) 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 findPosition(RunNumber_t run, LuminosityBlockNumber_t lumi=0U, EventNumber_t event=0U) const
bool & resultCached() const
const_iterator begin() const
volatile std::atomic< bool > shutdown_flag false
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.