#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[5][5], double yy[5][5]) |
void | set_params (int, int, int, int, int, double, double, int, int) |
TSFit (int size=14, int size_sh=650) | |
virtual | ~TSFit () |
Public Attributes | |
int | plshdim |
int | sdim |
Private Attributes | |
double | acc [14] |
double | adcp [14] |
double | adfmx [14] |
double | al [5][5] |
double | alpha_th |
double | avtm |
double | be [5][5] |
double | beta_th |
double | corel [14] |
double | cov [5][5] |
double | der [14][5] |
double | errmat [14][14] |
double | f [14] |
double | ff [14][4] |
int | iinf |
double | invcov [5][5] |
int | isup |
double | maskp3 [14] |
int | n_presamples |
int | n_samples_aft_max |
int | n_samples_bef_max |
double | nbcor [14] |
int | nbr_iter_fit |
int | nbs |
int | nmxu_sto |
double | norme |
double | parfp3 [10] |
int | sample_flag [14] |
double | t [14] |
double | xki2_max |
double | z [14] |
TSFit::TSFit | ( | int | size = 14 , |
int | size_sh = 650 |
||
) |
double TSFit::fit_third_degree_polynomial | ( | double * | bdc, |
double * | ret_dat | ||
) |
Definition at line 256 of file TSFit.cc.
References adfmx, errmat, fpol3dg(), i, iinf, isup, roll_playback::k, maskp3, nbs, norme, parfp3, sample_flag, tmp, value::val2, value::val3, and xki2_max.
double TSFit::fpol3dg | ( | int | nmxul, |
double * | parom, | ||
double * | mask, | ||
double * | adc | ||
) |
Definition at line 103 of file TSFit.cc.
References cov, delta, errmat, ff, h, i, invcov, inverms(), roll_playback::k, prof2calltree::l, alignCSCRings::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[5][5], | ||
double | yy[5][5] | ||
) |
Definition at line 188 of file TSFit.cc.
References al, be, g, i, j, findQualityFiles::jj, roll_playback::k, n, alignCSCRings::r, alignCSCRings::s, and mathSSE::sqrt().
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 41 of file TSFit.cc.
References alpha_th, avtm, beta_th, iinf, isup, roll_playback::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().
|
private |
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 Vispa.Views.RootCanvasView.RootCanvasView::createGraph(), and 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().