13#ifndef TRGCDCHoughTransformationCircle_FLAG_
14#define TRGCDCHoughTransformationCircle_FLAG_
16#include "trg/cdc/HoughTransformation.h"
18#ifdef TRGCDC_SHORT_NAMES
19#define TCHTransformationCircle TRGCDCHoughTransformationCircle
41 virtual float y(
float xReal,
float yReal,
float x)
const override;
44 virtual bool diverge(
float xReal,
float yReal,
float x0,
float x1)
const override;
47 virtual bool positiveDiverge(
float xReal,
float yReal,
float x0,
float x1)
const override;
50 virtual bool negativeDiverge(
float xReal,
float yReal,
float x0,
float x1)
const override;
A class to represent a point in 2D.
virtual TRGPoint2D circleCenter(const TRGPoint2D &) const
returns Point2D(phi, r) of a circle in real plane.
virtual TRGPoint2D convert(const TRGPoint2D &) const override
converts Point2D(phi, r) in real plane into Point2D(phi, r) in Hough plane.
virtual bool diverge(float xReal, float yReal, float x0, float x1) const override
returns true if Y diverges in given region.
virtual float y(float xReal, float yReal, float x) const override
returns Y coordinate in a Hough parameter plane.
virtual bool positiveDiverge(float xReal, float yReal, float x0, float x1) const override
returns true if Y diverges in given region.
std::string name(void) const
returns name.
virtual ~TRGCDCHoughTransformationCircle()
Destructor.
virtual bool negativeDiverge(float xReal, float yReal, float x0, float x1) const override
returns true if Y diverges in given region.
Abstract base class for different kinds of events.