CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros 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 {
23 
24 public:
25 
28  {
29  dx = 0, dy,
32  };
33 
37 
41  const AlgebraicSymMatrix& covMatrix );
42 
45  const AlgebraicSymMatrix& covMatrix,
46  const std::vector<bool>& selection );
47 
50  virtual void apply();
51  virtual int type() const;
52 
55  const AlgebraicSymMatrix& covMatrix ) const;
56 
59  cloneFromSelected(const AlgebraicVector& parameters, const AlgebraicSymMatrix& covMatrix) const;
60 
63  const AlignableDetOrUnitPtr & ) const;
64 
67  const AlignableDetOrUnitPtr & ) const;
68 
70  AlgebraicVector translation(void) const;
71 
73  AlgebraicVector rotation(void) const;
74 
77 
79  void print(void) const;
80 
84 };
85 
86 #endif
virtual AlgebraicMatrix derivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &) const
Get all derivatives.
static AlgebraicVector displacementFromAlignable(const Alignable *ali)
selection
main part
Definition: corrVsCorr.py:98
virtual AlgebraicMatrix selectedDerivatives(const TrajectoryStateOnSurface &tsos, const AlignableDetOrUnitPtr &) const
Get selected derivatives.
BeamSpotAlignmentParameters(Alignable *alignable, bool calcMis)
virtual ~BeamSpotAlignmentParameters()
Destructor.
const AlgebraicVector & parameters(void) const
Get alignment parameters.
virtual BeamSpotAlignmentParameters * cloneFromSelected(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const
Clone selected parameters (for update of parameters)
virtual void apply()
apply parameters to alignable
virtual BeamSpotAlignmentParameters * clone(const AlgebraicVector &parameters, const AlgebraicSymMatrix &covMatrix) const
Clone all parameters (for update of parameters)
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.
AlgebraicVector rotation(void) const
Get rotation parameters.
virtual int type() const
tell type (AlignmentParametersFactory::ParametersType - but no circular dependency) ...
CLHEP::HepVector AlgebraicVector
void print(void) const
print parameters to screen
CLHEP::HepSymMatrix AlgebraicSymMatrix
AlgebraicVector translation(void) const
Get translation parameters.