#include "tofcalgsec/calib_endcap_atten.h"
#include "TF1.h"
Go to the source code of this file.
Functions | |
static double | endcapQFunc (double *x, double *par) |
static double endcapQFunc | ( | double * | x, | |
double * | par | |||
) | [static] |
Definition at line 5 of file calib_endcap_atten.cxx.
Referenced by calib_endcap_atten::fitGraph(), and calib_endcap_atten::updateData().
00005 { 00006 double xx = x[0]; 00007 double f = par[0] + par[1]*(xx-44.5) + par[2]*(xx-44.5)*(xx-44.5); 00008 00009 return f; 00010 }