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 Acts::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 (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.

Constructor & Destructor Documentation

◆ State()

Acts::AdaptiveMultiVertexFitter::State::State ( const MagneticFieldProvider & field,
const Acts::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 ( Vertex & vtx)

Removes a vertex from trackToVerticesMultiMap.

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

Member Data Documentation

◆ annealingState

AnnealingUtility::State Acts::AdaptiveMultiVertexFitter::State::annealingState

Annealing state for thermodynamic track weighting.

◆ fieldCache

MagneticFieldProvider::Cache Acts::AdaptiveMultiVertexFitter::State::fieldCache

Magnetic field cache for field evaluations during fitting.

◆ ipState

ImpactPointEstimator::State Acts::AdaptiveMultiVertexFitter::State::ipState

Impact point estimator state for track parameter calculations.

◆ tracksAtVerticesMap

std::map<std::pair<InputTrack, Vertex*>, TrackAtVertex> Acts::AdaptiveMultiVertexFitter::State::tracksAtVerticesMap

Map storing track-at-vertex information for each track-vertex pair.

◆ trackToVerticesMultiMap

std::multimap<InputTrack, Vertex*> Acts::AdaptiveMultiVertexFitter::State::trackToVerticesMultiMap

Multimap connecting tracks to their associated vertices.

◆ vertexCollection

std::vector<Vertex*> Acts::AdaptiveMultiVertexFitter::State::vertexCollection

Vertex collection to be fitted.

◆ vtxInfoMap

std::map<Vertex*, VertexInfo> Acts::AdaptiveMultiVertexFitter::State::vtxInfoMap

Map storing vertex information for each vertex in the fit.

Todo
Does this have to be a mutable pointer?