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