#include <EgammaRange.h>
Public Member Functions | |
EgammaRange () | |
EgammaRange (const T &aMin, const T &aMax) | |
EgammaRange (const std::pair< T, T > &aPair) | |
bool | empty () const |
bool | inside (const T &value) const |
const T & | max () const |
T | mean () const |
const T & | min () const |
void | sort () |
Define a range [aMin,aMax]
Definition at line 14 of file EgammaRange.h.
egammaisolation::EgammaRange< T >::EgammaRange | ( | ) | [inline] |
Definition at line 17 of file EgammaRange.h.
{ }
egammaisolation::EgammaRange< T >::EgammaRange | ( | const T & | aMin, |
const T & | aMax | ||
) | [inline] |
Definition at line 19 of file EgammaRange.h.
: std::pair<T,T> (aMin,aMax) { }
egammaisolation::EgammaRange< T >::EgammaRange | ( | const std::pair< T, T > & | aPair | ) | [inline] |
Definition at line 21 of file EgammaRange.h.
: std::pair<T,T> (aPair) { }
bool egammaisolation::EgammaRange< T >::empty | ( | void | ) | const [inline] |
Definition at line 29 of file EgammaRange.h.
Referenced by egammaisolation::EgammaRange< float >::sort().
{ return (this->second < this->first); }
bool egammaisolation::EgammaRange< T >::inside | ( | const T & | value | ) | const [inline] |
Definition at line 31 of file EgammaRange.h.
const T& egammaisolation::EgammaRange< T >::max | ( | ) | const [inline] |
Definition at line 25 of file EgammaRange.h.
{ return this->second; }
T egammaisolation::EgammaRange< T >::mean | ( | ) | const [inline] |
Definition at line 27 of file EgammaRange.h.
const T& egammaisolation::EgammaRange< T >::min | ( | ) | const [inline] |
Definition at line 23 of file EgammaRange.h.
{ return this->first; }
void egammaisolation::EgammaRange< T >::sort | ( | ) | [inline] |