#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 MillePedeFileConverter_cfg::e, e_, mathSSE::sqrt(), ss_, sx_, sy_, x_, and y_.
Referenced by OptoScanAlgorithm::analyse(), counter.Counter::register(), SequenceTypes.Task::remove(), SequenceTypes.Task::replace(), sistrip::LinearFit::Params::~Params(), and sistrip::MeanAndStdDev::Params::~Params().
void LinearFit::add | ( | const float & | value_x, |
const float & | value_y, | ||
const float & | error_y | ||
) |
Definition at line 23 of file Utility.cc.
References e_, mathSSE::sqrt(), ss_, sx_, sy_, x_, and y_.
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_, e_, sistrip::LinearFit::Params::erra_, sistrip::LinearFit::Params::errb_, mps_fire::i, sistrip::LinearFit::Params::n_, indexGen::s2, mathSSE::sqrt(), ss_, sx_, sy_, OrderedSet::t, x_, and y_.
Referenced by OptoScanAlgorithm::analyse(), trackingPlots.Iteration::modules(), sistrip::LinearFit::Params::~Params(), and sistrip::MeanAndStdDev::Params::~Params().
|
private |
|
private |
|
private |
|
private |
|
private |