12 #include "StiTrackContainer.h"
13 #include "Sti/Base/Filter.h"
15 StiTrackContainer::StiTrackContainer(
const string & name,
const string & description)
19 cout <<
"StiTrackContainer::StiTrackContainer() -I- Started with name:"<< name <<endl;
22 StiTrackContainer::~StiTrackContainer()
24 cout <<
"StiTrackContainer::~StiTrackContainer() -I- Done"<<endl;
29 bool StiTrackLessThan::operator()(
const StiTrack* lhs,
const StiTrack* rhs)
const
32 double lhsCurv = lhs->getCurvature();
33 double rhsCurv = rhs->getCurvature();
34 return fabs(lhsCurv) < fabs(rhsCurv);
55 vector<StiTrack*>::const_iterator it;
56 for (it=begin(); it!=end(); ++it)
58 return filter->getAcceptedCount();
63 void StiTrackContainer::sort()
Definition of Kalman Track.
Abstract definition of a Track.
Define the Less-Than operator for track ordering in the track container.
Definition of Kalman Track.
int getTrackCount(Filter< StiTrack > *filter) const