ATLAS Offline Software
Namespaces | Macros | Functions
LegendrePoly.h File Reference
#include <cmath>
Include dependency graph for LegendrePoly.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

 MuonCalib
 CscCalcPed - algorithm that finds the Cathode Strip Chamber pedestals from an RDO.
 
 MuonCalib::Legendre
 

Macros

#define POLYSWITCH(order, x)
 
#define DERIVPOLYSWITICH(l, d, x)
 
#define DERIVORDERSWITCH(l, d, x)
 

Functions

constexpr unsigned long MuonCalib::factorial (int n)
 Evaluated the n-th factorial at compile time. More...
 
constexpr unsigned long MuonCalib::binomial (unsigned int n, unsigned k)
 Calculates the binomial coefficient at compile time. More...
 
constexpr double MuonCalib::Legendre::coeff (unsigned int l, unsigned int k)
 Calculates the n-th coefficient of the legendre polynomial series. More...
 
template<unsigned int l, unsigned int k>
constexpr double MuonCalib::Legendre::polySum (const double x)
 Assembles the sum of the legendre monomials. More...
 
template<unsigned int l, unsigned int k, unsigned int d>
constexpr double MuonCalib::Legendre::derivativeSum (const double x)
 Assembles the n-th derivative of the legendre polynomial. More...
 
template<unsigned int l>
constexpr double MuonCalib::Legendre::poly (const double x)
 
template<unsigned int l, unsigned d>
constexpr double MuonCalib::Legendre::derivative (const double x)
 
constexpr double MuonCalib::legendrePoly (const unsigned int l, const double x)
 
constexpr double MuonCalib::legendreDeriv (const unsigned int l, const double x, const unsigned int derivOrder)
 

Macro Definition Documentation

◆ DERIVORDERSWITCH

#define DERIVORDERSWITCH (   l,
  d,
  x 
)
Value:
case d: { \
switch (l) { \
DERIVPOLYSWITICH(0, d, x) \
DERIVPOLYSWITICH(1, d, x) \
DERIVPOLYSWITICH(2, d, x) \
DERIVPOLYSWITICH(3, d, x) \
DERIVPOLYSWITICH(4, d, x) \
DERIVPOLYSWITICH(5, d, x) \
DERIVPOLYSWITICH(6, d, x) \
DERIVPOLYSWITICH(7, d, x) \
DERIVPOLYSWITICH(8, d, x) \
DERIVPOLYSWITICH(9, d, x) \
DERIVPOLYSWITICH(10, d, x) \
DERIVPOLYSWITICH(11, d, x) \
DERIVPOLYSWITICH(12, d, x) \
DERIVPOLYSWITICH(13, d, x) \
DERIVPOLYSWITICH(14, d, x) \
DERIVPOLYSWITICH(15, d, x) \
DERIVPOLYSWITICH(16, d, x) \
default: \
break; \
} \
break; \
}

Definition at line 25 of file LegendrePoly.h.

◆ DERIVPOLYSWITICH

#define DERIVPOLYSWITICH (   l,
  d,
  x 
)
Value:
case l: { \
return Legendre::derivative<l,d>(x); \
break; \
} \

Definition at line 18 of file LegendrePoly.h.

◆ POLYSWITCH

#define POLYSWITCH (   order,
  x 
)
Value:
case order: { \
return Legendre::poly<order>(x); \
break; \
}

Definition at line 13 of file LegendrePoly.h.

hist_file_dump.d
d
Definition: hist_file_dump.py:137
UploadAMITag.l
list l
Definition: UploadAMITag.larcaf.py:158
x
#define x
mc.order
order
Configure Herwig7.
Definition: mc.Herwig7_Dijet.py:12