33 #ifndef HITFIT_ETA_DEP_RESOLUTION
34 #define HITFIT_ETA_DEP_RESOLUTION
166 const double EtaMin()
const;
171 const double EtaMax()
const;
224 #endif // not #ifndef HITFIT_ETA_DEP_RESOLUTION
Calculate and represent resolution for a vector of momentum , pseudorapidity , and azimuthal angle ...
const double EtaMax() const
Return the upper limit of the valid -range.
std::vector< EtaDepResElement >::size_type Read(const std::string &default_file)
Read the -dependent resolution information from an ASCII text file.
const std::vector< EtaDepResElement > GetEtaDepResElement() const
Access the internal list of -dependent resolution elements.
A lightweight implementation of the Defaults interface that uses simple ASCII text files...
std::vector< EtaDepResElement >::const_iterator FindResolution(double &eta) const
Internal method to return the corresponding -dependent resolution element for a given value...
Represent a resolution and an range in which the resolution is valid.
bool CheckNoOverlap(const std::vector< EtaDepResElement > &v)
Check for non-overlapping -range between -dependent resolution elements in a list.
Vector_Resolution GetResolution(double &eta) const
Return the corresponding resolution for a value of .
Hold on to -dependent resolution. This class acts as a function object and returns Vector_Resolution ...
const double EtaMin() const
Return the lower limit of the valid -range.
std::vector< EtaDepResElement > _EtaDepResElement
Vector_Resolution operator()(double &eta)
Allow users to call this instance as a function to access the corresponding resolution for an input v...
EtaDepResolution()
Default constructor, instantiate an EtaDepResolution object with empty list of -dependent resolution ...
Define a concrete interface for getting parameter settings from an ASCII text file.
const bool CheckEta(double eta) const
Check is an input value is within the valid -range of this instance.
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 ...