4#ifndef MUONCALIB_RtSpline_H
5#define MUONCALIB_RtSpline_H
37 std::unique_ptr<TSpline3>
m_sp3{};
55 inline std::string
name()
const override final{
return "RtSpline"; }
58 virtual double radius(
double t)
const override final;
75 virtual
unsigned nDoF()
const override final;
std::vector< size_t > vec
std::vector< double > ParVec
generic interface for a rt-relation
std::string name() const override final
get the class name
virtual unsigned nDoF() const override final
Returns the number of degrees of freedom of the relation function.
std::unique_ptr< TSpline3 > m_sp3
virtual double tLower() const override final
get the lower drift-time bound
virtual double driftAcceleration(double t) const override final
Returns the acceleration of the r-t relation.
virtual double tUpper() const override final
get the upper drift-time bound
virtual double driftVelocity(double t) const override final
get the drift velocity
RtSpline(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 radius corresponding to the drift time t; 0 or 14.6 is returned if t is outside the range
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.