#include <MuonEtaRange.h>
Public Member Functions | |
MuonEtaRange | add (const MuonEtaRange &) const |
create maximum of ranges More... | |
bool | isCompatible (const MuonEtaRange &range) const |
true if this overlaps with range More... | |
bool | isInside (float eta, float error=0.) const |
bool | isInside (const MuonEtaRange &range) const |
true if this is completely inside range More... | |
float | max () const |
float | min () const |
MuonEtaRange | minRange (const MuonEtaRange &) const |
MuonEtaRange () | |
MuonEtaRange (float max, float min) | |
MuonEtaRange (const MuonEtaRange &) | |
MuonEtaRange & | operator= (const MuonEtaRange &) |
Assignment operator. More... | |
MuonEtaRange | subtract (const MuonEtaRange &) const |
create new range of size this minus range More... | |
~MuonEtaRange () | |
Private Attributes | |
float | theMax |
float | theMin |
a class to define eta range used in Muon Navigation
Modification:
Definition at line 15 of file MuonEtaRange.h.
MuonEtaRange::MuonEtaRange | ( | ) |
MuonEtaRange::MuonEtaRange | ( | float | max, |
float | min | ||
) |
Definition at line 20 of file MuonEtaRange.cc.
References max(), min(), theMax, theMin, and tmp.
MuonEtaRange::MuonEtaRange | ( | const MuonEtaRange & | range | ) |
Definition at line 31 of file MuonEtaRange.cc.
|
inline |
MuonEtaRange MuonEtaRange::add | ( | const MuonEtaRange & | range | ) | const |
create maximum of ranges
Definition at line 59 of file MuonEtaRange.cc.
References max(), min(), MuonEtaRange(), theMax, and theMin.
Referenced by MuonNavigationSchool::linkEndcapLayers(), max(), and counter.Counter::register().
bool MuonEtaRange::isCompatible | ( | const MuonEtaRange & | range | ) | const |
true if this overlaps with range
Definition at line 54 of file MuonEtaRange.cc.
Referenced by MuonNavigationSchool::linkEndcapLayers(), max(), and subtract().
bool MuonEtaRange::isInside | ( | float | eta, |
float | error = 0. |
||
) | const |
Definition at line 43 of file MuonEtaRange.cc.
Referenced by MuonNavigationSchool::linkEndcapLayers(), max(), and subtract().
bool MuonEtaRange::isInside | ( | const MuonEtaRange & | range | ) | const |
|
inline |
Definition at line 25 of file MuonEtaRange.h.
References add(), relativeConstraints::error, PVValHelper::eta, isCompatible(), isInside(), minRange(), subtract(), and theMax.
Referenced by add(), isCompatible(), isInside(), MuonEtaRange(), operator<<(), and subtract().
|
inline |
Definition at line 24 of file MuonEtaRange.h.
References theMin.
Referenced by add(), isCompatible(), isInside(), MuonEtaRange(), operator<<(), and subtract().
MuonEtaRange MuonEtaRange::minRange | ( | const MuonEtaRange & | ) | const |
Referenced by max().
MuonEtaRange & MuonEtaRange::operator= | ( | const MuonEtaRange & | range | ) |
Assignment operator.
Definition at line 34 of file MuonEtaRange.cc.
References theMax, and theMin.
Referenced by ~MuonEtaRange().
MuonEtaRange MuonEtaRange::subtract | ( | const MuonEtaRange & | range | ) | const |
create new range of size this minus range
Definition at line 65 of file MuonEtaRange.cc.
References isCompatible(), isInside(), max(), min(), MuonEtaRange(), theMax, and theMin.
Referenced by MuonNavigationSchool::linkEndcapLayers(), and max().
|
private |
Definition at line 35 of file MuonEtaRange.h.
Referenced by add(), max(), MuonEtaRange(), operator=(), and subtract().
|
private |
Definition at line 34 of file MuonEtaRange.h.
Referenced by add(), min(), MuonEtaRange(), operator=(), and subtract().