#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:
a class to define eta range used in Muon Navigation
Modification:
Definition at line 17 of file MuonEtaRange.h.
MuonEtaRange::MuonEtaRange | ( | ) |
MuonEtaRange::MuonEtaRange | ( | float | max, |
float | min | ||
) |
Definition at line 22 of file MuonEtaRange.cc.
References max(), min(), theMax, theMin, and tmp.
MuonEtaRange::MuonEtaRange | ( | const MuonEtaRange & | range | ) |
Definition at line 33 of file MuonEtaRange.cc.
|
inline |
Definition at line 24 of file MuonEtaRange.h.
MuonEtaRange MuonEtaRange::add | ( | const MuonEtaRange & | range | ) | const |
create maximum of ranges
Definition at line 61 of file MuonEtaRange.cc.
References max(), min(), MuonEtaRange(), theMax, and theMin.
Referenced by MuonNavigationSchool::linkEndcapLayers().
bool MuonEtaRange::isCompatible | ( | const MuonEtaRange & | range | ) | const |
true if this overlaps with range
Definition at line 56 of file MuonEtaRange.cc.
Referenced by MuonNavigationSchool::linkEndcapLayers(), and subtract().
bool MuonEtaRange::isInside | ( | float | eta, |
float | error = 0. |
||
) | const |
Definition at line 45 of file MuonEtaRange.cc.
Referenced by MuonNavigationSchool::linkEndcapLayers(), and subtract().
bool MuonEtaRange::isInside | ( | const MuonEtaRange & | range | ) | const |
|
inline |
Definition at line 27 of file MuonEtaRange.h.
References theMax.
Referenced by add(), isCompatible(), isInside(), MuonEtaRange(), operator<<(), and subtract().
|
inline |
Definition at line 26 of file MuonEtaRange.h.
References theMin.
Referenced by add(), isCompatible(), isInside(), MuonEtaRange(), operator<<(), and subtract().
MuonEtaRange MuonEtaRange::minRange | ( | const MuonEtaRange & | ) | const |
MuonEtaRange & MuonEtaRange::operator= | ( | const MuonEtaRange & | range | ) |
MuonEtaRange MuonEtaRange::subtract | ( | const MuonEtaRange & | range | ) | const |
create new range of size this minus range
Definition at line 67 of file MuonEtaRange.cc.
References isCompatible(), isInside(), max(), min(), MuonEtaRange(), theMax, and theMin.
Referenced by MuonNavigationSchool::linkEndcapLayers().
|
private |
Definition at line 37 of file MuonEtaRange.h.
Referenced by add(), max(), MuonEtaRange(), operator=(), and subtract().
|
private |
Definition at line 36 of file MuonEtaRange.h.
Referenced by add(), min(), MuonEtaRange(), operator=(), and subtract().