ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
G4ErrorSymMatrix.cc File Reference
#include "globals.hh"
#include <iostream>
#include <cmath>
#include "G4ErrorSymMatrix.hh"
#include "G4ErrorMatrix.hh"
+ Include dependency graph for G4ErrorSymMatrix.cc:

Go to the source code of this file.

Macros

#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   3
 
#define A03   6
 
#define A04   10
 
#define A05   15
 
#define A10   1
 
#define A11   2
 
#define A12   4
 
#define A13   7
 
#define A14   11
 
#define A15   16
 
#define A20   3
 
#define A21   4
 
#define A22   5
 
#define A23   8
 
#define A24   12
 
#define A25   17
 
#define A30   6
 
#define A31   7
 
#define A32   8
 
#define A33   9
 
#define A34   13
 
#define A35   18
 
#define A40   10
 
#define A41   11
 
#define A42   12
 
#define A43   13
 
#define A44   14
 
#define A45   19
 
#define A50   15
 
#define A51   16
 
#define A52   17
 
#define A53   18
 
#define A54   19
 
#define A55   20
 

Functions

G4ErrorSymMatrix dsum (const G4ErrorSymMatrix &mat1, const G4ErrorSymMatrix &mat2)
 
G4ErrorMatrix operator+ (const G4ErrorMatrix &mat1, const G4ErrorSymMatrix &mat2)
 
G4ErrorMatrix operator+ (const G4ErrorSymMatrix &mat1, const G4ErrorMatrix &mat2)
 
G4ErrorSymMatrix operator+ (const G4ErrorSymMatrix &mat1, const G4ErrorSymMatrix &mat2)
 
G4ErrorMatrix operator- (const G4ErrorMatrix &mat1, const G4ErrorSymMatrix &mat2)
 
G4ErrorMatrix operator- (const G4ErrorSymMatrix &mat1, const G4ErrorMatrix &mat2)
 
G4ErrorSymMatrix operator- (const G4ErrorSymMatrix &mat1, const G4ErrorSymMatrix &mat2)
 
G4ErrorSymMatrix operator/ (const G4ErrorSymMatrix &mat1, G4double t)
 
G4ErrorSymMatrix operator* (const G4ErrorSymMatrix &mat1, G4double t)
 
G4ErrorSymMatrix operator* (G4double t, const G4ErrorSymMatrix &mat1)
 
G4ErrorMatrix operator* (const G4ErrorMatrix &mat1, const G4ErrorSymMatrix &mat2)
 
G4ErrorMatrix operator* (const G4ErrorSymMatrix &mat1, const G4ErrorMatrix &mat2)
 
G4ErrorMatrix operator* (const G4ErrorSymMatrix &mat1, const G4ErrorSymMatrix &mat2)
 
std::ostream & operator<< (std::ostream &os, const G4ErrorSymMatrix &q)
 

Macro Definition Documentation

#define A04   10
#define A05   15

Definition at line 1263 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1263 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A14   11
#define A15   16

Definition at line 1270 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1270 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A24   12
#define A25   17

Definition at line 1277 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1277 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A34   13
#define A35   18

Definition at line 1284 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1284 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A40   10
#define A41   11
#define A42   12
#define A43   13
#define A44   14
#define A45   19

Definition at line 1291 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1291 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A50   15

Definition at line 1293 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1293 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A51   16

Definition at line 1294 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1294 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A52   17

Definition at line 1295 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1295 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A53   18

Definition at line 1296 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1296 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A54   19

Definition at line 1297 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1297 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define A55   20

Definition at line 1298 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 1298 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::invertCholesky6(), and G4ErrorSymMatrix::invertHaywood6().

#define CHK_DIM_1 (   c1,
  r2,
  fun 
)
Value:
if (c1!=r2) { \
G4ErrorMatrix::error("Range error in Matrix function " #fun "(2)."); \
}

Definition at line 63 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 63 of file G4ErrorSymMatrix.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 58 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 58 of file G4ErrorSymMatrix.cc

Referenced by operator+(), G4ErrorMatrix::operator+=(), G4ErrorSymMatrix::operator+=(), operator-(), G4ErrorMatrix::operator-=(), and G4ErrorSymMatrix::operator-=().

#define SIMPLE_BOP (   OPER)
Value:
G4ErrorMatrixConstIter b=mat2.m.begin(); \
G4ErrorMatrixConstIter e=m.begin()+num_size(); \
for(;a<e; a++, b++) (*a) OPER (*b);

Definition at line 45 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 45 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::operator+=(), and G4ErrorSymMatrix::operator-=().

#define SIMPLE_TOP (   OPER)
Value:
G4ErrorMatrixConstIter a=mat1.m.begin(); \
G4ErrorMatrixConstIter b=mat2.m.begin(); \
G4ErrorMatrixIter t=mret.m.begin(); \
G4ErrorMatrixConstIter e=mat1.m.begin()+mat1.num_size(); \
for( ;a<e; a++, b++, t++) (*t) = (*a) OPER (*b);

Definition at line 51 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 51 of file G4ErrorSymMatrix.cc

Referenced by operator+(), and operator-().

#define SIMPLE_UOP (   OPER)
Value:
G4ErrorMatrixIter e=m.begin()+num_size(); \
for(;a<e; a++) (*a) OPER t;

Definition at line 40 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 40 of file G4ErrorSymMatrix.cc

Referenced by G4ErrorSymMatrix::operator*=(), and G4ErrorSymMatrix::operator/=().

Function Documentation

G4ErrorSymMatrix dsum ( const G4ErrorSymMatrix mat1,
const G4ErrorSymMatrix mat2 
)

Definition at line 182 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 182 of file G4ErrorSymMatrix.cc

References G4ErrorSymMatrix::num_row(), and G4ErrorSymMatrix::sub().

+ Here is the call graph for this function:

G4ErrorSymMatrix operator* ( const G4ErrorSymMatrix mat1,
G4double  t 
)

Definition at line 272 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 272 of file G4ErrorSymMatrix.cc

References t.

G4ErrorSymMatrix operator* ( G4double  t,
const G4ErrorSymMatrix mat1 
)

Definition at line 279 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 279 of file G4ErrorSymMatrix.cc

References t.

G4ErrorMatrix operator* ( const G4ErrorMatrix mat1,
const G4ErrorSymMatrix mat2 
)

Definition at line 286 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 286 of file G4ErrorSymMatrix.cc

References CHK_DIM_1, G4ErrorSymMatrix::m, G4ErrorMatrix::m, G4ErrorSymMatrix::num_col(), G4ErrorMatrix::num_col(), G4ErrorSymMatrix::num_row(), G4ErrorMatrix::num_row(), G4InuclParticleNames::sp, and Acts::Test::step().

+ Here is the call graph for this function:

G4ErrorMatrix operator* ( const G4ErrorSymMatrix mat1,
const G4ErrorMatrix mat2 
)

Definition at line 320 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 320 of file G4ErrorSymMatrix.cc

References CHK_DIM_1, G4ErrorSymMatrix::m, G4ErrorMatrix::m, G4ErrorSymMatrix::num_col(), G4ErrorMatrix::num_col(), G4ErrorSymMatrix::num_row(), G4ErrorMatrix::num_row(), G4InuclParticleNames::sp, and Acts::Test::step().

+ Here is the call graph for this function:

G4ErrorMatrix operator* ( const G4ErrorSymMatrix mat1,
const G4ErrorSymMatrix mat2 
)

Definition at line 353 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 353 of file G4ErrorSymMatrix.cc

References CHK_DIM_1, G4ErrorSymMatrix::m, G4ErrorSymMatrix::num_col(), and G4ErrorSymMatrix::num_row().

+ Here is the call graph for this function:

G4ErrorMatrix operator+ ( const G4ErrorMatrix mat1,
const G4ErrorSymMatrix mat2 
)

Definition at line 206 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 206 of file G4ErrorSymMatrix.cc

References CHK_DIM_2, G4ErrorSymMatrix::num_col(), G4ErrorMatrix::num_col(), G4ErrorSymMatrix::num_row(), and G4ErrorMatrix::num_row().

+ Here is the call graph for this function:

G4ErrorMatrix operator+ ( const G4ErrorSymMatrix mat1,
const G4ErrorMatrix mat2 
)

Definition at line 214 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 214 of file G4ErrorSymMatrix.cc

References CHK_DIM_2, G4ErrorSymMatrix::num_col(), G4ErrorMatrix::num_col(), G4ErrorSymMatrix::num_row(), and G4ErrorMatrix::num_row().

+ Here is the call graph for this function:

G4ErrorSymMatrix operator+ ( const G4ErrorSymMatrix mat1,
const G4ErrorSymMatrix mat2 
)

Definition at line 222 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 222 of file G4ErrorSymMatrix.cc

References CHK_DIM_1, G4ErrorSymMatrix::nrow, and SIMPLE_TOP.

G4ErrorMatrix operator- ( const G4ErrorMatrix mat1,
const G4ErrorSymMatrix mat2 
)

Definition at line 235 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 235 of file G4ErrorSymMatrix.cc

References CHK_DIM_2, G4ErrorSymMatrix::num_col(), G4ErrorMatrix::num_col(), G4ErrorSymMatrix::num_row(), and G4ErrorMatrix::num_row().

+ Here is the call graph for this function:

G4ErrorMatrix operator- ( const G4ErrorSymMatrix mat1,
const G4ErrorMatrix mat2 
)

Definition at line 243 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 243 of file G4ErrorSymMatrix.cc

References CHK_DIM_2, G4ErrorSymMatrix::num_col(), G4ErrorMatrix::num_col(), G4ErrorSymMatrix::num_row(), and G4ErrorMatrix::num_row().

+ Here is the call graph for this function:

G4ErrorSymMatrix operator- ( const G4ErrorSymMatrix mat1,
const G4ErrorSymMatrix mat2 
)

Definition at line 251 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 251 of file G4ErrorSymMatrix.cc

References CHK_DIM_1, G4ErrorSymMatrix::num_row(), and SIMPLE_TOP.

+ Here is the call graph for this function:

G4ErrorSymMatrix operator/ ( const G4ErrorSymMatrix mat1,
G4double  t 
)

Definition at line 265 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 265 of file G4ErrorSymMatrix.cc

References t.

std::ostream& operator<< ( std::ostream &  os,
const G4ErrorSymMatrix q 
)

Definition at line 523 of file G4ErrorSymMatrix.cc.

View newest version in sPHENIX GitHub at line 523 of file G4ErrorSymMatrix.cc

References G4endl, G4ErrorSymMatrix::num_col(), G4ErrorSymMatrix::num_row(), and width.

+ Here is the call graph for this function: