|
ATLAS Offline Software
|
Go to the documentation of this file.
6 #include "GeoModelKernel/throwExcept.h"
31 if (
t <
tLower())
return res_min;
33 if (
t >
tUpper())
return res_max;
53 std::vector<double> alpha(
nPar() - 2);
54 for (
unsigned int k = 0;
k < alpha.size();
k++) { alpha[
k] =
parameters()[
k + 2]; }
std::vector< double > resParameters() const
get the reduced time which is the argument of the Chebyshev polynomial
std::string name() const
get the class name
RtResolutionChebyshev(const ParVec &vec)
initialization constructor,
double resolution(double t, double bgRate=0.0) const
returns resolution for a give time and background rate
std::vector< size_t > vec
#define THROW_EXCEPTION(MSG)
double tUpper() const
get the number of parameters used to describe the resolution
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
std::vector< double > ParVec
double tLower() const
< get the lower drift-time bound
constexpr double chebyshevPoly1st(const unsigned int order, const double x)
Returns the n-th Chebyshev polynomial of first kind evaluated at x (c.f.
generic interface for a resolution function
const ParVec & parameters() const
unsigned int numberOfResParameters() const
get the coefficients of the r(t) polynomial
unsigned int nPar() const
double get_reduced_time(const double t) const