CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Groups Pages
BeamSpotAlignmentParameters.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_BeamSpotAlignmentParameters_h
2 #define Alignment_CommonAlignment_BeamSpotAlignmentParameters_h
3 
6 
16 
17 class Alignable;
20 
22 public:
25 
30 
34  const AlgebraicSymMatrix &covMatrix);
35 
39  const AlgebraicSymMatrix &covMatrix,
40  const std::vector<bool> &selection);
41 
44  void apply() override;
45  int type() const override;
46 
49  const AlgebraicSymMatrix &covMatrix) const override;
50 
53  const AlgebraicSymMatrix &covMatrix) const override;
54 
57 
60  const AlignableDetOrUnitPtr &) const override;
61 
63  AlgebraicVector translation(void) const;
64 
66  AlgebraicVector rotation(void) const;
67 
70 
72  void print(void) const;
73 
77 };
78 
79 #endif
static AlgebraicVector displacementFromAlignable(const Alignable *ali)
selection
main part
Definition: corrVsCorr.py:100
BeamSpotAlignmentParameters(Alignable *alignable, bool calcMis)
const AlgebraicVector & parameters(void) const
Get alignment parameters.
~BeamSpotAlignmentParameters() override
Destructor.
CLHEP::HepMatrix AlgebraicMatrix
AlgebraicVector globalParameters(void) const
calculate and return parameters in global frame
AlignmentParameterName
Give parameters a name.
Alignable * alignable(void) const
Get pointer to corresponding alignable.
int type() const override
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency) ...
AlgebraicVector rotation(void) const
Get rotation parameters.
AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &) const override
Get all derivatives.
CLHEP::HepVector AlgebraicVector
void print(void) const
print parameters to screen
BeamSpotAlignmentParameters * clone(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const override
Clone all parameters (for update of parameters)
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicMatrix selectedDerivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &) const override
Get selected derivatives.
void apply() override
apply parameters to alignable
BeamSpotAlignmentParameters * cloneFromSelected(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const override
Clone selected parameters (for update of parameters)
AlgebraicVector translation(void) const
Get translation parameters.