#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 10 of file Utility.cc.
References alignCSCRings::e, and mathSSE::sqrt().
Referenced by OptoScanAlgorithm::analyse(), counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
void LinearFit::add | ( | const float & | value_x, |
const float & | value_y, | ||
const float & | error_y | ||
) |
Definition at line 23 of file Utility.cc.
References mathSSE::sqrt().
Referenced by counter.Counter::register(), SequenceTypes.Task::remove(), and SequenceTypes.Task::replace().
void LinearFit::fit | ( | Params & | fit_params | ) |
Definition at line 37 of file Utility.cc.
References sistrip::LinearFit::Params::a_, b, sistrip::LinearFit::Params::b_, sistrip::LinearFit::Params::erra_, sistrip::LinearFit::Params::errb_, mps_fire::i, sistrip::LinearFit::Params::n_, mathSSE::sqrt(), and submitPVValidationJobs::t.
Referenced by OptoScanAlgorithm::analyse(), and trackingPlots.Iteration::modules().