#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 (float eta, float error=0.) const |
bool | isInside (const MTDEtaRange &range) const |
true if this is completely inside range More... | |
float | max () const |
float | min () const |
MTDEtaRange | minRange (const MTDEtaRange &) const |
MTDEtaRange () | |
MTDEtaRange (float max, float min) | |
MTDEtaRange (const MTDEtaRange &) | |
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 | ( | ) |
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 | ) |
Definition at line 29 of file MTDEtaRange.cc.
|
inline |
MTDEtaRange MTDEtaRange::add | ( | const MTDEtaRange & | range | ) | const |
create maximum of ranges
Definition at line 57 of file MTDEtaRange.cc.
References max(), min(), MTDEtaRange(), theMax, and theMin.
Referenced by MTDNavigationSchool::linkEndcapLayers(), max(), and counter.Counter::register().
bool MTDEtaRange::isCompatible | ( | const MTDEtaRange & | range | ) | const |
true if this overlaps with range
Definition at line 51 of file MTDEtaRange.cc.
Referenced by MTDNavigationSchool::linkEndcapLayers(), max(), and subtract().
bool MTDEtaRange::isInside | ( | float | eta, |
float | error = 0. |
||
) | const |
Definition at line 39 of file MTDEtaRange.cc.
Referenced by MTDNavigationSchool::linkEndcapLayers(), max(), and subtract().
bool MTDEtaRange::isInside | ( | const MTDEtaRange & | range | ) | const |
|
inline |
Definition at line 23 of file MTDEtaRange.h.
References add(), relativeConstraints::error, PVValHelper::eta, isCompatible(), isInside(), minRange(), FastTimerService_cff::range, subtract(), and theMax.
Referenced by add(), isCompatible(), isInside(), MTDEtaRange(), operator<<(), and subtract().
|
inline |
Definition at line 22 of file MTDEtaRange.h.
References theMin.
Referenced by add(), isCompatible(), isInside(), MTDEtaRange(), operator<<(), and subtract().
MTDEtaRange MTDEtaRange::minRange | ( | const MTDEtaRange & | ) | const |
Referenced by max().
MTDEtaRange & MTDEtaRange::operator= | ( | const MTDEtaRange & | range | ) |
Assignment operator.
Definition at line 31 of file MTDEtaRange.cc.
References theMax, and theMin.
Referenced by ~MTDEtaRange().
MTDEtaRange MTDEtaRange::subtract | ( | const MTDEtaRange & | range | ) | const |
create new range of size this minus range
Definition at line 63 of file MTDEtaRange.cc.
References isCompatible(), isInside(), max(), min(), MTDEtaRange(), theMax, and theMin.
Referenced by MTDNavigationSchool::linkEndcapLayers(), and max().
|
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().