CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
List of all members | Public Member Functions | Private Attributes
AlignmentPositionError Class Reference

#include <AlignmentPositionError.h>

Public Member Functions

 AlignmentPositionError ()
 
 AlignmentPositionError (float dx, float dy, float dz)
 
 AlignmentPositionError (GlobalError ge)
 
const GlobalErrorglobalError () 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

GlobalError theGlobalError
 

Detailed Description

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

Definition at line 10 of file AlignmentPositionError.h.

Constructor & Destructor Documentation

AlignmentPositionError::AlignmentPositionError ( )
inline

Definition at line 14 of file AlignmentPositionError.h.

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

14 {};
AlignmentPositionError::AlignmentPositionError ( float  dx,
float  dy,
float  dz 
)

Definition at line 3 of file AlignmentPositionError.cc.

References theGlobalError.

3  {
4  theGlobalError = GlobalError(double(dx*dx),
5  0., double(dy*dy),
6  0., 0., double(dz*dz) ) ;
7 }
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition: GlobalError.h:11
AlignmentPositionError::AlignmentPositionError ( GlobalError  ge)
inline

Definition at line 18 of file AlignmentPositionError.h.

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

Definition at line 20 of file AlignmentPositionError.h.

20 {};

Member Function Documentation

const GlobalError& AlignmentPositionError::globalError ( ) const
inline
AlignmentPositionError AlignmentPositionError::operator+ ( const AlignmentPositionError ape) const
inline

Definition at line 29 of file AlignmentPositionError.h.

References AlignmentPositionError(), and globalError().

29  {
30  return AlignmentPositionError ( this->globalError() + ape.globalError());
31  };
const GlobalError & globalError() const
AlignmentPositionError& AlignmentPositionError::operator+= ( const AlignmentPositionError ape)
inline

Definition at line 38 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

38  {
40  return *this;
41  };
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition: GlobalError.h:11
const GlobalError & globalError() const
AlignmentPositionError AlignmentPositionError::operator- ( const AlignmentPositionError ape) const
inline

Definition at line 33 of file AlignmentPositionError.h.

References AlignmentPositionError(), and globalError().

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

Definition at line 43 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

43  {
45  return *this;
46  };
GlobalErrorBase< double, ErrorMatrixTag > GlobalError
Definition: GlobalError.h:11
const GlobalError & globalError() const
bool AlignmentPositionError::valid ( ) const
inline

Member Data Documentation

GlobalError AlignmentPositionError::theGlobalError
private