Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
Go to the documentation of this file.
5 #ifndef MDTCALIBDATA_ITrRelation_H
6 #define MDTCALIBDATA_ITrRelation_H
24 virtual std::string
typeName()
const override final {
return "ITrRelation"; }
27 virtual std::optional<double>
driftTime(
const double r)
const =0;
39 virtual unsigned nDoF()
const = 0;
virtual std::string typeName() const override final
virtual std::optional< double > driftTimePrime(const double r) const =0
virtual std::optional< double > driftTime(const double r) const =0
Interface method for fetching the drift-time from the radius Returns a nullopt if the time is out of ...
bool const RAWDATA *ch2 const
virtual ~ITrRelation()=default
Desctructor.
double getReducedR(const double r) const
Maps the radius interval [minRadius;maxRadius] to [-1;1] where the minimal radius is on the lower end...
virtual double maxRadius() const =0
Returns the maximum drift-radius.
double unitIntervalPrime(const double lowerEdge, const double upperEdge)
virtual double minRadius() const =0
Returns the minimum drift-radius.
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
std::vector< double > ParVec
double getReducedRPrime() const
Returns the derivative of the reduced radisu w.r.t r.
const ParVec & parameters() const
virtual unsigned nDoF() const =0
Returns the number of degrees of freedom of the tr relation.
virtual std::optional< double > driftTime2Prime(const double r) const =0
ITrRelation(const ParVec ¶meters)
Constructor taking the input r-t relation & the vector of parameters.
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].
generic interface for a calibration function.