#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 19 of file AlignmentCorrelationsStore.h.
typedef std::map<Alignable*, AlgebraicMatrix> AlignmentCorrelationsStore::CorrelationsTable |
Definition at line 18 of file AlignmentCorrelationsStore.h.
AlignmentCorrelationsStore::AlignmentCorrelationsStore | ( | void | ) |
Definition at line 7 of file AlignmentCorrelationsStore.cc.
|
inlinevirtual |
Definition at line 23 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 12 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 100 of file AlignmentCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
Referenced by AlignmentParameterStore::attachCorrelations().
|
private |
Definition at line 135 of file AlignmentCorrelationsStore.cc.
References Alignable::alignmentParameters(), AlignmentParameters::numSelected(), readFromCovariance(), and readFromCovarianceT().
Referenced by setCorrelations().
|
private |
|
private |
|
private |
Definition at line 179 of file AlignmentCorrelationsStore.cc.
Referenced by fillCorrelationsTable().
|
private |
Definition at line 189 of file AlignmentCorrelationsStore.cc.
Referenced by fillCorrelationsTable().
|
virtual |
Reset correlations.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 114 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 51 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 85 of file AlignmentCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
virtual |
Get number of stored correlations.
Reimplemented in AlignmentExtendedCorrelationsStore.
Definition at line 126 of file AlignmentCorrelationsStore.cc.
References theCorrelations.
Referenced by ntupleDataFormat._Collection::__iter__(), ntupleDataFormat._Collection::__len__(), and AlignmentParameterStore::numCorrelations().
|
private |
Definition at line 66 of file AlignmentCorrelationsStore.h.
Referenced by correlations(), correlationsAvailable(), resetCorrelations(), setCorrelations(), and size().