Struct EventDataView3D¶
Defined in File EventDataView3D.hpp
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 0lambda1: The Eigenvalue in 1theta: The angle between the x/y frame and EV framelseg: The number of segmentsoffset: The out of plane offset for visibilitylposition: The local anker point of the ellipsetransform: 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>
voiddrawBoundTrackParameters(IVisualization3D &helper, const parameters_t ¶meters, 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 helperparameters: The bound parameters to be drawngctx: The geometry context for which it is drawnmomentumScale: The scale of the momentumlocErrorScale: The scale of the local errorangularErrorScale: The sclae of the angular errorparConfig: The visualization options for the parametercovConfig: The visualization option for the covariancesurfConfig: 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 helperposition: Where the cone originates fromdirection: The direction parameterscovariance: The 2x2 covariance matrix for phi/thetadirectionScale: The direction arror lengthangularErrorScale: The local Error scaleviewConfig: 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 helperlposition: The local positioncovariance: The covariance matrixtransform: The reference Frame transformlocErrorScale: The local Error scaleviewConfig: The visualization parameters
-
template<typename
source_link_t>
voiddrawMultiTrajectory(IVisualization3D &helper, const Acts::MultiTrajectory<source_link_t> &multiTraj, const size_t &entryIndex, const GeometryContext &gctx = GeometryContext(), double momentumScale = 1., double locErrorScale = 1., double angularErrorScale = 1., const ViewConfig &surfaceConfig = s_viewSensitive, const ViewConfig &measurementConfig = s_viewMeasurement, const ViewConfig &predictedConfig = s_viewPredicted, const ViewConfig &filteredConfig = s_viewFiltered, const ViewConfig &smoothedConfig = s_viewSmoothed)¶ 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 helpermultiTraj: The MultiTrajectory storing the trajectory to be drawnentryIndex: The trajectory entry indexgctx: The geometry context for which it is drawnmomentumScale: The scale of the momentumlocErrorScale: The scale of the local errorangularErrorScale: The sclae of the angular errorsurfaceConfig: The visualization options for the surfacemeasurementConfig: The visualization options for the measurementpredictedConfig: The visualization options for the predicted measurementfilteredConfig: The visualization options for the filtered parameterssmoothedConfig: The visualization options for the smoothed parameters
-
std::vector<Vector3>