CMS 3D CMS Logo

List of all members | Public Member Functions | Private Attributes
AlignmentPositionError Class Reference

#include <AlignmentPositionError.h>

Public Member Functions

 AlignmentPositionError ()
 
 AlignmentPositionError (const GlobalError &ge)
 
 AlignmentPositionError (const GlobalErrorExtended &ge)
 
 AlignmentPositionError (float xx, float yy, float zz, float phixphix=0, float phiyphiy=0, float phizphiz=0)
 
const GlobalErrorExtendedglobalError () const
 
AlignmentPositionError operator+ (const AlignmentPositionError &ape) const
 
AlignmentPositionErroroperator+= (const AlignmentPositionError &ape)
 
AlignmentPositionError operator- (const AlignmentPositionError &ape) const
 
AlignmentPositionErroroperator-= (const AlignmentPositionError &ape)
 
bool valid () const
 
 ~AlignmentPositionError ()
 

Private Attributes

GlobalErrorExtended theGlobalError
 

Detailed Description

The position error of a Det due to alignment. It is summed in quadrature with the RecHit global error.

Definition at line 10 of file AlignmentPositionError.h.

Constructor & Destructor Documentation

◆ AlignmentPositionError() [1/4]

AlignmentPositionError::AlignmentPositionError ( )
inline

Definition at line 12 of file AlignmentPositionError.h.

12 {};

Referenced by operator+(), and operator-().

◆ AlignmentPositionError() [2/4]

AlignmentPositionError::AlignmentPositionError ( float  xx,
float  yy,
float  zz,
float  phixphix = 0,
float  phiyphiy = 0,
float  phizphiz = 0 
)

Definition at line 3 of file AlignmentPositionError.cc.

4  {
6  xx, 0., 0., 0., 0., 0., yy, 0., 0., 0., 0., zz, 0., 0., 0., phixphix, 0., 0., phiyphiy, 0., phizphiz);
7 }

References theGlobalError, geometryCSVtoXML::xx, geometryCSVtoXML::yy, and geometryCSVtoXML::zz.

◆ AlignmentPositionError() [3/4]

AlignmentPositionError::AlignmentPositionError ( const GlobalErrorExtended ge)
inline

Definition at line 16 of file AlignmentPositionError.h.

16 : theGlobalError(ge){};

◆ AlignmentPositionError() [4/4]

AlignmentPositionError::AlignmentPositionError ( const GlobalError ge)

Definition at line 9 of file AlignmentPositionError.cc.

9  {
11  ge.cyx(),
12  ge.czx(),
13  0.,
14  0.,
15  0.,
16  ge.cyy(),
17  ge.czy(),
18  0.,
19  0.,
20  0.,
21  ge.czz(),
22  0.,
23  0.,
24  0.,
25  0.,
26  0.,
27  0.,
28  0.,
29  0.,
30  0.);
31 }

References GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), GlobalErrorBase< T, ErrorWeightType >::czx(), GlobalErrorBase< T, ErrorWeightType >::czy(), GlobalErrorBase< T, ErrorWeightType >::czz(), and theGlobalError.

◆ ~AlignmentPositionError()

AlignmentPositionError::~AlignmentPositionError ( )
inline

Definition at line 20 of file AlignmentPositionError.h.

20 {};

Member Function Documentation

◆ globalError()

const GlobalErrorExtended& AlignmentPositionError::globalError ( ) const
inline

◆ operator+()

AlignmentPositionError AlignmentPositionError::operator+ ( const AlignmentPositionError ape) const
inline

Definition at line 26 of file AlignmentPositionError.h.

26  {
27  return AlignmentPositionError(this->globalError() + ape.globalError());
28  };

References AlignmentPositionError(), and globalError().

◆ operator+=()

AlignmentPositionError& AlignmentPositionError::operator+= ( const AlignmentPositionError ape)
inline

Definition at line 34 of file AlignmentPositionError.h.

34  {
36  return *this;
37  };

References globalError(), and theGlobalError.

◆ operator-()

AlignmentPositionError AlignmentPositionError::operator- ( const AlignmentPositionError ape) const
inline

Definition at line 30 of file AlignmentPositionError.h.

30  {
31  return AlignmentPositionError(this->globalError() - ape.globalError());
32  };

References AlignmentPositionError(), and globalError().

◆ operator-=()

AlignmentPositionError& AlignmentPositionError::operator-= ( const AlignmentPositionError ape)
inline

Definition at line 39 of file AlignmentPositionError.h.

39  {
41  return *this;
42  };

References globalError(), and theGlobalError.

◆ valid()

bool AlignmentPositionError::valid ( ) const
inline

Member Data Documentation

◆ theGlobalError

GlobalErrorExtended AlignmentPositionError::theGlobalError
private
geometryCSVtoXML.zz
zz
Definition: geometryCSVtoXML.py:19
GlobalErrorExtended
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
AlignmentPositionError::AlignmentPositionError
AlignmentPositionError()
Definition: AlignmentPositionError.h:12
GlobalErrorBase::czy
T czy() const
Definition: GlobalErrorBase.h:105
GlobalErrorBase::cyy
T cyy() const
Definition: GlobalErrorBase.h:101
AlignmentPositionError::globalError
const GlobalErrorExtended & globalError() const
Definition: AlignmentPositionError.h:24
AlignmentPositionError::theGlobalError
GlobalErrorExtended theGlobalError
Definition: AlignmentPositionError.h:42
GlobalErrorBase::cxx
T cxx() const
Definition: GlobalErrorBase.h:97
geometryCSVtoXML.yy
yy
Definition: geometryCSVtoXML.py:19
GlobalErrorBase::cyx
T cyx() const
Definition: GlobalErrorBase.h:99
GlobalErrorBaseExtended::cxx
T cxx() const
Definition: GlobalErrorBaseExtended.h:107
GlobalErrorBaseExtended::cyy
T cyy() const
Definition: GlobalErrorBaseExtended.h:119
GlobalErrorBase::czz
T czz() const
Definition: GlobalErrorBase.h:107
GlobalErrorBaseExtended::czz
T czz() const
Definition: GlobalErrorBaseExtended.h:129
geometryCSVtoXML.xx
xx
Definition: geometryCSVtoXML.py:19
GlobalErrorBase::czx
T czx() const
Definition: GlobalErrorBase.h:103