Project
Loading...
Searching...
No Matches
mathiesonFit.cxx File Reference
#include <cstdio>
#include <gsl/gsl_multifit_nlin.h>
#include <gsl/gsl_version.h>
#include "MCHClustering/PadsPEM.h"
#include "mathUtil.h"
#include "mathieson.h"
#include "mathiesonFit.h"

Go to the source code of this file.

Namespaces

namespace  o2
 a couple of static helper functions to create timestamp values for CCDB queries or override obsolete objects
 
namespace  o2::mch
 

Functions

double chargeNormalization (const Mask_t *cath, const Mask_t *notSaturated, const double *cathMaxObs, int N, double *z, double *coefNorm)
 
int f_ChargeIntegral (const gsl_vector *gslParams, void *dataFit, gsl_vector *residuals)
 
void o2::mch::printState (int iter, gsl_multifit_fdfsolver *s, int axe, int K, int N)
 
void o2::mch::fitMathieson (const Pads &iPads, double *thetaInit, int kInit, int dimOfParameters, int axe, int mode, double *thetaFinal, double *khi2, double *pError)
 
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)
 

Function Documentation

◆ chargeNormalization()

double chargeNormalization ( const Mask_t cath,
const Mask_t notSaturated,
const double *  cathMaxObs,
int  N,
double *  z,
double *  coefNorm 
)

Definition at line 32 of file mathiesonFit.cxx.

◆ f_ChargeIntegral()

int f_ChargeIntegral ( const gsl_vector *  gslParams,
void dataFit,
gsl_vector *  residuals 
)

Definition at line 73 of file mathiesonFit.cxx.

◆ fitMathieson()

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 
)

Definition at line 1322 of file mathiesonFit.cxx.