15 :
VEcalCalibBlock(numberOfElements), m_kaliVector(m_numberOfElements), m_kaliMatrix(evalX2Size()) {
26 std::map<int, double>::const_iterator MapEnd,
31 double inverror = 1. / sigma;
33 for (std::map<int, double>::const_iterator itMap1 = MapBegin; itMap1 != MapEnd; ++itMap1) {
35 for (std::map<int, double>::const_iterator itMap2 = itMap1; itMap2 != MapEnd; ++itMap2) {
37 double dummy = itMap1->second * itMap2->second;
46 dummy *= itMap1->second;
90 CLHEP::HepVector
result = CLHEP::solve(kaliMatrix, kaliVector);
91 for (
int i = 0;
i < kaliVector.num_row(); ++
i)
92 if (
result.normsq() <
min * kaliVector.num_row() ||
result.normsq() >
max * kaliVector.num_row()) {
93 if (usingBlockSolver) {
98 for (
int i = 0;
i < kaliVector.num_row(); ++
i)
118 for (
unsigned int i = 0;
i <
max; ++
i)
119 for (
unsigned int j = 0;
j <
max; ++
j)
123 vuota[
i][
j] = piena[
i *
max +
j];
133 for (
int i = 0;
i <
max; ++
i)