Loading [MathJax]/extensions/tex2jax.js
 |
ATLAS Offline Software
|
#include <TrLegendre.h>
|
using | ParVec = std::vector< double > |
|
Definition at line 11 of file TrLegendre.h.
◆ ParVec
◆ TrLegendre()
MuonCalib::TrLegendre::TrLegendre |
( |
const ParVec & |
vec | ) |
|
◆ driftTime()
std::optional< double > MuonCalib::TrLegendre::driftTime |
( |
const double |
r | ) |
const |
|
finaloverridevirtual |
Interface method for fetching the drift-time from the radius Returns a nullopt if the time is out of the boundaries.
Implements MuonCalib::ITrRelation.
Definition at line 17 of file TrLegendre.cxx.
21 for (
unsigned int k = 0;
k <
nDoF(); ++
k) {
24 return std::make_optional(time);
◆ driftTime2Prime()
std::optional< double > MuonCalib::TrLegendre::driftTime2Prime |
( |
const double |
r | ) |
const |
|
finaloverridevirtual |
◆ driftTimePrime()
std::optional< double > MuonCalib::TrLegendre::driftTimePrime |
( |
const double |
r | ) |
const |
|
finaloverridevirtual |
◆ getReducedR()
double MuonCalib::ITrRelation::getReducedR |
( |
const double |
r | ) |
const |
|
inlineinherited |
Maps the radius interval [minRadius;maxRadius] to [-1;1] where the minimal radius is on the lower end.
Definition at line 42 of file ITrRelation.h.
◆ getReducedRPrime()
double MuonCalib::ITrRelation::getReducedRPrime |
( |
| ) |
const |
|
inlineinherited |
Returns the derivative of the reduced radisu w.r.t r.
Definition at line 46 of file ITrRelation.h.
◆ maxRadius()
double MuonCalib::TrLegendre::maxRadius |
( |
| ) |
const |
|
finaloverridevirtual |
◆ minRadius()
double MuonCalib::TrLegendre::minRadius |
( |
| ) |
const |
|
finaloverridevirtual |
◆ name()
std::string MuonCalib::TrLegendre::name |
( |
| ) |
const |
|
finaloverridevirtual |
◆ nDoF()
unsigned MuonCalib::TrLegendre::nDoF |
( |
| ) |
const |
|
finaloverridevirtual |
◆ nPar()
unsigned int MuonCalib::CalibFunc::nPar |
( |
| ) |
const |
|
inlineinherited |
◆ par()
double MuonCalib::CalibFunc::par |
( |
unsigned int |
index | ) |
const |
|
inlineinherited |
◆ parameters()
const ParVec& MuonCalib::CalibFunc::parameters |
( |
| ) |
const |
|
inlineinherited |
◆ typeName()
virtual std::string MuonCalib::ITrRelation::typeName |
( |
| ) |
const |
|
inlinefinaloverridevirtualinherited |
◆ m_parameters
ParVec MuonCalib::CalibFunc::m_parameters {} |
|
privateinherited |
The documentation for this class was generated from the following files:
virtual double minRadius() const override final
Returns the minimum drift-radius.
virtual unsigned nDoF() const override final
Returns the number of degrees of freedom of the tr relation.
virtual double maxRadius() const override final
Returns the maximum drift-radius.
constexpr double legendreDeriv(const unsigned l, const unsigned d, const double x)
Evaluates the n-th derivative of the l-th Legendre polynomial.
std::vector< size_t > vec
double par(unsigned int index) const
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.
constexpr double legendrePoly(const unsigned l, const double x)
Calculates the legendre polynomial of rank l at x.
#define THROW_EXCEPTION(MESSAGE)
double getReducedRPrime() const
Returns the derivative of the reduced radisu w.r.t r.
def time(flags, cells_name, *args, **kw)
ITrRelation(const ParVec ¶meters)
Constructor taking the input r-t relation & the vector of parameters.
unsigned int nPar() const
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].
constexpr int pow(int base, int exp) noexcept