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();
bool IsOnEdge(const double &eta) const
Check if an value is at the edge/boundary of this instance's valid range.
const double EtaMin() const
Return the lower limit of valid range.
Calculate and represent resolution for a physical quantity.
const Vector_Resolution GetResolution() const
Access the resolution.
bool IsInInterval(const double &eta) const
Check if an value is within this instance's range.
Represent a resolution and an range in which the resolution is valid.
static const int InverseEtaPrecision
Constant, the inverse of precision expected.
bool IsOverlap(const EtaDepResElement &e) const
Check if this instance has overlapping range with another instance of EtaDepResElement.
bool operator<(const EtaDepResElement &a, const EtaDepResElement &b)
Comparison operator, compare two EtaDepResElement instances based on their respective valid ranges...
Vector_Resolution _Vector_Resolution
const double EtaMax() const
Return the lower limit of valid range.
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...
void SetEta(double eta1, double eta2)
std::ostream & operator<<(std::ostream &s, const Constraint_Intermed &ci)
Output stream operator, print the content of this Constraint_Intermed to an output stream...
Hold on to an element of -dependent resolution object, namely a resolution and range in which the r...
Calculate and represent resolution for a vector of , pseudorapidity , and azimuthal angle ...