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