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

A multi-vertex fit problem. More...

#include <Acts/Vertexing/VertexFitProblem.hpp>

Collaboration diagram for Acts::VertexFitProblem:
[legend]

Public Member Functions

void addVertexToMultiMap (Vertex &vtx)
 Adds a vertex to trackToVertices, using the tracks currently assigned to it in candidates.
Result< void > removeVertexFromCollection (Vertex &vtxToRemove, const Logger &logger)
 Remove a vertex from the vertex collection.
void removeVertexFromMultiMap (const Vertex &vtx)
 Removes a vertex from trackToVertices.

Public Attributes

std::map< Vertex *, VertexFitCandidatecandidates
 Candidate description (constraint, seed position, tracks) per vertex.
std::map< std::pair< InputTrack, Vertex * >, TrackAtVertextracksAtVertices
 Track-at-vertex information for each (track, vertex) pair.
std::multimap< InputTrack, Vertex * > trackToVertices
 Multimap connecting tracks to all of their associated vertices.
std::vector< Vertex * > vertices
 The vertices to be fitted.

Detailed Description

A multi-vertex fit problem.

Per-event, caller-owned and fitter-agnostic description of what is to be fitted: a set of vertices, the candidate description of each, and the track-to-vertex association that couples them. Fitter-private scratch data (linearization points, annealing state, field caches) lives in the respective fitter's cache instead, so that this type can be shared between fitters and inspected by callers.

Member Function Documentation

◆ addVertexToMultiMap()

void Acts::VertexFitProblem::addVertexToMultiMap ( Vertex & vtx)

Adds a vertex to trackToVertices, using the tracks currently assigned to it in candidates.

Parameters
vtxVertex to add to the multimap along with its track associations

◆ removeVertexFromCollection()

Result< void > Acts::VertexFitProblem::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::VertexFitProblem::removeVertexFromMultiMap ( const Vertex & vtx)

Removes a vertex from trackToVertices.

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