#include <Utility.h>
Classes | |
class | Params |
Public Member Functions | |
void | add (const float &value_x, const float &value_y) |
void | add (const float &value_x, const float &value_y, const float &error_y) |
void | fit (Params &fit_params) |
LinearFit () | |
~LinearFit () | |
Private Attributes | |
std::vector< float > | e_ |
float | ss_ |
float | sx_ |
float | sy_ |
std::vector< float > | x_ |
std::vector< float > | y_ |
LinearFit::LinearFit | ( | ) |
Definition at line 6 of file Utility.cc.
void LinearFit::add | ( | const float & | value_x, |
const float & | value_y | ||
) |
Definition at line 17 of file Utility.cc.
References alignCSCRings::e, and mathSSE::sqrt().
Referenced by OptoScanAlgorithm::analyse(), and counter.Counter::register().
void LinearFit::add | ( | const float & | value_x, |
const float & | value_y, | ||
const float & | error_y | ||
) |
Definition at line 31 of file Utility.cc.
References mathSSE::sqrt().
Referenced by counter.Counter::register().
void LinearFit::fit | ( | Params & | fit_params | ) |
Definition at line 47 of file Utility.cc.
References sistrip::LinearFit::Params::a_, b, sistrip::LinearFit::Params::b_, sistrip::LinearFit::Params::erra_, sistrip::LinearFit::Params::errb_, i, sistrip::LinearFit::Params::n_, indexGen::s2, mathSSE::sqrt(), and lumiQTWidget::t.
Referenced by OptoScanAlgorithm::analyse(), and trackingPlots.Iteration::modules().