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);
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);
Timeframe settings Average distance in cm of events merged into Randomize distance around average distance of merged events Simulate correct bunch interactions instead of placing only the average number of events A value[n] sets TFlen for[n] collisions in Number of bunches per trainsort Number of bunch trains Instantaneous interaction rate Do not simulate border Total number of collisions to be placed in the interior of all time Do not select random but walk over array of events in stride steps h Event generator settings h configStandalone Use CPU for GPU Force usage of the specified GPU device no CPU fallback Continue processing after an error s
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