#include <TRange.h>
Public Member Functions | |
bool | empty () const |
true for empty region. note that region [x,x] is not empty | |
bool | inside (const T &value) const |
check if object is inside region | |
const T & | max () const |
upper edge of range | |
T | mean () const |
const T & | min () const |
lower edge of range | |
void | sort () |
TRange< T > | sum (const TRange< T > &r) const |
sum of overlaping regions. the overlapping should be checked before. | |
TRange (const std::pair< T, T > &apair) | |
TRange (const T &aMin, const T &aMax) | |
TRange () |
Define a range [aMin,aMax]
true for empty region. note that region [x,x] is not empty
Definition at line 31 of file TRange.h.
Referenced by TRange< int >::sort(), and TRange< int >::sum().
{ return (this->second < this->first); }
upper edge of range
Definition at line 26 of file TRange.h.
Referenced by PixelToLNKAssociateFromAscii::addConnections(), operator<<(), SiPixelFedCablingMapBuilder::produce(), and TRange< int >::sum().
{ return this->second; }
lower edge of range
Definition at line 23 of file TRange.h.
Referenced by PixelToLNKAssociateFromAscii::addConnections(), operator<<(), SiPixelFedCablingMapBuilder::produce(), and TRange< int >::sum().
{ return this->first; }