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
AlignmentCorrelationsStore Class Reference

#include <AlignmentCorrelationsStore.h>

Inheritance diagram for AlignmentCorrelationsStore:
AlignmentExtendedCorrelationsStore

Public Types

typedef std::map< Alignable
*, CorrelationsTable * > 
Correlations
 
typedef std::map< Alignable
*, AlgebraicMatrix
CorrelationsTable
 

Public Member Functions

 AlignmentCorrelationsStore (void)
 
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 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)
 Set correlations. More...
 
virtual unsigned int size (void) const
 Get number of stored correlations. More...
 
virtual ~AlignmentCorrelationsStore (void)
 

Private Member Functions

void fillCorrelationsTable (Alignable *ap1, Alignable *ap2, CorrelationsTable *table, const AlgebraicSymMatrix &cov, int row, int col, bool transpose)
 
void fillCovariance (Alignable *ap1, Alignable *ap2, const AlgebraicMatrix &entry, AlgebraicSymMatrix &cov, int row, int col) const
 
void fillCovarianceT (Alignable *ap1, Alignable *ap2, const AlgebraicMatrix &entry, AlgebraicSymMatrix &cov, int row, int col) const
 
void readFromCovariance (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &entry, const AlgebraicSymMatrix &cov, int row, int col)
 
void readFromCovarianceT (Alignable *ap1, Alignable *ap2, AlgebraicMatrix &entry, const AlgebraicSymMatrix &cov, int row, int col)
 

Private Attributes

Correlations theCorrelations
 

Detailed Description

Definition at line 16 of file AlignmentCorrelationsStore.h.

Member Typedef Documentation

Definition at line 22 of file AlignmentCorrelationsStore.h.

Definition at line 21 of file AlignmentCorrelationsStore.h.

Constructor & Destructor Documentation

AlignmentCorrelationsStore::AlignmentCorrelationsStore ( void  )

Definition at line 8 of file AlignmentCorrelationsStore.cc.

virtual AlignmentCorrelationsStore::~AlignmentCorrelationsStore ( void  )
inlinevirtual

Definition at line 26 of file AlignmentCorrelationsStore.h.

26 {}

Member Function Documentation

void AlignmentCorrelationsStore::correlations ( Alignable ap1,
Alignable ap2,
AlgebraicSymMatrix cov,
int  row,
int  col 
) const
virtual

Write correlations directly to the covariance matrix starting at the given position. Indices are assumed to start from 0.

Reimplemented in AlignmentExtendedCorrelationsStore.

Definition at line 15 of file AlignmentCorrelationsStore.cc.

bool AlignmentCorrelationsStore::correlationsAvailable ( Alignable ap1,
Alignable ap2 
) const
virtual

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

Reimplemented in AlignmentExtendedCorrelationsStore.

Definition at line 117 of file AlignmentCorrelationsStore.cc.

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

Definition at line 157 of file AlignmentCorrelationsStore.cc.

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

Definition at line 184 of file AlignmentCorrelationsStore.cc.

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

Definition at line 197 of file AlignmentCorrelationsStore.cc.

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

Definition at line 210 of file AlignmentCorrelationsStore.cc.

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

Definition at line 223 of file AlignmentCorrelationsStore.cc.

void AlignmentCorrelationsStore::resetCorrelations ( void  )
virtual

Reset correlations.

Reimplemented in AlignmentExtendedCorrelationsStore.

Definition at line 132 of file AlignmentCorrelationsStore.cc.

void AlignmentCorrelationsStore::setCorrelations ( Alignable ap1,
Alignable ap2,
const AlgebraicSymMatrix cov,
int  row,
int  col 
)
virtual

Get correlations directly from the given position of the covariance matrix and store them. Indices are assumed to start from 0.

Reimplemented in AlignmentExtendedCorrelationsStore.

Definition at line 60 of file AlignmentCorrelationsStore.cc.

void AlignmentCorrelationsStore::setCorrelations ( Alignable ap1,
Alignable ap2,
AlgebraicMatrix mat 
)
virtual

Set correlations.

Reimplemented in AlignmentExtendedCorrelationsStore.

Definition at line 98 of file AlignmentCorrelationsStore.cc.

unsigned int AlignmentCorrelationsStore::size ( void  ) const
virtual

Get number of stored correlations.

Reimplemented in AlignmentExtendedCorrelationsStore.

Definition at line 145 of file AlignmentCorrelationsStore.cc.

Member Data Documentation

Correlations AlignmentCorrelationsStore::theCorrelations
private

Definition at line 67 of file AlignmentCorrelationsStore.h.