ATLAS Offline Software
Loading...
Searching...
No Matches
ErrorMatrixBase< Type > Class Template Reference

#include <ErrorMatrixBase.h>

Collaboration diagram for ErrorMatrixBase< Type >:

Classes

class  ErrorMatrixBase_row
class  ErrorMatrixBase_row_const

Public Member Functions

 ErrorMatrixBase ()
 ErrorMatrixBase (int dim)
 ErrorMatrixBase (const CLHEP::HepSymMatrix &mat)
int num_row () const
int num_col () const
const double & operator() (int row, int col) const
 The element access operator M(i,j) starts counting indeces from zero.
double & operator() (int row, int col)
const double & operator() (int diagElement) const
 The single argument versions return diagonal elements.
double & operator() (int diagElement)
const CLHEP::HepSymMatrix & hsm () const
ErrorMatrixBase_row operator[] (int)
ErrorMatrixBase_row_const operator[] (int) const

Protected Member Functions

const CLHEP::HepSymMatrix & impl () const
CLHEP::HepSymMatrix & impl ()

Private Attributes

CLHEP::HepSymMatrix m_matrix

Detailed Description

template<class Type>
class ErrorMatrixBase< Type >

Definition at line 11 of file ErrorMatrixBase.h.

Constructor & Destructor Documentation

◆ ErrorMatrixBase() [1/3]

template<class Type>
ErrorMatrixBase< Type >::ErrorMatrixBase ( )
inline

Definition at line 14 of file ErrorMatrixBase.h.

14: m_matrix() {}
CLHEP::HepSymMatrix m_matrix

◆ ErrorMatrixBase() [2/3]

template<class Type>
ErrorMatrixBase< Type >::ErrorMatrixBase ( int dim)
inline

Definition at line 15 of file ErrorMatrixBase.h.

◆ ErrorMatrixBase() [3/3]

template<class Type>
ErrorMatrixBase< Type >::ErrorMatrixBase ( const CLHEP::HepSymMatrix & mat)
inline

Definition at line 16 of file ErrorMatrixBase.h.

16: m_matrix(mat) {}

Member Function Documentation

◆ hsm()

template<class Type>
const CLHEP::HepSymMatrix & ErrorMatrixBase< Type >::hsm ( ) const
inline

Definition at line 29 of file ErrorMatrixBase.h.

29{return m_matrix;}

◆ impl() [1/2]

template<class Type>
CLHEP::HepSymMatrix & ErrorMatrixBase< Type >::impl ( )
inlineprotected

Definition at line 59 of file ErrorMatrixBase.h.

59{return m_matrix;}

◆ impl() [2/2]

template<class Type>
const CLHEP::HepSymMatrix & ErrorMatrixBase< Type >::impl ( ) const
inlineprotected

Definition at line 58 of file ErrorMatrixBase.h.

58{return m_matrix;}

◆ num_col()

template<class Type>
int ErrorMatrixBase< Type >::num_col ( ) const
inline

Definition at line 19 of file ErrorMatrixBase.h.

19{return m_matrix.num_col();}

◆ num_row()

template<class Type>
int ErrorMatrixBase< Type >::num_row ( ) const
inline

Definition at line 18 of file ErrorMatrixBase.h.

18{return m_matrix.num_row();}

◆ operator()() [1/4]

template<class Type>
double & ErrorMatrixBase< Type >::operator() ( int diagElement)
inline

Definition at line 82 of file ErrorMatrixBase.h.

83{
84 return m_matrix(diag+1,diag+1);
85}

◆ operator()() [2/4]

template<class Type>
const double & ErrorMatrixBase< Type >::operator() ( int diagElement) const
inline

The single argument versions return diagonal elements.

Definition at line 70 of file ErrorMatrixBase.h.

71{
72 return m_matrix(diag+1,diag+1);
73}

◆ operator()() [3/4]

template<class Type>
double & ErrorMatrixBase< Type >::operator() ( int row,
int col )
inline

Definition at line 76 of file ErrorMatrixBase.h.

77{
78 return m_matrix(row+1,col+1);
79}

◆ operator()() [4/4]

template<class Type>
const double & ErrorMatrixBase< Type >::operator() ( int row,
int col ) const
inline

The element access operator M(i,j) starts counting indeces from zero.

Definition at line 64 of file ErrorMatrixBase.h.

65{
66 return m_matrix(row+1,col+1);
67}

◆ operator[]() [1/2]

template<class Type>
ErrorMatrixBase< Type >::ErrorMatrixBase_row ErrorMatrixBase< Type >::operator[] ( int r)
inline

Definition at line 88 of file ErrorMatrixBase.h.

◆ operator[]() [2/2]

template<class Type>
ErrorMatrixBase< Type >::ErrorMatrixBase_row_const ErrorMatrixBase< Type >::operator[] ( int r) const
inline

Member Data Documentation

◆ m_matrix

template<class Type>
CLHEP::HepSymMatrix ErrorMatrixBase< Type >::m_matrix
private

Definition at line 54 of file ErrorMatrixBase.h.


The documentation for this class was generated from the following file: