CMS 3D CMS Logo

AlignmentPositionError.h
Go to the documentation of this file.
1 #ifndef ALIGNMENT_POSITION_ERROR_H
2 #define ALIGNMENT_POSITION_ERROR_H
3 
5 
11 public:
13 
14  AlignmentPositionError(float xx, float yy, float zz, float phixphix = 0, float phiyphiy = 0, float phizphiz = 0);
15 
17 
19 
21 
22  bool valid() const { return (theGlobalError.cxx() > 0 || theGlobalError.cyy() > 0 || theGlobalError.czz() > 0); }
23 
24  const GlobalErrorExtended& globalError() const { return theGlobalError; };
25 
27  return AlignmentPositionError(this->globalError() + ape.globalError());
28  };
29 
31  return AlignmentPositionError(this->globalError() - ape.globalError());
32  };
33 
36  return *this;
37  };
38 
41  return *this;
42  };
43 
44 private:
46 };
47 
48 #endif // ALIGNMENT_POSITION_ERROR_H
AlignmentPositionError & operator-=(const AlignmentPositionError &ape)
AlignmentPositionError operator-(const AlignmentPositionError &ape) const
AlignmentPositionError(const GlobalErrorExtended &ge)
AlignmentPositionError operator+(const AlignmentPositionError &ape) const
AlignmentPositionError & operator+=(const AlignmentPositionError &ape)
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
const GlobalErrorExtended & globalError() const
GlobalErrorExtended theGlobalError