#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) | |
void | correlations (Alignable *ap1, Alignable *ap2, AlgebraicSymMatrix &cov, int row, int col) const override |
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... | |
void | resetCorrelations (void) override |
Reset correlations. More... | |
void | setCorrelations (Alignable *ap1, Alignable *ap2, const AlgebraicSymMatrix &cov, int row, int col) override |
void | setCorrelations (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &mat) override |
unsigned int | size (void) const override |
Get number of stored correlations. More... | |
~AlignmentExtendedCorrelationsStore (void) override | |
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 19 of file AlignmentExtendedCorrelationsStore.h.
typedef std::map<Alignable*, ExtendedCorrelationsTable*> AlignmentExtendedCorrelationsStore::ExtendedCorrelations |
Definition at line 23 of file AlignmentExtendedCorrelationsStore.h.
typedef AlignmentExtendedCorrelationsEntry AlignmentExtendedCorrelationsStore::ExtendedCorrelationsEntry |
Definition at line 21 of file AlignmentExtendedCorrelationsStore.h.
typedef std::map<Alignable*, ExtendedCorrelationsEntry> AlignmentExtendedCorrelationsStore::ExtendedCorrelationsTable |
Definition at line 22 of file AlignmentExtendedCorrelationsStore.h.
AlignmentExtendedCorrelationsStore::AlignmentExtendedCorrelationsStore | ( | const edm::ParameterSet & | config | ) |
Definition at line 11 of file AlignmentExtendedCorrelationsStore.cc.
References theCut, theMaxUpdates, and theWeight.
|
inlineoverride |
Definition at line 27 of file AlignmentExtendedCorrelationsStore.h.
|
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 20 of file AlignmentExtendedCorrelationsStore.cc.
References cuy::col, 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 132 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
private |
Definition at line 167 of file AlignmentExtendedCorrelationsStore.cc.
References Alignable::alignmentParameters(), cuy::col, AlignmentParameters::numSelected(), readFromCovariance(), readFromCovarianceT(), TableParser::table, and geometryDiff::transpose().
Referenced by setCorrelations().
|
private |
Definition at line 195 of file AlignmentExtendedCorrelationsStore.cc.
References cuy::col, mps_splice::entry, Exception, DQMScaleToClient_cfi::factor, edm::isNotFinite(), and mathSSE::sqrt().
Referenced by correlations().
|
private |
Definition at line 225 of file AlignmentExtendedCorrelationsStore.cc.
References cuy::col, mps_splice::entry, Exception, DQMScaleToClient_cfi::factor, edm::isNotFinite(), and mathSSE::sqrt().
Referenced by correlations().
|
virtual |
Get correlations.
Definition at line 115 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
private |
Definition at line 253 of file AlignmentExtendedCorrelationsStore.cc.
References cuy::col, mps_splice::entry, DQMScaleToClient_cfi::factor, resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
private |
Definition at line 278 of file AlignmentExtendedCorrelationsStore.cc.
References cuy::col, mps_splice::entry, DQMScaleToClient_cfi::factor, resizeCorruptCorrelations(), and mathSSE::sqrt().
Referenced by fillCorrelationsTable().
|
overridevirtual |
Reset correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 146 of file AlignmentExtendedCorrelationsStore.cc.
References correlations(), setCorrelations(), and theCorrelations.
|
private |
Definition at line 303 of file AlignmentExtendedCorrelationsStore.cc.
References mps_splice::entry, 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 59 of file AlignmentExtendedCorrelationsStore.cc.
References cuy::col, 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 95 of file AlignmentExtendedCorrelationsStore.cc.
References std::swap(), theCorrelations, and geometryDiff::transpose().
|
overridevirtual |
Get number of stored correlations.
Reimplemented from AlignmentCorrelationsStore.
Definition at line 158 of file AlignmentExtendedCorrelationsStore.cc.
References theCorrelations.
Referenced by ntupleDataFormat._Collection::__iter__(), and ntupleDataFormat._Collection::__len__().
|
private |
Definition at line 92 of file AlignmentExtendedCorrelationsStore.h.
Referenced by correlations(), correlationsAvailable(), getCorrelations(), resetCorrelations(), setCorrelations(), and size().
|
private |
Definition at line 95 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore(), and resizeCorruptCorrelations().
|
private |
Definition at line 94 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore().
|
private |
Definition at line 96 of file AlignmentExtendedCorrelationsStore.h.
Referenced by AlignmentExtendedCorrelationsStore(), and resizeCorruptCorrelations().