Belle II Software development
GetUpperCurv Struct Reference

Functor to get the upper curvature bound of a hough box. More...

#include <CurvRep.h>

Public Member Functions

template<class AHoughBox , class SFINAE = std::enable_if_t<AHoughBox::template HasType<DiscreteCurv>::value>>
float operator() (const AHoughBox &houghBox) const
 Getter function for the upper curvature bound of a hough box - discrete version.
 
template<class AHoughBox , class SFINAE = std::enable_if_t<AHoughBox::template HasType<ContinuousCurv>::value>>
double operator() (const AHoughBox &houghBox) const
 Getter function for the upper curvature bound of a hough box - continuous version.
 

Detailed Description

Functor to get the upper curvature bound of a hough box.

Definition at line 108 of file CurvRep.h.

Member Function Documentation

◆ operator()() [1/2]

float operator() ( const AHoughBox &  houghBox) const
inline

Getter function for the upper curvature bound of a hough box - discrete version.

Definition at line 111 of file CurvRep.h.

112 {
113 return static_cast<float>(houghBox.template getUpperBound<DiscreteCurv>());
114 }

◆ operator()() [2/2]

double operator() ( const AHoughBox &  houghBox) const
inline

Getter function for the upper curvature bound of a hough box - continuous version.

Definition at line 118 of file CurvRep.h.

119 {
120 return static_cast<float>(houghBox.template getUpperBound<ContinuousCurv>());
121 }

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