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::AlignmentPositionError ( )
inline
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.

3  {
4  theGlobalError = GlobalErrorExtended(xx,0.,0.,0.,0.,0.,yy,0.,0.,0.,0.,zz,0.,0.,0.,phixphix,0.,0.,phiyphiy,0.,phizphiz);
5 }
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
GlobalErrorExtended theGlobalError
AlignmentPositionError::AlignmentPositionError ( const GlobalErrorExtended ge)
inline

Definition at line 18 of file AlignmentPositionError.h.

References AlignmentPositionError().

18 : theGlobalError(ge) {};
GlobalErrorExtended theGlobalError
AlignmentPositionError::AlignmentPositionError ( const GlobalError ge)
AlignmentPositionError::~AlignmentPositionError ( )
inline

Definition at line 22 of file AlignmentPositionError.h.

22 {};

Member Function Documentation

const GlobalErrorExtended& AlignmentPositionError::globalError ( ) const
inline
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
AlignmentPositionError& AlignmentPositionError::operator+= ( const AlignmentPositionError ape)
inline

Definition at line 39 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

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

Definition at line 34 of file AlignmentPositionError.h.

References AlignmentPositionError(), and globalError().

34  {
35  return AlignmentPositionError ( this->globalError() - ape.globalError());
36 
37  };
const GlobalErrorExtended & globalError() const
AlignmentPositionError& AlignmentPositionError::operator-= ( const AlignmentPositionError ape)
inline

Definition at line 44 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

44  {
46  return *this;
47  };
const GlobalErrorExtended & globalError() const
GlobalErrorBaseExtended< double, ErrorMatrixTag > GlobalErrorExtended
Definition: GlobalError.h:14
GlobalErrorExtended theGlobalError
bool AlignmentPositionError::valid ( ) const
inline

Member Data Documentation

GlobalErrorExtended AlignmentPositionError::theGlobalError
private