37 printf(
"number of PN samples exceed maximum\n");
63 if(adc[kn] < 0.) testneg=1;
65 if(testneg == 1)
return 103;
76 TVectorD
f1(nval,
fv1);
78 TVectorD
f2(nval,
fv2);
80 TVectorD
f3(nval,
fv3);
84 bj[0]= f1*
y; bj[1]=f2*
y; bj[2]= f3*
y;
89 aij[0]= f1*
f1; aij[1]=f1*
f2; aij[2]=f1*
f3;
90 aij[3]= f2*
f1; aij[4]=f2*
f2; aij[5]=f2*
f3;
91 aij[6]= f3*
f1; aij[7]=f3*
f2; aij[8]=f3*
f3;
102 double *par= c.GetMatrixArray();
int adc(sample_type sample)
get the ADC sample (12 bits)
return(e1-e2)*(e1-e2)+dp *dp
double doFit(int, double *)