#include "globals.hh"
#include <cmath>
#include <iostream>
#include "G4ErrorMatrix.hh"
#include "G4ErrorSymMatrix.hh"
Include dependency graph for G4ErrorMatrix.cc:

Go to the source code of this file.
Defines | |
| #define | SIMPLE_UOP(OPER) |
| #define | SIMPLE_BOP(OPER) |
| #define | SIMPLE_TOP(OPER) |
| #define | CHK_DIM_2(r1, r2, c1, c2, fun) |
| #define | CHK_DIM_1(c1, r2, fun) |
| #define | A00 0 |
| #define | A01 1 |
| #define | A02 2 |
| #define | A03 3 |
| #define | A04 4 |
| #define | A05 5 |
| #define | A10 6 |
| #define | A11 7 |
| #define | A12 8 |
| #define | A13 9 |
| #define | A14 10 |
| #define | A15 11 |
| #define | A20 12 |
| #define | A21 13 |
| #define | A22 14 |
| #define | A23 15 |
| #define | A24 16 |
| #define | A25 17 |
| #define | A30 18 |
| #define | A31 19 |
| #define | A32 20 |
| #define | A33 21 |
| #define | A34 22 |
| #define | A35 23 |
| #define | A40 24 |
| #define | A41 25 |
| #define | A42 26 |
| #define | A43 27 |
| #define | A44 28 |
| #define | A45 29 |
| #define | A50 30 |
| #define | A51 31 |
| #define | A52 32 |
| #define | A53 33 |
| #define | A54 34 |
| #define | A55 35 |
| #define | M00 0 |
| #define | M01 1 |
| #define | M02 2 |
| #define | M03 3 |
| #define | M04 4 |
| #define | M10 5 |
| #define | M11 6 |
| #define | M12 7 |
| #define | M13 8 |
| #define | M14 9 |
| #define | M20 10 |
| #define | M21 11 |
| #define | M22 12 |
| #define | M23 13 |
| #define | M24 14 |
| #define | M30 15 |
| #define | M31 16 |
| #define | M32 17 |
| #define | M33 18 |
| #define | M34 19 |
| #define | M40 20 |
| #define | M41 21 |
| #define | M42 22 |
| #define | M43 23 |
| #define | M44 24 |
| #define | F00 0 |
| #define | F01 1 |
| #define | F02 2 |
| #define | F03 3 |
| #define | F10 4 |
| #define | F11 5 |
| #define | F12 6 |
| #define | F13 7 |
| #define | F20 8 |
| #define | F21 9 |
| #define | F22 10 |
| #define | F23 11 |
| #define | F30 12 |
| #define | F31 13 |
| #define | F32 14 |
| #define | F33 15 |
Functions | |
| G4ErrorMatrix | dsum (const G4ErrorMatrix &m1, const G4ErrorMatrix &m2) |
| G4ErrorMatrix | operator+ (const G4ErrorMatrix &m1, const G4ErrorMatrix &m2) |
| G4ErrorMatrix | operator- (const G4ErrorMatrix &m1, const G4ErrorMatrix &m2) |
| G4ErrorMatrix | operator/ (const G4ErrorMatrix &m1, G4double t) |
| G4ErrorMatrix | operator * (const G4ErrorMatrix &m1, G4double t) |
| G4ErrorMatrix | operator * (G4double t, const G4ErrorMatrix &m1) |
| G4ErrorMatrix | operator * (const G4ErrorMatrix &m1, const G4ErrorMatrix &m2) |
| std::ostream & | operator<< (std::ostream &s, const G4ErrorMatrix &q) |
| #define A00 0 |
Definition at line 816 of file G4ErrorMatrix.cc.
Referenced by G4CompetitiveFission::AsymmetricRatio(), G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), G4ErrorMatrix::invertHaywood6(), and G4CompetitiveFission::SymmetricRatio().
| #define A01 1 |
Definition at line 817 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A02 2 |
Definition at line 818 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A03 3 |
Definition at line 819 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A04 4 |
Definition at line 820 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A05 5 |
Definition at line 821 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A10 6 |
Definition at line 823 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), G4ErrorMatrix::invertHaywood6(), G4Bessel::pI0(), and G4Bessel::pI1().
| #define A11 7 |
Definition at line 824 of file G4ErrorMatrix.cc.
Referenced by G4CompetitiveFission::FissionKineticEnergy(), G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), G4ErrorMatrix::invertHaywood6(), G4Bessel::pI0(), and G4Bessel::pI1().
| #define A12 8 |
Definition at line 825 of file G4ErrorMatrix.cc.
Referenced by G4CompetitiveFission::FissionKineticEnergy(), G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A13 9 |
Definition at line 826 of file G4ErrorMatrix.cc.
Referenced by G4StatMFMicroCanonical::CalcEntropyOfCompoundNucleus(), G4StatMFMicroCanonical::CalcFreeInternalEnergy(), G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A14 10 |
Definition at line 827 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A15 11 |
Definition at line 828 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A20 12 |
Definition at line 830 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A21 13 |
Definition at line 831 of file G4ErrorMatrix.cc.
Referenced by G4CompetitiveFission::FissionKineticEnergy(), G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A22 14 |
Definition at line 832 of file G4ErrorMatrix.cc.
Referenced by G4CompetitiveFission::FissionKineticEnergy(), G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A23 15 |
Definition at line 833 of file G4ErrorMatrix.cc.
Referenced by G4StatMFMacroMultiNucleon::CalcEnergy(), G4StatMFMacroMultiNucleon::CalcMeanMultiplicity(), G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A24 16 |
Definition at line 834 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A25 17 |
Definition at line 835 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A30 18 |
Definition at line 837 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A31 19 |
Definition at line 838 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A32 20 |
Definition at line 839 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A33 21 |
Definition at line 840 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invert4(), G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A34 22 |
Definition at line 841 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A35 23 |
Definition at line 842 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A40 24 |
Definition at line 844 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A41 25 |
Definition at line 845 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A42 26 |
Definition at line 846 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A43 27 |
Definition at line 847 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A44 28 |
Definition at line 848 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky5(), G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood5(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A45 29 |
Definition at line 849 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A50 30 |
Definition at line 851 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A51 31 |
Definition at line 852 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A52 32 |
Definition at line 853 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A53 33 |
Definition at line 854 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A54 34 |
Definition at line 855 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define A55 35 |
Definition at line 856 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::invertCholesky6(), G4ErrorSymMatrix::invertHaywood6(), and G4ErrorMatrix::invertHaywood6().
| #define CHK_DIM_1 | ( | c1, | |||
| r2, | |||||
| fun | ) |
Value:
if (c1!=r2) { \ G4ErrorMatrix::error("Range error in Matrix function " #fun "(2)."); \ }
Definition at line 68 of file G4ErrorMatrix.cc.
Referenced by operator *(), operator+(), and operator-().
| #define CHK_DIM_2 | ( | r1, | |||
| r2, | |||||
| c1, | |||||
| c2, | |||||
| fun | ) |
Value:
if (r1!=r2 || c1!=c2) { \ G4ErrorMatrix::error("Range error in Matrix function " #fun "(1)."); \ }
Definition at line 63 of file G4ErrorMatrix.cc.
Referenced by operator+(), G4ErrorSymMatrix::operator+=(), G4ErrorMatrix::operator+=(), operator-(), G4ErrorSymMatrix::operator-=(), and G4ErrorMatrix::operator-=().
| #define F00 0 |
| #define F01 1 |
| #define F02 2 |
| #define F03 3 |
| #define F10 4 |
Definition at line 893 of file G4ErrorMatrix.cc.
Referenced by G4ErrorMatrix::invertHaywood4(), and G4BetheHeitlerModel::SampleSecondaries().
| #define F11 5 |
| #define F12 6 |
Definition at line 895 of file G4ErrorMatrix.cc.
Referenced by G4ElasticHadrNucleusHE::GetQ2_2(), and G4ErrorMatrix::invertHaywood4().
| #define F13 7 |
| #define F20 8 |
Definition at line 898 of file G4ErrorMatrix.cc.
Referenced by G4ErrorMatrix::invertHaywood4(), and G4BetheHeitlerModel::SampleSecondaries().
| #define F21 9 |
| #define F22 10 |
Definition at line 900 of file G4ErrorMatrix.cc.
Referenced by G4ElasticHadrNucleusHE::GetQ2_2(), and G4ErrorMatrix::invertHaywood4().
| #define F23 11 |
| #define F30 12 |
| #define F31 13 |
| #define F32 14 |
Definition at line 905 of file G4ErrorMatrix.cc.
Referenced by G4ElasticHadrNucleusHE::GetQ2_2(), and G4ErrorMatrix::invertHaywood4().
| #define F33 15 |
| #define M00 0 |
| #define M01 1 |
| #define M02 2 |
| #define M03 3 |
| #define M04 4 |
| #define M10 5 |
| #define M11 6 |
| #define M12 7 |
| #define M13 8 |
| #define M14 9 |
| #define M20 10 |
| #define M21 11 |
| #define M22 12 |
| #define M23 13 |
| #define M24 14 |
| #define M30 15 |
| #define M31 16 |
| #define M32 17 |
| #define M33 18 |
| #define M34 19 |
| #define M40 20 |
| #define M41 21 |
| #define M42 22 |
| #define M43 23 |
| #define M44 24 |
| #define SIMPLE_BOP | ( | OPER | ) |
Value:
G4ErrorMatrixIter a=m.begin(); \ G4ErrorMatrixConstIter b=m2.m.begin(); \ G4ErrorMatrixIter e=m.end(); \ for(;a!=e; a++, b++) (*a) OPER (*b);
Definition at line 48 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::operator+=(), G4ErrorMatrix::operator+=(), G4ErrorSymMatrix::operator-=(), and G4ErrorMatrix::operator-=().
| #define SIMPLE_TOP | ( | OPER | ) |
Value:
G4ErrorMatrixConstIter a=m1.m.begin(); \ G4ErrorMatrixConstIter b=m2.m.begin(); \ G4ErrorMatrixIter t=mret.m.begin(); \ G4ErrorMatrixConstIter e=m1.m.end(); \ for(;a!=e; a++, b++, t++) (*t) = (*a) OPER (*b);
Definition at line 54 of file G4ErrorMatrix.cc.
Referenced by operator+(), and operator-().
| #define SIMPLE_UOP | ( | OPER | ) |
Value:
G4ErrorMatrixIter a=m.begin(); \ G4ErrorMatrixIter e=m.end(); \ for(;a!=e; a++) (*a) OPER t;
Definition at line 43 of file G4ErrorMatrix.cc.
Referenced by G4ErrorSymMatrix::operator *=(), G4ErrorMatrix::operator *=(), G4ErrorSymMatrix::operator/=(), and G4ErrorMatrix::operator/=().
| G4ErrorMatrix dsum | ( | const G4ErrorMatrix & | m1, | |
| const G4ErrorMatrix & | m2 | |||
| ) |
Definition at line 202 of file G4ErrorMatrix.cc.
References m2, G4ErrorMatrix::num_col(), G4ErrorMatrix::num_row(), and G4ErrorMatrix::sub().
Here is the call graph for this function:

| G4ErrorMatrix operator * | ( | const G4ErrorMatrix & | m1, | |
| const G4ErrorMatrix & | m2 | |||
| ) |
Definition at line 273 of file G4ErrorMatrix.cc.
References CHK_DIM_1, G4ErrorMatrix::m, m2, G4ErrorMatrix::ncol, and G4ErrorMatrix::nrow.
| G4ErrorMatrix operator * | ( | G4double | t, | |
| const G4ErrorMatrix & | m1 | |||
| ) |
Definition at line 266 of file G4ErrorMatrix.cc.
| G4ErrorMatrix operator * | ( | const G4ErrorMatrix & | m1, | |
| G4double | t | |||
| ) |
Definition at line 259 of file G4ErrorMatrix.cc.
| G4ErrorMatrix operator+ | ( | const G4ErrorMatrix & | m1, | |
| const G4ErrorMatrix & | m2 | |||
| ) |
Definition at line 226 of file G4ErrorMatrix.cc.
References CHK_DIM_2, m2, G4ErrorMatrix::ncol, G4ErrorMatrix::nrow, G4ErrorMatrix::num_col(), G4ErrorMatrix::num_row(), and SIMPLE_TOP.
Here is the call graph for this function:

| G4ErrorMatrix operator- | ( | const G4ErrorMatrix & | m1, | |
| const G4ErrorMatrix & | m2 | |||
| ) |
Definition at line 238 of file G4ErrorMatrix.cc.
References CHK_DIM_2, m2, G4ErrorMatrix::num_col(), G4ErrorMatrix::num_row(), and SIMPLE_TOP.
Here is the call graph for this function:

| G4ErrorMatrix operator/ | ( | const G4ErrorMatrix & | m1, | |
| G4double | t | |||
| ) |
Definition at line 252 of file G4ErrorMatrix.cc.
| std::ostream& operator<< | ( | std::ostream & | s, | |
| const G4ErrorMatrix & | q | |||
| ) |
Definition at line 349 of file G4ErrorMatrix.cc.
References G4endl, G4ErrorMatrix::num_col(), and G4ErrorMatrix::num_row().
Here is the call graph for this function:

1.4.7