![]() |
ATLAS Offline Software
|
This class contains the implementation of an r(t) relationship parameterized as support points to a cubic spline. More...
#include <RtSpline.h>
Public Types | |
| using | ParVec = std::vector<double> |
Public Member Functions | |
| RtSpline (const ParVec &vecvec) | |
| initialization constructor, | |
| virtual | ~RtSpline () |
| std::string | name () const override final |
| get the class name | |
| 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 | |
| virtual double | driftVelocity (double t) const override final |
| get the drift velocity | |
| virtual double | driftAcceleration (double t) const override final |
| Returns the acceleration of the r-t relation. | |
| virtual double | tLower () const override final |
| get the lower drift-time bound | |
| virtual double | tUpper () const override final |
| get the upper drift-time bound | |
| virtual double | tBinWidth () const override final |
| Returns the step-size for the sampling. | |
| virtual unsigned | nDoF () const override final |
| Returns the number of degrees of freedom of the relation function. | |
| virtual std::string | typeName () const override final |
| double | GetTmaxDiff () const |
| return the difference in total dirft time between the two multilayers (ML1 - ML2) | |
| bool | hasTmaxDiff () const |
| void | SetTmaxDiff (const double d) |
| set the difference in total drift time betwene the two multilayers (ML1 - ML2) | |
| double | getReducedTime (const double t) const |
| map the in the interval [tLower;tUpper] onto the interval [-1.;1. | |
| double | dReducedTimeDt () const |
| CalibFunc (const ParVec &vecvec) | |
| unsigned int | nPar () const |
| const ParVec & | parameters () const |
| double | par (unsigned int index) const |
Static Protected Attributes | |
| static constexpr double | s_tBinWidth = 1.e-3 |
Private Attributes | |
| std::unique_ptr< TSpline3 > | m_sp3 {} |
| std::optional< double > | m_tmax_diff {std::nullopt} |
| ParVec | m_parameters {} |
This class contains the implementation of an r(t) relationship parameterized as support points to a cubic spline.
Definition at line 34 of file RtSpline.h.
|
inherited |
Definition at line 35 of file CalibFunc.h.
initialization constructor,
2 * (size of ParVec) = number of points
ParVec[ 2n] = x coordinate of n_th support point ParVec[1 + 2n] = y coordinate of n_th support point
Definition at line 20 of file RtSpline.cxx.
|
virtualdefault |
|
inlineexplicitinherited |
Definition at line 36 of file CalibFunc.h.
|
inlineinherited |
Definition at line 53 of file IRtRelation.h.
|
finaloverridevirtual |
Returns the acceleration of the r-t relation.
Implements MuonCalib::IRtRelation.
Definition at line 54 of file RtSpline.cxx.
|
finaloverridevirtual |
get the drift velocity
Implements MuonCalib::IRtRelation.
Definition at line 53 of file RtSpline.cxx.
|
inlineinherited |
map the in the interval [tLower;tUpper] onto the interval [-1.;1.
] where tLower is mapped to -1. & tUpper to 1.;
Definition at line 49 of file IRtRelation.h.
|
inlineinherited |
return the difference in total dirft time between the two multilayers (ML1 - ML2)
Definition at line 40 of file IRtRelation.h.
|
inlineinherited |
Definition at line 42 of file IRtRelation.h.
|
inlinefinaloverridevirtual |
|
finaloverridevirtual |
Returns the number of degrees of freedom of the relation function.
Implements MuonCalib::IRtRelation.
Definition at line 42 of file RtSpline.cxx.
|
inlineinherited |
Definition at line 39 of file CalibFunc.h.
|
inlineinherited |
Definition at line 41 of file CalibFunc.h.
Definition at line 40 of file CalibFunc.h.
|
finaloverridevirtual |
get the radius corresponding to the drift time t; 0 or 14.6 is returned if t is outside the range
Implements MuonCalib::IRtRelation.
Definition at line 45 of file RtSpline.cxx.
|
inlineinherited |
set the difference in total drift time betwene the two multilayers (ML1 - ML2)
Definition at line 45 of file IRtRelation.h.
|
finaloverridevirtual |
Returns the step-size for the sampling.
Implements MuonCalib::IRtRelation.
Definition at line 39 of file RtSpline.cxx.
|
finaloverridevirtual |
get the lower drift-time bound
Implements MuonCalib::IRtRelation.
Definition at line 58 of file RtSpline.cxx.
|
finaloverridevirtual |
get the upper drift-time bound
Implements MuonCalib::IRtRelation.
Definition at line 60 of file RtSpline.cxx.
|
inlinefinaloverridevirtualinherited |
Implements MuonCalib::CalibFunc.
Definition at line 23 of file IRtRelation.h.
|
privateinherited |
Definition at line 48 of file CalibFunc.h.
|
private |
Definition at line 37 of file RtSpline.h.
|
privateinherited |
Definition at line 58 of file IRtRelation.h.
|
staticconstexprprotectedinherited |
Definition at line 60 of file IRtRelation.h.