#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 override |
virtual bool | correlationsAvailable (Alignable *ap1, Alignable *ap2) const override |
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) override |
Reset correlations. More... | |
virtual void | setCorrelations (Alignable *ap1, Alignable *ap2, const AlgebraicSymMatrix &cov, int row, int col) override |
virtual void | setCorrelations (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &mat) override |
virtual unsigned int | size (void) const override |
Get number of stored correlations. More... | |
virtual | ~AlignmentExtendedCorrelationsStore (void) |
Public Member Functions inherited from AlignmentCorrelationsStore | |
AlignmentCorrelationsStore (void) | |
virtual | ~AlignmentCorrelationsStore (void) |
Private Member Functions | |
void | fillCorrelationsTable (Alignable *ap1, Alignable *ap2, ExtendedCorrelationsTable *table, const AlgebraicSymMatrix &cov, int row, int col, bool transpose) |
void | fillCovariance (Alignable *ap1, Alignable *ap2, const ExtendedCorrelationsEntry &entry, AlgebraicSymMatrix &cov, int row, int col) const |
void | fillCovarianceT (Alignable *ap1, Alignable *ap2, const ExtendedCorrelationsEntry &entry, AlgebraicSymMatrix &cov, int row, int col) const |
void | readFromCovariance (Alignable *ap1, Alignable *ap2, ExtendedCorrelationsEntry &entry, const AlgebraicSymMatrix &cov, int row, int col) |
void | readFromCovarianceT (Alignable *ap1, Alignable *ap2, ExtendedCorrelationsEntry &entry, const AlgebraicSymMatrix &cov, int row, int col) |
void | resizeCorruptCorrelations (ExtendedCorrelationsEntry &entry, double maxCorr) |
Private Attributes | |
ExtendedCorrelations | theCorrelations |
double | theCut |
int | theMaxUpdates |
double | theWeight |
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.
References cuy::col, mps_splice::entry, reco::fillCovariance(), findQualityFiles::size, and geometryDiff::transpose().
|
overridevirtual |
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().
|
overridevirtual |
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().
|
private |
Definition at line 195 of file AlignmentExtendedCorrelationsStore.cc.
References Alignable::alignmentParameters(), AlignmentParameters::numSelected(), readFromCovariance(), and readFromCovarianceT().
Referenced by setCorrelations().
|
private |
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().
|
private |
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().
|
private |
Definition at line 285 of file AlignmentExtendedCorrelationsStore.cc.
References mps_splice::entry, AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
private |
Definition at line 315 of file AlignmentExtendedCorrelationsStore.cc.
References mps_splice::entry, AlignmentExtendedCorrelationsEntry::numCol(), AlignmentExtendedCorrelationsEntry::numRow(), resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
overridevirtual |
Reset correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 170 of file AlignmentExtendedCorrelationsStore.cc.
References correlations(), setCorrelations(), and theCorrelations.
|
private |
Definition at line 345 of file AlignmentExtendedCorrelationsStore.cc.
References theCut, and theWeight.
Referenced by readFromCovariance(), and readFromCovarianceT().
|
overridevirtual |
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().
|
overridevirtual |
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().
|
overridevirtual |
Get number of stored correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 183 of file AlignmentExtendedCorrelationsStore.cc.
References theCorrelations.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 78 of file AlignmentExtendedCorrelationsStore.h.
Referenced by correlations(), correlationsAvailable(), getCorrelations(), resetCorrelations(), setCorrelations(), and size().
|
private |
Definition at line 81 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore(), and resizeCorruptCorrelations().
|
private |
Definition at line 80 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore().
|
private |
Definition at line 82 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore(), and resizeCorruptCorrelations().