ATLAS Offline Software
Legendre_polynomial.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 // 22.05.2004, AUTHOR: OLIVER KORTNER
7 //+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
8 
10 // CLASS Legendre_polynomial //
12 
14 // THIS CLASS PROVIDES A LEGENDRE POLYNOMIAL OF ORDER k. //
15 // THIS CLASS IS A MONOTON/SINGLETON OBJECT. //
17 
18 
19 #ifndef Legendre_polynomialHXX
20 #define Legendre_polynomialHXX
21 
23 // HEADER FILES //
25 
26 // CLHEP //
27 //#include "CLHEP/config/CLHEP.h"
28 #include "CLHEP/Units/SystemOfUnits.h"
29 #include "CLHEP/Units/PhysicalConstants.h"
30 
31 // standard C++ libraries //
32 #include <iostream>
33 #include <iomanip>
34 #include <fstream>
35 
36 namespace MuonCalib {
37 
46 
47  private:
48  Legendre_polynomial(void);
49 
50  public:
51  // Methods
53  static const Legendre_polynomial * get_Legendre_polynomial(void);
54 
56  inline double value(const int & order,
57  const double & x) const;
58 
59  };
60 
61 }
62 
64 // INCLUDE THE IMPLEMENTATION OF INLINE METHODS //
66 
67 #include "Legendre_polynomial.ixx"
68 
69 #endif
MuonCalib::Legendre_polynomial::Legendre_polynomial
Legendre_polynomial(void)
constructor
Definition: Legendre_polynomial.cxx:43
MuonCalib::Legendre_polynomial::get_Legendre_polynomial
static const Legendre_polynomial * get_Legendre_polynomial(void)
get a pointer to the Legendre polynomial
Definition: Legendre_polynomial.cxx:31
x
#define x
mc.order
order
Configure Herwig7.
Definition: mc.Herwig7_Dijet.py:12
MuonCalib::Legendre_polynomial::value
double value(const int &order, const double &x) const
get the value of the Legendre polynomial of order m_order at x
MuonCalib
CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
Definition: CscCalcPed.cxx:22
MuonCalib::Legendre_polynomial
Definition: Legendre_polynomial.h:45