File SurfaceBinningMatcher.hpp

namespace Acts

Set the Geometry Context PLUGIN.

Set the Calibration Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedMaterialMap and to avoid code duplication.

Set the Mangetic Field Context PLUGIN.

Convenience functions to ease creation of and Acts::InterpolatedBFieldMap and to avoid code duplication.

Currently implemented for the two most common formats: rz and xyz.

struct SurfaceBinningMatcher
#include <Acts/Geometry/SurfaceBinningMatcher.hpp>

Public Types

using Range = std::pair<double, double>

The binning tolerance parameters.

Public Functions

SurfaceBinningMatcher() = default
inline SurfaceBinningMatcher(const std::vector<Range> &tolpars)
inline bool operator()(const Acts::GeometryContext &gctx, Acts::BinningValue bValue, const Acts::Surface *one, const Acts::Surface *other) const

Check function for surface equivalent.

Parameters
  • gctx – [in] gctx the geometry context for this check

  • bValue – the binning value for the binning

  • one – first surface for checking

  • other – second surface for checking

Public Members

std::vector<Range> tolerances = {(int)binValues, {0., 0.}}