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

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

#include <Acts/Utilities/GridAxisGenerators.hpp>

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

Public Types

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

Public Member Functions

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

Public Attributes

std::vector< double > edges = {}
 Bin edges for the variable axis.

Detailed Description

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

Templated base generator for variable 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::Var< aType >::grid_type = Grid<T, Axis<AxisType::Variable, aType>>

Broadcast the grid type.

◆ return_type

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

Broadcast the return_type.

Member Function Documentation

◆ operator()()

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

Call operator that generates the Axis.

Returns
Tuple containing the generated variable axis

Member Data Documentation

◆ edges

template<AxisBoundaryType aType>
std::vector<double> Acts::GridAxisGenerators::Var< aType >::edges = {}

Bin edges for the variable axis.