CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Types | Public Member Functions | Private Member Functions | Private Attributes
AlignmentExtendedCorrelationsStore Class Reference

#include <AlignmentExtendedCorrelationsStore.h>

Inheritance diagram for AlignmentExtendedCorrelationsStore:
AlignmentCorrelationsStore

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
 

Detailed Description

Definition at line 18 of file AlignmentExtendedCorrelationsStore.h.

Member Typedef Documentation

Definition at line 25 of file AlignmentExtendedCorrelationsStore.h.

Definition at line 23 of file AlignmentExtendedCorrelationsStore.h.

Definition at line 24 of file AlignmentExtendedCorrelationsStore.h.

Constructor & Destructor Documentation

AlignmentExtendedCorrelationsStore::AlignmentExtendedCorrelationsStore ( const edm::ParameterSet config)

Definition at line 12 of file AlignmentExtendedCorrelationsStore.cc.

virtual AlignmentExtendedCorrelationsStore::~AlignmentExtendedCorrelationsStore ( void  )
inlinevirtual

Definition at line 29 of file AlignmentExtendedCorrelationsStore.h.

29 {}

Member Function Documentation

void AlignmentExtendedCorrelationsStore::correlations ( Alignable ap1,
Alignable ap2,
AlgebraicSymMatrix cov,
int  row,
int  col 
) const
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.

bool AlignmentExtendedCorrelationsStore::correlationsAvailable ( Alignable ap1,
Alignable ap2 
) const
overridevirtual

Check whether correlations are stored for a given pair of alignables.

Reimplemented from AlignmentCorrelationsStore.

Definition at line 155 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::fillCorrelationsTable ( Alignable ap1,
Alignable ap2,
ExtendedCorrelationsTable table,
const AlgebraicSymMatrix cov,
int  row,
int  col,
bool  transpose 
)
private

Definition at line 195 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::fillCovariance ( Alignable ap1,
Alignable ap2,
const ExtendedCorrelationsEntry entry,
AlgebraicSymMatrix cov,
int  row,
int  col 
) const
private

Definition at line 228 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::fillCovarianceT ( Alignable ap1,
Alignable ap2,
const ExtendedCorrelationsEntry entry,
AlgebraicSymMatrix cov,
int  row,
int  col 
) const
private

Definition at line 257 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::getCorrelations ( Alignable ap1,
Alignable ap2,
AlgebraicMatrix mat 
) const
virtual

Get correlations.

Definition at line 135 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::readFromCovariance ( Alignable ap1,
Alignable ap2,
ExtendedCorrelationsEntry entry,
const AlgebraicSymMatrix cov,
int  row,
int  col 
)
private

Definition at line 285 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::readFromCovarianceT ( Alignable ap1,
Alignable ap2,
ExtendedCorrelationsEntry entry,
const AlgebraicSymMatrix cov,
int  row,
int  col 
)
private

Definition at line 315 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::resetCorrelations ( void  )
overridevirtual

Reset correlations.

Reimplemented from AlignmentCorrelationsStore.

Definition at line 170 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::resizeCorruptCorrelations ( ExtendedCorrelationsEntry entry,
double  maxCorr 
)
private

Definition at line 345 of file AlignmentExtendedCorrelationsStore.cc.

void AlignmentExtendedCorrelationsStore::setCorrelations ( Alignable ap1,
Alignable ap2,
const AlgebraicSymMatrix cov,
int  row,
int  col 
)
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.

void AlignmentExtendedCorrelationsStore::setCorrelations ( Alignable ap1,
Alignable ap2,
AlgebraicMatrix mat 
)
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.

unsigned int AlignmentExtendedCorrelationsStore::size ( void  ) const
overridevirtual

Get number of stored correlations.

Reimplemented from AlignmentCorrelationsStore.

Definition at line 183 of file AlignmentExtendedCorrelationsStore.cc.

Member Data Documentation

ExtendedCorrelations AlignmentExtendedCorrelationsStore::theCorrelations
private

Definition at line 78 of file AlignmentExtendedCorrelationsStore.h.

double AlignmentExtendedCorrelationsStore::theCut
private

Definition at line 81 of file AlignmentExtendedCorrelationsStore.h.

int AlignmentExtendedCorrelationsStore::theMaxUpdates
private

Definition at line 80 of file AlignmentExtendedCorrelationsStore.h.

double AlignmentExtendedCorrelationsStore::theWeight
private

Definition at line 82 of file AlignmentExtendedCorrelationsStore.h.