ATLAS Offline Software
RtResolutionChebyshev.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 RtResolutionChebyshevH
5 #define RtResolutionChebyshevH
6 
7 // standard C++ //
8 #include <cstdlib>
9 #include <iostream>
10 
11 // STL //
12 #include <vector>
13 
14 // MDT calibration //
16 
17 namespace MuonCalib {
35  public:
36  // Constructors
46  explicit RtResolutionChebyshev(const ParVec& vec);
47 
48  // Methods //
49  // methods required by the base classes //
50  std::string name() const;
51 
55  double resolution(double t, double bgRate = 0.0) const;
56 
57  // get-methods specific to the RtResolutionChebyshev class //
58 
60  double tLower() const;
61 
63  double tUpper() const;
64 
66  unsigned int numberOfResParameters() const;
67 
69  std::vector<double> resParameters() const;
70 
72  double get_reduced_time(const double t) const;
73  };
74 } // namespace MuonCalib
75 
76 #endif
MuonCalib::RtResolutionChebyshev::resParameters
std::vector< double > resParameters() const
get the reduced time which is the argument of the Chebyshev polynomial
Definition: RtResolutionChebyshev.cxx:52
MuonCalib::RtResolutionChebyshev::name
std::string name() const
get the class name
Definition: RtResolutionChebyshev.cxx:20
MuonCalib::RtResolutionChebyshev::RtResolutionChebyshev
RtResolutionChebyshev(const ParVec &vec)
initialization constructor,
Definition: RtResolutionChebyshev.cxx:10
MuonCalib::RtResolutionChebyshev::resolution
double resolution(double t, double bgRate=0.0) const
returns resolution for a give time and background rate
Definition: RtResolutionChebyshev.cxx:21
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonCalib::RtResolutionChebyshev::tUpper
double tUpper() const
get the number of parameters used to describe the resolution
Definition: RtResolutionChebyshev.cxx:50
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::RtResolutionChebyshev::tLower
double tLower() const
< get the lower drift-time bound
Definition: RtResolutionChebyshev.cxx:49
IRtResolution.h
MuonCalib::RtResolutionChebyshev
Definition: RtResolutionChebyshev.h:34
MuonCalib::IRtResolution
generic interface for a resolution function
Definition: IRtResolution.h:13
MuonCalib::RtResolutionChebyshev::numberOfResParameters
unsigned int numberOfResParameters() const
get the coefficients of the r(t) polynomial
Definition: RtResolutionChebyshev.cxx:51
MuonCalib::RtResolutionChebyshev::get_reduced_time
double get_reduced_time(const double t) const
Definition: RtResolutionChebyshev.cxx:58