#include <AlignmentPositionError.h>
Public Member Functions | |
AlignmentPositionError () | |
AlignmentPositionError (float dx, float dy, float dz) | |
AlignmentPositionError (GlobalError ge) | |
const GlobalError & | globalError () const |
AlignmentPositionError | operator+ (const AlignmentPositionError &ape) const |
AlignmentPositionError & | operator+= (const AlignmentPositionError &ape) |
AlignmentPositionError | operator- (const AlignmentPositionError &ape) const |
AlignmentPositionError & | operator-= (const AlignmentPositionError &ape) |
~AlignmentPositionError () | |
Private Attributes | |
GlobalError | theGlobalError |
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.
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.
{};
const GlobalError& AlignmentPositionError::globalError | ( | ) | const [inline] |
Definition at line 22 of file AlignmentPositionError.h.
References theGlobalError.
Referenced by AlignableDetUnit::alignmentErrors(), AlignableDet::alignmentErrors(), AlignableBeamSpot::alignmentErrors(), HelpertRecHit2DLocalPos::getKfComponents(), TwoBodyDecayTrajectoryFactory::match(), operator+(), operator+=(), operator-(), operator-=(), HelpertRecHit2DLocalPos::parError(), SiTrackerGaussianSmearingRecHitConverter::smearHits(), and HelpertRecHit2DLocalPos::updateWithAPE().
{ return theGlobalError; };
AlignmentPositionError AlignmentPositionError::operator+ | ( | const AlignmentPositionError & | ape | ) | const [inline] |
Definition at line 24 of file AlignmentPositionError.h.
References AlignmentPositionError(), and globalError().
{ return AlignmentPositionError ( this->globalError() + ape.globalError()); };
AlignmentPositionError& AlignmentPositionError::operator+= | ( | const AlignmentPositionError & | ape | ) | [inline] |
Definition at line 33 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 28 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; };
Definition at line 41 of file AlignmentPositionError.h.
Referenced by AlignmentPositionError(), globalError(), operator+=(), and operator-=().