ATLAS Offline Software
RtResolutionChebyshev.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2021 CERN for the benefit of the ATLAS collaboration
3 */
4 
5 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
6 // 05.06.2006, AUTHOR: OLIVER KORTNER
7 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8 
9 #ifndef RtResolutionChebyshevH
10 #define RtResolutionChebyshevH
11 
12 //:::::::::::::::::::::::::::::::::
13 //:: CLASS RtResolutionChebyshev ::
14 //:::::::::::::::::::::::::::::::::
15 
16 //::::::::::::::::::
17 //:: HEADER FILES ::
18 //::::::::::::::::::
19 
20 // standard C++ //
21 #include <cstdlib>
22 #include <iostream>
23 
24 // STL //
25 #include <vector>
26 
27 // MDT calibration //
30 
31 namespace MuonCalib {
51  private:
52  // Chebyshev polyonomials //
54 
55  // private methods //
57  void _init(void);
58 
59  public:
60  // Constructors
71 
72  // Methods //
73  // methods required by the base classes //
74  std::string name(void) const;
75 
79  double resolution(double t, double bgRate = 0.0) const;
80 
81  // get-methods specific to the RtResolutionChebyshev class //
82 
84  double tLower(void) const;
85 
87  double tUpper(void) const;
88 
90  unsigned int numberOfResParameters(void) const;
91 
93  std::vector<double> resParameters(void) const;
94 
96  double get_reduced_time(const double& t) const;
97  };
98 } // namespace MuonCalib
99 
100 #endif
MuonCalib::RtResolutionChebyshev::m_Chebyshev
const Tschebyscheff_polynomial * m_Chebyshev
pointer to the Chebyshev polynomials
Definition: RtResolutionChebyshev.h:53
MuonCalib::RtResolutionChebyshev::resolution
double resolution(double t, double bgRate=0.0) const
returns resolution for a give time and background rate
Definition: RtResolutionChebyshev.cxx:44
MuonCalib::RtResolutionChebyshev::RtResolutionChebyshev
RtResolutionChebyshev(const ParVec &vec)
initialization constructor,
Definition: RtResolutionChebyshev.h:70
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:12
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
MuonCalib::RtResolutionChebyshev::tLower
double tLower(void) const
< get the lower drift-time bound
Definition: RtResolutionChebyshev.cxx:78
MuonCalib::RtResolutionChebyshev::resParameters
std::vector< double > resParameters(void) const
get the reduced time which is the argument of the Chebyshev polynomial
Definition: RtResolutionChebyshev.cxx:99
MuonCalib::CalibFunc::ParVec
std::vector< double > ParVec
Definition: CalibFunc.h:36
MuonCalib::Tschebyscheff_polynomial
Definition: Tschebyscheff_polynomial.h:24
MuonCalib::RtResolutionChebyshev::numberOfResParameters
unsigned int numberOfResParameters(void) const
get the coefficients of the r(t) polynomial
Definition: RtResolutionChebyshev.cxx:92
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
IRtResolution.h
MuonCalib::RtResolutionChebyshev::tUpper
double tUpper(void) const
get the number of parameters used to describe the resolution
Definition: RtResolutionChebyshev.cxx:85
MuonCalib::RtResolutionChebyshev::get_reduced_time
double get_reduced_time(const double &t) const
Definition: RtResolutionChebyshev.cxx:111
MuonCalib::RtResolutionChebyshev
Definition: RtResolutionChebyshev.h:50
MuonCalib::IRtResolution
generic interface for a resolution function
Definition: IRtResolution.h:14
MuonCalib::RtResolutionChebyshev::_init
void _init(void)
initialization method
Definition: RtResolutionChebyshev.cxx:16
MuonCalib::RtResolutionChebyshev::name
std::string name(void) const
get the class name
Definition: RtResolutionChebyshev.cxx:37
Tschebyscheff_polynomial.h