11 static constexpr std::array<double, 6>
RtScaleFunction_p{-0.00102327, 0.00582117, -0.00676815, 0.00167504, -8.67371e-05, 1.66509e-06};
24 float corr_val = (t / rt_length) * rt.
GetTmaxDiff() * (ml2 ? -0.5 : +0.5);
25 float newt = t - corr_val;
27 if (newt > rt.
tUpper())
return corr_val;
generic interface for a rt-relation
virtual double tLower() const =0
Returns the lower time covered by the r-t.
virtual double radius(double t) const =0
returns drift radius for a given time
double GetTmaxDiff() const
return the difference in total dirft time between the two multilayers (ML1 - ML2)
virtual double tUpper() const =0
Returns the upper time covered by the r-t.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
static constexpr std::array< double, 6 > RtScaleFunction_p
float RtScalePolynomial(const float r)
float RtScaleFunction(const float t, const bool ml2, const IRtRelation &rtrelation)