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 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