#include <AlignmentParametersData.h>
Public Types | |
typedef ReferenceCountingPointer< AlignmentParametersData > | DataContainer |
Public Member Functions | |
AlignmentParametersData (void) | |
Default constructor. More... | |
AlignmentParametersData (AlgebraicVector *param, AlgebraicSymMatrix *cov, std::vector< bool > *sel) | |
AlignmentParametersData (const AlgebraicVector ¶m, const AlgebraicSymMatrix &cov, const std::vector< bool > &sel) | |
Constructor from parameters vector, covariance matrix and selection vector. More... | |
AlignmentParametersData (AlgebraicVector *param, AlgebraicSymMatrix *cov) | |
AlignmentParametersData (const AlgebraicVector ¶m, const AlgebraicSymMatrix &cov) | |
Constructor from parameters vector and covariance matrix. More... | |
void | checkConsistency (void) const |
const AlgebraicSymMatrix & | covariance (void) const |
Access to the covariance matrix. More... | |
int | numSelected (void) |
Access to the number of selected parameters. More... | |
const AlgebraicVector & | parameters (void) const |
Access to the parameter vector. More... | |
const std::vector< bool > & | selector (void) const |
Access to the selection vector. More... | |
~AlignmentParametersData (void) override | |
Private Attributes | |
AlgebraicSymMatrix * | theCovariance |
int | theNumSelected |
AlgebraicVector * | theParameters |
std::vector< bool > * | theSelector |
Definition at line 7 of file AlignmentParametersData.h.
Definition at line 12 of file AlignmentParametersData.h.
AlignmentParametersData::AlignmentParametersData | ( | void | ) |
Default constructor.
Definition at line 9 of file AlignmentParametersData.cc.
AlignmentParametersData::AlignmentParametersData | ( | AlgebraicVector * | param, |
AlgebraicSymMatrix * | cov, | ||
std::vector< bool > * | sel | ||
) |
Constructor from parameters vector, covariance matrix and selection vector. NOTE: The input data must live on the heap and must not be deleted by the user.
Definition at line 17 of file AlignmentParametersData.cc.
References EnergyCorrector::c, theNumSelected, and theSelector.
AlignmentParametersData::AlignmentParametersData | ( | const AlgebraicVector & | param, |
const AlgebraicSymMatrix & | cov, | ||
const std::vector< bool > & | sel | ||
) |
Constructor from parameters vector, covariance matrix and selection vector.
Definition at line 30 of file AlignmentParametersData.cc.
References EnergyCorrector::c, theNumSelected, and theSelector.
AlignmentParametersData::AlignmentParametersData | ( | AlgebraicVector * | param, |
AlgebraicSymMatrix * | cov | ||
) |
Constructor from parameters vector and covariance matrix. NOTE: The input data must live on the heap and must not be deleted by the user.
Definition at line 43 of file AlignmentParametersData.cc.
AlignmentParametersData::AlignmentParametersData | ( | const AlgebraicVector & | param, |
const AlgebraicSymMatrix & | cov | ||
) |
Constructor from parameters vector and covariance matrix.
Definition at line 52 of file AlignmentParametersData.cc.
|
override |
Definition at line 61 of file AlignmentParametersData.cc.
References theCovariance, theParameters, and theSelector.
void AlignmentParametersData::checkConsistency | ( | void | ) | const |
Check if the size of the parameters vector, the size of the covariance matrix, the size of the selector and the number of selected parameters is consistent. An exception of type "LogicError" is thrown in case of any inconsistencies.
Definition at line 69 of file AlignmentParametersData.cc.
References Exception, theCovariance, theParameters, and theSelector.
Referenced by numSelected().
|
inline |
Access to the covariance matrix.
Definition at line 43 of file AlignmentParametersData.h.
References theCovariance.
|
inline |
Access to the number of selected parameters.
Definition at line 49 of file AlignmentParametersData.h.
References checkConsistency(), and theNumSelected.
|
inline |
Access to the parameter vector.
Definition at line 40 of file AlignmentParametersData.h.
References theParameters.
Referenced by Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::inputTags(), Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::properties(), and Vispa.Plugins.ConfigEditor.ConfigDataAccessor.ConfigDataAccessor::recursePSetProperties().
|
inline |
Access to the selection vector.
Definition at line 46 of file AlignmentParametersData.h.
References theSelector.
|
private |
Definition at line 59 of file AlignmentParametersData.h.
Referenced by checkConsistency(), covariance(), and ~AlignmentParametersData().
|
private |
Definition at line 61 of file AlignmentParametersData.h.
Referenced by AlignmentParametersData(), and numSelected().
|
private |
Definition at line 58 of file AlignmentParametersData.h.
Referenced by checkConsistency(), parameters(), and ~AlignmentParametersData().
|
private |
Definition at line 60 of file AlignmentParametersData.h.
Referenced by AlignmentParametersData(), checkConsistency(), selector(), and ~AlignmentParametersData().