BOSS 7.0.1
BESIII Offline Software System
|
A class to represent a circle in tracking. More...
#include <TCircle.h>
Public Member Functions | |
TCircle (const AList< TMLink > &links) | |
Constructor. | |
virtual | ~TCircle () |
Destructor. | |
virtual unsigned | objectType (void) const |
returns type. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const HepPoint3D & | center (void) const |
returns position of center. | |
double | radius (void) const |
returns radius. | |
double | pt (void) const |
returns Pt. | |
double | impact (void) const |
returns impact parameter to the origin. | |
double | charge (void) const |
returns charge. | |
double | weight (const TMLink &l) const |
returns weight of TMLink in order to fit and make a circle. | |
int | fitForCurl (int ipConst=0) |
fits itself. Error was happened if return value is not zero. | |
void | property (double charge, double radius, HepPoint3D center) |
sets circle properties. | |
TCircle (const AList< TMLink > &links) | |
Constructor. | |
virtual | ~TCircle () |
Destructor. | |
virtual unsigned | objectType (void) const |
returns type. | |
void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const HepPoint3D & | center (void) const |
returns position of center. | |
double | radius (void) const |
returns radius. | |
double | pt (void) const |
returns Pt. | |
double | impact (void) const |
returns impact parameter to the origin. | |
double | charge (void) const |
returns charge. | |
double | weight (const TMLink &l) const |
returns weight of TMLink in order to fit and make a circle. | |
int | fitForCurl (int ipConst=0) |
fits itself. Error was happened if return value is not zero. | |
void | property (double charge, double radius, HepPoint3D center) |
sets circle properties. | |
Public Member Functions inherited from TTrackBase | |
TTrackBase () | |
Constructor. | |
TTrackBase (const AList< TMLink > &links) | |
Constructor. | |
virtual | ~TTrackBase () |
Destructor. | |
virtual unsigned | objectType (void) const |
returns object type. | |
virtual unsigned | type (void) const |
returns type. Definition is depending on an object class. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const AList< TMLink > & | links (unsigned mask=0) const |
returns a list of masked TMLinks assigned to this track. 'mask' will be applied if mask is not 0. | |
unsigned | nLinks (unsigned mask=0) const |
returns # of masked TMLinks assigned to this track object. | |
const AList< TMLink > & | cores (unsigned mask=0) const |
returns a list of masked TMLinks for fit. 'mask' will be applied if mask is not 0. | |
unsigned | nCores (unsigned mask=0) const |
returns # of masked TMLinks for fit. 'mask' will be applied if mask is not 0. | |
void | update (void) const |
update cache. | |
void | append (TMLink &) |
appends a TMLink. | |
void | append (const AList< TMLink > &) |
appends TMLinks. | |
void | appendByApproach (AList< TMLink > &list, double maxSigma) |
appends TMLinks by approach. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned. | |
void | appendByDistance (AList< TMLink > &list, double maxDistance) |
appends TMLinks by distance. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned. | |
void | remove (TMLink &a) |
removes a TMLink. | |
void | remove (const AList< TMLink > &) |
removes TMLinks. | |
virtual void | refine (AList< TMLink > &list, double maxSigma) |
removes bad points by pull. The bad points are removed from the track, and are returned in 'list'. | |
virtual void | refine (double maxSigma) |
removes bad points by pull. The bad points are masked not to be used in fit. | |
virtual int | DropWorst () |
virtual void | removeLinks (void) |
virtual double | distance (const TMLink &) const |
returns distance to a position of TMLink in TMLink space. | |
virtual int | approach (TMLink &) const |
calculates the closest approach to a wire in real space. Results are stored in TMLink. Return value is negative if error happened. | |
unsigned | testByApproach (const TMLink &list, double sigma) const |
returns # of good hits to be appended. | |
unsigned | testByApproach (const AList< TMLink > &list, double sigma) const |
virtual int | fit (void) |
fits itself by a default fitter. Error was happened if return value is not zero. | |
const TMFitter *const | fitter (void) const |
returns a pointer to a default fitter. | |
const TMFitter *const | fitter (const TMFitter *) |
sets a default fitter. | |
void | falseFit () |
false Fit | |
TMLink * | operator[] (unsigned i) const |
const TTrackHEP *const | hep (void) const |
returns TTrackHEP. | |
unsigned | nHeps (void) const |
returns # of contributed TTrackHEP tracks. | |
const TTrackMC *const | mc (void) const |
returns a pointer to TTrackMC. | |
bool | fitted (void) const |
returns true if fitted. | |
bool | fittedWithCathode (void) const |
returns true if fitted with cathode hits(TEMPORARY). | |
TTrackBase () | |
Constructor. | |
TTrackBase (const AList< TMLink > &links) | |
Constructor. | |
virtual | ~TTrackBase () |
Destructor. | |
virtual unsigned | objectType (void) const |
returns object type. | |
virtual unsigned | type (void) const |
returns type. Definition is depending on an object class. | |
virtual void | dump (const std::string &message=std::string(""), const std::string &prefix=std::string("")) const |
dumps debug information. | |
const AList< TMLink > & | links (unsigned mask=0) const |
returns a list of masked TMLinks assigned to this track. 'mask' will be applied if mask is not 0. | |
unsigned | nLinks (unsigned mask=0) const |
returns # of masked TMLinks assigned to this track object. | |
const AList< TMLink > & | cores (unsigned mask=0) const |
returns a list of masked TMLinks for fit. 'mask' will be applied if mask is not 0. | |
unsigned | nCores (unsigned mask=0) const |
returns # of masked TMLinks for fit. 'mask' will be applied if mask is not 0. | |
void | update (void) const |
update cache. | |
void | append (TMLink &) |
appends a TMLink. | |
void | append (const AList< TMLink > &) |
appends TMLinks. | |
void | appendByApproach (AList< TMLink > &list, double maxSigma) |
appends TMLinks by approach. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned. | |
void | appendByDistance (AList< TMLink > &list, double maxDistance) |
appends TMLinks by distance. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned. | |
void | remove (TMLink &a) |
removes a TMLink. | |
void | remove (const AList< TMLink > &) |
removes TMLinks. | |
virtual void | refine (AList< TMLink > &list, double maxSigma) |
removes bad points by pull. The bad points are removed from the track, and are returned in 'list'. | |
virtual void | refine (double maxSigma) |
removes bad points by pull. The bad points are masked not to be used in fit. | |
virtual int | DropWorst () |
virtual void | removeLinks (void) |
virtual double | distance (const TMLink &) const |
returns distance to a position of TMLink in TMLink space. | |
virtual int | approach (TMLink &) const |
calculates the closest approach to a wire in real space. Results are stored in TMLink. Return value is negative if error happened. | |
unsigned | testByApproach (const TMLink &list, double sigma) const |
returns # of good hits to be appended. | |
unsigned | testByApproach (const AList< TMLink > &list, double sigma) const |
virtual int | fit (void) |
fits itself by a default fitter. Error was happened if return value is not zero. | |
const TMFitter *const | fitter (void) const |
returns a pointer to a default fitter. | |
const TMFitter *const | fitter (const TMFitter *) |
sets a default fitter. | |
void | falseFit () |
false Fit | |
TMLink * | operator[] (unsigned i) const |
const TTrackHEP *const | hep (void) const |
returns TTrackHEP. | |
unsigned | nHeps (void) const |
returns # of contributed TTrackHEP tracks. | |
const TTrackMC *const | mc (void) const |
returns a pointer to TTrackMC. | |
bool | fitted (void) const |
returns true if fitted. | |
bool | fittedWithCathode (void) const |
returns true if fitted with cathode hits(TEMPORARY). | |
Additional Inherited Members | |
Protected Attributes inherited from TTrackBase | |
AList< TMLink > | _links |
bool | _fitted |
bool | _fittedWithCathode |
TTrackMC * | _mc |
A class to represent a circle in tracking.
Definition at line 42 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
Constructor.
Definition at line 22 of file TCircle.cxx.
|
virtual |
|
virtual |
Destructor.
|
inline |
returns position of center.
Definition at line 108 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
Referenced by TTrack::TTrack().
const HepPoint3D & TCircle::center | ( | void | ) | const |
returns position of center.
|
inline |
returns charge.
Definition at line 147 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
double TCircle::charge | ( | void | ) | const |
returns charge.
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 33 of file TCircle.cxx.
Referenced by TBuilder::buildRphi().
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
int TCircle::fitForCurl | ( | int | ipConst = 0 | ) |
fits itself. Error was happened if return value is not zero.
fits itself only for curl finder. Error was happened if return value is not zero.
Definition at line 136 of file TCircle.cxx.
int TCircle::fitForCurl | ( | int | ipConst = 0 | ) |
fits itself. Error was happened if return value is not zero.
fits itself only for curl finder. Error was happened if return value is not zero.
|
inline |
returns impact parameter to the origin.
Definition at line 136 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
Referenced by dump(), and TMSelector::select().
double TCircle::impact | ( | void | ) | const |
returns impact parameter to the origin.
|
inlinevirtual |
returns type.
Reimplemented from TTrackBase.
Definition at line 165 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
|
virtual |
returns type.
Reimplemented from TTrackBase.
|
inline |
sets circle properties.
Definition at line 157 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
void TCircle::property | ( | double | charge, |
double | radius, | ||
HepPoint3D | center | ||
) |
sets circle properties.
|
inline |
returns Pt.
Definition at line 126 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
Referenced by dump(), and TMSelector::select().
double TCircle::pt | ( | void | ) | const |
returns Pt.
|
inline |
returns radius.
Definition at line 117 of file InstallArea/include/TrkReco/TrkReco/TCircle.h.
Referenced by TTrack::TTrack().
double TCircle::radius | ( | void | ) | const |
returns radius.
double TCircle::weight | ( | const TMLink & | l | ) | const |
returns weight of TMLink in order to fit and make a circle.
Definition at line 111 of file TCircle.cxx.
double TCircle::weight | ( | const TMLink & | l | ) | const |
returns weight of TMLink in order to fit and make a circle.