ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::AdaptiveMultiVertexFitter::Cache Struct Reference

The fitter-private cache. More...

#include <Acts/Vertexing/AdaptiveMultiVertexFitter.hpp>

Public Member Functions

 Cache (const MagneticFieldProvider &field, const Acts::MagneticFieldContext &magContext)
 Constructor for the multi-vertex fitter cache.
void invalidate (const Vertex &vtx)
 Drop the scratch data associated with vtx.

Detailed Description

The fitter-private cache.

Holds everything that is scratch data of a running fit: the annealing state, the impact point estimator state, the magnetic field cache and the per-vertex linearization bookkeeping. The data describing what is being fitted lives in VertexFitProblem instead.

Constructor & Destructor Documentation

◆ Cache()

Acts::AdaptiveMultiVertexFitter::Cache::Cache ( const MagneticFieldProvider & field,
const Acts::MagneticFieldContext & magContext )

Constructor for the multi-vertex fitter cache.

Parameters
fieldMagnetic field provider for track extrapolation
magContextMagnetic field context for field evaluations

Member Function Documentation

◆ invalidate()

void Acts::AdaptiveMultiVertexFitter::Cache::invalidate ( const Vertex & vtx)

Drop the scratch data associated with vtx.

Must be called whenever a vertex's candidate description is re-seeded after it has already been fitted, since the cached linearization point and impact parameters then refer to a stale seed position.

Parameters
vtxVertex whose scratch data is to be discarded