BOSS 7.0.4
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) |
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 | 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). | |
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 |
A class to relate TMDCWireHit and TTrack objects.
Definition at line 43 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
TSegment::TSegment | ( | ) |
Constructor.
Definition at line 30 of file TSegment.cxx.
Definition at line 57 of file TSegment.cxx.
|
virtual |
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 319 of file InstallArea/include/TrkReco/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.
|
inline |
returns direction.
Definition at line 284 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
const HepVector3D & TSegment::direction | ( | void | ) | const |
returns direction.
double TSegment::distance | ( | const HepPoint3D & | p, |
const HepVector3D & | v | ||
) | const |
Definition at line 249 of file TSegment.cxx.
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 237 of file TSegment.cxx.
Referenced by solveDualHits().
double TSegment::distance | ( | const TSegment & | ) | const |
calculates distance between two clusters. Smaller value indicates closer.
|
inline |
Definition at line 327 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
double TSegment::duality | ( | void | ) | const |
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 116 of file TSegment.cxx.
Referenced by THistogram::segments(), solveDualHits(), and superLayerId().
|
virtual |
dumps debug information.
Reimplemented from TTrackBase.
Definition at line 366 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Definition at line 372 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
|
inline |
returns inner most layer.
Definition at line 305 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Referenced by width().
unsigned TSegment::innerMostLayer | ( | void | ) | const |
returns inner most layer.
returns TMLinks in inner/outer-most layer.
Definition at line 263 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
|
inline |
returns inner width.
Definition at line 291 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
unsigned TSegment::innerWidth | ( | void | ) | const |
returns inner width.
|
inline |
Definition at line 409 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
const HepPoint3D & TSegment::lineTsf | ( | const HepPoint3D & | ) |
|
inline |
return line of Tsf for pos and dir
Definition at line 403 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
const HepPoint3D & TSegment::lineTsf | ( | void | ) | const |
return line of Tsf for pos and dir
|
inlinevirtual |
returns type.
Reimplemented from TTrackBase.
Definition at line 333 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
|
virtual |
returns type.
Reimplemented from TTrackBase.
Definition at line 378 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Referenced by OuterMostUniqueLink().
Definition at line 384 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
|
inline |
returns outer most layer.
Definition at line 312 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Referenced by width().
unsigned TSegment::outerMostLayer | ( | void | ) | const |
returns outer most layer.
const HepPoint3D & TSegment::outerPosition | ( | void | ) | const |
const HepPoint3D & TSegment::outerPosition | ( | void | ) | const |
Definition at line 270 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Referenced by solveDualHits().
|
inline |
returns outer width.
Definition at line 298 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
unsigned TSegment::outerWidth | ( | void | ) | const |
returns outer width.
|
inline |
returns position.
Definition at line 277 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Referenced by distance().
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 261 of file TSegment.cxx.
int TSegment::solveDualHits | ( | void | ) |
Definition at line 736 of file TSegment.cxx.
Referenced by THistogram::segments().
int TSegment::solveDualHits | ( | void | ) |
void TSegment::solveLR | ( | void | ) |
solve LR of hit in TSF.
Definition at line 1604 of file TSegment.cxx.
void TSegment::solveLR | ( | void | ) |
solve LR of hit in TSF.
void TSegment::solveThreeHits | ( | void | ) |
Definition at line 1658 of file TSegment.cxx.
Referenced by solveLR().
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 388 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.
Definition at line 1134 of file TSegment.cxx.
Referenced by TMDCTsf::segments().
|
inline |
Definition at line 396 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
unsigned TSegment::state | ( | unsigned | ) |
|
inline |
Definition at line 390 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Referenced by solveLR(), and solveThreeHits().
unsigned TSegment::state | ( | void | ) | const |
|
inline |
returns super layer id.
Definition at line 339 of file InstallArea/include/TrkReco/TrkReco/TSegment.h.
Referenced by superLayerId().
unsigned TSegment::superLayerId | ( | ) | const |
returns super layer id.
Definition at line 360 of file InstallArea/include/TrkReco/TrkReco/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.
unsigned TSegment::width | ( | void | ) | const |
returns width.