5#ifndef MUONCALIB_RTRELATIONLOOKUP_H
6#define MUONCALIB_RTRELATIONLOOKUP_H
27 virtual std::string
name()
const override final {
return "RtRelationLookUp"; }
30 virtual double radius(
double t)
const override final;
41 virtual
unsigned nDoF()
const override final;
std::vector< size_t > vec
int getBin(double x, double min, double step, int clamp_max)
double par(unsigned int index) const
std::vector< double > ParVec
generic interface for a rt-relation
int binInRtRange(double t) const
RtRelationLookUp(const ParVec &vec)
virtual double tBinWidth() const override final
Returns the step-size for the sampling.
virtual double radius(double t) const override final
returns drift radius for a given time
virtual double driftVelocity(double t) const override final
returns drift velocity for a given time
virtual double driftAcceleration(double t) const override final
returns the acceleration for a given time
virtual unsigned nDoF() const override final
Returns the number of degrees of freedom of the relation function.
double getRadius(int bin) const
virtual double tLower() const override final
return rt range
virtual double tUpper() const override final
Returns the upper time covered by the r-t.
virtual std::string name() const override final
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.