44 for(std::vector<FileIndex::Element>::const_iterator it =
entries_.begin(), itEnd =
entries_.end(); it != itEnd; ++it) {
45 if(it->getEntryType() ==
kEvent) {
46 if(it->entry_ < maxEntry) {
50 maxEntry = it->entry_;
68 bool lumiMissing = (lumi == 0 &&
event != 0);
70 while(it != itEnd && it->run_ < run) {
73 while(it != itEnd && (it->run_ == run && it->event_ < event)) {
98 if(it->run_ != run || it->lumi_ != lumi || it->event_ != event) {
103 while (it != itEnd && it->run_ == run && it->lumi_ == lumi && it->event_ != event) {
106 if(it->run_ != run || it->lumi_ != lumi || it->event_ != event) {
123 if(it->run_ != run || it->lumi_ != lumi) {
139 if(it->run_ != run) {
162 Element el(run, lumi, event, entry);
166 while(it != itEnd && it->entry_ != entry && it->event_ == event) {
170 if(it == itEnd)
return itEnd;
171 if(lumi == 0) lumi = it->lumi_;
172 if(it->run_ != run || it->lumi_ != lumi || it->event_ != event || it->entry_ != entry)
return itEnd;
191 }
else if(lh.
event_ == 0U) {
193 }
else if(rh.
event_ == 0U) {
207 os <<
"\nPrinting FileIndex contents. This includes a list of all Runs, LuminosityBlocks\n"
208 <<
"and Events stored in the root file.\n\n";
209 os << std::setw(15) <<
"Run"
210 << std::setw(15) <<
"Lumi"
211 << std::setw(15) <<
"Event"
212 << std::setw(15) <<
"TTree Entry"
214 for(std::vector<FileIndex::Element>::const_iterator it = fileIndex.
begin(), itEnd = fileIndex.
end(); it != itEnd; ++it) {
216 os << std::setw(15) << it->run_
217 << std::setw(15) << it ->lumi_
218 << std::setw(15) << it->event_
219 << std::setw(15) << it->entry_
223 os << std::setw(15) << it->run_
224 << std::setw(15) << it ->lumi_
225 << std::setw(15) <<
" "
226 << std::setw(15) << it->entry_ <<
" (LuminosityBlock)"
230 os << std::setw(15) << it->run_
231 << std::setw(15) <<
" "
232 << std::setw(15) <<
" "
233 << 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
unsigned int EventNumber_t
bool operator()(FileIndex::Element const &lh, FileIndex::Element const &rh)
SortState & sortState() const
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
std::pair< std::string, MonitorElement * > entry
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
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.