CGEM BOSS 6.6.5.f
BESIII Offline Software System
|
A virtual class for a track class in tracking. More...
#include <TTrackBase.h>
Public Member Functions | |
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). | |
Protected Attributes | |
AList< TMLink > | _links |
bool | _fitted |
bool | _fittedWithCathode |
TTrackMC * | _mc |
Friends | |
class | TMFitter |
class | THelixFitter |
class | TCosmicFitter |
A virtual class for a track class in tracking.
Definition at line 46 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
TTrackBase::TTrackBase | ( | ) |
Constructor.
Definition at line 40 of file TTrackBase.cxx.
Constructor.
Definition at line 24 of file TTrackBase.cxx.
|
virtual |
TTrackBase::TTrackBase | ( | ) |
Constructor.
|
virtual |
Destructor.
appends TMLinks.
Definition at line 384 of file TTrackBase.cxx.
void TTrackBase::append | ( | TMLink & | a | ) |
appends a TMLink.
Definition at line 362 of file TTrackBase.cxx.
Referenced by TBuilder::buildStereo(), TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilder0::buildStereo0(), TBuilderCurl::buildStereoMC(), TBuilder::buildStereoNew(), THistogram::clusters(), THistogram::clusters0(), TrkReco::execute(), and TTrackManager::salvageAssociateHits().
appends TMLinks by approach. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned.
Definition at line 101 of file TTrackBase.cxx.
Referenced by TBuilder0::appendClusters(), and TTrackManager::salvage().
appends TMLinks by approach. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned.
appends TMLinks by distance. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned.
Definition at line 152 of file TTrackBase.cxx.
appends TMLinks by distance. 'list' is an input. Unappended TMLinks will be removed from 'list' when returned.
|
virtual |
calculates the closest approach to a wire in real space. Results are stored in TMLink. Return value is negative if error happened.
Reimplemented in TTrack, and TTrack.
Definition at line 95 of file TTrackBase.cxx.
Referenced by appendByApproach(), and testByApproach().
|
virtual |
returns a list of masked TMLinks for fit. 'mask' will be applied if mask is not 0.
Definition at line 317 of file TTrackBase.cxx.
Referenced by TBuilder::buildStereoNew(), TTrack::movePivot(), TTrackManager::setCurlerFlags(), TRunge::SetFlightLength(), and TTrack::szPosition().
returns a list of masked TMLinks for fit. 'mask' will be applied if mask is not 0.
|
virtual |
returns distance to a position of TMLink in TMLink space.
Reimplemented in TLine0, TMLine, TLine0, and TMLine.
Definition at line 89 of file TTrackBase.cxx.
Referenced by appendByApproach(), TTrack::fit2D(), and testByApproach().
|
virtual |
|
virtual |
Definition at line 212 of file TTrackBase.cxx.
Referenced by TrkReco::execute().
|
virtual |
|
virtual |
dumps debug information.
Reimplemented in TCircle, TLine0, TMLine, TSegment, TSegment0, TTrack, TCircle, TLine0, TMLine, TSegment, TSegment0, and TTrack.
Definition at line 58 of file TTrackBase.cxx.
Referenced by TCircle::dump(), TLine0::dump(), TMLine::dump(), TSegment::dump(), TSegment0::dump(), and TTrack::dump().
|
virtual |
|
inline |
false Fit
Definition at line 229 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
void TTrackBase::falseFit | ( | ) |
false Fit
|
virtual |
fits itself by a default fitter. Error was happened if return value is not zero.
Definition at line 357 of file TTrackBase.cxx.
Referenced by TBuilder::buildRphi(), TBuilder0::buildRphi(), TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilder0::buildStereo0(), TBuilderCurl::buildStereoMC(), TBuilder::initialLine1(), TBuilder::searchLines1(), TBuilder::searchLines2(), TBuilder::searchLines3(), TBuilder::searchLines4(), TBuilder::searchLines5(), and TBuilder::searchLines6().
|
virtual |
fits itself by a default fitter. Error was happened if return value is not zero.
|
inline |
returns true if fitted.
Definition at line 222 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by TCosmicFitter::fit(), TBuilder::searchLine(), and TMSelector::select().
bool TTrackBase::fitted | ( | void | ) | const |
returns true if fitted.
|
inline |
returns true if fitted with cathode hits(TEMPORARY).
Definition at line 243 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
bool TTrackBase::fittedWithCathode | ( | void | ) | const |
returns true if fitted with cathode hits(TEMPORARY).
sets a default fitter.
Definition at line 261 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
|
inline |
returns a pointer to a default fitter.
Definition at line 255 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by T3DLine::T3DLine(), TCircle::TCircle(), TLine0::TLine0(), TMLine::TMLine(), TRunge::TRunge(), and TTrack::TTrack().
const TMFitter *const TTrackBase::fitter | ( | void | ) | const |
returns a pointer to a default fitter.
const TTrackHEP *const TTrackBase::hep | ( | void | ) | const |
returns TTrackHEP.
Definition at line 407 of file TTrackBase.cxx.
returns a list of masked TMLinks assigned to this track. 'mask' will be applied if mask is not 0.
Definition at line 297 of file TTrackBase.cxx.
Referenced by TBuilder::build(), TBuilder::buildStereo(), TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilderCurl::buildStereo(), TBuilder0::buildStereo0(), TBuilderCurl::buildStereoMC(), TBuilder::buildStereoNew(), TrkReco::execute(), TCosmicFitter::fit(), TBuilder::initialLineOld(), TTrackManager::merge(), TTrack::movePivot(), TMSelector::preSelect(), TBuilder::searchLine(), TMDCTsf::segments(), TSegment::splitTsf(), TSegment::superLayerId(), TSegment0::superLayerId(), TTrack::szPosition(), and TSegment::width().
returns a list of masked TMLinks assigned to this track. 'mask' will be applied if mask is not 0.
|
inline |
returns a pointer to TTrackMC.
Definition at line 249 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by dump().
unsigned TTrackBase::nCores | ( | unsigned | mask = 0 | ) | const |
returns # of masked TMLinks for fit. 'mask' will be applied if mask is not 0.
Definition at line 325 of file TTrackBase.cxx.
Referenced by TTrack::dump().
unsigned TTrackBase::nCores | ( | unsigned | mask = 0 | ) | const |
returns # of masked TMLinks for fit. 'mask' will be applied if mask is not 0.
unsigned TTrackBase::nHeps | ( | void | ) | const |
returns # of contributed TTrackHEP tracks.
Definition at line 443 of file TTrackBase.cxx.
unsigned TTrackBase::nHeps | ( | void | ) | const |
returns # of contributed TTrackHEP tracks.
unsigned TTrackBase::nLinks | ( | unsigned | mask = 0 | ) | const |
returns # of masked TMLinks assigned to this track object.
Definition at line 305 of file TTrackBase.cxx.
Referenced by TBuilderCurl::buildStereo(), TBuilderCurl::buildStereoMC(), TSegment::clusterType(), TSegment0::clusterType(), and TMSelector::preSelect().
unsigned TTrackBase::nLinks | ( | unsigned | mask = 0 | ) | const |
returns # of masked TMLinks assigned to this track object.
|
inlinevirtual |
returns object type.
Reimplemented in T3DLine, TCircle, TLine0, TMLine, TRunge, TSegment, TSegment0, TTrack, T3DLine, TCircle, TLine0, TMLine, TRunge, TSegment, TSegment0, and TTrack.
Definition at line 268 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by T3DLineFitter::fit(), TCosmicFitter::fit(), TRungeFitter::fit(), and TMSelector::select().
|
virtual |
|
inline |
Definition at line 237 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
TMLink * TTrackBase::operator[] | ( | unsigned | i | ) | const |
removes bad points by pull. The bad points are removed from the track, and are returned in 'list'.
Definition at line 170 of file TTrackBase.cxx.
Referenced by TBuilder0::appendClusters(), TBuilder::buildStereo(), TBuilder0::buildStereo(), TBuilderCosmic::buildStereo(), TBuilderCurl::buildStereo(), TBuilder0::buildStereo0(), and TBuilderCurl::buildStereoMC().
removes bad points by pull. The bad points are removed from the track, and are returned in 'list'.
|
virtual |
removes bad points by pull. The bad points are masked not to be used in fit.
Definition at line 194 of file TTrackBase.cxx.
|
virtual |
removes bad points by pull. The bad points are masked not to be used in fit.
removes TMLinks.
Definition at line 213 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
|
inline |
removes a TMLink.
Definition at line 204 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by TBuilder::buildStereoNew(), TTrackManager::maskCurl(), TTrackManager::maskNormal(), and TBuilder::searchLine().
|
virtual |
Definition at line 189 of file TTrackBase.cxx.
Referenced by TBuilderCosmic::buildStereo(), and TrkReco::execute().
|
virtual |
Definition at line 240 of file TTrackBase.cxx.
unsigned TTrackBase::testByApproach | ( | const TMLink & | list, |
double | sigma | ||
) | const |
returns # of good hits to be appended.
Definition at line 255 of file TTrackBase.cxx.
Referenced by TTrackManager::setCurlerFlags(), and testByApproach().
unsigned TTrackBase::testByApproach | ( | const TMLink & | list, |
double | sigma | ||
) | const |
returns # of good hits to be appended.
|
inlinevirtual |
returns type. Definition is depending on an object class.
Reimplemented in TTrack, and TTrack.
Definition at line 274 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
|
virtual |
void TTrackBase::update | ( | void | ) | const |
update cache.
Definition at line 75 of file TTrackBase.cxx.
void TTrackBase::update | ( | void | ) | const |
update cache.
|
friend |
Definition at line 183 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
|
friend |
Definition at line 182 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
|
friend |
Definition at line 181 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
|
mutableprotected |
Definition at line 162 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by TLine0::a(), TMLine::a(), append(), appendByApproach(), TLine0::appendByszdistance(), TMLine::appendByszdistance(), TLine0::appendSLY(), TMLine::appendSLY(), TLine0::b(), TMLine::b(), TCircle::center(), TCircle::charge(), TLine0::chi2(), TMLine::chi2(), TTrack::chi2(), TSegment::direction(), TSegment0::direction(), TLine0::distance(), TMLine::distance(), DropWorst(), TCircle::dump(), TSegment::dump(), TSegment0::dump(), falseFit(), TCosmicFitter::fit(), THelixFitter::fit(), TLine0::fit2(), TMLine::fit2(), TLine0::fit2p(), TMLine::fit2p(), TLine0::fit2s(), TMLine::fit2s(), TLine0::fit2sp(), TMLine::fit2sp(), TCircle::fitForCurl(), fitted(), fitter(), TCircle::impact(), TSegment::innerMostLayer(), TSegment0::innerMostLayer(), TSegment::inners(), TSegment::innerWidth(), TSegment0::innerWidth(), TTrack::ndf(), TSegment::outerMostLayer(), TSegment0::outerMostLayer(), TSegment::outers(), TSegment::outerWidth(), TSegment0::outerWidth(), TSegment::position(), TSegment0::position(), TCircle::pt(), TCircle::radius(), TLine0::reducedChi2(), TMLine::reducedChi2(), refine(), TLine0::refine(), TMLine::refine(), TTrack::refine2D(), remove(), TLine0::removeChits(), TMLine::removeChits(), TLine0::removeSLY(), TMLine::removeSLY(), T3DLine::T3DLine(), TRunge::TRunge(), TSegment::TSegment(), TSegment0::TSegment0(), and TTrack::TTrack().
|
mutableprotected |
Definition at line 163 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by append(), falseFit(), fittedWithCathode(), remove(), T3DLine::T3DLine(), TRunge::TRunge(), and TTrack::TTrack().
Definition at line 161 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by append(), appendByApproach(), TLine0::appendByszdistance(), TMLine::appendByszdistance(), TLine0::appendSLY(), TMLine::appendSLY(), TTrack::assign(), TBuilderCurl::buildStereo(), TLine0::chi2(), TMLine::chi2(), DropWorst(), TCircle::dump(), TLine0::dump(), TMLine::dump(), TSegment::dump(), TSegment0::dump(), TTrack::dump(), dump(), TLine0::fit2(), TMLine::fit2(), TTrack::fit2D(), TLine0::fit2p(), TMLine::fit2p(), TLine0::fit2s(), TMLine::fit2s(), TLine0::fit2sp(), TMLine::fit2sp(), TCircle::fitForCurl(), hep(), links(), TTrack::movePivot(), nLinks(), operator[](), TSegment::rangeX(), TSegment0::rangeX(), TLine0::reducedChi2(), TMLine::reducedChi2(), refine(), TLine0::refine(), TMLine::refine(), TTrack::refine2D(), remove(), TLine0::removeChits(), TMLine::removeChits(), removeLinks(), TLine0::removeSLY(), TMLine::removeSLY(), TSegment::solveDualHits(), TSegment0::solveDualHits(), TSegment::solveLR(), TSegment::solveThreeHits(), TSegment::splitTsf(), TSegment::TSegment(), TSegment0::TSegment0(), TTrack::TTrack(), and update().
|
protected |
Definition at line 165 of file InstallArea/include/TrkReco/TrkReco/TTrackBase.h.
Referenced by mc().