#include <TPNFit.h>
Public Member Functions | |
double | doFit (int, double *) |
double | getAmpl () |
double | getTimax () |
void | init (int, int, int) |
TPNFit () | |
virtual | ~TPNFit () |
Private Attributes | |
double | ampl |
int | firstsample |
int | fNsamples |
int | fNum_samp_after_max |
int | fNum_samp_bef_max |
double | fv1 [50] |
double | fv2 [50] |
double | fv3 [50] |
int | lastsample |
double | t [50] |
double | timeatmax |
double | val [50] |
TPNFit::TPNFit | ( | ) |
Definition at line 16 of file TPNFit.cc.
References fNsamples, fNum_samp_after_max, and fNum_samp_bef_max.
double TPNFit::doFit | ( | int | maxsample, |
double * | adc | ||
) |
Definition at line 45 of file TPNFit.cc.
References a, ampl, b, EnergyCorrector::c, python.connectstrParser::f1, python.connectstrParser::f2, python.connectstrParser::f3, firstsample, fNsamples, fNum_samp_after_max, fNum_samp_bef_max, fv1, fv2, fv3, i, lastsample, timeatmax, val, and detailsBasic3DVector::y.
void TPNFit::init | ( | int | nsamples, |
int | firstsample, | ||
int | lastsample | ||
) |
Definition at line 29 of file TPNFit.cc.
References firstsample, fNsamples, fNum_samp_after_max, fNum_samp_bef_max, relval_steps::k, lastsample, NMAXSAMP2, mathSSE::return(), and t.
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
|
private |
Definition at line 21 of file TPNFit.h.
Referenced by doFit(), and getTimax().
|
private |
Definition at line 18 of file TPNFit.h.
Referenced by value.Value::__iadd__(), value.Value::__idiv__(), value.Value::__isub__(), value.Value::__str__(), doFit(), and value.Value::relerr().