CGEM BOSS 6.6.5.i
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 |
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. | |
AList< TSegment > | split (void) const |
returns a list of sub TSegments in this cluster. If cluster type is 1, 2, or 7, no cluster is returned. | |
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 |
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 relate TMDCWireHit and TTrack objects.
Definition at line 43 of file TSegment.h.
TSegment::TSegment | ( | ) |
Constructor.
Definition at line 30 of file TSegment.cxx.
Definition at line 57 of file TSegment.cxx.
|
virtual |
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 319 of file TSegment.h.
|
inline |
returns direction.
Definition at line 284 of file TSegment.h.
double TSegment::distance | ( | const HepPoint3D & | p, |
const HepVector3D & | v ) const |
Definition at line 249 of file TSegment.cxx.
double TSegment::distance | ( | const TSegment & | c | ) | const |
calculates distance between two clusters. Smaller value indicates closer.
Definition at line 237 of file TSegment.cxx.
Referenced by solveDualHits().
|
inline |
Definition at line 327 of file TSegment.h.
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 116 of file TSegment.cxx.
Referenced by THistogram::segments(), solveDualHits(), and superLayerId().
Definition at line 366 of file TSegment.h.
Referenced by MajorLinks(), and UniqueLinks().
Definition at line 372 of file TSegment.h.
|
inline |
returns TMLinks in inner/outer-most layer.
Definition at line 263 of file TSegment.h.
|
inline |
returns inner width.
Definition at line 291 of file TSegment.h.
|
inline |
Definition at line 409 of file TSegment.h.
|
inline |
return line of Tsf for pos and dir
Definition at line 403 of file TSegment.h.
|
inlinevirtual |
Definition at line 378 of file TSegment.h.
Referenced by OuterMostUniqueLink().
Definition at line 384 of file TSegment.h.
|
inline |
const HepPoint3D & TSegment::outerPosition | ( | void | ) | const |
Definition at line 270 of file TSegment.h.
Referenced by solveDualHits().
|
inline |
returns outer width.
Definition at line 298 of file TSegment.h.
|
inline |
Range TSegment::rangeX | ( | double | min, |
double | max ) const |
returns Range of x-coordinate of TMLinks.
Definition at line 261 of file TSegment.cxx.
int TSegment::solveDualHits | ( | void | ) |
Definition at line 736 of file TSegment.cxx.
Referenced by THistogram::segments().
void TSegment::solveLR | ( | void | ) |
solve LR of hit in TSF.
Definition at line 1604 of file TSegment.cxx.
void TSegment::solveThreeHits | ( | void | ) |
Definition at line 1658 of file TSegment.cxx.
Referenced by solveLR().
returns a list of sub TSegments in this cluster. If cluster type is 1, 2, or 7, no cluster is returned.
Definition at line 388 of file TSegment.cxx.
Referenced by THistogram::segments().
Definition at line 1134 of file TSegment.cxx.
Referenced by TMDCTsf::segments().
|
inline |
Definition at line 396 of file TSegment.h.
|
inline |
Definition at line 390 of file TSegment.h.
Referenced by solveLR(), and solveThreeHits().
|
inline |
returns super layer id.
Definition at line 339 of file TSegment.h.
Referenced by superLayerId().
Definition at line 360 of file TSegment.h.
Referenced by TBuilder::buildRphi(), TBuilder::buildStereo(), and TBuilder::buildStereoNew().
unsigned TSegment::width | ( | void | ) | const |
returns width.
Definition at line 1101 of file TSegment.cxx.