CMS 3D CMS Logo

Public Member Functions | Private Attributes

AlignmentPositionError Class Reference

#include <AlignmentPositionError.h>

List of all members.

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-().

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

Definition at line 3 of file AlignmentPositionError.cc.

References theGlobalError.

                                                                           {
  theGlobalError = GlobalError(double(dx*dx),           
                               0., double(dy*dy),       
                               0., 0., double(dz*dz) ) ;
}
AlignmentPositionError::AlignmentPositionError ( GlobalError  ge) [inline]

Definition at line 18 of file AlignmentPositionError.h.

: theGlobalError(ge) {};
AlignmentPositionError::~AlignmentPositionError ( ) [inline]

Definition at line 20 of file AlignmentPositionError.h.

{};

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().

                                                                             {
    return AlignmentPositionError ( this->globalError() + ape.globalError());
  };
AlignmentPositionError& AlignmentPositionError::operator+= ( const AlignmentPositionError ape) [inline]

Definition at line 38 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

                                                                          {
    theGlobalError = GlobalError(this->globalError() + ape.globalError());
    return *this;
  };
AlignmentPositionError AlignmentPositionError::operator- ( const AlignmentPositionError ape) const [inline]

Definition at line 33 of file AlignmentPositionError.h.

References AlignmentPositionError(), and globalError().

                                                                             {
    return AlignmentPositionError ( this->globalError() - ape.globalError());

  };
AlignmentPositionError& AlignmentPositionError::operator-= ( const AlignmentPositionError ape) [inline]

Definition at line 43 of file AlignmentPositionError.h.

References globalError(), and theGlobalError.

                                                                          {
    theGlobalError = GlobalError(this->globalError() - ape.globalError());
    return *this;
  };
bool AlignmentPositionError::valid ( ) const [inline]

Member Data Documentation