Template Class TrackDensityVertexFinder¶
Defined in File TrackDensityVertexFinder.hpp
Nested Relationships¶
Nested Types¶
Class Documentation¶
-
template<typename
vfitter_t
, typenametrack_density_t
= GaussianTrackDensity<typename vfitter_t::InputTrack_t>>
classActs
::
TrackDensityVertexFinder
¶ 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_t
: The vertex fitter type (needed to fulfill concept)track_density_t
: The track density type
Public Functions
-
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.
- Parameters
cfg
: Configuration object
-
template<typename
T
= InputTrack_t, std::enable_if_t<std::is_same<T, BoundTrackParameters>::value, int> = 0>TrackDensityVertexFinder
()¶ Default constructor used if InputTrack_t type == BoundTrackParameters.
-
TrackDensityVertexFinder
(const Config &cfg, const std::function<BoundTrackParameters(InputTrack_t)> &func)¶ Constructor for user-defined InputTrack_t type =! BoundTrackParameters.
- Parameters
cfg
: Configuration objectfunc
: Function extracting BoundTrackParameters from InputTrack_t object
-
TrackDensityVertexFinder
(const std::function<BoundTrackParameters(InputTrack_t)> &func)¶ Constructor for user-defined InputTrack_t type =! BoundTrackParameters with default Config object.
- Parameters
func
: Function extracting BoundTrackParameters from InputTrack_t object
-
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.
- Return
Vector of vertices, filled with a single vertex (for consistent interfaces)
- Parameters
trackVector
: Input track collectionvertexingOptions
: Vertexing optionsstate
: State for fulfilling interfaces
-
struct
Config
¶ The Config struct.
Public Members
-
track_density_t
trackDensityEstimator
¶
-
track_density_t
-
struct
State
¶ for fulfilling interface