Project
Loading...
Searching...
No Matches
o2::fwdalign::RectMatrix Class Reference

Class for rectangular matrix used for millepede2 operation. More...

#include <RectMatrix.h>

Inherits TObject.

Public Member Functions

 RectMatrix ()
 default c-tor
 
 RectMatrix (Int_t nrow, Int_t ncol)
 c-tor
 
 RectMatrix (const RectMatrix &src)
 copy c-tor
 
 ~RectMatrix () override
 dest-tor
 
Int_t GetNRows () const
 
Int_t GetNCols () const
 
Double_t Query (Int_t rown, Int_t coln) const
 
RectMatrixoperator= (const RectMatrix &src)
 assignment op-r
 
Double_t operator() (Int_t rown, Int_t coln) const
 
Double_t & operator() (Int_t rown, Int_t coln)
 
Double_t * operator() (Int_t row) const
 
Double_t * GetRow (Int_t row) const
 
void Reset () const
 reset all
 
void Print (Option_t *option="") const override
 print itself
 

Protected Member Functions

 ClassDefOverride (RectMatrix, 0)
 

Protected Attributes

Int_t fNRows
 Number of rows.
 
Int_t fNCols
 Number of columns.
 
Double_t ** fRows
 pointers on rows
 

Detailed Description

Class for rectangular matrix used for millepede2 operation.

Matrix may be sparse or dense

Definition at line 30 of file RectMatrix.h.

Constructor & Destructor Documentation

◆ RectMatrix() [1/3]

RectMatrix::RectMatrix ( )

default c-tor

Definition at line 22 of file RectMatrix.cxx.

◆ RectMatrix() [2/3]

RectMatrix::RectMatrix ( Int_t  nrow,
Int_t  ncol 
)

c-tor

Definition at line 30 of file RectMatrix.cxx.

◆ RectMatrix() [3/3]

RectMatrix::RectMatrix ( const RectMatrix src)

copy c-tor

Definition at line 43 of file RectMatrix.cxx.

◆ ~RectMatrix()

RectMatrix::~RectMatrix ( )
override

dest-tor

Definition at line 57 of file RectMatrix.cxx.

Member Function Documentation

◆ ClassDefOverride()

o2::fwdalign::RectMatrix::ClassDefOverride ( RectMatrix  ,
 
)
protected

◆ GetNCols()

Int_t o2::fwdalign::RectMatrix::GetNCols ( ) const
inline

Definition at line 47 of file RectMatrix.h.

◆ GetNRows()

Int_t o2::fwdalign::RectMatrix::GetNRows ( ) const
inline

Definition at line 46 of file RectMatrix.h.

◆ GetRow()

Double_t * o2::fwdalign::RectMatrix::GetRow ( Int_t  row) const
inline

Definition at line 57 of file RectMatrix.h.

◆ operator()() [1/3]

Double_t * o2::fwdalign::RectMatrix::operator() ( Int_t  row) const
inline

Definition at line 56 of file RectMatrix.h.

◆ operator()() [2/3]

Double_t & o2::fwdalign::RectMatrix::operator() ( Int_t  rown,
Int_t  coln 
)
inline

Definition at line 80 of file RectMatrix.h.

◆ operator()() [3/3]

Double_t o2::fwdalign::RectMatrix::operator() ( Int_t  rown,
Int_t  coln 
) const
inline

Definition at line 74 of file RectMatrix.h.

◆ operator=()

RectMatrix & RectMatrix::operator= ( const RectMatrix src)

assignment op-r

Definition at line 68 of file RectMatrix.cxx.

◆ Print()

void RectMatrix::Print ( Option_t *  option = "") const
override

print itself

Definition at line 91 of file RectMatrix.cxx.

◆ Query()

Double_t o2::fwdalign::RectMatrix::Query ( Int_t  rown,
Int_t  coln 
) const
inline

Definition at line 49 of file RectMatrix.h.

◆ Reset()

void RectMatrix::Reset ( ) const

reset all

Definition at line 108 of file RectMatrix.cxx.

Member Data Documentation

◆ fNCols

Int_t o2::fwdalign::RectMatrix::fNCols
protected

Number of columns.

Definition at line 67 of file RectMatrix.h.

◆ fNRows

Int_t o2::fwdalign::RectMatrix::fNRows
protected

Number of rows.

Definition at line 66 of file RectMatrix.h.

◆ fRows

Double_t** o2::fwdalign::RectMatrix::fRows
protected

pointers on rows

Definition at line 68 of file RectMatrix.h.


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