CMS 3D CMS Logo

Classes | Functions

/afs/cern.ch/work/a/aaltunda/public/www/CMSSW_6_2_7/src/RecoTracker/CkfPattern/src/TrajectoryLessByFoundHits.h File Reference

#include "TrackingTools/PatternTools/interface/Trajectory.h"
#include <TrackingTools/PatternTools/interface/TempTrajectory.h>

Go to the source code of this file.

Classes

struct  TrajectoryLessByFoundHits

Functions

bool lessByFoundHits (const Trajectory &a, const Trajectory &b)
bool lessByFoundHits (const TempTrajectory &a, const TempTrajectory &b)

Function Documentation

bool lessByFoundHits ( const Trajectory a,
const Trajectory b 
) [inline]

Definition at line 8 of file TrajectoryLessByFoundHits.h.

References Trajectory::foundHits().

Referenced by TrajectorySegmentBuilder::cleanCandidates().

                                                                      {
    return a.foundHits()<b.foundHits();
}
bool lessByFoundHits ( const TempTrajectory a,
const TempTrajectory b 
) [inline]

Definition at line 11 of file TrajectoryLessByFoundHits.h.

References TempTrajectory::foundHits().

                                                                                {
    return a.foundHits()<b.foundHits();
  }