|
ATLAS Offline Software
|
Go to the documentation of this file.
20 #ifndef VP1ERRORUTILS_H
21 #define VP1ERRORUTILS_H
39 class CovarianceMatrix;
46 SoSeparator* errDetailed,
50 const double& nStdDev=3.0,
52 const bool& moveToSurface =
false,
53 const bool& force1D=
false,
54 const bool& addTransform=
true);
60 const double& nStdDev=3.0,
61 const bool& drawZErrCircles=
false,
62 const bool& drawCylinder=
false,
64 const bool& force1D=
false,
65 const bool& addTransform=
true);
69 const double& sigmaScale,
71 const double& translate=0.0,
72 const bool& symmetric=
false);
76 const double& sigmaScale,
static bool covMatrixIsSane(const AmgCovMatrix &covmat)
returns false if there is a problem detected with the cov matrix
static void addRotatedErrorEllipse(SoGroup *gr, const AmgSymMatrix(5)&covmat, const double &sigmaScale, int numNodes=12, const double &translate=0.0, const bool &symmetric=false)
Eigen::Matrix< double, 2, 1 > Vector2D
static void errorAtPlaneSurface(SoSeparator *errSimple, SoSeparator *errDetailed, const AmgSymMatrix(5)&tmpCovMat, const Trk::Surface *theSurface, const Amg::Vector3D &p1, const double &nStdDev=3.0, int numNodes=12, const bool &moveToSurface=false, const bool &force1D=false, const bool &addTransform=true)
static void addSimple1DError(SoGroup *gr, const double &error, const double &sigmaScale, const double &length)
Ensure that the ATLAS eigen extensions are properly loaded.
Eigen::Matrix< double, 3, 1 > Vector3D
static void errorAtStraightLineSurface(SoSeparator *errSimple, SoSeparator *errDetailed, const AmgSymMatrix(5)&tmpcovmat, const Amg::Vector2D &localPos, const Trk::Surface *theSurface, const double &nStdDev=3.0, const bool &drawZErrCircles=false, const bool &drawCylinder=false, int numNodes=12, const bool &force1D=false, const bool &addTransform=true)
typedef AmgSymMatrix(2) AmgCovMatrix