Go to the documentation of this file. 1 #ifndef Alignment_CommonAlignment_AlignmentParameters_H
2 #define Alignment_CommonAlignment_AlignmentParameters_H
49 const std::vector<bool>&
sel);
58 virtual void apply() = 0;
60 virtual int type()
const = 0;
67 const std::vector<bool>&
selector(
void)
const;
105 int size(
void)
const;
AlgebraicVector expandVector(const AlgebraicVector &m, const std::vector< bool > &sel) const
(Abstract) Base class for alignment algorithm user variables
AlgebraicVector collapseVector(const AlgebraicVector &m, const std::vector< bool > &sel) const
AlignmentUserVariables * userVariables(void) const
Get pointer to user variables.
virtual AlgebraicMatrix selectedDerivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const
virtual void apply()=0
apply parameters to alignable
bool isValid(void) const
Get validity flag.
virtual int type() const =0
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency)
CLHEP::HepVector AlgebraicVector
AlgebraicSymMatrix selectedCovariance(void) const
Get covariance matrix of selected parameters.
virtual ~AlignmentParameters()
Destructor.
AlignmentParameters()
Default constructor.
virtual AlignmentParameters * clone(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const =0
Enforce clone methods in derived classes.
AlignmentUserVariables * theUserVariables
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicSymMatrix collapseSymMatrix(const AlgebraicSymMatrix &m, const std::vector< bool > &sel) const
AlgebraicVector selectedParameters(void) const
Get selected parameters.
AlgebraicSymMatrix expandSymMatrix(const AlgebraicSymMatrix &m, const std::vector< bool > &sel) const
AlignmentParametersData::DataContainer DataContainer
virtual AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &alidet) const =0
Get derivatives of selected parameters.
CLHEP::HepMatrix AlgebraicMatrix
const AlgebraicSymMatrix & covariance(void) const
Get parameter covariance matrix.
void setValid(bool v)
Set validity flag.
virtual AlignmentParameters * cloneFromSelected(const AlgebraicVector &par, const AlgebraicSymMatrix &cov) const =0
int numSelected(void) const
Get number of selected parameters.
int size(void) const
Get number of parameters.
Alignable * alignable(void) const
Get pointer to corresponding alignable.
const std::vector< bool > & selector(void) const
Get alignment parameter selector vector.
char data[epos_bytes_allocation]
const AlgebraicVector & parameters(void) const
Get alignment parameters.
bool bValid
True if parameters are valid.
virtual unsigned int hierarchyLevel() const
void setUserVariables(AlignmentUserVariables *auv)
Set pointer to user variables.