ATLAS Offline Software
Loading...
Searching...
No Matches
RtChebyshev.h
Go to the documentation of this file.
1/*
2 Copyright (C) 2002-2024 CERN for the benefit of the ATLAS collaboration
3*/
4#ifndef MUONCALIB_RTCHEBYSHEV_H
5#define MUONCALIB_RTCHEBYSHEV_H
6
7#include <cstdlib>
8#include <iostream>
9#include <vector>
10#include <span>
11
12// MDT calibration //
14
15namespace MuonCalib {
29 class RtChebyshev : public IRtRelation {
30
31 public:
32 // Constructors
42
43 explicit RtChebyshev(const ParVec& vec) ;
44 // Methods //
45 // methods required by the base classes //
46 virtual std::string name() const override final;
47
48
51 virtual double radius(double t) const override final;
53 virtual double driftVelocity(double t) const override final;
55 virtual double driftAcceleration(double t) const override final;
56 // get-methods specific to the RtChebyshev class //
58 virtual double tLower() const override final;
60 virtual double tUpper() const override final;
61
62 virtual double tBinWidth() const override final;
63
64 virtual unsigned nDoF() const override final;
65
67 std::vector<double> rtParameters() const;
68
69 };
70} // namespace MuonCalib
71
72#endif
std::vector< size_t > vec
std::vector< double > ParVec
Definition CalibFunc.h:35
generic interface for a rt-relation
Definition IRtRelation.h:19
virtual double driftAcceleration(double t) const override final
Returns the acceleration of the r-t relation.
virtual double tUpper() const override final
Returns the upper time covered by the r-t.
virtual unsigned nDoF() const override final
get the coefficients of the r(t) polynomial
std::vector< double > rtParameters() const
virtual std::string name() const override final
get the class name
RtChebyshev(const ParVec &vec)
initialization constructor,
virtual double tBinWidth() const override final
Returns the step-size for the sampling.
virtual double radius(double t) const override final
get the drift velocity
virtual double tLower() const override final
< get the lower drift-time bound
virtual double driftVelocity(double t) const override final
get the drift acceleration
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.