#include <AlignmentExtendedCorrelationsEntry.h>
Public Member Functions | |
AlignmentExtendedCorrelationsEntry (void) | |
Default constructor. More... | |
AlignmentExtendedCorrelationsEntry (short unsigned int nRows, short unsigned int nCols) | |
Constructor. Leaves the correlations matrix uninitialized. More... | |
AlignmentExtendedCorrelationsEntry (short unsigned int nRows, short unsigned int nCols, const float init) | |
Constructor. Initializes all elements of the correlations matrix to the given value. More... | |
AlignmentExtendedCorrelationsEntry (const AlgebraicMatrix &mat) | |
Constructor from CLHEP matrix. More... | |
AlgebraicMatrix | matrix (void) const |
Retrieve the correlation matrix in a CLHEP matrix representation;. More... | |
const short unsigned int | numCol (void) const |
Get the number of columns of the correlation matrix. More... | |
const short unsigned int | numRow (void) const |
Get the number of rows of the correlation matrix. More... | |
float & | operator() (short unsigned int iRow, short unsigned int jCol) |
Read or write an element of the correlations matrix. NOTE: Indexing starts from [0,0]. More... | |
const float | operator() (short unsigned int iRow, short unsigned int jCol) const |
Read or write an element of the correlations matrix. NOTE: Indexing starts from [0,0]. More... | |
void | operator*= (const float multiply) |
Multiply all elements of the correlations matrix with a given number. More... | |
~AlignmentExtendedCorrelationsEntry (void) | |
Destructor. More... | |
Private Attributes | |
std::vector< float > | theData |
short unsigned int | theNCols |
short unsigned int | theNRows |
Data container for a correlations matrix (represented by a vector of floats), with basic access functions. NOTE: This class is designed specifically for the use within AlignmentExtendedCorrelationsStore, and is not intended to be used elsewhere.
Definition at line 11 of file AlignmentExtendedCorrelationsEntry.h.
AlignmentExtendedCorrelationsEntry::AlignmentExtendedCorrelationsEntry | ( | void | ) |
Default constructor.
Definition at line 4 of file AlignmentExtendedCorrelationsEntry.cc.
|
explicit |
Constructor. Leaves the correlations matrix uninitialized.
Definition at line 9 of file AlignmentExtendedCorrelationsEntry.cc.
|
explicit |
Constructor. Initializes all elements of the correlations matrix to the given value.
Definition at line 16 of file AlignmentExtendedCorrelationsEntry.cc.
|
explicit |
Constructor from CLHEP matrix.
Definition at line 24 of file AlignmentExtendedCorrelationsEntry.cc.
References mps_fire::i, dqmiolumiharvest::j, theData, and theNCols.
|
inline |
AlgebraicMatrix AlignmentExtendedCorrelationsEntry::matrix | ( | void | ) | const |
Retrieve the correlation matrix in a CLHEP matrix representation;.
Definition at line 41 of file AlignmentExtendedCorrelationsEntry.cc.
References mps_fire::i, dqmiolumiharvest::j, mps_fire::result, theData, theNCols, and theNRows.
|
inline |
Get the number of columns of the correlation matrix.
Definition at line 40 of file AlignmentExtendedCorrelationsEntry.h.
References theNCols.
Referenced by AlignmentExtendedCorrelationsStore::fillCovariance(), AlignmentExtendedCorrelationsStore::fillCovarianceT(), AlignmentExtendedCorrelationsStore::readFromCovariance(), and AlignmentExtendedCorrelationsStore::readFromCovarianceT().
|
inline |
Get the number of rows of the correlation matrix.
Definition at line 37 of file AlignmentExtendedCorrelationsEntry.h.
References theNRows.
Referenced by AlignmentExtendedCorrelationsStore::fillCovariance(), AlignmentExtendedCorrelationsStore::fillCovarianceT(), AlignmentExtendedCorrelationsStore::readFromCovariance(), and AlignmentExtendedCorrelationsStore::readFromCovarianceT().
|
inline |
Read or write an element of the correlations matrix. NOTE: Indexing starts from [0,0].
Definition at line 29 of file AlignmentExtendedCorrelationsEntry.h.
References theData, and theNCols.
|
inline |
Read or write an element of the correlations matrix. NOTE: Indexing starts from [0,0].
Definition at line 32 of file AlignmentExtendedCorrelationsEntry.h.
References theData, and theNCols.
void AlignmentExtendedCorrelationsEntry::operator*= | ( | const float | multiply | ) |
Multiply all elements of the correlations matrix with a given number.
Definition at line 36 of file AlignmentExtendedCorrelationsEntry.cc.
References Matriplex::multiply(), and theData.
|
private |
Definition at line 63 of file AlignmentExtendedCorrelationsEntry.h.
Referenced by AlignmentExtendedCorrelationsEntry(), matrix(), operator()(), and operator*=().
|
private |
Definition at line 61 of file AlignmentExtendedCorrelationsEntry.h.
Referenced by AlignmentExtendedCorrelationsEntry(), matrix(), numCol(), and operator()().
|
private |
Definition at line 60 of file AlignmentExtendedCorrelationsEntry.h.