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

Templated base generator for equidistant / variable axes as a tuple - 2D. More...

#include <Acts/Utilities/GridAxisGenerators.hpp>

Inheritance diagram for Acts::GridAxisGenerators::EqVar< aType, bType >:
[legend]
Collaboration diagram for Acts::GridAxisGenerators::EqVar< aType, bType >:
[legend]

Public Types

template<typename T>
using grid_type
 Broadcast the grid type.
using return_type
 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.
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, AxisBoundaryType bType>
struct Acts::GridAxisGenerators::EqVar< aType, bType >

Templated base generator for equidistant / variable axes as a tuple - 2D.

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

Member Typedef Documentation

◆ grid_type

template<AxisBoundaryType aType, AxisBoundaryType bType>
template<typename T>
using Acts::GridAxisGenerators::EqVar< aType, bType >::grid_type
Initial value:
calculate bin indices from a given binning structure
Definition AxisDefinitions.hpp:147
class for describing a regular multi-dimensional grid
Definition Grid.hpp:141

Broadcast the grid type.

◆ return_type

template<AxisBoundaryType aType, AxisBoundaryType bType>
using Acts::GridAxisGenerators::EqVar< aType, bType >::return_type
Initial value:
std::tuple<Axis<AxisType::Equidistant, aType>,

Broadcast the return_type.

Member Function Documentation

◆ operator()()

template<AxisBoundaryType aType, AxisBoundaryType bType>
return_type Acts::GridAxisGenerators::EqVar< aType, bType >::operator() ( ) const

Call operator that generates the Axis.

Returns
Tuple containing an equidistant axis and a variable axis

Member Data Documentation

◆ edges

template<AxisBoundaryType aType, AxisBoundaryType bType>
std::vector<double> Acts::GridAxisGenerators::EqVar< aType, bType >::edges = {}

Bin edges for the variable axis.

◆ nBins

template<AxisBoundaryType aType, AxisBoundaryType bType>
std::size_t Acts::GridAxisGenerators::EqVar< aType, bType >::nBins = 0u

Number of bins for the equidistant axis.

◆ range

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

Range [min, max] for the equidistant axis.