#include <AlignmentCorrelationsStore.h>
Public Types | |
typedef std::map< Alignable *, CorrelationsTable * > | Correlations |
typedef std::map< Alignable *, AlgebraicMatrix > | CorrelationsTable |
Public Member Functions | |
AlignmentCorrelationsStore (void) | |
virtual void | correlations (Alignable *ap1, Alignable *ap2, AlgebraicSymMatrix &cov, int row, int col) const |
virtual bool | correlationsAvailable (Alignable *ap1, Alignable *ap2) const |
Check whether correlations are stored for a given pair of alignables. More... | |
virtual void | resetCorrelations (void) |
Reset correlations. More... | |
virtual void | setCorrelations (Alignable *ap1, Alignable *ap2, const AlgebraicSymMatrix &cov, int row, int col) |
virtual void | setCorrelations (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &mat) |
Set correlations. More... | |
virtual unsigned int | size (void) const |
Get number of stored correlations. More... | |
virtual | ~AlignmentCorrelationsStore (void) |
Protected Member Functions | |
virtual void | fillCorrelationsTable (Alignable *ap1, Alignable *ap2, CorrelationsTable *table, const AlgebraicSymMatrix &cov, int row, int col, bool transpose) |
virtual void | fillCovariance (Alignable *ap1, Alignable *ap2, const AlgebraicMatrix &entry, AlgebraicSymMatrix &cov, int row, int col) const |
virtual void | fillCovarianceT (Alignable *ap1, Alignable *ap2, const AlgebraicMatrix &entry, AlgebraicSymMatrix &cov, int row, int col) const |
virtual void | readFromCovariance (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &entry, const AlgebraicSymMatrix &cov, int row, int col) |
virtual void | readFromCovarianceT (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &entry, const AlgebraicSymMatrix &cov, int row, int col) |
Protected Attributes | |
Correlations | theCorrelations |
Definition at line 16 of file AlignmentCorrelationsStore.h.
typedef std::map< Alignable*, CorrelationsTable* > AlignmentCorrelationsStore::Correlations |
Definition at line 22 of file AlignmentCorrelationsStore.h.
typedef std::map< Alignable*, AlgebraicMatrix > AlignmentCorrelationsStore::CorrelationsTable |
Definition at line 21 of file AlignmentCorrelationsStore.h.
AlignmentCorrelationsStore::AlignmentCorrelationsStore | ( | void | ) |
Definition at line 8 of file AlignmentCorrelationsStore.cc.
|
inlinevirtual |
Definition at line 26 of file AlignmentCorrelationsStore.h.
|
virtual |
Write correlations directly to the covariance matrix starting at the given position. Indices are assumed to start from 0.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 15 of file AlignmentCorrelationsStore.cc.
References fillCovariance(), fillCovarianceT(), std::swap(), theCorrelations, and geometryDiff::transpose().
Referenced by resetCorrelations(), and AlignmentParameterStore::selectParameters().
|
virtual |
Check whether correlations are stored for a given pair of alignables.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 117 of file AlignmentCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
Referenced by AlignmentParameterStore::attachCorrelations().
|
protectedvirtual |
Definition at line 157 of file AlignmentCorrelationsStore.cc.
References Alignable::alignmentParameters(), AlignmentParameters::numSelected(), readFromCovariance(), and readFromCovarianceT().
Referenced by setCorrelations().
|
protectedvirtual |
|
protectedvirtual |
|
protectedvirtual |
Definition at line 210 of file AlignmentCorrelationsStore.cc.
Referenced by fillCorrelationsTable().
|
protectedvirtual |
Definition at line 223 of file AlignmentCorrelationsStore.cc.
Referenced by fillCorrelationsTable().
|
virtual |
Reset correlations.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 132 of file AlignmentCorrelationsStore.cc.
References correlations(), setCorrelations(), and theCorrelations.
Referenced by AlignmentParameterStore::resetParameters().
|
virtual |
Get correlations directly from the given position of the covariance matrix and store them. Indices are assumed to start from 0.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 60 of file AlignmentCorrelationsStore.cc.
References fillCorrelationsTable(), std::swap(), theCorrelations, and geometryDiff::transpose().
Referenced by AlignmentParameterStore::attachCorrelations(), resetCorrelations(), and AlignmentParameterStore::updateParameters().
|
virtual |
Set correlations.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 98 of file AlignmentCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
virtual |
Get number of stored correlations.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 145 of file AlignmentCorrelationsStore.cc.
References theCorrelations.
Referenced by AlignmentParameterStore::numCorrelations().
|
protected |
Definition at line 67 of file AlignmentCorrelationsStore.h.
Referenced by correlations(), correlationsAvailable(), resetCorrelations(), setCorrelations(), and size().