CMS 3D CMS Logo

RigidBodyAlignmentParameters.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_RigidBodyAlignmentParameters_h
2 #define Alignment_CommonAlignment_RigidBodyAlignmentParameters_h
3 
6 
16 
17 class Alignable;
20 
22 {
23 
24 public:
25 
28  {
29  dx = 0, dy, dz,
32  };
33 
37 
41  const AlgebraicSymMatrix& covMatrix );
42 
45  const AlgebraicSymMatrix& covMatrix,
46  const std::vector<bool>& selection );
47 
50  void apply() override;
51  int type() const override;
52 
55  const AlgebraicSymMatrix& covMatrix ) const override;
56 
59  cloneFromSelected(const AlgebraicVector& parameters, const AlgebraicSymMatrix& covMatrix) const override;
60 
63  const AlignableDetOrUnitPtr & ) const override;
64 
67  const AlignableDetOrUnitPtr & ) const override;
68 
70  AlgebraicVector translation(void) const;
71 
73  AlgebraicVector rotation(void) const;
74 
77 
79  void print(void) const;
80 
84 
85 };
86 
87 #endif
88 
int type() const override
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency) ...
static AlgebraicVector displacementFromAlignable(const Alignable *ali)
selection
main part
Definition: corrVsCorr.py:98
AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &) const override
Get all derivatives.
void apply() override
apply parameters to alignable
~RigidBodyAlignmentParameters() override
Destructor.
AlignmentParameterName
Give parameters a name.
CLHEP::HepMatrix AlgebraicMatrix
Alignable * alignable(void) const
Get pointer to corresponding alignable.
void print(void) const
print parameters to screen
RigidBodyAlignmentParameters * cloneFromSelected(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const override
Clone selected parameters (for update of parameters)
CLHEP::HepVector AlgebraicVector
AlgebraicVector translation(void) const
Get translation parameters.
AlgebraicMatrix selectedDerivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &) const override
Get selected derivatives.
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicVector rotation(void) const
Get rotation parameters.
AlgebraicVector globalParameters(void) const
calculate and return parameters in global frame
RigidBodyAlignmentParameters(Alignable *alignable, bool calcMis)
RigidBodyAlignmentParameters * clone(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const override
Clone all parameters (for update of parameters)