BOSS 7.0.5
BESIII Offline Software System
|
A class to represent a track in tracking. More...
#include <TMLine.h>
Public Member Functions | |
TMLine () | |
Constructor. | |
TMLine (const AList< TMLink > &) | |
Constructor. | |
virtual | ~TMLine () |
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. | |
double | a (void) const |
returns coefficient a. | |
double | b (void) const |
returns coefficient b. | |
double | chi2 (void) const |
returns chi2. | |
double | reducedChi2 (void) const |
returns reduced-chi2. | |
double | distance (const TMLink &) const |
returns distance to a position of TMLink itself. (not to a wire) | |
double | distance (const HepPoint3D &) const |
int | fit2 () |
fits itself. Error was happened if return value is not zero. | |
int | fit2s () |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero. | |
int | fit2p () |
fits itself using isolated hits. Error was happened if return value is not zero. | |
int | fit2sp () |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero. | |
void | removeChits () |
remove extremly bad points. | |
void | refine (AList< TMLink > &list, float maxSigma) |
remove bad points by chi2. Bad points are returned in a 'list'. fit() should be called before calling this function. | |
void | removeSLY (AList< TMLink > &list) |
void | appendSLY (AList< TMLink > &list) |
void | appendByszdistance (AList< TMLink > &list, unsigned isl, float maxSigma) |
void | property (double a, double b, double det) |
sets circle properties. | |
TMLine () | |
Constructor. | |
TMLine (const AList< TMLink > &) | |
Constructor. | |
virtual | ~TMLine () |
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. | |
double | a (void) const |
returns coefficient a. | |
double | b (void) const |
returns coefficient b. | |
double | chi2 (void) const |
returns chi2. | |
double | reducedChi2 (void) const |
returns reduced-chi2. | |
double | distance (const TMLink &) const |
returns distance to a position of TMLink itself. (not to a wire) | |
double | distance (const HepPoint3D &) const |
int | fit2 () |
fits itself. Error was happened if return value is not zero. | |
int | fit2s () |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero. | |
int | fit2p () |
fits itself using isolated hits. Error was happened if return value is not zero. | |
int | fit2sp () |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero. | |
void | removeChits () |
remove extremly bad points. | |
void | refine (AList< TMLink > &list, float maxSigma) |
remove bad points by chi2. Bad points are returned in a 'list'. fit() should be called before calling this function. | |
void | removeSLY (AList< TMLink > &list) |
void | appendSLY (AList< TMLink > &list) |
void | appendByszdistance (AList< TMLink > &list, unsigned isl, float maxSigma) |
void | property (double a, double b, double det) |
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 track in tracking.
Definition at line 40 of file InstallArea/include/TrkReco/TrkReco/TMLine.h.
TMLine::TMLine | ( | ) |
Constructor.
Definition at line 23 of file TMLine.cxx.
Constructor.
Definition at line 36 of file TMLine.cxx.
|
virtual |
TMLine::TMLine | ( | ) |
Constructor.
|
virtual |
Destructor.
|
inline |
returns coefficient a.
Definition at line 147 of file InstallArea/include/TrkReco/TrkReco/TMLine.h.
Referenced by TBuilder::build(), TBuilder::buildStereo(), TBuilderCurl::buildStereo(), and property().
double TMLine::a | ( | void | ) | const |
returns coefficient a.
Definition at line 568 of file TMLine.cxx.
Definition at line 561 of file TMLine.cxx.
|
inline |
returns coefficient b.
Definition at line 156 of file InstallArea/include/TrkReco/TrkReco/TMLine.h.
Referenced by TBuilder::build(), TBuilder::buildStereo(), TBuilderCurl::buildStereo(), and property().
double TMLine::b | ( | void | ) | const |
returns coefficient b.
double TMLine::chi2 | ( | void | ) | const |
returns chi2.
Definition at line 113 of file TMLine.cxx.
Referenced by reducedChi2().
double TMLine::chi2 | ( | void | ) | const |
returns chi2.
|
inline |
Definition at line 176 of file InstallArea/include/TrkReco/TrkReco/TMLine.h.
double TMLine::distance | ( | const HepPoint3D & | ) | const |
|
inlinevirtual |
returns distance to a position of TMLink itself. (not to a wire)
Reimplemented from TTrackBase.
Definition at line 165 of file InstallArea/include/TrkReco/TrkReco/TMLine.h.
Referenced by appendByszdistance(), TBuilder::buildStereo(), refine(), TBuilder::removeFarSegment(), TBuilder::searchLine(), and TBuilder::selectStereoSegment().
|
virtual |
returns distance to a position of TMLink itself. (not to a wire)
Reimplemented from TTrackBase.
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 53 of file TMLine.cxx.
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
int TMLine::fit2 | ( | ) |
fits itself. Error was happened if return value is not zero.
fits itself using isolated hits. Error was happened if return value is not zero.
Definition at line 174 of file TMLine.cxx.
int TMLine::fit2 | ( | ) |
fits itself. Error was happened if return value is not zero.
fits itself using isolated hits. Error was happened if return value is not zero.
int TMLine::fit2p | ( | ) |
fits itself using isolated hits. Error was happened if return value is not zero.
Definition at line 403 of file TMLine.cxx.
int TMLine::fit2p | ( | ) |
fits itself using isolated hits. Error was happened if return value is not zero.
int TMLine::fit2s | ( | ) |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
Definition at line 265 of file TMLine.cxx.
int TMLine::fit2s | ( | ) |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
int TMLine::fit2sp | ( | ) |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
Definition at line 325 of file TMLine.cxx.
int TMLine::fit2sp | ( | ) |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
|
inlinevirtual |
returns type.
Reimplemented from TTrackBase.
Definition at line 195 of file InstallArea/include/TrkReco/TrkReco/TMLine.h.
|
virtual |
returns type.
Reimplemented from TTrackBase.
|
inline |
sets circle properties.
Definition at line 187 of file InstallArea/include/TrkReco/TrkReco/TMLine.h.
void TMLine::property | ( | double | a, |
double | b, | ||
double | det | ||
) |
sets circle properties.
double TMLine::reducedChi2 | ( | void | ) | const |
returns reduced-chi2.
Definition at line 607 of file TMLine.cxx.
double TMLine::reducedChi2 | ( | void | ) | const |
returns reduced-chi2.
remove bad points by chi2. Bad points are returned in a 'list'. fit() should be called before calling this function.
Definition at line 135 of file TMLine.cxx.
remove bad points by chi2. Bad points are returned in a 'list'. fit() should be called before calling this function.
void TMLine::removeChits | ( | ) |
remove extremly bad points.
Definition at line 511 of file TMLine.cxx.
void TMLine::removeChits | ( | ) |
remove extremly bad points.
Definition at line 554 of file TMLine.cxx.