ATLAS Offline Software
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 
15 namespace MuonCalib {
29  class RtChebyshev : public IRtRelation {
30 
31  public:
32  // Constructors
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
MuonCalib::RtChebyshev
Definition: RtChebyshev.h:29
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:9
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonCalib::RtChebyshev::driftVelocity
virtual double driftVelocity(double t) const override final
get the drift acceleration
Definition: RtChebyshev.cxx:47
MuonCalib::RtChebyshev::tUpper
virtual double tUpper() const override final
Returns the upper time covered by the r-t.
Definition: RtChebyshev.cxx:73
MuonCalib::RtChebyshev::radius
virtual double radius(double t) const override final
get the drift velocity
Definition: RtChebyshev.cxx:23
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::CalibFunc::ParVec
std::vector< double > ParVec
Definition: CalibFunc.h:35
MuonCalib::RtChebyshev::name
virtual std::string name() const override final
get the class name
Definition: RtChebyshev.cxx:20
MuonCalib::RtChebyshev::tBinWidth
virtual double tBinWidth() const override final
Returns the step-size for the sampling.
Definition: RtChebyshev.cxx:21
MuonCalib::RtChebyshev::nDoF
virtual unsigned nDoF() const override final
get the coefficients of the r(t) polynomial
Definition: RtChebyshev.cxx:74
IRtRelation.h
MuonCalib::RtChebyshev::RtChebyshev
RtChebyshev(const ParVec &vec)
initialization constructor,
Definition: RtChebyshev.cxx:9
MuonCalib::RtChebyshev::driftAcceleration
virtual double driftAcceleration(double t) const override final
Returns the acceleration of the r-t relation.
Definition: RtChebyshev.cxx:62
MuonCalib::IRtRelation
generic interface for a rt-relation
Definition: IRtRelation.h:19
MuonCalib::RtChebyshev::rtParameters
std::vector< double > rtParameters() const
Definition: RtChebyshev.cxx:76
MuonCalib::RtChebyshev::tLower
virtual double tLower() const override final
< get the lower drift-time bound
Definition: RtChebyshev.cxx:72