CMS 3D CMS Logo

BowedSurfaceAlignmentParameters.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_BowedSurfaceAlignmentParameters_h
2 #define Alignment_CommonAlignment_BowedSurfaceAlignmentParameters_h
3 
7 
9 
22 
23 class Alignable;
26 
28 {
29 public:
36  dslopeX = BowedDerivs::dslopeX, // NOTE: slope(u) -> k*tan(beta),
37  dslopeY = BowedDerivs::dslopeY, // slope(v) -> l*tan(alpha)
38  drotZ = BowedDerivs::drotZ, // rot(w) -> m*gamma
43  };
44 
47 
51  const AlgebraicSymMatrix &covMatrix);
52 
55  const AlgebraicSymMatrix &covMatrix,
56  const std::vector<bool> &selection);
57 
60  void apply() override;
61  int type() const override;
62 
65  const AlgebraicSymMatrix &covMatrix) const override;
66 
69  cloneFromSelected(const AlgebraicVector &parameters,
70  const AlgebraicSymMatrix &covMatrix) const override;
71 
74  const AlignableDetOrUnitPtr &aliDet) const override;
75 
78 
81 
83  void print() const;
84 };
85 
86 #endif
87 
selection
main part
Definition: corrVsCorr.py:98
BowedSurfaceAlignmentParameters * cloneFromSelected(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const override
Clone selected parameters (for update of parameters)
BowedSurfaceAlignmentParameters(Alignable *alignable)
Constructor with empty parameters/covariance.
align::LocalVector translation() const
Get translation parameters in double precision.
const AlgebraicVector & parameters(void) const
Get alignment parameters.
void print() const
print parameters to screen
align::EulerAngles rotation() const
Get rotation parameters.
CLHEP::HepMatrix AlgebraicMatrix
void apply() override
apply parameters to alignable
int type() const override
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency) ...
AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &aliDet) const override
Get all derivatives.
Alignable * alignable(void) const
Get pointer to corresponding alignable.
BowedSurfaceAlignmentParameters * clone(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const override
Clone all parameters (for update of parameters)
CLHEP::HepVector AlgebraicVector
AlgebraicVector EulerAngles
Definition: Definitions.h:36
BowedSurfaceAlignmentDerivatives BowedDerivs
Give parameters a name.
CLHEP::HepSymMatrix AlgebraicSymMatrix