6#include "GeoModelKernel/throwExcept.h"
27 if (t <
tLower())
return 0.0;
28 if (t >
tUpper())
return 14.6;
40 for (
unsigned int k = 0; k <
nDoF(); k++) {
43 return std::max(rad, 0.);
56 for (
unsigned int k = 1; k <
nDoF(); ++k) {
67 for (
unsigned int k = 2; k <
nDoF(); ++k) {
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 for a rt-relation
static constexpr double s_tBinWidth
double dReducedTimeDt() const
double getReducedTime(const double t) const
map the in the interval [tLower;tUpper] onto the interval [-1.;1.
virtual double driftAcceleration(double t) const override final
Returns the acceleration of the r-t relation.
virtual double tUpper() const override final
Returns the upper time covered by the r-t.
virtual unsigned nDoF() const override final
get the coefficients of the r(t) polynomial
std::vector< double > rtParameters() const
virtual std::string name() const override final
get the class name
RtChebyshev(const ParVec &vec)
initialization constructor,
virtual double tBinWidth() const override final
Returns the step-size for the sampling.
virtual double radius(double t) const override final
get the drift velocity
virtual double tLower() const override final
< get the lower drift-time bound
virtual double driftVelocity(double t) const override final
get the drift acceleration
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.
constexpr double chebyshevPoly1st2Prime(const unsigned int order, const double x)
Returns the second derivative of the n-th Chebycheb polynomial of the first kind.
constexpr double chebyshevPoly1stPrime(const unsigned int order, const double x)
Returns the first derivative of the n-th Chebycheb polynomial of the first kind.
#define THROW_EXCEPTION(MESSAGE)