Go to the documentation of this file.
46 : _Vector_Resolution(p_res, eta_res, phi_res, use_et) {
54 throw std::runtime_error(
"EtaDepResElement::equal EtaMin and EtaMax");
83 return !(
a._EtaMax >
b._EtaMin);
101 return nearEtaMin || nearEtaMax;
111 s <<
"(" <<
e._EtaMin <<
" to " <<
e._EtaMax <<
")"
112 <<
" / " <<
e.GetResolution();
void SetEta(double eta1, double eta2)
bool IsOnEdge(const double &eta) const
Check if an value is at the edge/boundary of this instance's valid range.
bool IsInInterval(const double &eta) const
Check if an value is within this instance's range.
const Vector_Resolution GetResolution() const
Access the resolution.
bool operator<(const EtaDepResElement &a, const EtaDepResElement &b)
Comparison operator, compare two EtaDepResElement instances based on their respective valid ranges.
Hold on to an element of -dependent resolution object, namely a resolution and range in which the r...
bool IsOverlap(const EtaDepResElement &e) const
Check if this instance has overlapping range with another instance of EtaDepResElement.
static const int InverseEtaPrecision
Constant, the inverse of precision expected.
const double EtaMax() const
Return the lower limit of valid range.
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream.
Vector_Resolution _Vector_Resolution
bool IsNotOverlap(const EtaDepResElement &e) const
Check if this instance does not have overlapping range with another instance.
EtaDepResElement(double eta1, double eta2, const Vector_Resolution &res)
Construct an instance of EtaDepResElement from the lower limit, upper limit, and the resolution....
Represent a resolution and an range in which the resolution is valid.
const double EtaMin() const
Return the lower limit of valid range.