|
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 <
nPar() - 2; ++
k) {
24 return std::make_optional(time);
33 for (
unsigned int k = 1;
k <
nPar() - 2; ++
k) {
36 return std::make_optional(dtdr);
44 for (
unsigned int k = 2;
k <
nPar() - 2; ++
k) {
47 return std::make_optional(d2tdr2);
virtual double maxRadius() const override final
Returns the maximum drift-radius.
virtual std::optional< double > driftTimePrime(const double r) const override final
std::vector< size_t > vec
#define THROW_EXCEPTION(MSG)
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 par(unsigned int index) const
constexpr double chebyshevPoly1st2Prime(const unsigned int order, const double x)
Returns the second derivative of the n-th Chebycheb polynomial of the first kind.
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 chebyshevPoly1st(const unsigned int order, const double x)
Returns the n-th Chebyshev polynomial of first kind evaluated at x (c.f.
unsigned int nPar() const
constexpr double chebyshevPoly1stPrime(const unsigned int order, const double x)
Returns the first derivative of the n-th Chebycheb polynomial of the first kind.
TrChebyshev(const IRtRelationPtr &rtRelation, const ParVec &vec)
constexpr int pow(int base, int exp) noexcept
virtual std::optional< double > driftTime2Prime(const double r) const override final
virtual double minRadius() const override final
Returns the minimum drift-radius.