 |
ATLAS Offline Software
|
Go to the documentation of this file.
7 #include "GeoModelKernel/throwExcept.h"
11 if (minRadius() >= maxRadius()) {
21 for (
unsigned int k = 0;
k <
nDoF(); ++
k) {
24 return std::make_optional(
time);
33 for (
unsigned int k = 1;
k <
nDoF(); ++
k) {
36 return std::make_optional(dtdr);
44 for (
unsigned int k = 2;
k <
nDoF(); ++
k) {
47 return std::make_optional(d2tdr2);
virtual double minRadius() const override final
Returns the minimum drift-radius.
TrLegendre(const ParVec &vec)
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
virtual std::optional< double > driftTime2Prime(const double r) const override final
virtual std::optional< double > driftTimePrime(const double r) const override final
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 std::string name() const override final
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
std::vector< double > ParVec
constexpr double legendrePoly(const unsigned l, const double x)
Calculates the legendre polynomial of rank l at x.
#define THROW_EXCEPTION(MESSAGE)
virtual std::optional< double > driftTime(const double r) const override final
Interface method for fetching the drift-time from the radius Returns a nullopt if the time is out of ...
double getReducedRPrime() const
Returns the derivative of the reduced radisu w.r.t r.
def time(flags, cells_name, *args, **kw)
unsigned int nPar() const
constexpr int pow(int base, int exp) noexcept