LArSoft
v09_90_00
Liquid Argon Software toolkit - https://larsoft.org/
|
#include "GaussianEliminationAlg.h"
Public Member Functions | |
GaussianEliminationAlg (float, float) | |
double | GetDistance (float) const |
const std::vector< float > & | SolveEquations (const std::vector< float > &meanVector, const std::vector< float > &sigmaVector, const std::vector< float > &heightVector) |
void | FillAugmentedMatrix (const std::vector< float > &meanVector, const std::vector< float > &sigmaVector, const std::vector< float > &heightVector) |
void | GaussianElimination () |
const std::vector< float > & | GetSolutions () |
void | Print () |
Private Member Functions | |
void | FillDistanceLookupTable () |
Private Attributes | |
float | fDistanceStepSize |
float | fDistanceMax |
std::vector< double > | fDistanceLookupTable |
std::vector< std::vector< double > > | fMatrix |
std::vector< float > | fSolutions |
Definition at line 20 of file GaussianEliminationAlg.h.
util::GaussianEliminationAlg::GaussianEliminationAlg | ( | float | step, |
float | max | ||
) |
Title: GaussianEliminationAlg Class Author: Wes Ketchum (wketc) hum@ lanl. gov
Description: Class that solves system of linear equations via Gaussian Elimination. Intended for use with RFFHitFitter
Definition at line 17 of file GaussianEliminationAlg.cxx.
References fDistanceMax, fDistanceStepSize, and FillDistanceLookupTable().
void util::GaussianEliminationAlg::FillAugmentedMatrix | ( | const std::vector< float > & | meanVector, |
const std::vector< float > & | sigmaVector, | ||
const std::vector< float > & | heightVector | ||
) |
Definition at line 71 of file GaussianEliminationAlg.cxx.
References fMatrix, and GetDistance().
Referenced by SolveEquations().
|
private |
Definition at line 29 of file GaussianEliminationAlg.cxx.
References fDistanceLookupTable, fDistanceMax, and fDistanceStepSize.
Referenced by GaussianEliminationAlg().
void util::GaussianEliminationAlg::GaussianElimination | ( | ) |
Definition at line 94 of file GaussianEliminationAlg.cxx.
References fMatrix, and fSolutions.
Referenced by SolveEquations().
double util::GaussianEliminationAlg::GetDistance | ( | float | d | ) | const |
Definition at line 45 of file GaussianEliminationAlg.cxx.
References util::abs(), fDistanceLookupTable, fDistanceMax, and fDistanceStepSize.
Referenced by FillAugmentedMatrix().
|
inline |
Definition at line 34 of file GaussianEliminationAlg.h.
References fSolutions, and Print().
void util::GaussianEliminationAlg::Print | ( | ) |
Definition at line 119 of file GaussianEliminationAlg.cxx.
References fDistanceLookupTable, fDistanceMax, fDistanceStepSize, fMatrix, and fSolutions.
Referenced by GetSolutions().
const std::vector< float > & util::GaussianEliminationAlg::SolveEquations | ( | const std::vector< float > & | meanVector, |
const std::vector< float > & | sigmaVector, | ||
const std::vector< float > & | heightVector | ||
) |
Definition at line 56 of file GaussianEliminationAlg.cxx.
References FillAugmentedMatrix(), fSolutions, and GaussianElimination().
Referenced by hit::RFFHitFitter::CalculateAmplitudes().
|
private |
Definition at line 40 of file GaussianEliminationAlg.h.
Referenced by FillDistanceLookupTable(), GetDistance(), and Print().
|
private |
Definition at line 39 of file GaussianEliminationAlg.h.
Referenced by FillDistanceLookupTable(), GaussianEliminationAlg(), GetDistance(), and Print().
|
private |
Definition at line 38 of file GaussianEliminationAlg.h.
Referenced by FillDistanceLookupTable(), GaussianEliminationAlg(), GetDistance(), and Print().
|
private |
Definition at line 44 of file GaussianEliminationAlg.h.
Referenced by FillAugmentedMatrix(), GaussianElimination(), and Print().
|
private |
Definition at line 45 of file GaussianEliminationAlg.h.
Referenced by GaussianElimination(), GetSolutions(), Print(), and SolveEquations().