ECCE @ EIC Software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::TrackDensityVertexFinder< vfitter_t, track_density_t > Class Template Reference

Finds a vertex seed based on the maximum of a track density function. Each track is modelled as a 2d density function around its d0/z0 perigee parameter values. The z seed position is then found as the position of the maximum of all summed track density functions. More...

#include <acts/blob/master/Core/include/Acts/Vertexing/TrackDensityVertexFinder.hpp>

+ Collaboration diagram for Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >:

Classes

struct  Config
 The Config struct. More...
 

Public Member Functions

Result< std::vector< Vertex
< InputTrack_t > > > 
find (const std::vector< const InputTrack_t * > &trackVector, const VertexingOptions< InputTrack_t > &vertexingOptions) const
 Function that finds single vertex candidate.
 
template<typename T = InputTrack_t, std::enable_if_t< std::is_same< T, BoundParameters >::value, int > = 0>
 TrackDensityVertexFinder (const Config &cfg)
 Constructor used if InputTrack_t type == BoundParameters.
 
 m_extractParameters (func)
 
 TrackDensityVertexFinder (const std::function< BoundParameters(InputTrack_t)> &func)
 Constructor for user-defined InputTrack_t type =! BoundParameters with default Config object.
 

Private Types

using InputTrack_t = typename vfitter_t::InputTrack_t
 

Private Attributes

Config m_cfg
 
std::function< BoundParameters(InputTrack_t)> m_extractParameters
 Function to extract track parameters, InputTrack_t objects are BoundParameters by default, function to be overwritten to return BoundParameters for other InputTrack_t objects.
 

Detailed Description

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity>
class Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >

Finds a vertex seed based on the maximum of a track density function. Each track is modelled as a 2d density function around its d0/z0 perigee parameter values. The z seed position is then found as the position of the maximum of all summed track density functions.

Ref. (1): https://cds.cern.ch/record/2670380

Template Parameters
vfitter_tThe vertex fitter type (needed to fulfill concept)
track_density_tThe track density type

Definition at line 35 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 35 of file TrackDensityVertexFinder.hpp

Member Typedef Documentation

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity>
using Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >::InputTrack_t = typename vfitter_t::InputTrack_t
private

Definition at line 42 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 42 of file TrackDensityVertexFinder.hpp

Constructor & Destructor Documentation

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity>
template<typename T = InputTrack_t, std::enable_if_t< std::is_same< T, BoundParameters >::value, int > = 0>
Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >::TrackDensityVertexFinder ( const Config cfg)
inline

Constructor used if InputTrack_t type == BoundParameters.

Parameters
cfgConfiguration object

Definition at line 67 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 67 of file TrackDensityVertexFinder.hpp

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity>
Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >::TrackDensityVertexFinder ( const std::function< BoundParameters(InputTrack_t)> &  func)
inline

Constructor for user-defined InputTrack_t type =! BoundParameters with default Config object.

Parameters
funcFunction extracting BoundParameters from InputTrack_t object

Definition at line 89 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 89 of file TrackDensityVertexFinder.hpp

Member Function Documentation

template<typename vfitter_t , typename track_density_t >
auto Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >::find ( const std::vector< const InputTrack_t * > &  trackVector,
const VertexingOptions< InputTrack_t > &  vertexingOptions 
) const

Function that finds single vertex candidate.

Parameters
trackVectorInput track collection
vertexingOptionsVertexing options
Returns
Vector of vertices, filled with a single vertex (for consistent interfaces)

Definition at line 10 of file TrackDensityVertexFinder.ipp.

View newest version in sPHENIX GitHub at line 10 of file TrackDensityVertexFinder.ipp

References Acts::Vertex< input_track_t >::covariance(), Acts::eZ, Acts::Vertex< input_track_t >::setCovariance(), State, and z.

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE().

+ Here is the call graph for this function:

+ Here is the caller graph for this function:

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity>
Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >::m_extractParameters ( func  )
inline

Definition at line 83 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 83 of file TrackDensityVertexFinder.hpp

Member Data Documentation

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity>
Config Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >::m_cfg
private

Definition at line 94 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 94 of file TrackDensityVertexFinder.hpp

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity>
std::function<BoundParameters(InputTrack_t)> Acts::TrackDensityVertexFinder< vfitter_t, track_density_t >::m_extractParameters
private

Function to extract track parameters, InputTrack_t objects are BoundParameters by default, function to be overwritten to return BoundParameters for other InputTrack_t objects.

Parameters
InputTrack_tobject to extract track parameters from

Definition at line 101 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 101 of file TrackDensityVertexFinder.hpp


The documentation for this class was generated from the following files: