20 edm::LogWarning(
"MTDEtaRange") <<
"Warning MTDEtaRange:: max < min!! correcting" << std::endl;
40 if ((eta + error) >
max() || (eta - error) <
min())
65 edm::LogInfo(
"MTDEtaRange") <<
"MTDEtaRange: range is inside!" << std::endl;
69 edm::LogInfo(
"MTDEtaRange") <<
"MTDEtaRange: no overlap between ranges" << std::endl;
MTDEtaRange add(const MTDEtaRange &) const
create maximum of ranges
MTDEtaRange & operator=(const MTDEtaRange &)
Assignment operator.
bool isInside(float eta, float error=0.) const
MTDEtaRange subtract(const MTDEtaRange &) const
create new range of size this minus range
bool isCompatible(const MTDEtaRange &range) const
true if this overlaps with range