20 edm::LogWarning(
"MuonEtaRange") <<
"Warning MuonEtaRange:: max < min!! correcting" << std::endl;
64 if (
range.isInside(*
this)) {
65 edm::LogInfo(
"MuonEtaRange") <<
"MuonEtaRange: range is inside!" << std::endl;
68 if (!
range.isCompatible(*
this)) {
69 edm::LogInfo(
"MuonEtaRange") <<
"MuonEtaRange: no overlap between ranges" << std::endl;
bool isCompatible(const MuonEtaRange &range) const
true if this overlaps with range
Log< level::Info, false > LogInfo
bool isInside(float eta, float error=0.) const
MuonEtaRange subtract(const MuonEtaRange &) const
create new range of size this minus range
MuonEtaRange & operator=(const MuonEtaRange &)
Assignment operator.
MuonEtaRange add(const MuonEtaRange &) const
create maximum of ranges
Log< level::Warning, false > LogWarning