ATLAS Offline Software
|
Range class declaration. More...
#include <Range.h>
Public Member Functions | |
Range () | |
Range (double min, double max) | |
~Range ()=default | |
double | min () const |
double | max () const |
void | setRange (double min, double max) |
sets range More... | |
bool | contains (double number) const |
returns true if the range contains the number (i.e. More... | |
Private Member Functions | |
void | checkValues () |
This function makes sure m_min really is less than m_max. More... | |
Private Attributes | |
double | m_min |
double | m_max |
Range class declaration.
Definition at line 22 of file Trigger/TrigT1/TrigT1Interfaces/TrigT1Interfaces/Range.h.
Range::Range | ( | ) |
Definition at line 20 of file Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx.
Range::Range | ( | double | min, |
double | max | ||
) |
Definition at line 25 of file Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx.
|
default |
|
private |
This function makes sure m_min really is less than m_max.
Definition at line 53 of file Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx.
bool Range::contains | ( | double | number | ) | const |
returns true if the range contains the number (i.e.
if min<=number<=max)
Definition at line 48 of file Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx.
double Range::max | ( | ) | const |
double Range::min | ( | ) | const |
Definition at line 31 of file Trigger/TrigT1/TrigT1Interfaces/src/Range.cxx.
void Range::setRange | ( | double | min, |
double | max | ||
) |
|
private |
Definition at line 45 of file Trigger/TrigT1/TrigT1Interfaces/TrigT1Interfaces/Range.h.
|
private |
Definition at line 44 of file Trigger/TrigT1/TrigT1Interfaces/TrigT1Interfaces/Range.h.