BOSS 7.1.1
BESIII Offline Software System
|
#include <TrkHitOnTrk.h>
Public Types | |
typedef std::unary_function< TrkHitOnTrk, bool > | predicate_type |
Public Member Functions | |
TrkHitOnTrk (const TrkFundHit *, double tolerance) | |
virtual | ~TrkHitOnTrk () |
virtual TrkHitOnTrk * | clone (TrkRep *parentRep, const TrkDifTraj *trkTraj=0) const =0 |
const TrkRecoTrk * | getParentTrack () const |
const TrkRep * | getParentRep () const |
PdtPid::PidType | particleType () const |
const TrkFundHit * | hit () const |
TrkFundHit * | hit () |
const TrkDifTraj * | trkTraj () const |
virtual const MdcHitOnTrack * | mdcHitOnTrack () const |
virtual const SvtHitOnTrack * | svtHitOnTrack () const |
bool | isActive () const |
bool | isUsable () const |
bool | mustUse () const |
virtual TrkEnums::TrkViewInfo | whatView () const =0 |
virtual unsigned | layerNumber () const =0 |
double | hitRms () const |
double | weight () const |
double | fltLen () const |
double | hitLen () const |
virtual int | ambig () const |
virtual void | setAmbig (int newambig) |
bool | operator== (const TrkHitOnTrk &) const |
bool | operator< (const TrkHitOnTrk &rhs) const |
virtual const Trajectory * | hitTraj () const =0 |
bool | hasResidual () const |
TrkErrCode | getFitStuff (HepVector &derivs, double &deltaChi) const |
TrkErrCode | getFitStuff (double &deltaChi) const |
double | resid (bool exclude=false) const |
bool | resid (double &resid, double &residErr, bool exclude=false) const |
double | residual () const |
virtual bool | timeResid (double &resid, double &error) const =0 |
virtual bool | timeAbsolute (double &time, double &error) const =0 |
TrkRecoTrk * | parentTrack () const |
void | setActivity (bool turnOn) |
void | setUsability (int usability) |
void | setFltLen (double f) |
void | setHitRms (double newRms) |
virtual void | print (std::ostream &) const |
virtual void | printAll (std::ostream &) const |
Protected Member Functions | |
TrkHitOnTrk (const TrkHitOnTrk &hitToBeCopied, TrkRep *newRep, const TrkDifTraj *trkTraj=0) | |
void | setHitResid (double newResid) |
TrkRep * | parentRep () const |
void | setHitLen (double h) |
void | setUsedHit () |
void | setUnusedHit () |
virtual TrkErrCode | updateMeasurement (const TrkDifTraj *traj, bool maintainAmbiguity)=0 |
TrkErrCode | updatePoca (const TrkDifTraj *trkTraj, bool maintainAmbiguity) |
Protected Attributes | |
TrkRep * | _parentRep |
TrkFundHit * | _theHit |
bool | _isActive |
int | _isUsable |
double | _hitRms |
double | _trkLen |
double | _hitLen |
double | _resid |
const TrkDifTraj * | _trkTraj |
TrkPoca * | _poca |
double | _tolerance |
Friends | |
class | TrkHotList |
class | TrkRecoTrk |
class | TrkRep |
class | TrkHitOnTrkUpdater |
class | TrkBase::Functors::updateMeasurement |
class | TrkBase::Functors::setActive |
class | TrkBase::Functors::setParent |
Definition at line 52 of file TrkHitOnTrk.h.
std::unary_function<TrkHitOnTrk,bool> TrkHitOnTrk::predicate_type |
Definition at line 58 of file TrkHitOnTrk.h.
TrkHitOnTrk::TrkHitOnTrk | ( | const TrkFundHit * | hit, |
double | tolerance ) |
Definition at line 33 of file TrkHitOnTrk.cxx.
|
virtual |
Definition at line 87 of file TrkHitOnTrk.cxx.
|
protected |
Definition at line 48 of file TrkHitOnTrk.cxx.
|
virtual |
Reimplemented in MdcHitOnTrack.
Definition at line 181 of file TrkHitOnTrk.cxx.
|
pure virtual |
Implemented in MdcRecoHitOnTrack, and TrkBmSpotOnTrk.
Referenced by TrkHitList::appendHot(), and TrkBase::Functors::cloneHot::operator()().
|
inline |
Definition at line 91 of file TrkHitOnTrk.h.
Referenced by MdcHitOnTrack::dcaToWire(), MdcHitOnTrack::dipAngle(), MdcHitOnTrack::entranceAngle(), MdcHitOnTrack::entranceAngleHit(), MdcTrkRecon::fillTrackList(), getFitStuff(), TrkBmSpotOnTrk::GetRms(), operator<(), MdcTrackList::pickHits(), print(), MdcTrack::storeTrack(), TrkHitOnTrk(), updatePoca(), and MdcHitOnTrack::wireAmbig().
TrkErrCode TrkHitOnTrk::getFitStuff | ( | double & | deltaChi | ) | const |
Definition at line 271 of file TrkHitOnTrk.cxx.
TrkErrCode TrkHitOnTrk::getFitStuff | ( | HepVector & | derivs, |
double & | deltaChi ) const |
Definition at line 248 of file TrkHitOnTrk.cxx.
Referenced by TrkHelixRep::resid(), and MdcTrack::storeTrack().
|
inline |
Definition at line 73 of file TrkHitOnTrk.h.
Referenced by TrkRep::activateHot(), MdcHitOnTrack::dcaToWire(), TrkRep::deactivateHot(), MdcHitOnTrack::dipAngle(), MdcHitOnTrack::entranceAngle(), MdcHitOnTrack::entranceAngleHit(), MdcTrkRecon::fillTrackList(), getFitStuff(), getParentTrack(), TrkBmSpotOnTrk::GetRms(), particleType(), TrkHelixRep::resid(), resid(), resid(), residual(), setActivity(), setUsability(), MdcTrack::storeTrack(), MdcHitOnTrack::timeAbsolute(), TrkHitOnTrk(), updatePoca(), MdcHitOnTrack::wireAmbig(), and ~TrkHitOnTrk().
const TrkRecoTrk * TrkHitOnTrk::getParentTrack | ( | ) | const |
|
inline |
Definition at line 104 of file TrkHitOnTrk.h.
Referenced by TrkBase::Predicates::hasResidual::operator()(), and TrkRep::resid().
|
inline |
Definition at line 76 of file TrkHitOnTrk.h.
|
inline |
Definition at line 75 of file TrkHitOnTrk.h.
Referenced by TrkHitList::appendHot(), MdcTrackListBase::arbitrateHits(), MdcRecoHitOnTrack::mdcHit(), TrkBase::Predicates::hotMatchesFundHit::operator()(), print(), setUnusedHit(), setUsedHit(), and ~TrkHitOnTrk().
|
inline |
Definition at line 92 of file TrkHitOnTrk.h.
Referenced by MdcHitOnTrack::dcaToWire(), getFitStuff(), MdcHitOnTrack::isBeyondEndflange(), print(), and updatePoca().
|
inline |
Definition at line 89 of file TrkHitOnTrk.h.
Referenced by MdcTrkRecon::fillTrackList(), getFitStuff(), getFitStuff(), TrkHelixRep::resid(), TrkRep::resid(), MdcTrack::storeTrack(), MdcHitOnTrack::timeResid(), and weight().
|
pure virtual |
Implemented in MdcHitOnTrack, and TrkBmSpotOnTrk.
Referenced by getFitStuff(), and updatePoca().
|
inline |
Definition at line 200 of file TrkHitOnTrk.h.
Referenced by TrkRep::activateHot(), TrkRep::addHot(), MdcTrackListBase::arbitrateHits(), MdcHitOnTrack::dcaToWire(), TrkRep::deactivateHot(), MdcTrkRecon::fillTrackList(), TrkBase::Predicates::isHotActive::operator()(), TrkBase::Predicates::isMdcHitOnTrack::operator()(), TrkBase::Predicates::isSvtHitOnTrack::operator()(), print(), TrkRep::removeHot(), TrkHelixRep::resid(), setActivity(), setUsability(), MdcTrack::storeTrack(), MdcHitOnTrack::updateAmbiguity(), updatePoca(), TrkActiveHotSelector::useHot(), and TrkMdcHotSelector::useHot().
|
inline |
|
pure virtual |
Implemented in MdcHitOnTrack, and TrkBmSpotOnTrk.
Referenced by TrkBase::Predicates::isLayer::operator()().
|
virtual |
Reimplemented in MdcHitOnTrack.
Definition at line 30 of file TrkHitOnTrk.cxx.
Referenced by TrkBase::Predicates::hasView::operator()(), TrkBase::Predicates::isMdcHitOnTrack::operator()(), MdcTrackList::pickHits(), and TrkMdcHotSelector::useHot().
|
inline |
|
inline |
Definition at line 99 of file TrkHitOnTrk.h.
bool TrkHitOnTrk::operator== | ( | const TrkHitOnTrk & | rhs | ) | const |
Definition at line 175 of file TrkHitOnTrk.cxx.
|
inlineprotected |
Definition at line 177 of file TrkHitOnTrk.h.
Referenced by parentTrack(), TrkRep::resid(), setActivity(), and setUsability().
TrkRecoTrk * TrkHitOnTrk::parentTrack | ( | ) | const |
Definition at line 146 of file TrkHitOnTrk.cxx.
Referenced by MdcTrackListBase::arbitrateHits(), and TrkBase::Predicates::isHotOnTrack::operator()().
PdtPid::PidType TrkHitOnTrk::particleType | ( | ) | const |
|
virtual |
Definition at line 131 of file TrkHitOnTrk.cxx.
Referenced by MdcTrackListBase::arbitrateHits(), and printAll().
|
virtual |
Definition at line 140 of file TrkHitOnTrk.cxx.
Definition at line 191 of file TrkHitOnTrk.cxx.
Referenced by MdcTrackListBase::arbitrateHits(), MdcHitOnTrack::dcaToWire(), MdcTrkRecon::fillTrackList(), resid(), and MdcTrack::storeTrack().
Definition at line 205 of file TrkHitOnTrk.cxx.
double TrkHitOnTrk::residual | ( | ) | const |
Definition at line 212 of file TrkHitOnTrk.cxx.
Referenced by TrkHelixRep::resid(), and TrkRep::resid().
void TrkHitOnTrk::setActivity | ( | bool | turnOn | ) |
Definition at line 96 of file TrkHitOnTrk.cxx.
Referenced by MdcTrackListBase::arbitrateHits(), MdcTrackList::dropMultiHotInLayer(), and MdcTrackList::pickHits().
|
virtual |
Reimplemented in MdcHitOnTrack.
Definition at line 187 of file TrkHitOnTrk.cxx.
Referenced by updatePoca().
|
inline |
Definition at line 147 of file TrkHitOnTrk.h.
Referenced by MdcHitUse::createHitOnTrk(), Hough2D::fit(), Hough3D::fit(), MdcHitOnTrack::MdcHitOnTrack(), MdcxCosmicSewer::MdcxHitsToHots(), and MdcTrackList::pickHits().
|
inlineprotected |
Definition at line 178 of file TrkHitOnTrk.h.
Referenced by MdcHitOnTrack::MdcHitOnTrack().
|
inlineprotected |
Definition at line 176 of file TrkHitOnTrk.h.
Referenced by MdcHitOnTrack::MdcHitOnTrack(), MdcHitOnTrack::updateMeasurement(), and TrkBmSpotOnTrk::updateMeasurement().
|
inline |
Definition at line 154 of file TrkHitOnTrk.h.
Referenced by MdcHitOnTrack::MdcHitOnTrack(), and TrkBmSpotOnTrk::updateMeasurement().
|
protected |
Definition at line 170 of file TrkHitOnTrk.cxx.
Referenced by TrkRecoTrk::changeDefault(), and ~TrkHitOnTrk().
void TrkHitOnTrk::setUsability | ( | int | usability | ) |
Definition at line 108 of file TrkHitOnTrk.cxx.
Referenced by MdcTrackList::pickHits(), and MdcHitOnTrack::updateMeasurement().
|
protected |
Definition at line 164 of file TrkHitOnTrk.cxx.
Referenced by TrkRecoTrk::changeDefault(), and TrkHitOnTrk().
|
virtual |
Definition at line 31 of file TrkHitOnTrk.cxx.
Referenced by TrkBase::Predicates::hasView::operator()(), and TrkBase::Predicates::isSvtHitOnTrack::operator()().
|
pure virtual |
Implemented in MdcHitOnTrack, and TrkBmSpotOnTrk.
|
pure virtual |
Implemented in MdcHitOnTrack, and TrkBmSpotOnTrk.
|
inline |
Definition at line 77 of file TrkHitOnTrk.h.
Referenced by MdcRecoHitOnTrack::clone(), TrkBmSpotOnTrk::clone(), TrkBmSpotOnTrk::GetRms(), TrkHitOnTrk(), and updatePoca().
|
protectedpure virtual |
Implemented in MdcHitOnTrack, and TrkBmSpotOnTrk.
Referenced by TrkBase::Functors::updateMeasurement::operator()(), and TrkHitOnTrkUpdater::updateMeasurement().
|
protected |
Definition at line 219 of file TrkHitOnTrk.cxx.
Referenced by MdcHitOnTrack::updateMeasurement(), and TrkBmSpotOnTrk::updateMeasurement().
double TrkHitOnTrk::weight | ( | ) | const |
Definition at line 122 of file TrkHitOnTrk.cxx.
Referenced by MdcTrackListBase::arbitrateHits().
|
pure virtual |
Implemented in MdcHitOnTrack, and TrkBmSpotOnTrk.
Referenced by TrkBase::Predicates::hasView::operator()().
|
friend |
Definition at line 192 of file TrkHitOnTrk.h.
|
friend |
Definition at line 193 of file TrkHitOnTrk.h.
|
friend |
Definition at line 191 of file TrkHitOnTrk.h.
|
friend |
Definition at line 190 of file TrkHitOnTrk.h.
|
friend |
Definition at line 53 of file TrkHitOnTrk.h.
|
friend |
Definition at line 54 of file TrkHitOnTrk.h.
|
friend |
Definition at line 56 of file TrkHitOnTrk.h.
|
protected |
Definition at line 169 of file TrkHitOnTrk.h.
Referenced by hitLen(), setHitLen(), and updatePoca().
|
protected |
Definition at line 167 of file TrkHitOnTrk.h.
Referenced by hitRms(), and setHitRms().
|
protected |
Definition at line 165 of file TrkHitOnTrk.h.
Referenced by isActive(), setActivity(), and setUsability().
|
protected |
Definition at line 166 of file TrkHitOnTrk.h.
Referenced by isUsable(), mustUse(), and setUsability().
|
protected |
Definition at line 163 of file TrkHitOnTrk.h.
Referenced by getParentRep(), parentRep(), and TrkHitOnTrkUpdater::setParent().
|
protected |
Definition at line 172 of file TrkHitOnTrk.h.
Referenced by getFitStuff(), hasResidual(), TrkHitOnTrk(), MdcHitOnTrack::updateMeasurement(), TrkBmSpotOnTrk::updateMeasurement(), updatePoca(), and ~TrkHitOnTrk().
|
protected |
Definition at line 170 of file TrkHitOnTrk.h.
Referenced by getFitStuff(), getFitStuff(), residual(), setHitResid(), and TrkHitOnTrk().
|
protected |
Definition at line 164 of file TrkHitOnTrk.h.
|
protected |
Definition at line 173 of file TrkHitOnTrk.h.
Referenced by MdcHitOnTrack::dcaToWire(), getFitStuff(), and updatePoca().
|
protected |
Definition at line 168 of file TrkHitOnTrk.h.
Referenced by fltLen(), setFltLen(), and updatePoca().
|
protected |
Definition at line 171 of file TrkHitOnTrk.h.
Referenced by getFitStuff(), getFitStuff(), residual(), TrkHitOnTrk(), trkTraj(), and updatePoca().