#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) |
bool | valid () const |
~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 27 of file AlignmentPositionError.h.
References theGlobalError.
Referenced by AlignableDetUnit::alignmentErrors(), AlignableDet::alignmentErrors(), AlignableBeamSpot::alignmentErrors(), TwoBodyDecayTrajectoryFactory::match(), operator+(), operator+=(), operator-(), operator-=(), GeomDet::setAlignmentPositionError(), and SiTrackerGaussianSmearingRecHitConverter::smearHits().
{ return theGlobalError; };
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] |
Definition at line 23 of file AlignmentPositionError.h.
References GlobalErrorBase< T, ErrorWeightType >::cxx(), GlobalErrorBase< T, ErrorWeightType >::cyy(), GlobalErrorBase< T, ErrorWeightType >::czz(), and theGlobalError.
Referenced by GeomDet::setAlignmentPositionError().
{ return ( theGlobalError.cxx()>0 || theGlobalError.cyy()>0 || theGlobalError.czz()>0 ); }
Definition at line 46 of file AlignmentPositionError.h.
Referenced by AlignmentPositionError(), globalError(), operator+=(), operator-=(), and valid().