ATLAS Offline Software
Loading...
Searching...
No Matches
RtLegendre.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_RTLEGENDRE_H
5#define MUONCALIB_RTLEGENDRE_H
6
7#include <cstdlib>
8#include <iostream>
9#include <vector>
10#include <span>
11
12// MDT calibration //
14
15namespace MuonCalib {
29 class RtLegendre : public IRtRelation {
30
31 public:
32 // Constructors
42
43 explicit RtLegendre(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 RtLegendre class //
58 virtual double tLower() const override final;
60 virtual double tUpper() const override final;
61
62 virtual double tBinWidth() const override final;
64 unsigned int numberOfRtParameters() const;
65
67 std::vector<double> rtParameters() const;
68
69 virtual unsigned nDoF() const override final;
70
71 };
72} // namespace MuonCalib
73
74#endif
std::vector< size_t > vec
std::vector< double > ParVec
Definition CalibFunc.h:35
generic interface for a rt-relation
Definition IRtRelation.h:19
std::vector< double > rtParameters() const
virtual double driftVelocity(double t) const override final
get the drift acceleration
RtLegendre(const ParVec &vec)
initialization constructor,
Definition RtLegendre.cxx:9
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 unsigned nDoF() const override final
Returns the number of degrees of freedom of the relation function.
virtual double tUpper() const override final
Returns the upper time covered by the r-t.
virtual std::string name() const override final
get the class name
unsigned int numberOfRtParameters() const
get the coefficients of the r(t) polynomial
virtual double driftAcceleration(double t) const override final
Returns the acceleration of the r-t relation.
virtual double tBinWidth() const override final
get the number of parameters used to describe the r(t) relationship
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.