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::AlignmentPositionError
AlignmentPositionError(const GlobalErrorExtended &ge)
Definition: AlignmentPositionError.h:16
geometryCSVtoXML.zz
zz
Definition: geometryCSVtoXML.py:19
AlignmentPositionError::~AlignmentPositionError
~AlignmentPositionError()
Definition: AlignmentPositionError.h:20
AlignmentPositionError::operator+
AlignmentPositionError operator+(const AlignmentPositionError &ape) const
Definition: AlignmentPositionError.h:26
AlignmentPositionError::valid
bool valid() const
Definition: AlignmentPositionError.h:22
GlobalErrorExtended
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
AlignmentPositionError::AlignmentPositionError
AlignmentPositionError()
Definition: AlignmentPositionError.h:12
AlignmentPositionError::globalError
const GlobalErrorExtended & globalError() const
Definition: AlignmentPositionError.h:24
AlignmentPositionError::theGlobalError
GlobalErrorExtended theGlobalError
Definition: AlignmentPositionError.h:42
geometryCSVtoXML.yy
yy
Definition: geometryCSVtoXML.py:19
GlobalErrorBaseExtended::cxx
T cxx() const
Definition: GlobalErrorBaseExtended.h:107
GlobalError.h
GlobalErrorBase< double, ErrorMatrixTag >
GlobalErrorBaseExtended::cyy
T cyy() const
Definition: GlobalErrorBaseExtended.h:119
AlignmentPositionError::operator-=
AlignmentPositionError & operator-=(const AlignmentPositionError &ape)
Definition: AlignmentPositionError.h:39
AlignmentPositionError::operator+=
AlignmentPositionError & operator+=(const AlignmentPositionError &ape)
Definition: AlignmentPositionError.h:34
GlobalErrorBaseExtended< double, ErrorMatrixTag >
GlobalErrorBaseExtended::czz
T czz() const
Definition: GlobalErrorBaseExtended.h:129
AlignmentPositionError
Definition: AlignmentPositionError.h:10
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19
AlignmentPositionError::operator-
AlignmentPositionError operator-(const AlignmentPositionError &ape) const
Definition: AlignmentPositionError.h:30