#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 24 of file DTLinearFit.cc.
References hltPixelTracks_cff::chi2, dumpMFGeometry_cfg::delta, PVValHelper::dy, mps_fire::i, dqmiolumiharvest::j, slope, fftjetcommon_cfi::sx, fftjetcommon_cfi::sy, and x.
Referenced by trackingPlots.Iteration::modules().
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 = false |
||
) | const |
Definition at line 233 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 = false , |
||
const bool | debug = false |
||
) | const |
Definition at line 249 of file DTLinearFit.cc.
References a, b, gather_cfg::cout, debug, L1TowerCalibrationProducer_cfi::fit, and dqmiolumiharvest::j.
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 = false |
||
) | const |
Definition at line 65 of file DTLinearFit.cc.
References testProducerWithPsetDescEmpty_cfi::a2, b1, b2, testProducerWithPsetDescEmpty_cfi::b3, alignmentValidation::c1, d1, PVValHelper::dy, dqmiolumiharvest::j, margin, fftjetcommon_cfi::sx, and fftjetcommon_cfi::sy.