#include <TSFit.h>
Public Member Functions | |
double | fit_third_degree_polynomial (double *, double *) |
double | fpol3dg (int, double *, double *, double *) |
void | init_errmat (double) |
double | inverms (int, double xx[matdim][matdim], double yy[matdim][matdim]) |
void | set_params (int, int, int, int, int, double, double, int, int) |
TSFit (int size=SDIM, int size_sh=PLSHDIM) | |
virtual | ~TSFit () |
Public Attributes | |
int | plshdim |
int | sdim |
Private Attributes | |
double | acc [SDIM] |
double | adcp [SDIM] |
double | adfmx [SDIM] |
double | al [matdim][matdim] |
double | alpha_th |
double | avtm |
double | be [matdim][matdim] |
double | beta_th |
double | corel [SDIM] |
double | cov [matdim][matdim] |
double | der [SDIM][5] |
double | errmat [SDIM][SDIM] |
double | f [SDIM] |
double | ff [SDIM][4] |
int | iinf |
double | invcov [matdim][matdim] |
int | isup |
double | maskp3 [SDIM] |
int | n_presamples |
int | n_samples_aft_max |
int | n_samples_bef_max |
double | nbcor [SDIM] |
int | nbr_iter_fit |
int | nbs |
int | nmxu_sto |
double | norme |
double | parfp3 [dimoutpar] |
int | sample_flag [SDIM] |
double | t [SDIM] |
double | xki2_max |
double | z [SDIM] |
double TSFit::fit_third_degree_polynomial | ( | double * | bdc, |
double * | ret_dat | ||
) |
Definition at line 258 of file TSFit.cc.
References adfmx, errmat, fpol3dg(), i, iinf, isup, gen::k, maskp3, nbs, norme, parfp3, sample_flag, tmp, and xki2_max.
double TSFit::fpol3dg | ( | int | nmxul, |
double * | parom, | ||
double * | mask, | ||
double * | adc | ||
) |
Definition at line 104 of file TSFit.cc.
References cov, delta, errmat, ff, h, i, invcov, inverms(), gen::k, prof2calltree::l, asciidump::s, mathSSE::sqrt(), t, and tmp.
Referenced by fit_third_degree_polynomial().
void TSFit::init_errmat | ( | double | noise_initialvalue | ) |
double TSFit::inverms | ( | int | n, |
double | xx[matdim][matdim], | ||
double | yy[matdim][matdim] | ||
) |
Definition at line 190 of file TSFit.cc.
References al, be, g, i, j, gen::k, n, csvReporter::r, asciidump::s, mathSSE::sqrt(), and zero.
Referenced by fpol3dg().
void TSFit::set_params | ( | int | n_samples, |
int | niter, | ||
int | n_presmpl, | ||
int | sample_min, | ||
int | sample_max, | ||
double | time_of_max, | ||
double | chi2_max, | ||
int | nsbm, | ||
int | nsam | ||
) |
Definition at line 42 of file TSFit.cc.
References alpha_th, avtm, beta_th, iinf, isup, gen::k, n_presamples, n_samples_aft_max, n_samples_bef_max, nbr_iter_fit, nbs, norme, sample_flag, and xki2_max.
|
private |
Definition at line 56 of file TSFit.h.
Referenced by fit_third_degree_polynomial().
|
private |
Definition at line 35 of file TSFit.h.
Referenced by set_params().
|
private |
Definition at line 26 of file TSFit.h.
Referenced by set_params().
|
private |
Definition at line 35 of file TSFit.h.
Referenced by set_params().
Definition at line 50 of file TSFit.h.
Referenced by fit_third_degree_polynomial(), fpol3dg(), and init_errmat().
|
private |
Definition at line 54 of file TSFit.h.
Referenced by python.Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), and python.Vispa.Views.RootCanvasView.RootCanvasView::createLegoPlot().
|
private |
Definition at line 25 of file TSFit.h.
Referenced by fit_third_degree_polynomial(), and set_params().
|
private |
Definition at line 25 of file TSFit.h.
Referenced by fit_third_degree_polynomial(), and set_params().
|
private |
Definition at line 58 of file TSFit.h.
Referenced by fit_third_degree_polynomial().
|
private |
Definition at line 24 of file TSFit.h.
Referenced by set_params().
|
private |
Definition at line 28 of file TSFit.h.
Referenced by set_params().
|
private |
Definition at line 27 of file TSFit.h.
Referenced by set_params().
|
private |
Definition at line 36 of file TSFit.h.
Referenced by set_params().
|
private |
Definition at line 23 of file TSFit.h.
Referenced by fit_third_degree_polynomial(), and set_params().
|
private |
Definition at line 32 of file TSFit.h.
Referenced by fit_third_degree_polynomial(), and set_params().
|
private |
Definition at line 42 of file TSFit.h.
Referenced by fit_third_degree_polynomial().
|
private |
Definition at line 51 of file TSFit.h.
Referenced by fit_third_degree_polynomial(), and set_params().
int TSFit::sdim |
Definition at line 67 of file TSFit.h.
Referenced by init_errmat(), and TSFit().
|
private |
Definition at line 32 of file TSFit.h.
Referenced by fit_third_degree_polynomial(), and set_params().
|
private |
Definition at line 53 of file TSFit.h.
Referenced by geometryXMLparser.Alignable::pos().