13#ifndef TRGCDCCircle_FLAG_
14#define TRGCDCCircle_FLAG_
16#include "trg/trg/Point2D.h"
17#include "trg/cdc/TrackBase.h"
19#ifdef TRGCDC_SHORT_NAMES
20#define TCCircle TRGCDCCircle
29 class TRGCDCHoughPlane;
30 class TRGCDCCircleFitter;
52 virtual unsigned objectType(
void)
const override;
58 double pt(
void)
const override;
64 virtual void dump(
const std::string& message = std::string(
""),
65 const std::string& prefix = std::string(
""))
const override;
100 const double ConstantAlpha = 222.376063;
101 return _radius / ConstantAlpha;
122 return TRGCDCCircleType;
A class to fit a TTrackBase object to a circle.
A class to represent a circle.
TRGPoint2D _center
Position of the circle center.
double _radius
Radius multiplied by charge.
const TRGCDCHoughPlane * _plane
Hough plane.
A class to represent a Hough parameter plane.
A class to relate TRGCDCCellHit and TRGCDCTrack objects.
A class to represent a track object in TRGCDC.
A class to represent a point in 2D.
int approach2D(TRGCDCLink &) const override
calculate closest approach. Error was happened if return value is not zero.
double charge(void) const
returns charge.
static const TRGCDCCircleFitter _fitter
Default fitter.
virtual ~TRGCDCCircle()
Destructor.
double radius(void) const
returns radius.
virtual void dump(const std::string &message=std::string(""), const std::string &prefix=std::string("")) const override
dumps debug information.
void property(double charge, double radius, HepGeom::Point3D< double > center)
sets circle properties.
const TRGPoint2D & center(void) const
returns the circle center.
const std::vector< TRGCDCLink * > & links(void) const
returns a vector to track segments.
double pt(void) const override
returns Pt.
virtual unsigned objectType(void) const override
returns type.
Abstract base class for different kinds of events.