CMS 3D CMS Logo

BlockSolver.h
Go to the documentation of this file.
1 #ifndef __CINT__
2 #ifndef BlockSolver_H
3 #define BlockSolver_H
4 
5 #include <map>
6 #include <string>
7 #include <vector>
8 
9 #include "CLHEP/Matrix/GenMatrix.h"
10 #include "CLHEP/Matrix/Matrix.h"
11 #include "CLHEP/Matrix/Vector.h"
12 #include "CLHEP/Random/RandGaussQ.h"
13 
15 
22 {
23  int operator () (const CLHEP::HepMatrix & matrix,
24  const CLHEP::HepVector & vector,
25  CLHEP::HepVector & result) ;
26 
27  private :
28 
30  void shrink (const CLHEP::HepMatrix & matrix,
31  CLHEP::HepMatrix & solution,
32  const CLHEP::HepVector & result,
33  CLHEP::HepVector & input,
34  const std::vector<int> & where) ;
36  void pour (CLHEP::HepVector & result,
37  const CLHEP::HepVector & output,
38  const std::vector<int> & where) ;
39 
40 } ;
41 
42 
43 #endif
44 #endif
45 
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
Definition: BlockSolver.cc:46
static std::string const input
Definition: EdmProvDump.cc:45
int operator()(const CLHEP::HepMatrix &matrix, const CLHEP::HepVector &vector, CLHEP::HepVector &result)
Definition: BlockSolver.cc:7
solves at best the matrix invertion for calibration
Definition: BlockSolver.h:21
void pour(CLHEP::HepVector &result, const CLHEP::HepVector &output, const std::vector< int > &where)
pour results in bigger vector
Definition: BlockSolver.cc:88