CMS 3D CMS Logo

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

#include <AlignmentPositionError.h>

Public Member Functions

 AlignmentPositionError ()
 
 AlignmentPositionError (float xx, float yy, float zz, float phixphix=0, float phiyphiy=0, float phizphiz=0)
 
 AlignmentPositionError (const GlobalErrorExtended &ge)
 
 AlignmentPositionError (const GlobalError &ge)
 
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.

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

12 {};

◆ 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.

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

4  {
6  xx, 0., 0., 0., 0., 0., yy, 0., 0., 0., 0., zz, 0., 0., 0., phixphix, 0., 0., phiyphiy, 0., phizphiz);
7 }
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
GlobalErrorExtended theGlobalError

◆ AlignmentPositionError() [3/4]

AlignmentPositionError::AlignmentPositionError ( const GlobalErrorExtended ge)
inline

Definition at line 16 of file AlignmentPositionError.h.

16 : theGlobalError(ge){};
GlobalErrorExtended theGlobalError

◆ AlignmentPositionError() [4/4]

AlignmentPositionError::AlignmentPositionError ( const GlobalError ge)

Definition at line 9 of file AlignmentPositionError.cc.

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.

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 }
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
GlobalErrorExtended 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.

References AlignmentPositionError(), and globalError().

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

◆ operator+=()

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

Definition at line 34 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

34  {
36  return *this;
37  };
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
const GlobalErrorExtended & globalError() const
GlobalErrorExtended theGlobalError

◆ operator-()

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

Definition at line 30 of file AlignmentPositionError.h.

References AlignmentPositionError(), and globalError().

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

◆ operator-=()

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

Definition at line 39 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

39  {
41  return *this;
42  };
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
const GlobalErrorExtended & globalError() const
GlobalErrorExtended theGlobalError

◆ valid()

bool AlignmentPositionError::valid ( ) const
inline

Member Data Documentation

◆ theGlobalError

GlobalErrorExtended AlignmentPositionError::theGlobalError
private