ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::AdaptiveMultiVertexFinder Class Referencefinal

Implements an iterative vertex finder. More...

#include <Acts/Vertexing/AdaptiveMultiVertexFinder.hpp>

Inheritance diagram for Acts::AdaptiveMultiVertexFinder:
[legend]
Collaboration diagram for Acts::AdaptiveMultiVertexFinder:
[legend]

Classes

struct  Config
 Configuration struct. More...
struct  State
 State struct for fulfilling interface. More...

Public Member Functions

 AdaptiveMultiVertexFinder (Config cfg, std::unique_ptr< const Logger > logger=getDefaultLogger("AdaptiveMultiVertexFinder", Logging::INFO))
 Constructor for user-defined InputTrack_t type != BoundTrackParameters.
Result< std::vector< Vertex > > find (const std::vector< InputTrack > &allTracks, const VertexingOptions &vertexingOptions, IVertexFinder::State &anyState) const override
 Function that performs the adaptive multi-vertex finding.
IVertexFinder::State makeState (const Acts::MagneticFieldContext &mctx) const override
 Function to create a state object for this concrete vertex finder.
void setTracksToRemove (IVertexFinder::State &, const std::vector< InputTrack > &) const override
 For vertex finders that have an internal state of active tracks, this method instructs them to mark used tracks for removal.
Public Member Functions inherited from Acts::IVertexFinder
virtual ~IVertexFinder ()=default
 Virtual destructor.

Additional Inherited Members

Public Types inherited from Acts::IVertexFinder
using State = Acts::AnyBase<128>
 Type-erased wrapper for concrete state objects.

Detailed Description

Implements an iterative vertex finder.

Constructor & Destructor Documentation

◆ AdaptiveMultiVertexFinder()

Acts::AdaptiveMultiVertexFinder::AdaptiveMultiVertexFinder ( Config cfg,
std::unique_ptr< const Logger > logger = getDefaultLogger(                      "AdaptiveMultiVertexFinder", Logging::INFO) )
explicit

Constructor for user-defined InputTrack_t type != BoundTrackParameters.

Parameters
cfgConfiguration object
loggerThe logging instance

Member Function Documentation

◆ find()

Result< std::vector< Vertex > > Acts::AdaptiveMultiVertexFinder::find ( const std::vector< InputTrack > & allTracks,
const VertexingOptions & vertexingOptions,
IVertexFinder::State & anyState ) const
overridevirtual

Function that performs the adaptive multi-vertex finding.

Parameters
allTracksInput track collection
vertexingOptionsVertexing options
anyStateThe state object
Returns
Vector of all reconstructed vertices

Implements Acts::IVertexFinder.

◆ makeState()

IVertexFinder::State Acts::AdaptiveMultiVertexFinder::makeState ( const Acts::MagneticFieldContext & mctx) const
overridevirtual

Function to create a state object for this concrete vertex finder.

Parameters
mctxThe magnetic field context
Returns
The state object

Implements Acts::IVertexFinder.

◆ setTracksToRemove()

void Acts::AdaptiveMultiVertexFinder::setTracksToRemove ( IVertexFinder::State & anyState,
const std::vector< InputTrack > & removedTracks ) const
overridevirtual

For vertex finders that have an internal state of active tracks, this method instructs them to mark used tracks for removal.

Parameters
anyStateThe state object
removedTracksThe tracks to be removed

Implements Acts::IVertexFinder.