#include <MTDEtaRange.h>
Public Member Functions | |
MTDEtaRange | add (const MTDEtaRange &) const |
create maximum of ranges More... | |
bool | isCompatible (const MTDEtaRange &range) const |
true if this overlaps with range More... | |
bool | isInside (const MTDEtaRange &range) const |
true if this is completely inside range More... | |
bool | isInside (float eta, float error=0.) const |
float | max () const |
float | min () const |
MTDEtaRange | minRange (const MTDEtaRange &) const |
MTDEtaRange () | |
MTDEtaRange (const MTDEtaRange &) | |
MTDEtaRange (float max, float min) | |
MTDEtaRange & | operator= (const MTDEtaRange &) |
Assignment operator. More... | |
MTDEtaRange | subtract (const MTDEtaRange &) const |
create new range of size this minus range More... | |
~MTDEtaRange () | |
Private Attributes | |
float | theMax |
float | theMin |
a class to define eta range used in Muon Navigation
Modification:
a class to define eta range used in MTD Navigation
Modification:
Definition at line 15 of file MTDEtaRange.h.
MTDEtaRange::MTDEtaRange | ( | ) |
Definition at line 16 of file MTDEtaRange.cc.
Referenced by add(), and subtract().
MTDEtaRange::MTDEtaRange | ( | float | max, |
float | min | ||
) |
Definition at line 18 of file MTDEtaRange.cc.
References max(), min(), theMax, theMin, and createJobs::tmp.
MTDEtaRange::MTDEtaRange | ( | const MTDEtaRange & | range | ) |
|
inline |
Definition at line 20 of file MTDEtaRange.h.
MTDEtaRange MTDEtaRange::add | ( | const MTDEtaRange & | range | ) | const |
create maximum of ranges
Definition at line 57 of file MTDEtaRange.cc.
References max(), min(), MTDEtaRange(), FastTimerService_cff::range, theMax, and theMin.
Referenced by counter.Counter::register().
bool MTDEtaRange::isCompatible | ( | const MTDEtaRange & | range | ) | const |
true if this overlaps with range
Definition at line 51 of file MTDEtaRange.cc.
References max(), min(), and FastTimerService_cff::range.
bool MTDEtaRange::isInside | ( | const MTDEtaRange & | range | ) | const |
true if this is completely inside range
Definition at line 45 of file MTDEtaRange.cc.
References max(), min(), and FastTimerService_cff::range.
bool MTDEtaRange::isInside | ( | float | eta, |
float | error = 0. |
||
) | const |
Definition at line 39 of file MTDEtaRange.cc.
References relativeConstraints::error, PVValHelper::eta, max(), and min().
Referenced by subtract().
|
inline |
Definition at line 23 of file MTDEtaRange.h.
References theMax.
Referenced by add(), isCompatible(), isInside(), MTDEtaRange(), and subtract().
|
inline |
Definition at line 22 of file MTDEtaRange.h.
References theMin.
Referenced by add(), isCompatible(), isInside(), MTDEtaRange(), and subtract().
MTDEtaRange MTDEtaRange::minRange | ( | const MTDEtaRange & | ) | const |
MTDEtaRange & MTDEtaRange::operator= | ( | const MTDEtaRange & | range | ) |
Assignment operator.
Definition at line 31 of file MTDEtaRange.cc.
References FastTimerService_cff::range, theMax, and theMin.
MTDEtaRange MTDEtaRange::subtract | ( | const MTDEtaRange & | range | ) | const |
create new range of size this minus range
Definition at line 63 of file MTDEtaRange.cc.
References isInside(), max(), min(), MTDEtaRange(), FastTimerService_cff::range, theMax, and theMin.
|
private |
Definition at line 33 of file MTDEtaRange.h.
Referenced by add(), max(), MTDEtaRange(), operator=(), and subtract().
|
private |
Definition at line 32 of file MTDEtaRange.h.
Referenced by add(), min(), MTDEtaRange(), operator=(), and subtract().