File GridAxisGenerators.hpp¶
-
namespace Acts
Note
This file is foreseen for the
Geometry
module to replaceExtent
-
namespace Experimental
-
namespace GridAxisGenerators¶
Axis generators are used to allow defining different grid types for indexed geometry objects.
Typedefs
-
using EqClosedVarClosed = EqVar<detail::AxisBoundaryType::Closed, detail::AxisBoundaryType::Closed>¶
-
using VarBoundVarClosed = VarVar<detail::AxisBoundaryType::Bound, detail::AxisBoundaryType::Closed>¶
-
using VarClosedEqClosed = VarEq<detail::AxisBoundaryType::Closed, detail::AxisBoundaryType::Closed>¶
-
using VarClosedVarBound = VarVar<detail::AxisBoundaryType::Closed, detail::AxisBoundaryType::Bound>¶
-
template<detail::AxisBoundaryType aType>
struct Eq¶ - #include <Acts/Detector/GridAxisGenerators.hpp>
Templated base generator for equidistant axis as a tuple - 1D.
- Template Parameters
aType – the type of the axis (Bound, Closed, Open)
Public Types
Public Functions
-
inline return_type operator()() const¶
Call operator that generates the Axis.
-
template<detail::AxisBoundaryType aType, detail::AxisBoundaryType bType>
struct EqEq¶ - #include <Acts/Detector/GridAxisGenerators.hpp>
Templated base generator for two equidistant axes as a tuple - 2D.
- Template Parameters
aType – the type of the first axis (Bound, Closed, Open)
bType – the type of the second axis (Bound, Closed, Open)
Public Types
Public Functions
-
inline return_type operator()() const¶
Call operator that generates the Axis.
Public Members
-
std::size_t nBins0 = 0u¶
-
std::size_t nBins1 = 1u¶
-
std::array<ActsScalar, 2u> range0 = {}¶
-
std::array<ActsScalar, 2u> range1 = {}¶
-
template<detail::AxisBoundaryType aType, detail::AxisBoundaryType bType>
struct EqVar¶ - #include <Acts/Detector/GridAxisGenerators.hpp>
Templated base generator for equidistant / variable axes as a tuple - 2D.
- Template Parameters
aType – the type of the first axis (Bound, Closed, Open)
bType – the type of the second axis (Bound, Closed, Open)
Public Types
Public Functions
-
inline return_type operator()() const¶
Call operator that generates the Axis.
Public Members
-
std::vector<ActsScalar> edges = {}¶
-
std::size_t nBins = 0u¶
-
std::array<ActsScalar, 2u> range = {}¶
-
template<detail::AxisBoundaryType aType>
struct Var¶ - #include <Acts/Detector/GridAxisGenerators.hpp>
Templated base generator for vairable axis as a tuple - 1D.
- Template Parameters
aType – the type of the axis (Bound, Closed, Open)
Public Types
Public Functions
-
inline return_type operator()() const¶
Call operator that generates the Axis.
Public Members
-
std::vector<ActsScalar> edges = {}¶
-
template<detail::AxisBoundaryType aType, detail::AxisBoundaryType bType>
struct VarEq¶ - #include <Acts/Detector/GridAxisGenerators.hpp>
Templated base generator for a variable, equidistant axes tuple - 2D.
- Template Parameters
aType – the type of the first axis (Bound, Closed, Open)
bType – the type of the second axis (Bound, Closed, Open)
Public Types
Public Functions
-
inline return_type operator()() const¶
Call operator that generates the Axis.
Public Members
-
std::vector<ActsScalar> edges = {}¶
-
std::size_t nBins = 0u¶
-
std::array<ActsScalar, 2u> range = {}¶
-
template<detail::AxisBoundaryType aType, detail::AxisBoundaryType bType>
struct VarVar¶ - #include <Acts/Detector/GridAxisGenerators.hpp>
Templated base generator for a two variable axes tuple - 2D.
- Template Parameters
aType – the type of the first axis (Bound, Closed, Open)
bType – the type of the second axis (Bound, Closed, Open)
Public Types
Public Functions
-
inline return_type operator()() const¶
Call operator that generates the Axis.
-
using EqClosedVarClosed = EqVar<detail::AxisBoundaryType::Closed, detail::AxisBoundaryType::Closed>¶
-
namespace GridAxisGenerators¶
-
namespace Experimental