|
BOSS 8.0.0
BESIII Offline Software System
|
A class to represent a track in tracking. More...
#include <T3DLine.h>
Public Member Functions | |
| T3DLine () | |
| Constructors. | |
| T3DLine (const TTrack &) | |
| T3DLine (const T3DLine &) | |
| virtual | ~T3DLine () |
| Destructor. | |
| double | dr (void) const |
| Track parameters. | |
| double | phi0 (void) const |
| double | dz (void) const |
| double | tanl (void) const |
| double | cosPhi0 (void) const |
| double | sinPhi0 (void) const |
| Vector | a (void) const |
| const SymMatrix & | Ea (void) const |
| returns error matrix | |
| const HepPoint3D & | pivot (void) const |
| pivot position | |
| Helix | helix (void) const |
| approximated helix class | |
| unsigned | ndf (void) const |
| returns NDF | |
| double | chi2 (void) const |
| returns chi2. | |
| double | reducedchi2 (void) const |
| returns reduced-chi2 | |
| unsigned | objectType (void) const |
| returns object type | |
| HepPoint3D | x (double) const |
| returns position on 3D line | |
| HepPoint3D | x0 (void) const |
| returns 3D line component x(t)=x0 + t * k | |
| HepVector3D | k (void) const |
| int | approach (TMLink &, bool sagCorrection=true) const |
| int | approach_line (const HepPoint3D &, const HepVector3D &, HepPoint3D &onLine, HepPoint3D &onTrack) const |
| caluculate closest points between a line and this track | |
| int | approach_point (const HepPoint3D &, HepPoint3D &onTrack) const |
| caluculate closest point between a point and this track | |
| const HepPoint3D & | pivot (const HepPoint3D &) |
| set new pivot | |
| void | set (const HepPoint3D &, double t_dr, double t_phi0, double t_dz, double t_tanl) |
| set track parameters,pivot | |
| Vector | a (const Vector &) |
| set track parameters | |
| const SymMatrix & | Ea (const SymMatrix &) |
| set error matrix | |
| T3DLine () | |
| Constructors. | |
| T3DLine (const TTrack &) | |
| T3DLine (const T3DLine &) | |
| virtual | ~T3DLine () |
| Destructor. | |
| double | dr (void) const |
| Track parameters. | |
| double | phi0 (void) const |
| double | dz (void) const |
| double | tanl (void) const |
| double | cosPhi0 (void) const |
| double | sinPhi0 (void) const |
| Vector | a (void) const |
| const SymMatrix & | Ea (void) const |
| returns error matrix | |
| const HepPoint3D & | pivot (void) const |
| pivot position | |
| Helix | helix (void) const |
| approximated helix class | |
| unsigned | ndf (void) const |
| returns NDF | |
| double | chi2 (void) const |
| returns chi2. | |
| double | reducedchi2 (void) const |
| returns reduced-chi2 | |
| unsigned | objectType (void) const |
| returns object type | |
| HepPoint3D | x (double) const |
| returns position on 3D line | |
| HepPoint3D | x0 (void) const |
| returns 3D line component x(t)=x0 + t * k | |
| HepVector3D | k (void) const |
| int | approach (TMLink &, bool sagCorrection=true) const |
| int | approach_line (const HepPoint3D &, const HepVector3D &, HepPoint3D &onLine, HepPoint3D &onTrack) const |
| caluculate closest points between a line and this track | |
| int | approach_point (const HepPoint3D &, HepPoint3D &onTrack) const |
| caluculate closest point between a point and this track | |
| const HepPoint3D & | pivot (const HepPoint3D &) |
| set new pivot | |
| void | set (const HepPoint3D &, double t_dr, double t_phi0, double t_dz, double t_tanl) |
| set track parameters,pivot | |
| Vector | a (const Vector &) |
| set track parameters | |
| const SymMatrix & | Ea (const SymMatrix &) |
| set error matrix | |
| T3DLine () | |
| Constructors. | |
| T3DLine (const TTrack &) | |
| T3DLine (const T3DLine &) | |
| virtual | ~T3DLine () |
| Destructor. | |
| double | dr (void) const |
| Track parameters. | |
| double | phi0 (void) const |
| double | dz (void) const |
| double | tanl (void) const |
| double | cosPhi0 (void) const |
| double | sinPhi0 (void) const |
| Vector | a (void) const |
| const SymMatrix & | Ea (void) const |
| returns error matrix | |
| const HepPoint3D & | pivot (void) const |
| pivot position | |
| Helix | helix (void) const |
| approximated helix class | |
| unsigned | ndf (void) const |
| returns NDF | |
| double | chi2 (void) const |
| returns chi2. | |
| double | reducedchi2 (void) const |
| returns reduced-chi2 | |
| unsigned | objectType (void) const |
| returns object type | |
| HepPoint3D | x (double) const |
| returns position on 3D line | |
| HepPoint3D | x0 (void) const |
| returns 3D line component x(t)=x0 + t * k | |
| HepVector3D | k (void) const |
| int | approach (TMLink &, bool sagCorrection=true) const |
| int | approach_line (const HepPoint3D &, const HepVector3D &, HepPoint3D &onLine, HepPoint3D &onTrack) const |
| caluculate closest points between a line and this track | |
| int | approach_point (const HepPoint3D &, HepPoint3D &onTrack) const |
| caluculate closest point between a point and this track | |
| const HepPoint3D & | pivot (const HepPoint3D &) |
| set new pivot | |
| void | set (const HepPoint3D &, double t_dr, double t_phi0, double t_dz, double t_tanl) |
| set track parameters,pivot | |
| Vector | a (const Vector &) |
| set track parameters | |
| const SymMatrix & | Ea (const SymMatrix &) |
| set error matrix | |
| Public Member Functions inherited from TTrackBase | |
| TTrackBase () | |
| Constructor. | |
| TTrackBase (const AList< TMLink > &links) | |
| Constructor. | |
| virtual | ~TTrackBase () |
| Destructor. | |
| 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 |
| 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) |
| void | appendByDistance (AList< TMLink > &list, double maxDistance) |
| void | remove (TMLink &a) |
| removes a TMLink. | |
| void | remove (const AList< TMLink > &) |
| removes TMLinks. | |
| virtual void | refine (AList< TMLink > &list, double maxSigma) |
| 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 |
| 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 | 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 |
| 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) |
| void | appendByDistance (AList< TMLink > &list, double maxDistance) |
| void | remove (TMLink &a) |
| removes a TMLink. | |
| void | remove (const AList< TMLink > &) |
| removes TMLinks. | |
| virtual void | refine (AList< TMLink > &list, double maxSigma) |
| 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 |
| 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 | 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 |
| 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) |
| void | appendByDistance (AList< TMLink > &list, double maxDistance) |
| void | remove (TMLink &a) |
| removes a TMLink. | |
| void | remove (const AList< TMLink > &) |
| removes TMLinks. | |
| virtual void | refine (AList< TMLink > &list, double maxSigma) |
| 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 |
| 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). | |
Friends | |
| class | T3DLineFitter |
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 50 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/T3DLine.h.
| T3DLine::T3DLine | ( | ) |
Constructors.
Definition at line 21 of file T3DLine.cxx.
Referenced by T3DLine().
| T3DLine::T3DLine | ( | const TTrack & | a | ) |
Definition at line 42 of file T3DLine.cxx.
| T3DLine::T3DLine | ( | const T3DLine & | a | ) |
Definition at line 65 of file T3DLine.cxx.
|
virtual |
| T3DLine::T3DLine | ( | ) |
Constructors.
| T3DLine::T3DLine | ( | const TTrack & | ) |
| T3DLine::T3DLine | ( | const T3DLine & | ) |
|
virtual |
Destructor.
| T3DLine::T3DLine | ( | ) |
Constructors.
| T3DLine::T3DLine | ( | const TTrack & | ) |
| T3DLine::T3DLine | ( | const T3DLine & | ) |
|
virtual |
Destructor.
set track parameters
Definition at line 179 of file T3DLine.cxx.
| Vector T3DLine::a | ( | void | ) | const |
Definition at line 100 of file T3DLine.cxx.
| Vector T3DLine::a | ( | void | ) | const |
| Vector T3DLine::a | ( | void | ) | const |
| int T3DLine::approach | ( | TMLink & | l, |
| bool | sagCorrection = true ) const |
calculates the closest approach to a wire in real space. Results are stored in TMLink. Return value is negative if error happened.
Definition at line 194 of file T3DLine.cxx.
| int T3DLine::approach | ( | TMLink & | , |
| bool | sagCorrection = true ) const |
calculates the closest approach to a wire in real space. Results are stored in TMLink. Return value is negative if error happened.
| int T3DLine::approach | ( | TMLink & | , |
| bool | sagCorrection = true ) const |
calculates the closest approach to a wire in real space. Results are stored in TMLink. Return value is negative if error happened.
| int T3DLine::approach_line | ( | const HepPoint3D & | w0, |
| const HepVector3D & | v, | ||
| HepPoint3D & | onLine, | ||
| HepPoint3D & | onTrack ) const |
caluculate closest points between a line and this track
Definition at line 235 of file T3DLine.cxx.
Referenced by approach().
| int T3DLine::approach_line | ( | const HepPoint3D & | , |
| const HepVector3D & | , | ||
| HepPoint3D & | onLine, | ||
| HepPoint3D & | onTrack ) const |
caluculate closest points between a line and this track
| int T3DLine::approach_line | ( | const HepPoint3D & | , |
| const HepVector3D & | , | ||
| HepPoint3D & | onLine, | ||
| HepPoint3D & | onTrack ) const |
caluculate closest points between a line and this track
| int T3DLine::approach_point | ( | const HepPoint3D & | p0, |
| HepPoint3D & | onTrack ) const |
caluculate closest point between a point and this track
Definition at line 258 of file T3DLine.cxx.
| int T3DLine::approach_point | ( | const HepPoint3D & | , |
| HepPoint3D & | onTrack ) const |
caluculate closest point between a point and this track
| int T3DLine::approach_point | ( | const HepPoint3D & | , |
| HepPoint3D & | onTrack ) const |
caluculate closest point between a point and this track
| double T3DLine::chi2 | ( | void | ) | const |
returns chi2.
Definition at line 124 of file T3DLine.cxx.
Referenced by T3DLine().
| double T3DLine::chi2 | ( | void | ) | const |
returns chi2.
| double T3DLine::chi2 | ( | void | ) | const |
returns chi2.
| double T3DLine::cosPhi0 | ( | void | ) | const |
Definition at line 94 of file T3DLine.cxx.
| double T3DLine::cosPhi0 | ( | void | ) | const |
| double T3DLine::cosPhi0 | ( | void | ) | const |
| double T3DLine::dr | ( | void | ) | const |
| double T3DLine::dr | ( | void | ) | const |
Track parameters.
| double T3DLine::dr | ( | void | ) | const |
Track parameters.
| double T3DLine::dz | ( | void | ) | const |
Definition at line 90 of file T3DLine.cxx.
| double T3DLine::dz | ( | void | ) | const |
| double T3DLine::dz | ( | void | ) | const |
set error matrix
Definition at line 189 of file T3DLine.cxx.
| const SymMatrix & T3DLine::Ea | ( | void | ) | const |
returns error matrix
Definition at line 109 of file T3DLine.cxx.
Referenced by T3DLine().
| const SymMatrix & T3DLine::Ea | ( | void | ) | const |
returns error matrix
| const SymMatrix & T3DLine::Ea | ( | void | ) | const |
returns error matrix
| Helix T3DLine::helix | ( | void | ) | const |
approximated helix class
Definition at line 111 of file T3DLine.cxx.
Referenced by TBuilderCosmic::buildStereo(), and T3DLine().
| Helix T3DLine::helix | ( | void | ) | const |
approximated helix class
| Helix T3DLine::helix | ( | void | ) | const |
approximated helix class
| HepVector3D T3DLine::k | ( | void | ) | const |
Definition at line 150 of file T3DLine.cxx.
Referenced by approach_line(), and approach_point().
| HepVector3D T3DLine::k | ( | void | ) | const |
| HepVector3D T3DLine::k | ( | void | ) | const |
| unsigned T3DLine::ndf | ( | void | ) | const |
returns NDF
Definition at line 122 of file T3DLine.cxx.
Referenced by T3DLine().
| unsigned T3DLine::ndf | ( | void | ) | const |
returns NDF
| unsigned T3DLine::ndf | ( | void | ) | const |
returns NDF
|
inlinevirtual |
returns object type
Reimplemented from TTrackBase.
Definition at line 150 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/T3DLine.h.
|
virtual |
returns object type
Reimplemented from TTrackBase.
|
virtual |
returns object type
Reimplemented from TTrackBase.
| double T3DLine::phi0 | ( | void | ) | const |
Definition at line 88 of file T3DLine.cxx.
| double T3DLine::phi0 | ( | void | ) | const |
| double T3DLine::phi0 | ( | void | ) | const |
| const HepPoint3D & T3DLine::pivot | ( | const HepPoint3D & | newpivot | ) |
set new pivot
Definition at line 155 of file T3DLine.cxx.
| const HepPoint3D & T3DLine::pivot | ( | const HepPoint3D & | ) |
set new pivot
| const HepPoint3D & T3DLine::pivot | ( | const HepPoint3D & | ) |
set new pivot
| const HepPoint3D & T3DLine::pivot | ( | void | ) | const |
| const HepPoint3D & T3DLine::pivot | ( | void | ) | const |
pivot position
| const HepPoint3D & T3DLine::pivot | ( | void | ) | const |
pivot position
| double T3DLine::reducedchi2 | ( | void | ) | const |
returns reduced-chi2
Definition at line 126 of file T3DLine.cxx.
| double T3DLine::reducedchi2 | ( | void | ) | const |
returns reduced-chi2
| double T3DLine::reducedchi2 | ( | void | ) | const |
returns reduced-chi2
| void T3DLine::set | ( | const HepPoint3D & | t_pivot, |
| double | t_dr, | ||
| double | t_phi0, | ||
| double | t_dz, | ||
| double | t_tanl ) |
set track parameters,pivot
Definition at line 167 of file T3DLine.cxx.
| void T3DLine::set | ( | const HepPoint3D & | , |
| double | t_dr, | ||
| double | t_phi0, | ||
| double | t_dz, | ||
| double | t_tanl ) |
set track parameters,pivot
| void T3DLine::set | ( | const HepPoint3D & | , |
| double | t_dr, | ||
| double | t_phi0, | ||
| double | t_dz, | ||
| double | t_tanl ) |
set track parameters,pivot
| double T3DLine::sinPhi0 | ( | void | ) | const |
Definition at line 96 of file T3DLine.cxx.
| double T3DLine::sinPhi0 | ( | void | ) | const |
| double T3DLine::sinPhi0 | ( | void | ) | const |
| double T3DLine::tanl | ( | void | ) | const |
Definition at line 92 of file T3DLine.cxx.
| double T3DLine::tanl | ( | void | ) | const |
| double T3DLine::tanl | ( | void | ) | const |
| HepPoint3D T3DLine::x | ( | double | t | ) | const |
returns position on 3D line
Definition at line 135 of file T3DLine.cxx.
| HepPoint3D T3DLine::x | ( | double | ) | const |
returns position on 3D line
| HepPoint3D T3DLine::x | ( | double | ) | const |
returns position on 3D line
| HepPoint3D T3DLine::x0 | ( | void | ) | const |
returns 3D line component x(t)=x0 + t * k
Definition at line 143 of file T3DLine.cxx.
Referenced by approach_line(), and approach_point().
| HepPoint3D T3DLine::x0 | ( | void | ) | const |
returns 3D line component x(t)=x0 + t * k
| HepPoint3D T3DLine::x0 | ( | void | ) | const |
returns 3D line component x(t)=x0 + t * k
|
friend |
Definition at line 147 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/T3DLine.h.
Referenced by Ea(), and T3DLineFitter.