18#include "TrkBase/TrkFundHit.h"
19#include "TrkBase/TrkHitOnTrk.h"
20#include "TrkBase/TrkHitOnTrkIter.h"
21#include "TrkBase/TrkPredicates.h"
27#include "TrkBase/TrkRecoTrk.h"
79 std::vector<const TrkHitOnTrk*>::iterator i=std::find(
_hitList.begin(),
_hitList.end(),hit);
99 return (i==
end()?0:i.
get());
106 os <<
" used by " <<
nUsedHits() <<
" HOTs" << endl;
113 std::cout <<
" parentTrack" << std::endl;
114 i->parentTrack()->printAll(std::cout);
const TrkHitOnTrk * getHitOnTrack(const TrkRecoTrk *trk) const
const TrkHitOnTrk * setUnusedHit(const TrkHitOnTrk *hit)
virtual void printAll(std::ostream &os) const
std::vector< const TrkHitOnTrk * > _hitList
TrkFundHit::hot_iterator begin() const
TrkHitOnTrkIter< TrkFundHit > hot_iterator
TrkFundHit & operator=(const TrkFundHit &)
const TrkHitOnTrk * setUsedHit(const TrkHitOnTrk *hit)
TrkFundHit::hot_iterator end() const