Belle II Software  release-08-01-10
TRGCDCCircle Class Reference

A class to represent a circle. More...

#include <Circle.h>

Inheritance diagram for TRGCDCCircle:
Collaboration diagram for TRGCDCCircle:

Public Member Functions

 TRGCDCCircle (const std::vector< TRGCDCLink * > &links)
 Constructor with links.
 
 TRGCDCCircle (double r, double phi, double charge, const TRGCDCHoughPlane &plane)
 Constructor with a circle center, assuming the origin is on a circle.
 
virtual ~TRGCDCCircle ()
 Destructor.
 
virtual unsigned objectType (void) const override
 returns type.
 
const TRGPoint2Dcenter (void) const
 returns the circle center.
 
double pt (void) const override
 returns Pt.
 
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.
 
int approach2D (TRGCDCLink &) const override
 calculate closest approach. Error was happened if return value is not zero.
 
std::string name (void) const
 returns name.
 
std::string name (const std::string &newName)
 sets and returns name.
 
int status (void) const
 returns status.
 
double charge (void) const
 returns charge.
 
double charge (double c)
 sets and returns charge.
 
virtual const CLHEP::Hep3Vector & p (void) const
 returns momentum vector.
 
virtual const CLHEP::Hep3Vector & x (void) const
 returns position vector.
 
const std::vector< TRGCDCLink * > & links (void) const
 returns a vector to track segments.
 
const std::vector< TRGCDCLink * > & links (unsigned layerId) const
 returns a vector to track segments.
 
bool fitted (void) const
 returns true if fitted.
 
void setFitted (bool fitted)
 set fit status
 
void setTrackID (int trackID)
 set track ID.
 
int getTrackID ()
 get track ID.
 
const TRGCDCFitterfitter (void) const
 returns a pointer to a default fitter.
 
const TRGCDCFitterfitter (const TRGCDCFitter *)
 sets a default fitter.
 
const TRGCDCRelation relation (void) const
 returns MC information. More...
 
const TRGCDCRelation relation2D (void) const
 returns MC information for only axial layers.
 
const TRGCDCRelation relation3D (void) const
 returns MC information for only stereo layers.
 
void append (TRGCDCLink *)
 appends a link.
 
void append (const std::vector< TRGCDCLink * > &links)
 appends links.
 
virtual int fit (void)
 fits itself by a default fitter. Error was happened if return value is not zero.
 

Private Attributes

TRGPoint2D _center
 Position of the circle center.
 
double _radius
 Radius multiplied by charge.
 
const TRGCDCHoughPlane_plane
 Hough plane.
 
std::string _name
 Name.
 
int _status
 Status.
 
double _charge
 Charge.
 
CLHEP::Hep3Vector _p
 Momentum.
 
CLHEP::Hep3Vector _x
 Position.
 
std::vector< TRGCDCLink * > * _ts
 Links for each super layer.
 
std::vector< TRGCDCLink * > _tsAll
 Links for all super layers.
 
const unsigned _nTs
 Size of _ts.
 
bool _fitted
 Fitting status.
 
int m_trackID
 ID of tracks.
 

Static Private Attributes

static const TRGCDCCircleFitter _fitter = TRGCDCCircleFitter("TRGCDCCircle Default Fitter")
 Default fitter.
 

Detailed Description

A class to represent a circle.

Definition at line 33 of file Circle.h.


The documentation for this class was generated from the following files: