Loading [MathJax]/extensions/tex2jax.js
ATLAS Offline Software
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages
RadiusResolutionChebyshev.h
Go to the documentation of this file.
1 /*
2  Copyright (C) 2002-2025 CERN for the benefit of the ATLAS collaboration
3 */
4 #ifndef MdtCalibData_RadiusResoChebyshev_H
5 #define MdtCalibData_RadiusResoChebyshev_H
6 
7 // standard C++ //
8 #include <cstdlib>
9 #include <iostream>
10 
11 // STL //
12 #include <vector>
13 
14 // MDT calibration //
17 
18 namespace MuonCalib {
25  public:
26  // Constructors
36  RadiusResolutionChebyshev(const ParVec& vec, const IRtRelationPtr& rtRel);
39  // Methods //
40  // methods required by the base classes //
41  virtual std::string name() const override final;
42 
46  virtual double resolution(double t, double bgRate = 0.0) const override final;
47 
49  virtual unsigned int nDoF() const override final;
50 
52  std::vector<double> resParameters() const;
53  private:
55  double m_r_max{m_rtRel->radius(m_rtRel->tUpper())};
56  double m_r_min{m_rtRel->radius(m_rtRel->tLower())};
57 
58  };
59 } // namespace MuonCalib
60 
61 #endif
GeoModel::TransientConstSharedPtr< IRtRelation >
MuonCalib::RadiusResolutionChebyshev
RadiusResolutionChebyshev parametrizes the uncertainty on the drift-radius as a function of the drift...
Definition: RadiusResolutionChebyshev.h:24
MuonCalib::RadiusResolutionChebyshev::resolution
virtual double resolution(double t, double bgRate=0.0) const override final
get the number of parameters used to describe the resolution
Definition: RadiusResolutionChebyshev.cxx:15
MuonCalib::RadiusResolutionChebyshev::m_r_max
double m_r_max
Definition: RadiusResolutionChebyshev.h:55
MuonCalib::RadiusResolutionChebyshev::name
virtual std::string name() const override final
Initialization from a
Definition: RadiusResolutionChebyshev.cxx:12
MuonCalib::RadiusResolutionChebyshev::resParameters
std::vector< double > resParameters() const
Definition: RadiusResolutionChebyshev.cxx:27
MuonCalib::RadiusResolutionChebyshev::m_r_min
double m_r_min
Definition: RadiusResolutionChebyshev.h:56
MuonCalib::RadiusResolutionChebyshev::nDoF
virtual unsigned int nDoF() const override final
get the coefficients of the r(t) polynomial
Definition: RadiusResolutionChebyshev.cxx:24
vec
std::vector< size_t > vec
Definition: CombinationsGeneratorTest.cxx:9
read_hist_ntuple.t
t
Definition: read_hist_ntuple.py:5
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
IRtResolution.h
MuonCalib::RadiusResolutionChebyshev::m_rtRel
IRtRelationPtr m_rtRel
Definition: RadiusResolutionChebyshev.h:54
MuonCalib::RadiusResolutionChebyshev::RadiusResolutionChebyshev
RadiusResolutionChebyshev(const ParVec &vec, const IRtRelationPtr &rtRel)
initialization constructor,
Definition: RadiusResolutionChebyshev.cxx:9
MuonCalib::IRtResolution
Generic interface to retrieve the resolution on the drift radius as a function of the drift time.
Definition: IRtResolution.h:20
IRtRelation.h