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/sPHENIX/Core/include/Acts/Vertexing/TrackDensityVertexFinder.hpp>

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

Classes

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

Public Member Functions

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

Private Types

using InputTrack_t = typename vfitter_t::InputTrack_t
 

Private Attributes

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

Detailed Description

template<typename vfitter_t, typename track_density_t = GaussianTrackDensity<typename vfitter_t::InputTrack_t>>
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 37 of file TrackDensityVertexFinder.hpp.

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

Member Typedef Documentation

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

Definition at line 44 of file TrackDensityVertexFinder.hpp.

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

Constructor & Destructor Documentation

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

Constructor used if InputTrack_t type == BoundTrackParameters.

Parameters
cfgConfiguration object

Definition at line 75 of file TrackDensityVertexFinder.hpp.

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

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

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

Parameters
funcFunction extracting BoundTrackParameters from InputTrack_t object

Definition at line 102 of file TrackDensityVertexFinder.hpp.

View newest version in sPHENIX GitHub at line 102 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,
State state 
) const

Function that finds single vertex candidate.

Parameters
trackVectorInput track collection
vertexingOptionsVertexing options
stateState for fulfilling interfaces
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::eZ, Acts::Vertex< input_track_t >::setCovariance(), Acts::VertexingOptions< input_track_t >::vertexConstraint, and z.

+ Here is the call graph for this function:

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

Definition at line 95 of file TrackDensityVertexFinder.hpp.

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

Member Data Documentation

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

Definition at line 107 of file TrackDensityVertexFinder.hpp.

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

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

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

Parameters
InputTrack_tobject to extract track parameters from

Definition at line 114 of file TrackDensityVertexFinder.hpp.

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


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