37 startLumiID_(startRun, startLuminosityBlock != 0 ? startLuminosityBlock :
LuminosityBlockID::maxLuminosityBlockNumber()),
38 endLumiID_(endRun, endLuminosityBlock !=0 ? endLuminosityBlock :
LuminosityBlockID::maxLuminosityBlockNumber()) {
90 assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
91 return lh.startLumiID() < rh.startLumiID();
95 std::vector<LuminosityBlockRange>&
97 if (lumiRange.size() <= 1U)
return lumiRange;
98 sort_all(lumiRange, sortByStartLuminosityBlockID);
99 for (std::vector<LuminosityBlockRange>::iterator
i = lumiRange.begin() + 1,
e = lumiRange.end();
101 std::vector<LuminosityBlockRange>::iterator iprev =
i - 1;
103 i = lumiRange.erase(iprev);
bool contains(EventRange const &lh, EventID const &rh)
unsigned int LuminosityBlockNumber_t
LuminosityBlockNumber_t startLumi() const
bool distinct(EventRange const &lh, EventRange const &rh)
EventID const & min(EventID const &lh, EventID const &rh)
RunNumber_t startRun() const
void sort_all(RandomAccessSequence &s)
wrappers for std::sort
bool merge(LuminosityBlockRange &lh, LuminosityBlockRange &rh)
bool overlaps(EventRange const &lh, EventRange const &rh)
LuminosityBlockID startLumiID() const
LuminosityBlockID endLumiID() const
std::vector< EventRange > & sortAndRemoveOverlaps(std::vector< EventRange > &eventRange)
RunNumber_t endRun() const
bool lessThan(EventRange const &lh, EventRange const &rh)
LuminosityBlockNumber_t endLumi() const
std::ostream & operator<<(std::ostream &ost, const HLTGlobalStatus &hlt)
Formatted printout of trigger tbale.
EventID const & max(EventID const &lh, EventID const &rh)