Go to the documentation of this file.
35 <<
" instead of " <<
N_PARAM <<
" parameters.";
47 <<
" instead of " <<
N_PARAM <<
" parameters.";
86 throw cms::Exception(
"MisMatch") <<
"BowedSurfaceAlignmentParameters::derivatives: The hit alignable "
88 <<
"aligned one (i.e. bowed surface parameters cannot be used for "
89 "composed alignables)\n";
122 throw cms::Exception(
"BadParameters") <<
"BowedSurfaceAlignmentParameters::apply: parameters without "
155 std::cout <<
"Contents of BowedSurfaceAlignmentParameters:"
156 <<
"\nParameters: " <<
theData->parameters() <<
"\nCovariance: " <<
theData->covariance() << std::endl;
void apply() override
apply parameters to alignable
AlgebraicVector expandVector(const AlgebraicVector &m, const std::vector< bool > &sel) const
static double gammaScale(double width, double splitLength)
virtual void rotateInGlobalFrame(const RotationType &rotation)=0
void print() const
print parameters to screen
align::LocalVector translation() const
Get translation parameters in double precision.
AlignmentUserVariables * userVariables(void) const
Get pointer to user variables.
align::Scalar length() const
bool isValid(void) const
Get validity flag.
CLHEP::HepVector AlgebraicVector
void rectify(RotationType &)
Correct a rotation matrix for rounding errors.
align::GlobalPoints toGlobal(const align::LocalPoints &) const
Return in global coord given a set of local points.
const AlignableSurface & surface() const
Return the Surface (global position and orientation) of the object.
BowedSurfaceAlignmentParameters * clone(const AlgebraicVector ¶meters, const AlgebraicSymMatrix &covMatrix) const override
Clone all parameters (for update of parameters)
BowedSurfaceAlignmentDerivatives BowedDerivs
Give parameters a name.
align::EulerAngles rotation() const
Get rotation parameters.
AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &aliDet) const override
Get all derivatives.
CLHEP::HepSymMatrix AlgebraicSymMatrix
Vector3DBase< Scalar, LocalTag > LocalVector
AlgebraicSymMatrix expandSymMatrix(const AlgebraicSymMatrix &m, const std::vector< bool > &sel) const
AlgebraicVector EulerAngles
virtual void move(const GlobalVector &displacement)=0
Movement with respect to the global reference frame.
BowedSurfaceAlignmentParameters * cloneFromSelected(const AlgebraicVector ¶meters, const AlgebraicSymMatrix &covMatrix) const override
Clone selected parameters (for update of parameters)
BowedSurfaceAlignmentParameters(Alignable *alignable)
Constructor with empty parameters/covariance.
CLHEP::HepMatrix AlgebraicMatrix
void setValid(bool v)
Set validity flag.
align::Scalar width() const
RotationType toMatrix(const EulerAngles &)
Convert rotation angles about x-, y-, z-axes to matrix.
Alignable * alignable(void) const
Get pointer to corresponding alignable.
const std::vector< bool > & selector(void) const
Get alignment parameter selector vector.
const AlgebraicVector & parameters(void) const
Get alignment parameters.
virtual void addSurfaceDeformation(const SurfaceDeformation *deformation, bool propagateDown)=0
int type() const override
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency)
void setUserVariables(AlignmentUserVariables *auv)
Set pointer to user variables.