#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) |
Private Member Functions | |
void | fillCorrelationsTable (Alignable *ap1, Alignable *ap2, CorrelationsTable *table, const AlgebraicSymMatrix &cov, int row, int col, bool transpose) |
void | fillCovariance (Alignable *ap1, Alignable *ap2, const AlgebraicMatrix &entry, AlgebraicSymMatrix &cov, int row, int col) const |
void | fillCovarianceT (Alignable *ap1, Alignable *ap2, const AlgebraicMatrix &entry, AlgebraicSymMatrix &cov, int row, int col) const |
void | readFromCovariance (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &entry, const AlgebraicSymMatrix &cov, int row, int col) |
void | readFromCovarianceT (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &entry, const AlgebraicSymMatrix &cov, int row, int col) |
Private 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.
References cuy::col, correlations(), correlationsAvailable(), mps_splice::entry, fillCorrelationsTable(), fillCovariance(), fillCovarianceT(), readFromCovariance(), readFromCovarianceT(), resetCorrelations(), setCorrelations(), size(), and geometryDiff::transpose().
|
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(), AlignmentParameterStore::selectParameters(), and ~AlignmentCorrelationsStore().
|
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(), and ~AlignmentCorrelationsStore().
|
private |
Definition at line 157 of file AlignmentCorrelationsStore.cc.
References Alignable::alignmentParameters(), AlignmentParameters::numSelected(), readFromCovariance(), and readFromCovarianceT().
Referenced by setCorrelations(), and ~AlignmentCorrelationsStore().
|
private |
Definition at line 184 of file AlignmentCorrelationsStore.cc.
Referenced by correlations(), and ~AlignmentCorrelationsStore().
|
private |
Definition at line 197 of file AlignmentCorrelationsStore.cc.
Referenced by correlations(), and ~AlignmentCorrelationsStore().
|
private |
Definition at line 210 of file AlignmentCorrelationsStore.cc.
Referenced by fillCorrelationsTable(), and ~AlignmentCorrelationsStore().
|
private |
Definition at line 223 of file AlignmentCorrelationsStore.cc.
Referenced by fillCorrelationsTable(), and ~AlignmentCorrelationsStore().
|
virtual |
Reset correlations.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 132 of file AlignmentCorrelationsStore.cc.
References correlations(), setCorrelations(), and theCorrelations.
Referenced by AlignmentParameterStore::resetParameters(), and ~AlignmentCorrelationsStore().
|
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(), AlignmentParameterStore::updateParameters(), and ~AlignmentCorrelationsStore().
|
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 ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and ~AlignmentCorrelationsStore().
|
private |
Definition at line 67 of file AlignmentCorrelationsStore.h.
Referenced by correlations(), correlationsAvailable(), resetCorrelations(), setCorrelations(), and size().