Struct EventDataView3D

Struct Documentation

struct Acts::EventDataView3D

Public Static Functions

std::vector<Vector3> createEllipse(double lambda0, double lambda1, double theta, size_t lseg, double offset, const Vector2 &lposition = Vector2(0., 0.), const Transform3 &transform = Transform3::Identity())

Helper mehod to draw the ellipse points.

Parameters
  • lambda0: The Eigenvalue in 0

  • lambda1: The Eigenvalue in 1

  • theta: The angle between the x/y frame and EV frame

  • lseg: The number of segments

  • offset: The out of plane offset for visibility

  • lposition: The local anker point of the ellipse

  • transform: The transform to global

std::array<double, 3> decomposeCovariance(const ActsSymMatrix<2> &covariance)

Helper to find the egen values and corr angle.

Parameters
  • covariance: The covariance matrix

template<typename parameters_t>
void drawBoundTrackParameters(IVisualization3D &helper, const parameters_t &parameters, const GeometryContext &gctx = GeometryContext(), double momentumScale = 1., double locErrorScale = 1., double angularErrorScale = 1., const ViewConfig &parConfig = s_viewParameter, const ViewConfig &covConfig = s_viewParameter, const ViewConfig &surfConfig = s_viewSensitive)

Helper method to draw bound parameters object.

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

  • parameters: The bound parameters to be drawn

  • gctx: The geometry context for which it is drawn

  • momentumScale: The scale of the momentum

  • locErrorScale: The scale of the local error

  • angularErrorScale: The sclae of the angular error

  • parConfig: The visualization options for the parameter

  • covConfig: The visualization option for the covariance

  • surfConfig: The visualization option for the surface

void drawCovarianceAngular(IVisualization3D &helper, const Vector3 &position, const Vector3 &direction, const ActsSymMatrix<2> &covariance, double directionScale = 1, double angularErrorScale = 1, const ViewConfig &viewConfig = s_viewParameter)

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

  • directionScale: The direction arror length

  • angularErrorScale: The local Error scale

  • viewConfig: The visualization parameters

void drawCovarianceCartesian(IVisualization3D &helper, const Vector2 &lposition, const SymMatrix2 &covariance, const Transform3 &transform, double locErrorScale = 1, const ViewConfig &viewConfig = s_viewParameter)

Helper method to draw error ellipse.

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

  • lposition: The local position

  • covariance: The covariance matrix

  • transform: The reference Frame transform

  • locErrorScale: The local Error scale

  • viewConfig: The visualization parameters

Helper method to draw one trajectory stored in a MultiTrajectory object.

Template Parameters
  • source_link_t: The source link type

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

  • multiTraj: The MultiTrajectory storing the trajectory to be drawn

  • entryIndex: The trajectory entry index

  • gctx: The geometry context for which it is drawn

  • momentumScale: The scale of the momentum

  • locErrorScale: The scale of the local error

  • angularErrorScale: The sclae of the angular error

  • surfaceConfig: The visualization options for the surface

  • measurementConfig: The visualization options for the measurement

  • predictedConfig: The visualization options for the predicted measurement

  • filteredConfig: The visualization options for the filtered parameters

  • smoothedConfig: The visualization options for the smoothed parameters