25 #ifndef HITFIT_ETA_DEP_RES_ELEMENT
26 #define HITFIT_ETA_DEP_RES_ELEMENT
84 void SetEta(
double eta1,
double eta2);
158 const double EtaMin()
const;
163 const double EtaMax()
const;
248 #endif // not #ifndef HITFIT_ETA_DEP_RES_ELEMENT
bool IsOnEdge(const double &eta) const
Check if an value is at the edge/boundary of this instance's valid range.
Calculate and represent resolution for a vector of momentum , pseudorapidity , and azimuthal angle ...
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.
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.
Define a concrete interface for getting parameter settings from an ASCII text file.
void SetEta(double eta1, double eta2)
friend bool operator<(const EtaDepResElement &a, const EtaDepResElement &b)
Comparison operator, compare two EtaDepResElement instances based on their respective valid ranges...
bool IsNotOverlap(const EtaDepResElement &e) const
Check if this instance does not have overlapping range with another instance.
friend std::ostream & operator<<(std::ostream &s, const EtaDepResElement &e)
Output stream operator.
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.
Calculate and represent resolution for a vector of , pseudorapidity , and azimuthal angle ...
const double EtaMax() const
Return the lower limit of valid range.