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

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

#include <Acts/Utilities/GridAxisGenerators.hpp>

Inheritance diagram for Acts::GridAxisGenerators::EqEq< aType, bType >:
[legend]
Collaboration diagram for Acts::GridAxisGenerators::EqEq< 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::size_t nBins0 = 0u
 Number of bins for the first equidistant axis.
std::size_t nBins1 = 1u
 Number of bins for the second equidistant axis.
std::array< double, 2u > range0 = {}
 Range [min, max] for the first equidistant axis.
std::array< double, 2u > range1 = {}
 Range [min, max] for the second equidistant axis.

Detailed Description

template<AxisBoundaryType aType, AxisBoundaryType bType>
struct Acts::GridAxisGenerators::EqEq< aType, bType >

Templated base generator for two equidistant 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::EqEq< 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::EqEq< 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::EqEq< aType, bType >::operator() ( ) const

Call operator that generates the Axis.

Returns
Tuple containing the two generated equidistant axes

Member Data Documentation

◆ nBins0

template<AxisBoundaryType aType, AxisBoundaryType bType>
std::size_t Acts::GridAxisGenerators::EqEq< aType, bType >::nBins0 = 0u

Number of bins for the first equidistant axis.

◆ nBins1

template<AxisBoundaryType aType, AxisBoundaryType bType>
std::size_t Acts::GridAxisGenerators::EqEq< aType, bType >::nBins1 = 1u

Number of bins for the second equidistant axis.

◆ range0

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

Range [min, max] for the first equidistant axis.

◆ range1

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

Range [min, max] for the second equidistant axis.