ATLAS Offline Software
Loading...
Searching...
No Matches
ErrorMatrixPxPyPzM Class Reference

#include <ErrorMatrixPxPyPzM.h>

Inheritance diagram for ErrorMatrixPxPyPzM:
Collaboration diagram for ErrorMatrixPxPyPzM:

Public Types

enum  Index { ipx =0 , ipy =1 , ipz =2 , ie =3 }
 Enumerator for error parameterization. More...
typedef ErrorMatrixBase< ErrorMatrixPxPyPzMBase

Public Member Functions

 ErrorMatrixPxPyPzM ()
 Default constructor creates zeroed 4x4 matrix.
 ErrorMatrixPxPyPzM (const CLHEP::HepSymMatrix &mat)
 Constructor from HepSymMatrix, checks dimension.
double pxError () 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
int num_row () const
int num_col () const

Private Member Functions

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 ErrorMatrixPxPyPzM.h.

Member Typedef Documentation

◆ Base

Member Enumeration Documentation

◆ Index

Enumerator for error parameterization.

Enumerator
ipx 
ipy 
ipz 
ie 

Definition at line 18 of file ErrorMatrixPxPyPzM.h.

Constructor & Destructor Documentation

◆ ErrorMatrixPxPyPzM() [1/2]

ErrorMatrixPxPyPzM::ErrorMatrixPxPyPzM ( )

Default constructor creates zeroed 4x4 matrix.

Definition at line 8 of file ErrorMatrixPxPyPzM.cxx.

8 : Base(4)
9{}
ErrorMatrixBase< ErrorMatrixPxPyPzM > Base

◆ ErrorMatrixPxPyPzM() [2/2]

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

Constructor from HepSymMatrix, checks dimension.

Definition at line 12 of file ErrorMatrixPxPyPzM.cxx.

12 :
13 Base(mat)
14{}

Member Function Documentation

◆ hsm()

const CLHEP::HepSymMatrix & ErrorMatrixBase< ErrorMatrixPxPyPzM >::hsm ( ) const
inline

Definition at line 29 of file ErrorMatrixBase.h.

29{return m_matrix;}

◆ impl() [1/2]

CLHEP::HepSymMatrix & ErrorMatrixBase< ErrorMatrixPxPyPzM >::impl ( )
inlineprotectedinherited

Definition at line 59 of file ErrorMatrixBase.h.

59{return m_matrix;}

◆ impl() [2/2]

const CLHEP::HepSymMatrix & ErrorMatrixBase< ErrorMatrixPxPyPzM >::impl ( ) const
inlineprotectedinherited

Definition at line 58 of file ErrorMatrixBase.h.

58{return m_matrix;}

◆ num_col()

int ErrorMatrixBase< ErrorMatrixPxPyPzM >::num_col ( ) const
inline

Definition at line 19 of file ErrorMatrixBase.h.

19{return m_matrix.num_col();}

◆ num_row()

int ErrorMatrixBase< ErrorMatrixPxPyPzM >::num_row ( ) const
inline

Definition at line 18 of file ErrorMatrixBase.h.

18{return m_matrix.num_row();}

◆ operator()() [1/4]

double & ErrorMatrixBase< ErrorMatrixPxPyPzM >::operator() ( int diagElement)

◆ operator()() [2/4]

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

The single argument versions return diagonal elements.

◆ operator()() [3/4]

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

◆ operator()() [4/4]

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

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

◆ operator[]() [1/2]

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

◆ operator[]() [2/2]

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

◆ pxError()

double ErrorMatrixPxPyPzM::pxError ( ) const
inline

Definition at line 31 of file ErrorMatrixPxPyPzM.h.

31 {
32 return std::sqrt( impl()(ipx,ipx));
33 }
const CLHEP::HepSymMatrix & impl() const

Member Data Documentation

◆ m_matrix

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

Definition at line 54 of file ErrorMatrixBase.h.


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