ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::Seed< external_space_point_t, N > Class Template Reference

Seed built from N external space points. More...

#include <Acts/EventData/Seed.hpp>

Public Types

using value_type = external_space_point_t
 Type of the external space point.

Public Member Functions

template<typename... args_t>
requires (sizeof...(args_t) == N) && (std::same_as<external_space_point_t, args_t> && ...)
 Seed (const args_t &... points)
 Constructor from N space points.
float seedQuality () const
 Get the quality of the seed.
void setQuality (float seedQuality)
 Set the quality of the seed.
void setVertexZ (float vertex)
 Set the z-coordinate of the vertex.
const std::array< const external_space_point_t *, N > & sp () const
 Get the space points in the seed.
float z () const
 Get the z-coordinate of the vertex.

Static Public Attributes

static constexpr std::size_t DIM = N
 Number of space points in the seed.

Detailed Description

template<typename external_space_point_t, std::size_t N = 3ul>
class Acts::Seed< external_space_point_t, N >

Seed built from N external space points.

Deprecated
This EDM will be removed in one of the next major releases and is replaced by the new SeedContainer and proxies. See SeedContainer2 and SeedProxy2 for details.

Constructor & Destructor Documentation

◆ Seed()

template<typename external_space_point_t, std::size_t N = 3ul>
template<typename... args_t>
requires (sizeof...(args_t) == N) && (std::same_as<external_space_point_t, args_t> && ...)
Acts::Seed< external_space_point_t, N >::Seed ( const args_t &... points)
explicit

Constructor from N space points.

Parameters
pointsThe space points to build the seed from

Member Function Documentation

◆ seedQuality()

template<typename external_space_point_t, std::size_t N = 3ul>
float Acts::Seed< external_space_point_t, N >::seedQuality ( ) const

Get the quality of the seed.

Returns
The seed quality value

◆ setQuality()

template<typename external_space_point_t, std::size_t N = 3ul>
void Acts::Seed< external_space_point_t, N >::setQuality ( float seedQuality)

Set the quality of the seed.

Parameters
seedQualityThe seed quality value

◆ setVertexZ()

template<typename external_space_point_t, std::size_t N = 3ul>
void Acts::Seed< external_space_point_t, N >::setVertexZ ( float vertex)

Set the z-coordinate of the vertex.

Parameters
vertexThe vertex z-coordinate

◆ sp()

template<typename external_space_point_t, std::size_t N = 3ul>
const std::array< const external_space_point_t *, N > & Acts::Seed< external_space_point_t, N >::sp ( ) const

Get the space points in the seed.

Returns
Array of pointers to the space points

◆ z()

template<typename external_space_point_t, std::size_t N = 3ul>
float Acts::Seed< external_space_point_t, N >::z ( ) const

Get the z-coordinate of the vertex.

Returns
The vertex z-coordinate