ATLAS Offline Software
Public Types | Public Member Functions | Private Member Functions | Private Attributes | List of all members
ErrorMatrixEEtaPhiM Class Reference

#include <ErrorMatrixEEtaPhiM.h>

Inheritance diagram for ErrorMatrixEEtaPhiM:
Collaboration diagram for ErrorMatrixEEtaPhiM:

Public Types

enum  Index { ie =0, ieta =1, iphi =2, im =3 }
 Enumerator for error parameterization. More...
 
typedef ErrorMatrixBase< ErrorMatrixEEtaPhiMBase
 

Public Member Functions

 ErrorMatrixEEtaPhiM ()
 Default constructor creates zeroed 4x4 matrix. More...
 
 ErrorMatrixEEtaPhiM (const CLHEP::HepSymMatrix &mat)
 Constructor from HepSymMatrix, checks dimension. More...
 

Private Member Functions

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. More...
 
double & operator() (int row, int col)
 
const double & operator() (int diagElement) const
 The single argument versions return diagonal elements. More...
 
double & operator() (int diagElement)
 
const CLHEP::HepSymMatrix & hsm () const
 
ErrorMatrixBase_row operator[] (int)
 
ErrorMatrixBase_row_const operator[] (int) const
 
const CLHEP::HepSymMatrix & impl () const
 
CLHEP::HepSymMatrix & impl ()
 

Private Attributes

CLHEP::HepSymMatrix m_matrix
 

Detailed Description

Definition at line 12 of file ErrorMatrixEEtaPhiM.h.

Member Typedef Documentation

◆ Base

Definition at line 15 of file ErrorMatrixEEtaPhiM.h.

Member Enumeration Documentation

◆ Index

Enumerator for error parameterization.

Enumerator
ie 
ieta 
iphi 
im 

Definition at line 18 of file ErrorMatrixEEtaPhiM.h.

18 {ie=0,ieta=1,iphi=2,im=3};

Constructor & Destructor Documentation

◆ ErrorMatrixEEtaPhiM() [1/2]

ErrorMatrixEEtaPhiM::ErrorMatrixEEtaPhiM ( )

Default constructor creates zeroed 4x4 matrix.

Definition at line 8 of file ErrorMatrixEEtaPhiM.cxx.

8  : Base(4)
9 {}

◆ ErrorMatrixEEtaPhiM() [2/2]

ErrorMatrixEEtaPhiM::ErrorMatrixEEtaPhiM ( const CLHEP::HepSymMatrix &  mat)

Constructor from HepSymMatrix, checks dimension.

Definition at line 12 of file ErrorMatrixEEtaPhiM.cxx.

12  :
13  Base(mat)
14 {}

Member Function Documentation

◆ hsm()

const CLHEP::HepSymMatrix& ErrorMatrixBase< ErrorMatrixEEtaPhiM >::hsm
inlineinherited

Definition at line 29 of file ErrorMatrixBase.h.

29 {return m_matrix;}

◆ impl() [1/2]

CLHEP::HepSymMatrix& ErrorMatrixBase< ErrorMatrixEEtaPhiM >::impl
inlineprotectedinherited

Definition at line 59 of file ErrorMatrixBase.h.

59 {return m_matrix;}

◆ impl() [2/2]

const CLHEP::HepSymMatrix& ErrorMatrixBase< ErrorMatrixEEtaPhiM >::impl
inlineprotectedinherited

Definition at line 58 of file ErrorMatrixBase.h.

58 {return m_matrix;}

◆ num_col()

int ErrorMatrixBase< ErrorMatrixEEtaPhiM >::num_col
inlineinherited

Definition at line 19 of file ErrorMatrixBase.h.

19 {return m_matrix.num_col();}

◆ num_row()

int ErrorMatrixBase< ErrorMatrixEEtaPhiM >::num_row
inlineinherited

Definition at line 18 of file ErrorMatrixBase.h.

18 {return m_matrix.num_row();}

◆ operator()() [1/4]

double & ErrorMatrixBase< ErrorMatrixEEtaPhiM >::operator() ( int  diagElement)
inlineinherited

Definition at line 27 of file ErrorMatrixBase.h.

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

◆ operator()() [2/4]

const double & ErrorMatrixBase< ErrorMatrixEEtaPhiM >::operator() ( int  diagElement) const
inlineinherited

The single argument versions return diagonal elements.

Definition at line 26 of file ErrorMatrixBase.h.

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

◆ operator()() [3/4]

double & ErrorMatrixBase< ErrorMatrixEEtaPhiM >::operator() ( int  row,
int  col 
)
inlineinherited

Definition at line 23 of file ErrorMatrixBase.h.

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

◆ operator()() [4/4]

const double & ErrorMatrixBase< ErrorMatrixEEtaPhiM >::operator() ( int  row,
int  col 
) const
inlineinherited

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

Definition at line 22 of file ErrorMatrixBase.h.

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

◆ operator[]() [1/2]

ErrorMatrixBase< ErrorMatrixEEtaPhiM >::ErrorMatrixBase_row ErrorMatrixBase< ErrorMatrixEEtaPhiM >::operator[] ( int  r)
inlineinherited

Definition at line 49 of file ErrorMatrixBase.h.

89 {
90  return ErrorMatrixBase_row(*this,r);
91 }

◆ operator[]() [2/2]

ErrorMatrixBase< ErrorMatrixEEtaPhiM >::ErrorMatrixBase_row_const ErrorMatrixBase< ErrorMatrixEEtaPhiM >::operator[] ( int  r) const
inlineinherited

Definition at line 50 of file ErrorMatrixBase.h.

95 {
96  return ErrorMatrixBase_row_const(*this,r);
97 }

Member Data Documentation

◆ m_matrix

CLHEP::HepSymMatrix ErrorMatrixBase< ErrorMatrixEEtaPhiM >::m_matrix
privateinherited

Definition at line 54 of file ErrorMatrixBase.h.


The documentation for this class was generated from the following files:
query_example.row
row
Definition: query_example.py:24
beamspotman.r
def r
Definition: beamspotman.py:676
mat
GeoMaterial * mat
Definition: LArDetectorConstructionTBEC.cxx:55
ErrorMatrixBase< ErrorMatrixEEtaPhiM >::m_matrix
CLHEP::HepSymMatrix m_matrix
Definition: ErrorMatrixBase.h:54
ErrorMatrixEEtaPhiM::ie
@ ie
Definition: ErrorMatrixEEtaPhiM.h:18
ErrorMatrixEEtaPhiM::ieta
@ ieta
Definition: ErrorMatrixEEtaPhiM.h:18
ErrorMatrixEEtaPhiM::im
@ im
Definition: ErrorMatrixEEtaPhiM.h:18
ErrorMatrixEEtaPhiM::iphi
@ iphi
Definition: ErrorMatrixEEtaPhiM.h:18
query_example.col
col
Definition: query_example.py:7
ErrorMatrixEEtaPhiM::Base
ErrorMatrixBase< ErrorMatrixEEtaPhiM > Base
Definition: ErrorMatrixEEtaPhiM.h:15