7#include "GeoModelKernel/throwExcept.h"
39 for (
unsigned int k = 0; k <
nDoF(); k++) {
49 std::vector<double> alpha{};
std::vector< size_t > vec
const ParVec & parameters() const
double par(unsigned int index) const
unsigned int nPar() const
std::vector< double > ParVec
Generic interface to retrieve the resolution on the drift radius as a function of the drift time.
virtual double tLower() const
< get the lower drift-time bound
virtual double tUpper() const
get the number of parameters used to describe the resolution
std::vector< double > resParameters() const
virtual unsigned int nDoF() const override final
get the coefficients of the r(t) polynomial
virtual double resolution(double t, double bgRate=0.0) const override final
returns resolution for a give time and background rate
RtResolutionChebyshev(const ParVec &vec)
initialization constructor,
virtual std::string name() const override final
Initialization from a.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
constexpr double chebyshevPoly1st(const unsigned int order, const double x)
Returns the n-th Chebyshev polynomial of first kind evaluated at x (c.f.
double mapToUnitInterval(const double x, const double lowerEdge, const double upperEdge)
Maps the number x which is in [lowEdge;upperEdge] to the interval [-1;1].
#define THROW_EXCEPTION(MESSAGE)