Belle II Software development
TRGCDCCircle Class Reference

A class to represent a circle. More...

#include <Circle.h>

Inheritance diagram for TRGCDCCircle:
TRGCDCTrackBase

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.
 
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.

Member Data Documentation

◆ _center

TRGPoint2D _center
private

Position of the circle center.

Definition at line 81 of file Circle.h.

◆ _charge

double _charge
privateinherited

Charge.

Definition at line 148 of file TrackBase.h.

◆ _fitted

bool _fitted
mutableprivateinherited

Fitting status.

Definition at line 169 of file TrackBase.h.

◆ _name

std::string _name
privateinherited

Name.

Definition at line 142 of file TrackBase.h.

◆ _nTs

const unsigned _nTs
privateinherited

Size of _ts.

Definition at line 163 of file TrackBase.h.

◆ _p

CLHEP::Hep3Vector _p
privateinherited

Momentum.

Definition at line 151 of file TrackBase.h.

◆ _plane

const TRGCDCHoughPlane* _plane
private

Hough plane.

Definition at line 87 of file Circle.h.

◆ _radius

double _radius
private

Radius multiplied by charge.

Definition at line 84 of file Circle.h.

◆ _status

int _status
privateinherited

Status.

Definition at line 145 of file TrackBase.h.

◆ _ts

std::vector<TRGCDCLink*>* _ts
privateinherited

Links for each super layer.

Definition at line 157 of file TrackBase.h.

◆ _tsAll

std::vector<TRGCDCLink*> _tsAll
privateinherited

Links for all super layers.

Definition at line 160 of file TrackBase.h.

◆ _x

CLHEP::Hep3Vector _x
privateinherited

Position.

Definition at line 154 of file TrackBase.h.

◆ m_trackID

int m_trackID
privateinherited

ID of tracks.

Definition at line 172 of file TrackBase.h.


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