CMS 3D CMS Logo

AlignmentParametersData.h
Go to the documentation of this file.
1 #ifndef Alignment_CommonAlignment_AlignmentParametersData_h
2 #define Alignment_CommonAlignment_AlignmentParametersData_h
3 
6 
8 public:
10 
13 
16  AlignmentParametersData(AlgebraicVector* param, AlgebraicSymMatrix* cov, std::vector<bool>* sel);
17 
19  AlignmentParametersData(const AlgebraicVector& param, const AlgebraicSymMatrix& cov, const std::vector<bool>& sel);
20 
24 
27 
28  ~AlignmentParametersData(void) override;
29 
31  const AlgebraicVector& parameters(void) const { return *theParameters; }
32 
34  const AlgebraicSymMatrix& covariance(void) const { return *theCovariance; }
35 
37  const std::vector<bool>& selector(void) const { return *theSelector; }
38 
40  int numSelected(void) { return theNumSelected; }
41 
45  void checkConsistency(void) const;
46 
47 private:
50  std::vector<bool>* theSelector;
52 };
53 
54 #endif
int numSelected(void)
Access to the number of selected parameters.
const AlgebraicVector & parameters(void) const
Access to the parameter vector.
AlignmentParametersData(void)
Default constructor.
ReferenceCountingPointer< AlignmentParametersData > DataContainer
const AlgebraicSymMatrix & covariance(void) const
Access to the covariance matrix.
CLHEP::HepVector AlgebraicVector
CLHEP::HepSymMatrix AlgebraicSymMatrix
std::vector< bool > * theSelector
const std::vector< bool > & selector(void) const
Access to the selection vector.
AlgebraicSymMatrix * theCovariance