|
BOSS 8.0.0
BESIII Offline Software System
|
A class to relate TMDCWireHit and TTrack objects. More...
#include <TSegment.h>
Public Member Functions | |
| TSegment () | |
| Constructor. | |
| TSegment (const AList< TMLink > &) | |
| virtual | ~TSegment () |
| 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. | |
| unsigned | superLayerId () const |
| returns super layer id. | |
| const HepPoint3D & | position (void) const |
| returns position. | |
| const HepPoint3D & | outerPosition (void) const |
| const HepPoint3D & | lineTsf (void) const |
| return line of Tsf for pos and dir | |
| const HepPoint3D & | lineTsf (const HepPoint3D &) |
| const HepVector3D & | direction (void) const |
| returns direction. | |
| double | distance (const TSegment &) const |
| calculates distance between two clusters. Smaller value indicates closer. | |
| double | distance (const HepPoint3D &, const HepVector3D &) const |
| Range | rangeX (double min, double max) const |
| returns Range of x-coordinate of TMLinks. | |
| const AList< TMLink > & | inners (void) const |
| returns TMLinks in inner/outer-most layer. | |
| const AList< TMLink > & | outers (void) const |
| const TMLink & | center (void) const |
| returns a TMLink which is the closest to the center. | |
| unsigned | width (void) const |
| returns width. | |
| unsigned | innerWidth (void) const |
| returns inner width. | |
| unsigned | outerWidth (void) const |
| returns outer width. | |
| unsigned | innerMostLayer (void) const |
| returns inner most layer. | |
| unsigned | outerMostLayer (void) const |
| returns outer most layer. | |
| unsigned | clusterType (void) const |
| AList< TSegment > | split (void) const |
| AList< TSegment > | splitTsf (AList< TMLink > &) |
| int | solveDualHits (void) |
| double | duality (void) const |
| void | solveLR (void) |
| solve LR of hit in TSF. | |
| void | solveThreeHits (void) |
| AList< TTrack > & | tracks (void) |
| AList< TSegment > & | innerLinks (void) |
| const AList< TSegment > & | innerLinks (void) const |
| AList< TSegment > & | outerLinks (void) |
| const AList< TSegment > & | outerLinks (void) const |
| unsigned | state (void) const |
| unsigned | state (unsigned) |
| TSegment () | |
| Constructor. | |
| TSegment (const AList< TMLink > &) | |
| virtual | ~TSegment () |
| 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. | |
| unsigned | superLayerId () const |
| returns super layer id. | |
| const HepPoint3D & | position (void) const |
| returns position. | |
| const HepPoint3D & | outerPosition (void) const |
| const HepPoint3D & | lineTsf (void) const |
| return line of Tsf for pos and dir | |
| const HepPoint3D & | lineTsf (const HepPoint3D &) |
| const HepVector3D & | direction (void) const |
| returns direction. | |
| double | distance (const TSegment &) const |
| calculates distance between two clusters. Smaller value indicates closer. | |
| double | distance (const HepPoint3D &, const HepVector3D &) const |
| Range | rangeX (double min, double max) const |
| returns Range of x-coordinate of TMLinks. | |
| const AList< TMLink > & | inners (void) const |
| returns TMLinks in inner/outer-most layer. | |
| const AList< TMLink > & | outers (void) const |
| const TMLink & | center (void) const |
| returns a TMLink which is the closest to the center. | |
| unsigned | width (void) const |
| returns width. | |
| unsigned | innerWidth (void) const |
| returns inner width. | |
| unsigned | outerWidth (void) const |
| returns outer width. | |
| unsigned | innerMostLayer (void) const |
| returns inner most layer. | |
| unsigned | outerMostLayer (void) const |
| returns outer most layer. | |
| unsigned | clusterType (void) const |
| AList< TSegment > | split (void) const |
| AList< TSegment > | splitTsf (AList< TMLink > &) |
| int | solveDualHits (void) |
| double | duality (void) const |
| void | solveLR (void) |
| solve LR of hit in TSF. | |
| void | solveThreeHits (void) |
| AList< TTrack > & | tracks (void) |
| AList< TSegment > & | innerLinks (void) |
| const AList< TSegment > & | innerLinks (void) const |
| AList< TSegment > & | outerLinks (void) |
| const AList< TSegment > & | outerLinks (void) const |
| unsigned | state (void) const |
| unsigned | state (unsigned) |
| TSegment () | |
| Constructor. | |
| TSegment (const AList< TMLink > &) | |
| virtual | ~TSegment () |
| 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. | |
| unsigned | superLayerId () const |
| returns super layer id. | |
| const HepPoint3D & | position (void) const |
| returns position. | |
| const HepPoint3D & | outerPosition (void) const |
| const HepPoint3D & | lineTsf (void) const |
| return line of Tsf for pos and dir | |
| const HepPoint3D & | lineTsf (const HepPoint3D &) |
| const HepVector3D & | direction (void) const |
| returns direction. | |
| double | distance (const TSegment &) const |
| calculates distance between two clusters. Smaller value indicates closer. | |
| double | distance (const HepPoint3D &, const HepVector3D &) const |
| Range | rangeX (double min, double max) const |
| returns Range of x-coordinate of TMLinks. | |
| const AList< TMLink > & | inners (void) const |
| returns TMLinks in inner/outer-most layer. | |
| const AList< TMLink > & | outers (void) const |
| const TMLink & | center (void) const |
| returns a TMLink which is the closest to the center. | |
| unsigned | width (void) const |
| returns width. | |
| unsigned | innerWidth (void) const |
| returns inner width. | |
| unsigned | outerWidth (void) const |
| returns outer width. | |
| unsigned | innerMostLayer (void) const |
| returns inner most layer. | |
| unsigned | outerMostLayer (void) const |
| returns outer most layer. | |
| unsigned | clusterType (void) const |
| AList< TSegment > | split (void) const |
| AList< TSegment > | splitTsf (AList< TMLink > &) |
| int | solveDualHits (void) |
| double | duality (void) const |
| void | solveLR (void) |
| solve LR of hit in TSF. | |
| void | solveThreeHits (void) |
| AList< TTrack > & | tracks (void) |
| AList< TSegment > & | innerLinks (void) |
| const AList< TSegment > & | innerLinks (void) const |
| AList< TSegment > & | outerLinks (void) |
| const AList< TSegment > & | outerLinks (void) const |
| unsigned | state (void) const |
| unsigned | state (unsigned) |
| 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. | |
| 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. | |
| 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. | |
| 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). | |
Additional Inherited Members | |
| Protected Attributes inherited from TTrackBase | |
| AList< TMLink > | _links |
| bool | _fitted |
| bool | _fittedWithCathode |
| TTrackMC * | _mc |
A class to relate TMDCWireHit and TTrack objects.
Definition at line 43 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| TSegment::TSegment | ( | ) |
Constructor.
Definition at line 29 of file TSegment.cxx.
Referenced by distance(), and outerPosition().
Definition at line 56 of file TSegment.cxx.
|
virtual |
| TSegment::TSegment | ( | ) |
Constructor.
|
virtual |
Destructor.
| TSegment::TSegment | ( | ) |
Constructor.
|
virtual |
Destructor.
| const TMLink & TSegment::center | ( | void | ) | const |
|
inline |
returns cluster type. 0:empty, 1:short line, 2:long line, 3:V shage(from outside), 4:A shape, 5:X shape, 6:parallel, 7:complicated.
Definition at line 296 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| unsigned TSegment::clusterType | ( | void | ) | const |
returns cluster type. 0:empty, 1:short line, 2:long line, 3:V shage(from outside), 4:A shape, 5:X shape, 6:parallel, 7:complicated.
| unsigned TSegment::clusterType | ( | void | ) | const |
returns cluster type. 0:empty, 1:short line, 2:long line, 3:V shage(from outside), 4:A shape, 5:X shape, 6:parallel, 7:complicated.
|
inline |
returns direction.
Definition at line 271 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| const HepVector3D & TSegment::direction | ( | void | ) | const |
returns direction.
| const HepVector3D & TSegment::direction | ( | void | ) | const |
returns direction.
| double TSegment::distance | ( | const HepPoint3D & | p, |
| const HepVector3D & | v ) const |
Definition at line 256 of file TSegment.cxx.
| double TSegment::distance | ( | const HepPoint3D & | , |
| const HepVector3D & | ) const |
| double TSegment::distance | ( | const HepPoint3D & | , |
| const HepVector3D & | ) const |
| double TSegment::distance | ( | const TSegment & | c | ) | const |
calculates distance between two clusters. Smaller value indicates closer.
Definition at line 245 of file TSegment.cxx.
Referenced by solveDualHits().
| double TSegment::distance | ( | const TSegment & | ) | const |
calculates distance between two clusters. Smaller value indicates closer.
| double TSegment::distance | ( | const TSegment & | ) | const |
calculates distance between two clusters. Smaller value indicates closer.
|
inline |
Definition at line 302 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| double TSegment::duality | ( | void | ) | const |
| double TSegment::duality | ( | void | ) | const |
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 113 of file TSegment.cxx.
Referenced by THistogram::segments(), solveDualHits(), and superLayerId().
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 329 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Definition at line 331 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
|
inline |
returns inner most layer.
Definition at line 286 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by width().
| unsigned TSegment::innerMostLayer | ( | void | ) | const |
returns inner most layer.
| unsigned TSegment::innerMostLayer | ( | void | ) | const |
returns inner most layer.
returns TMLinks in inner/outer-most layer.
Definition at line 256 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
|
inline |
returns inner width.
Definition at line 276 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| unsigned TSegment::innerWidth | ( | void | ) | const |
returns inner width.
| unsigned TSegment::innerWidth | ( | void | ) | const |
returns inner width.
|
inline |
Definition at line 344 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| const HepPoint3D & TSegment::lineTsf | ( | const HepPoint3D & | ) |
| const HepPoint3D & TSegment::lineTsf | ( | const HepPoint3D & | ) |
|
inline |
return line of Tsf for pos and dir
Definition at line 342 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| const HepPoint3D & TSegment::lineTsf | ( | void | ) | const |
return line of Tsf for pos and dir
| const HepPoint3D & TSegment::lineTsf | ( | void | ) | const |
return line of Tsf for pos and dir
|
inlinevirtual |
returns type.
Reimplemented from TTrackBase.
Definition at line 304 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
|
virtual |
returns type.
Reimplemented from TTrackBase.
|
virtual |
returns type.
Reimplemented from TTrackBase.
Definition at line 333 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by OuterMostUniqueLink().
Definition at line 335 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
|
inline |
returns outer most layer.
Definition at line 291 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by width().
| unsigned TSegment::outerMostLayer | ( | void | ) | const |
returns outer most layer.
| unsigned TSegment::outerMostLayer | ( | void | ) | const |
returns outer most layer.
| const HepPoint3D & TSegment::outerPosition | ( | void | ) | const |
| const HepPoint3D & TSegment::outerPosition | ( | void | ) | const |
| const HepPoint3D & TSegment::outerPosition | ( | void | ) | const |
Definition at line 261 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by solveDualHits().
|
inline |
returns outer width.
Definition at line 281 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| unsigned TSegment::outerWidth | ( | void | ) | const |
returns outer width.
| unsigned TSegment::outerWidth | ( | void | ) | const |
returns outer width.
|
inline |
returns position.
Definition at line 266 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by distance().
| const HepPoint3D & TSegment::position | ( | void | ) | const |
returns position.
| const HepPoint3D & TSegment::position | ( | void | ) | const |
returns position.
| Range TSegment::rangeX | ( | double | min, |
| double | max ) const |
returns Range of x-coordinate of TMLinks.
Definition at line 267 of file TSegment.cxx.
| int TSegment::solveDualHits | ( | void | ) |
Definition at line 778 of file TSegment.cxx.
Referenced by THistogram::segments().
| int TSegment::solveDualHits | ( | void | ) |
| int TSegment::solveDualHits | ( | void | ) |
| void TSegment::solveLR | ( | void | ) |
solve LR of hit in TSF.
Definition at line 1673 of file TSegment.cxx.
| void TSegment::solveLR | ( | void | ) |
solve LR of hit in TSF.
| void TSegment::solveLR | ( | void | ) |
solve LR of hit in TSF.
| void TSegment::solveThreeHits | ( | void | ) |
Definition at line 1735 of file TSegment.cxx.
Referenced by solveLR().
| void TSegment::solveThreeHits | ( | void | ) |
| void TSegment::solveThreeHits | ( | void | ) |
returns a list of sub TSegments in this cluster. If cluster type is 1, 2, or 7, no cluster is returned.
Definition at line 406 of file TSegment.cxx.
Referenced by THistogram::segments().
returns a list of sub TSegments in this cluster. If cluster type is 1, 2, or 7, no cluster is returned.
returns a list of sub TSegments in this cluster. If cluster type is 1, 2, or 7, no cluster is returned.
Definition at line 1163 of file TSegment.cxx.
Referenced by TMDCTsf::segments().
|
inline |
Definition at line 339 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
| unsigned TSegment::state | ( | unsigned | ) |
| unsigned TSegment::state | ( | unsigned | ) |
|
inline |
Definition at line 337 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by solveLR(), and solveThreeHits().
| unsigned TSegment::state | ( | void | ) | const |
| unsigned TSegment::state | ( | void | ) | const |
|
inline |
returns super layer id.
Definition at line 306 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by superLayerId().
| unsigned TSegment::superLayerId | ( | ) | const |
returns super layer id.
| unsigned TSegment::superLayerId | ( | ) | const |
returns super layer id.
Definition at line 327 of file InstallArea/x86_64-el9-gcc13-dbg/include/TrkReco/TSegment.h.
Referenced by TBuilder::buildRphi(), TBuilder::buildStereo(), and TBuilder::buildStereoNew().
| unsigned TSegment::width | ( | void | ) | const |
returns width.
Definition at line 1136 of file TSegment.cxx.
| unsigned TSegment::width | ( | void | ) | const |
returns width.
| unsigned TSegment::width | ( | void | ) | const |
returns width.