#include <AlignmentExtendedCorrelationsStore.h>
Public Types | |
typedef std::map< Alignable *, ExtendedCorrelationsTable * > | ExtendedCorrelations |
typedef AlignmentExtendedCorrelationsEntry | ExtendedCorrelationsEntry |
typedef std::map< Alignable *, ExtendedCorrelationsEntry > | ExtendedCorrelationsTable |
Public Types inherited from AlignmentCorrelationsStore | |
typedef std::map< Alignable *, CorrelationsTable * > | Correlations |
typedef std::map< Alignable *, AlgebraicMatrix > | CorrelationsTable |
Public Member Functions | |
AlignmentExtendedCorrelationsStore (const edm::ParameterSet &config) | |
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 | getCorrelations (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &mat) const |
Get correlations. 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) |
virtual unsigned int | size (void) const |
Get number of stored correlations. More... | |
virtual | ~AlignmentExtendedCorrelationsStore (void) |
Public Member Functions inherited from AlignmentCorrelationsStore | |
AlignmentCorrelationsStore (void) | |
virtual | ~AlignmentCorrelationsStore (void) |
Protected Member Functions | |
virtual void | fillCorrelationsTable (Alignable *ap1, Alignable *ap2, ExtendedCorrelationsTable *table, const AlgebraicSymMatrix &cov, int row, int col, bool transpose) |
virtual void | fillCovariance (Alignable *ap1, Alignable *ap2, const ExtendedCorrelationsEntry &entry, AlgebraicSymMatrix &cov, int row, int col) const |
virtual void | fillCovarianceT (Alignable *ap1, Alignable *ap2, const ExtendedCorrelationsEntry &entry, AlgebraicSymMatrix &cov, int row, int col) const |
virtual void | readFromCovariance (Alignable *ap1, Alignable *ap2, ExtendedCorrelationsEntry &entry, const AlgebraicSymMatrix &cov, int row, int col) |
virtual void | readFromCovarianceT (Alignable *ap1, Alignable *ap2, ExtendedCorrelationsEntry &entry, const AlgebraicSymMatrix &cov, int row, int col) |
void | resizeCorruptCorrelations (ExtendedCorrelationsEntry &entry, double maxCorr) |
Protected Member Functions inherited from AlignmentCorrelationsStore | |
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 | |
ExtendedCorrelations | theCorrelations |
double | theCut |
int | theMaxUpdates |
double | theWeight |
Protected Attributes inherited from AlignmentCorrelationsStore | |
Correlations | theCorrelations |
Definition at line 18 of file AlignmentExtendedCorrelationsStore.h.
typedef std::map< Alignable*, ExtendedCorrelationsTable* > AlignmentExtendedCorrelationsStore::ExtendedCorrelations |
Definition at line 25 of file AlignmentExtendedCorrelationsStore.h.
typedef AlignmentExtendedCorrelationsEntry AlignmentExtendedCorrelationsStore::ExtendedCorrelationsEntry |
Definition at line 23 of file AlignmentExtendedCorrelationsStore.h.
typedef std::map< Alignable*, ExtendedCorrelationsEntry > AlignmentExtendedCorrelationsStore::ExtendedCorrelationsTable |
Definition at line 24 of file AlignmentExtendedCorrelationsStore.h.
AlignmentExtendedCorrelationsStore::AlignmentExtendedCorrelationsStore | ( | const edm::ParameterSet & | config | ) |
Definition at line 12 of file AlignmentExtendedCorrelationsStore.cc.
References edm::ParameterSet::getParameter(), theCut, theMaxUpdates, and theWeight.
|
inlinevirtual |
Definition at line 29 of file AlignmentExtendedCorrelationsStore.h.
|
virtual |
Write correlations directly to the covariance matrix starting at the given position. Indices are assumed to start from 0.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 23 of file AlignmentExtendedCorrelationsStore.cc.
References fillCovariance(), fillCovarianceT(), std::swap(), theCorrelations, and geometryDiff::transpose().
Referenced by resetCorrelations().
|
virtual |
Check whether correlations are stored for a given pair of alignables.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 155 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
protectedvirtual |
Definition at line 195 of file AlignmentExtendedCorrelationsStore.cc.
References Alignable::alignmentParameters(), AlignmentParameters::numSelected(), readFromCovariance(), and readFromCovarianceT().
Referenced by setCorrelations().
|
protectedvirtual |
Definition at line 228 of file AlignmentExtendedCorrelationsStore.cc.
References mps_splice::entry, Exception, edm::isNotFinite(), AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), and mathSSE::sqrt().
Referenced by correlations().
|
protectedvirtual |
Definition at line 257 of file AlignmentExtendedCorrelationsStore.cc.
References mps_splice::entry, Exception, edm::isNotFinite(), AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), and mathSSE::sqrt().
Referenced by correlations().
|
virtual |
Get correlations.
Definition at line 135 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
protectedvirtual |
Definition at line 285 of file AlignmentExtendedCorrelationsStore.cc.
References mps_splice::entry, AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
protectedvirtual |
Definition at line 315 of file AlignmentExtendedCorrelationsStore.cc.
References mps_splice::entry, AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
virtual |
Reset correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 170 of file AlignmentExtendedCorrelationsStore.cc.
References correlations(), setCorrelations(), and theCorrelations.
|
protected |
Definition at line 345 of file AlignmentExtendedCorrelationsStore.cc.
References theCut, and theWeight.
Referenced by readFromCovariance(), and readFromCovarianceT().
|
virtual |
Get correlations directly from the given position of the covariance matrix and store them. Indices are assumed to start from 0.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 68 of file AlignmentExtendedCorrelationsStore.cc.
References fillCorrelationsTable(), std::swap(), theCorrelations, and geometryDiff::transpose().
Referenced by resetCorrelations().
|
virtual |
Set correlations without checking whether the maximum number of updates has already been reached.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 108 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
virtual |
Get number of stored correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 183 of file AlignmentExtendedCorrelationsStore.cc.
References theCorrelations.
|
protected |
Definition at line 78 of file AlignmentExtendedCorrelationsStore.h.
Referenced by correlations(), correlationsAvailable(), getCorrelations(), resetCorrelations(), setCorrelations(), and size().
|
protected |
Definition at line 81 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore(), and resizeCorruptCorrelations().
|
protected |
Definition at line 80 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore().
|
protected |
Definition at line 82 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore(), and resizeCorruptCorrelations().