Function Acts::EventDataVisualization::drawCovarianceAngular

Function Documentation

void Acts::EventDataVisualization::drawCovarianceAngular(IVisualization &helper, const Vector3D &position, const Vector3D &direction, const ActsSymMatrixD<2> &covariance, std::vector<int> nsigma = {3}, double directionScale = 1, double angularErrorScale = 1, size_t lseg = 72, const IVisualization::ColorType &color = {20, 120, 20})

Helper method to draw error cone of a direction.

Parameters
  • helper: [in, out] The visualization helper

  • position: Where the cone originates from

  • direction: The direction parameters

  • covariance: The 2x2 covariance matrix for phi/theta

  • nsigma: The sigmas to be drawn

  • directionScale: The direction arror length

  • angularErrorScale: The local Error scale

  • lseg: The number of segments

  • color: The draw color