File VertexingOptions.hpp

namespace Acts

Note

This file is foreseen for the Geometry module to replace Extent

template<typename input_track_t>
struct VertexingOptions
#include <Acts/Vertexing/VertexingOptions.hpp>

Vertex Finder Options.

Public Functions

VertexingOptions() = delete

Default constructor is deleted.

inline VertexingOptions(const GeometryContext &gctx, const MagneticFieldContext &mctx)

VertexingOptions with context and without vertex constraint.

Parameters
  • gctx – Geometry context

  • mctx – Magnetic field context

inline VertexingOptions(const GeometryContext &gctx, const MagneticFieldContext &mctx, const Vertex<input_track_t> &constr, const bool useConstr = true)

VertexingOptions with context and vertex constraint.

Parameters
  • gctx – Geometry context

  • mctx – Magnetic field context

  • constr – Vertex constraint

  • useConstr – Boolean indicating whether vertex constraint should be used during the vertex fit

Public Members

Vertex<input_track_t> constraint

Vertex constraint.

Important note: While this variable is not used during the vertex fit if useConstraintInFit is set to false, it is always used during vertex finding.

std::reference_wrapper<const GeometryContext> geoContext

Context object for the geometry.

std::reference_wrapper<const MagneticFieldContext> magFieldContext

Context object for the magnetic field.

bool useConstraintInFit

Boolean indicating whether we use the constraint information during the vertex fit.

If set to true, the covariance matrix of constraint must be invertible.