#include <DTLinearFit.h>
Public Member Functions | |
DTLinearFit () | |
Constructor. More... | |
void | fit (const std::vector< float > &x, const std::vector< float > &y, int ndat, const std::vector< float > &sigy, float &slope, float &intercept, double &chi2, float &covss, float &covii, float &covsi) const |
void | fit3par (const std::vector< float > &xfit, const std::vector< float > &yfit, const std::vector< int > &lfit, const int nptfit, const std::vector< float > &sigy, float &aminf, float &bminf, float &cminf, double &chi2fit, const bool debug) const |
void | fit4Var (const std::vector< float > &xfit, const std::vector< float > &yfit, const std::vector< int > &lfit, const std::vector< double > &tfit, const int nptfit, float &aminf, float &bminf, float &cminf, float &vminf, double &chi2fit, const bool vdrift_4parfit, const bool debug) const |
void | fitNpar (const int npar, const std::vector< float > &xfit, const std::vector< float > &yfit, const std::vector< int > &lfit, const std::vector< double > &tfit, const std::vector< float > &sigy, float &aminf, float &bminf, float &cminf, float &vminf, double &chi2fit, const bool debug) const |
~DTLinearFit () | |
Destructor. More... | |
DTLinearFit::DTLinearFit | ( | ) |
DTLinearFit::~DTLinearFit | ( | ) |
void DTLinearFit::fit | ( | const std::vector< float > & | x, |
const std::vector< float > & | y, | ||
int | ndat, | ||
const std::vector< float > & | sigy, | ||
float & | slope, | ||
float & | intercept, | ||
double & | chi2, | ||
float & | covss, | ||
float & | covii, | ||
float & | covsi | ||
) | const |
Definition at line 27 of file DTLinearFit.cc.
Referenced by DTSegmentUpdator::fit().
void DTLinearFit::fit3par | ( | const std::vector< float > & | xfit, |
const std::vector< float > & | yfit, | ||
const std::vector< int > & | lfit, | ||
const int | nptfit, | ||
const std::vector< float > & | sigy, | ||
float & | aminf, | ||
float & | bminf, | ||
float & | cminf, | ||
double & | chi2fit, | ||
const bool | debug = 0 |
||
) | const |
Definition at line 220 of file DTLinearFit.cc.
References debug.
void DTLinearFit::fit4Var | ( | const std::vector< float > & | xfit, |
const std::vector< float > & | yfit, | ||
const std::vector< int > & | lfit, | ||
const std::vector< double > & | tfit, | ||
const int | nptfit, | ||
float & | aminf, | ||
float & | bminf, | ||
float & | cminf, | ||
float & | vminf, | ||
double & | chi2fit, | ||
const bool | vdrift_4parfit = 0 , |
||
const bool | debug = 0 |
||
) | const |
Definition at line 238 of file DTLinearFit.cc.
References a, b, gather_cfg::cout, debug, and j.
Referenced by DTSegmentUpdator::calculateT0corr().
void DTLinearFit::fitNpar | ( | const int | npar, |
const std::vector< float > & | xfit, | ||
const std::vector< float > & | yfit, | ||
const std::vector< int > & | lfit, | ||
const std::vector< double > & | tfit, | ||
const std::vector< float > & | sigy, | ||
float & | aminf, | ||
float & | bminf, | ||
float & | cminf, | ||
float & | vminf, | ||
double & | chi2fit, | ||
const bool | debug = 0 |
||
) | const |
Definition at line 70 of file DTLinearFit.cc.
References alignmentValidation::c1, and j.
Referenced by DTSegmentUpdator::fit().