ACTS
Experiment-independent tracking
Loading...
Searching...
No Matches
Acts::GridAxisGenerators::Eq< aType > Struct Template Reference

Templated base generator for equidistant axis as a tuple - 1D. More...

#include <Acts/Utilities/GridAxisGenerators.hpp>

Inheritance diagram for Acts::GridAxisGenerators::Eq< aType >:
[legend]
Collaboration diagram for Acts::GridAxisGenerators::Eq< aType >:
[legend]

Public Types

template<typename T>
using grid_type = Grid<T, Axis<AxisType::Equidistant, aType>>
 Broadcast the grid type.
using return_type = std::tuple<Axis<AxisType::Equidistant, aType>>
 Broadcast the return_type.

Public Member Functions

return_type operator() () const
 Call operator that generates the Axis.

Public Attributes

std::size_t nBins = 0u
 Number of bins for the equidistant axis.
std::array< double, 2u > range = {}
 Range [min, max] for the equidistant axis.

Detailed Description

template<AxisBoundaryType aType>
struct Acts::GridAxisGenerators::Eq< aType >

Templated base generator for equidistant axis as a tuple - 1D.

Template Parameters
aTypethe type of the axis (Bound, Closed, Open)

Member Typedef Documentation

◆ grid_type

template<AxisBoundaryType aType>
template<typename T>
using Acts::GridAxisGenerators::Eq< aType >::grid_type = Grid<T, Axis<AxisType::Equidistant, aType>>

Broadcast the grid type.

◆ return_type

template<AxisBoundaryType aType>
using Acts::GridAxisGenerators::Eq< aType >::return_type = std::tuple<Axis<AxisType::Equidistant, aType>>

Broadcast the return_type.

Member Function Documentation

◆ operator()()

template<AxisBoundaryType aType>
return_type Acts::GridAxisGenerators::Eq< aType >::operator() ( ) const

Call operator that generates the Axis.

Returns
Tuple containing the generated equidistant axis

Member Data Documentation

◆ nBins

template<AxisBoundaryType aType>
std::size_t Acts::GridAxisGenerators::Eq< aType >::nBins = 0u

Number of bins for the equidistant axis.

◆ range

template<AxisBoundaryType aType>
std::array<double, 2u> Acts::GridAxisGenerators::Eq< aType >::range = {}

Range [min, max] for the equidistant axis.