BOSS 7.1.1
BESIII Offline Software System
|
A class to relate TMDCWireHit and TTrack objects. More...
#include <TSegment0.h>
Public Member Functions | |
TSegment0 () | |
Constructor. | |
TSegment0 (const AList< TMLink > &) | |
virtual | ~TSegment0 () |
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 HepVector3D & | direction (void) const |
returns direction. | |
double | distance (const TSegment0 &) 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. | |
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< TSegment0 > | split (void) const |
returns a list of sub TSegments in this cluster. If cluster type is 1, 2, or 7, no cluster is returned. | |
int | solveDualHits (void) |
double | duality (void) const |
AList< TTrack > & | tracks (void) |
AList< TSegment0 > & | innerLinks (void) |
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 41 of file TSegment0.h.
TSegment0::TSegment0 | ( | ) |
Constructor.
Definition at line 22 of file TSegment0.cxx.
Definition at line 34 of file TSegment0.cxx.
|
virtual |
|
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 214 of file TSegment0.h.
Referenced by dump(), TConformalFinder0::findClusters2(), and split().
|
inline |
returns direction.
Definition at line 179 of file TSegment0.h.
double TSegment0::distance | ( | const HepPoint3D & | p, |
const HepVector3D & | v ) const |
Definition at line 143 of file TSegment0.cxx.
double TSegment0::distance | ( | const TSegment0 & | c | ) | const |
calculates distance between two clusters. Smaller value indicates closer.
Definition at line 131 of file TSegment0.cxx.
Referenced by solveDualHits().
|
inline |
Definition at line 222 of file TSegment0.h.
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 51 of file TSegment0.cxx.
Referenced by TConformalFinder0::findClusters(), TConformalFinder0::findClusters2(), THistogram::segments0(), solveDualHits(), and superLayerId().
Definition at line 261 of file TSegment0.h.
|
inline |
returns inner most layer.
Definition at line 200 of file TSegment0.h.
|
inline |
returns inner width.
Definition at line 186 of file TSegment0.h.
|
inlinevirtual |
|
inline |
returns outer most layer.
Definition at line 207 of file TSegment0.h.
|
inline |
returns outer width.
Definition at line 193 of file TSegment0.h.
|
inline |
Range TSegment0::rangeX | ( | double | min, |
double | max ) const |
returns Range of x-coordinate of TMLinks.
Definition at line 155 of file TSegment0.cxx.
int TSegment0::solveDualHits | ( | void | ) |
Definition at line 624 of file TSegment0.cxx.
Referenced by TConformalFinder0::findClusters(), TConformalFinder0::findClusters2(), and THistogram::segments0().
returns a list of sub TSegments in this cluster. If cluster type is 1, 2, or 7, no cluster is returned.
Definition at line 281 of file TSegment0.cxx.
Referenced by TConformalFinder0::findClusters(), and THistogram::segments0().
|
inline |
returns super layer id.
Definition at line 234 of file TSegment0.h.
Referenced by superLayerId().
Definition at line 255 of file TSegment0.h.