hpstr
The Heavy Photon Search Toolkit for Reconstruction (hpstr) provides an interface to physics data from the HPS experiment saved in the LCIO format and converts it into an ROOT based format.
Loading...
Searching...
No Matches
analysis
src
ChebyshevFitFunction.cxx
Go to the documentation of this file.
1
#include "
ChebyshevFitFunction.h
"
2
#include "
FunctionMath.h
"
3
4
double
ChebyshevFitFunction::calculateBackground
(
double
*x,
double
*par) {
5
double
xp =
FitFunction::getCorrectedX
(x[0]);
6
return
FunctionMath::ChebyshevFunction
(xp, par,
order
);
7
}
ChebyshevFitFunction.h
FunctionMath.h
ChebyshevFitFunction::calculateBackground
double calculateBackground(double *x, double *par)
calculate background
Definition
ChebyshevFitFunction.cxx:4
FitFunction::getCorrectedX
double getCorrectedX(double x)
Gets a value of x corrected for window size and the mass hypothesis.
Definition
FitFunction.h:161
FitFunction::order
int order
Definition
FitFunction.h:111
FunctionMath::ChebyshevFunction
static double ChebyshevFunction(double x, double *p, int order)
Defines a Chebyshev polynomial function.
Definition
FunctionMath.cxx:4
Generated by
1.9.8