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

The fitter state. More...

#include <Acts/Vertexing/AdaptiveMultiVertexFitter.hpp>

Collaboration diagram for Acts::AdaptiveMultiVertexFitter::State:
[legend]

Public Member Functions

 State (const MagneticFieldProvider &field, const MagneticFieldContext &magContext)
 Constructor for multi-vertex fitter state.
void addVertexToMultiMap (Vertex &vtx)
 Adds a vertex to trackToVerticesMultiMap.
Result< void > removeVertexFromCollection (Vertex &vtxToRemove, const Logger &logger)
 Remove a vertex from the vertex collection.
void removeVertexFromMultiMap (const Vertex &vtx)
 Removes a vertex from trackToVerticesMultiMap.

Public Attributes

AnnealingUtility::State annealingState
 Annealing state for thermodynamic track weighting.
MagneticFieldProvider::Cache fieldCache
 Magnetic field cache for field evaluations during fitting.
ImpactPointEstimator::State ipState
 Impact point estimator state for track parameter calculations.
std::map< std::pair< InputTrack, Vertex * >, TrackAtVertextracksAtVerticesMap
 Map storing track-at-vertex information for each track-vertex pair.
std::multimap< InputTrack, Vertex * > trackToVerticesMultiMap
 Multimap connecting tracks to their associated vertices.
std::vector< Vertex * > vertexCollection
 Vertex collection to be fitted.
std::map< Vertex *, VertexInfovtxInfoMap
 Map storing vertex information for each vertex in the fit.

Detailed Description

The fitter state.

Deprecated
Split into VertexFitProblem, which describes the vertices to be fitted and is owned by the caller, and Cache, which holds the fitter's scratch data. Construct those two separately and use the corresponding fit and addVtxToFit overloads instead.

Constructor & Destructor Documentation

◆ State()

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

Constructor for multi-vertex fitter state.

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

Member Function Documentation

◆ addVertexToMultiMap()

void Acts::AdaptiveMultiVertexFitter::State::addVertexToMultiMap ( Vertex & vtx)

Adds a vertex to trackToVerticesMultiMap.

Parameters
vtxVertex to add to the multimap with its associated tracks

◆ removeVertexFromCollection()

Result< void > Acts::AdaptiveMultiVertexFitter::State::removeVertexFromCollection ( Vertex & vtxToRemove,
const Logger & logger )

Remove a vertex from the vertex collection.

Parameters
vtxToRemoveVertex to remove from the collection
loggerLogger for diagnostic messages
Returns
Result indicating success or failure of the removal operation

◆ removeVertexFromMultiMap()

void Acts::AdaptiveMultiVertexFitter::State::removeVertexFromMultiMap ( const Vertex & vtx)

Removes a vertex from trackToVerticesMultiMap.

Parameters
vtxVertex to remove from the multimap along with its track associations