12#ifndef O2_MCH_MATHIESONFIT_H
13#define O2_MCH_MATHIESONFIT_H
15#include <gsl/gsl_blas.h>
16#include <gsl/gsl_multifit_nlin.h>
17#include <gsl/gsl_vector.h>
49void fitMathieson(
const Pads& iPads,
double* thetaInit,
int kInit,
50 int dimOfParameters,
int axe,
int mode,
51 double* thetaFinal,
double* khi2,
double* pError);
53void printState(
int iter, gsl_multifit_fdfsolver* s,
int K);
63 int chamberId,
int jacobian,
double* muAndWf,
double* khi2,
66void fitMathieson(
const double*
x,
const double*
y,
const double* dx,
const double* dy,
const double* q,
68 double* thetaInit,
int kInit,
69 double* thetaFinal,
double* khi2,
double* pError);
72 gsl_vector* residual);
GLdouble GLdouble GLdouble z
int f_ChargeIntegral(const gsl_vector *gslParams, void *data, gsl_vector *residual)
void fitMathieson(const double *x, const double *y, const double *dx, const double *dy, const double *q, const o2::mch::Mask_t *cath, const o2::mch::Mask_t *sat, int chId, int nPads, double *thetaInit, int kInit, double *thetaFinal, double *khi2, double *pError)
void fitMathieson0(double *muAndWi, double *xyAndDxy, double *z, o2::mch::Mask_t *cath, o2::mch::Mask_t *notSaturated, double *zCathTotalCharge, int K, int N, int chamberId, int jacobian, double *muAndWf, double *khi2, double *pError)
struct o2::mch::dataFit funcDescription_t
void printState(int iter, gsl_multifit_fdfsolver *s, int axe, int K, int N)
void fitMathieson(const Pads &iPads, double *thetaInit, int kInit, int dimOfParameters, int axe, int mode, double *thetaFinal, double *khi2, double *pError)
a couple of static helper functions to create timestamp values for CCDB queries or override obsolete ...
double * cathCoefNorm_ptr
double * zCathTotalCharge_ptr
Mask_t * notSaturated_ptr
CompressedPads_t * compressedPads