BOSS 6.6.4.p03
BESIII Offline Software System
|
A class to represent a track in tracking. More...
#include <TLine0.h>
Public Member Functions | |
TLine0 () | |
Constructor. | |
TLine0 (const AList< TMLink > &) | |
Constructor. | |
virtual | ~TLine0 () |
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) | |
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). | |
Additional Inherited Members | |
Protected Attributes inherited from TTrackBase | |
AList< TMLink > | _links |
bool | _fitted |
bool | _fittedWithCathode |
TTrackMC * | _mc |
TLine0::TLine0 | ( | ) |
Constructor.
Definition at line 23 of file TLine0.cxx.
Constructor.
Definition at line 36 of file TLine0.cxx.
|
virtual |
|
inline |
returns coefficient a.
Definition at line 127 of file TLine0.h.
Referenced by TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilder0::buildStereo0(), TBuilderCurl::buildStereoMC(), and property().
Definition at line 565 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo().
Definition at line 558 of file TLine0.cxx.
|
inline |
returns coefficient b.
Definition at line 136 of file TLine0.h.
Referenced by TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilderCurl::buildStereoMC(), and property().
double TLine0::chi2 | ( | void | ) | const |
returns chi2.
Definition at line 113 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo(), and reducedChi2().
|
inlinevirtual |
returns distance to a position of TMLink itself. (not to a wire)
Reimplemented from TTrackBase.
Definition at line 145 of file TLine0.h.
Referenced by appendByszdistance(), TBuilderCosmic::buildStereo(), TBuilder0::buildStereo0(), and refine().
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 53 of file TLine0.cxx.
int TLine0::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 173 of file TLine0.cxx.
int TLine0::fit2p | ( | ) |
fits itself using isolated hits. Error was happened if return value is not zero.
Definition at line 401 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo0().
int TLine0::fit2s | ( | ) |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
Definition at line 263 of file TLine0.cxx.
int TLine0::fit2sp | ( | ) |
fits itself using single hits in a wire-layer. Error was happened if return value is not zero.
Definition at line 323 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo0().
|
inlinevirtual |
returns type.
Reimplemented from TTrackBase.
|
inline |
double TLine0::reducedChi2 | ( | void | ) | const |
returns reduced-chi2.
Definition at line 604 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo().
remove bad points by chi2. Bad points are returned in a 'list'. fit() should be called before calling this function.
Definition at line 134 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo(), and TBuilder0::buildStereo0().
void TLine0::removeChits | ( | ) |
remove extremly bad points.
Definition at line 508 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo0().
Definition at line 551 of file TLine0.cxx.
Referenced by TBuilder0::buildStereo().