Analysis Software
Documentation for sPHENIX simulation software
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Acts::SurfaceBinningMatcher Struct Reference

#include <acts/blob/sPHENIX/Core/include/Acts/Geometry/SurfaceBinningMatcher.hpp>

+ Collaboration diagram for Acts::SurfaceBinningMatcher:

Public Types

using Range = std::pair< double, double >
 The binning tolerance parameters.
 

Public Member Functions

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

Public Attributes

std::vector< Rangetolerances {(int)binValues, {0., 0.}}
 

Detailed Description

Definition at line 20 of file SurfaceBinningMatcher.hpp.

View newest version in sPHENIX GitHub at line 20 of file SurfaceBinningMatcher.hpp

Member Typedef Documentation

The binning tolerance parameters.

Definition at line 22 of file SurfaceBinningMatcher.hpp.

View newest version in sPHENIX GitHub at line 22 of file SurfaceBinningMatcher.hpp

Constructor & Destructor Documentation

Acts::SurfaceBinningMatcher::SurfaceBinningMatcher ( )
default
Acts::SurfaceBinningMatcher::SurfaceBinningMatcher ( const std::vector< Range > &  tolpars)
inline

Definition at line 27 of file SurfaceBinningMatcher.hpp.

View newest version in sPHENIX GitHub at line 27 of file SurfaceBinningMatcher.hpp

Member Function Documentation

bool Acts::SurfaceBinningMatcher::operator() ( const Acts::GeometryContext gctx,
Acts::BinningValue  bValue,
const Acts::Surface one,
const Acts::Surface other 
) const
inline

Check function for surface equivalent

Parameters
gctx[in] gctx the geometry context for this check
bValuethe binning value for the binning
onefirst surface for checking
othersecond surface for checking

Definition at line 36 of file SurfaceBinningMatcher.hpp.

View newest version in sPHENIX GitHub at line 36 of file SurfaceBinningMatcher.hpp

References Acts::Polyhedron::extent(), Acts::Extent::min(), Acts::Surface::polyhedronRepresentation(), and tolerances.

+ Here is the call graph for this function:

Member Data Documentation

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

Definition at line 23 of file SurfaceBinningMatcher.hpp.

View newest version in sPHENIX GitHub at line 23 of file SurfaceBinningMatcher.hpp

Referenced by Acts::Test::BOOST_AUTO_TEST_CASE(), and operator()().


The documentation for this struct was generated from the following file: