![]() |
ATLAS Offline Software
|
generic interface for a rt-relation More...
#include <IRtRelation.h>
Public Types | |
using | ParVec = std::vector< double > |
Public Member Functions | |
virtual | ~IRtRelation ()=default |
virtual std::string | typeName () const override final |
virtual double | radius (double t) const =0 |
returns drift radius for a given time More... | |
virtual double | driftVelocity (double t) const =0 |
Returns the drift velocity for a given time. More... | |
virtual double | driftAcceleration (double t) const =0 |
Returns the acceleration of the r-t relation. More... | |
virtual double | tLower () const =0 |
Returns the lower time covered by the r-t. More... | |
virtual double | tUpper () const =0 |
Returns the upper time covered by the r-t. More... | |
virtual double | tBinWidth () const =0 |
Returns the step-size for the sampling. More... | |
virtual unsigned | nDoF () const =0 |
Returns the number of degrees of freedom of the relation function More... | |
double | GetTmaxDiff () const |
return the difference in total dirft time between the two multilayers (ML1 - ML2) More... | |
bool | hasTmaxDiff () const |
void | SetTmaxDiff (const double d) |
set the difference in total drift time betwene the two multilayers (ML1 - ML2) More... | |
double | getReducedTime (const double t) const |
map the in the interval [tLower;tUpper] onto the interval [-1. More... | |
double | dReducedTimeDt () const |
CalibFunc (const ParVec &vec) | |
unsigned int | nPar () const |
const ParVec & | parameters () const |
double | par (unsigned int index) const |
virtual std::string | name () const =0 |
Static Protected Attributes | |
static constexpr double | s_tBinWidth = 1.e-3 |
Private Attributes | |
std::optional< double > | m_tmax_diff {std::nullopt} |
ParVec | m_parameters {} |
generic interface for a rt-relation
Definition at line 19 of file IRtRelation.h.
|
inherited |
Definition at line 35 of file CalibFunc.h.
|
virtualdefault |
|
inlineexplicit |
Definition at line 36 of file CalibFunc.h.
|
inline |
Definition at line 53 of file IRtRelation.h.
|
pure virtual |
Returns the acceleration of the r-t relation.
Implemented in MuonCalib::RtSpline, MuonCalib::RtChebyshev, MuonCalib::RtLegendre, MuonCalib::RtRelationLookUp, and MuonCalib::RtSimplePolynomial.
|
pure virtual |
Returns the drift velocity for a given time.
Implemented in MuonCalib::RtSpline, MuonCalib::RtChebyshev, MuonCalib::RtLegendre, MuonCalib::RtRelationLookUp, and MuonCalib::RtSimplePolynomial.
|
inline |
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.
|
inline |
return the difference in total dirft time between the two multilayers (ML1 - ML2)
Definition at line 40 of file IRtRelation.h.
|
inline |
Definition at line 42 of file IRtRelation.h.
|
pure virtualinherited |
Implemented in MuonCalib::RtSpline, MuonCalib::RtResolutionChebyshev, MuonCalib::RtChebyshev, MuonCalib::RtLegendre, MuonCalib::RadiusResolutionChebyshev, MuonCalib::RtRelationLookUp, MuonCalib::RtSimplePolynomial, MuonCalib::TrRelationLookUp, MuonCalib::TrChebyshev, MuonCalib::TrLegendre, MuonCalib::TrSimplePolynomial, MuonCalib::RtResolutionLookUp, MuonCalib::MdtSlewCorFuncHardcoded, and MuonCalib::BFieldCorFunc.
|
pure virtual |
Returns the number of degrees of freedom of the relation function
Implemented in MuonCalib::RtSpline, MuonCalib::RtLegendre, MuonCalib::RtChebyshev, MuonCalib::RtRelationLookUp, and MuonCalib::RtSimplePolynomial.
|
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.
|
pure virtual |
returns drift radius for a given time
Implemented in MuonCalib::RtSpline, MuonCalib::RtChebyshev, MuonCalib::RtLegendre, MuonCalib::RtRelationLookUp, and MuonCalib::RtSimplePolynomial.
|
inline |
set the difference in total drift time betwene the two multilayers (ML1 - ML2)
Definition at line 45 of file IRtRelation.h.
|
pure virtual |
Returns the step-size for the sampling.
Implemented in MuonCalib::RtSpline, MuonCalib::RtChebyshev, MuonCalib::RtLegendre, MuonCalib::RtRelationLookUp, and MuonCalib::RtSimplePolynomial.
|
pure virtual |
Returns the lower time covered by the r-t.
Implemented in MuonCalib::RtSpline, MuonCalib::RtChebyshev, MuonCalib::RtLegendre, MuonCalib::RtRelationLookUp, and MuonCalib::RtSimplePolynomial.
|
pure virtual |
Returns the upper time covered by the r-t.
Implemented in MuonCalib::RtSpline, MuonCalib::RtChebyshev, MuonCalib::RtLegendre, MuonCalib::RtRelationLookUp, and MuonCalib::RtSimplePolynomial.
|
inlinefinaloverridevirtual |
Implements MuonCalib::CalibFunc.
Definition at line 23 of file IRtRelation.h.
|
privateinherited |
Definition at line 48 of file CalibFunc.h.
|
private |
Definition at line 58 of file IRtRelation.h.
|
staticconstexprprotected |
Definition at line 60 of file IRtRelation.h.