35 startLumiID_(startRun,
36 startLuminosityBlock != 0 ? startLuminosityBlock :
LuminosityBlockID::maxLuminosityBlockNumber()),
38 endLuminosityBlock != 0 ? endLuminosityBlock :
LuminosityBlockID::maxLuminosityBlockNumber()) {}
41 : startLumiID_(begin), endLumiID_(end) {}
84 assert((lh.startLumi() == 0) == (rh.startLumi() == 0));
85 return lh.startLumiID() < rh.startLumiID();
90 if (lumiRange.size() <= 1U)
92 sort_all(lumiRange, sortByStartLuminosityBlockID);
93 for (std::vector<LuminosityBlockRange>::iterator
i = lumiRange.begin() + 1,
e = lumiRange.end();
i !=
e; ++
i) {
94 std::vector<LuminosityBlockRange>::iterator iprev =
i - 1;
96 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)