solves at best the matrix invertion for calibration More...
#include <BlockSolver.h>
Public Member Functions | |
int | operator() (const CLHEP::HepMatrix &matrix, const CLHEP::HepVector &vector, CLHEP::HepVector &result) |
Private Member Functions | |
void | pour (CLHEP::HepVector &result, const CLHEP::HepVector &output, const std::vector< int > &where) |
pour results in bigger vector More... | |
void | shrink (const CLHEP::HepMatrix &matrix, CLHEP::HepMatrix &solution, const CLHEP::HepVector &result, CLHEP::HepVector &input, const std::vector< int > &where) |
eliminate empty columns and rows More... | |
solves at best the matrix invertion for calibration
Definition at line 21 of file BlockSolver.h.
int BlockSolver::operator() | ( | const CLHEP::HepMatrix & | matrix, |
const CLHEP::HepVector & | vector, | ||
CLHEP::HepVector & | result | ||
) |
Definition at line 7 of file BlockSolver.cc.
References cuy::col, mps_fire::i, input, convertSQLitetoXML_cfg::output, pour(), shrink(), and electronIdCutBased_cfi::threshold.
|
private |
pour results in bigger vector
Definition at line 88 of file BlockSolver.cc.
References reco::return().
Referenced by operator()().
|
private |
eliminate empty columns and rows
Definition at line 46 of file BlockSolver.cc.
References cuy::col, and reco::return().
Referenced by operator()().