#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 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 11 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 22 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 154 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
protectedvirtual |
Definition at line 194 of file AlignmentExtendedCorrelationsStore.cc.
References Alignable::alignmentParameters(), AlignmentParameters::numSelected(), readFromCovariance(), and readFromCovarianceT().
Referenced by setCorrelations().
|
protectedvirtual |
Definition at line 227 of file AlignmentExtendedCorrelationsStore.cc.
References edm::hlt::Exception, edm::detail::isnan(), AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), and mathSSE::sqrt().
Referenced by correlations().
|
protectedvirtual |
Definition at line 256 of file AlignmentExtendedCorrelationsStore.cc.
References edm::hlt::Exception, edm::detail::isnan(), AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), and mathSSE::sqrt().
Referenced by correlations().
|
virtual |
Get correlations.
Definition at line 134 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
protectedvirtual |
Definition at line 284 of file AlignmentExtendedCorrelationsStore.cc.
References AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
protectedvirtual |
Definition at line 314 of file AlignmentExtendedCorrelationsStore.cc.
References AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
virtual |
Reset correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 169 of file AlignmentExtendedCorrelationsStore.cc.
References correlations(), setCorrelations(), and theCorrelations.
|
protected |
Definition at line 344 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 67 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 107 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
virtual |
Get number of stored correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 182 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().