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)
 
 ~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 24 of file AlignmentPositionError.h.

References AlignmentPositionError(), and globalError().

24  {
25  return AlignmentPositionError ( this->globalError() + ape.globalError());
26  };
const GlobalError & globalError() const
AlignmentPositionError& AlignmentPositionError::operator+= ( const AlignmentPositionError ape)
inline

Definition at line 33 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

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

Definition at line 28 of file AlignmentPositionError.h.

References AlignmentPositionError(), and globalError().

28  {
29  return AlignmentPositionError ( this->globalError() - ape.globalError());
30 
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

Member Data Documentation

GlobalError AlignmentPositionError::theGlobalError
private