1 #ifndef PixelRecoRange_H 2 #define PixelRecoRange_H 29 bool empty()
const {
return (this->second < this->
first); }
59 std::ostream& operator<<(std::ostream& out, const PixelRecoRange<T>&
r) {
60 return out <<
"(" <<
r.min() <<
"," <<
r.max() <<
")";
PixelRecoRange(const std::pair< T, T > &aPair)
bool inside(const T &value) const
PixelRecoRange< T > & sort()
PixelRecoRange< T > & swap()
PixelRecoRange(PixelRecoRange< U > other)
void swap(Association< C > &lhs, Association< C > &rhs)
U second(std::pair< T, U > const &p)
bool hasIntersection(const PixelRecoRange< T > &r) const
bool rangesIntersect(const Range &a, const Range &b)
PixelRecoRange< T > intersection(const PixelRecoRange< T > &r) const
Range rangeIntersection(const Range &a, const Range &b)
PixelRecoRange< T > sum(const PixelRecoRange< T > &r) const
PixelRecoRange(T aMin, T aMax)