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