/home/bes3soft/bes3soft/Boss/7.0.2/dist/7.0.2/Tof/tofcalgsec/tofcalgsec-00-02-21/src/calib_endcap_atten.cxx File Reference

#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)


Function Documentation

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 }


Generated on Tue Nov 29 23:17:16 2016 for BOSS_7.0.2 by  doxygen 1.4.7