test
CMS 3D CMS Logo

 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Pages
Classes | Functions
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().

8  {
9  return a.foundHits()<b.foundHits();
10 }
int foundHits() const
Definition: Trajectory.h:279
bool lessByFoundHits ( const TempTrajectory a,
const TempTrajectory b 
)
inline

Definition at line 11 of file TrajectoryLessByFoundHits.h.

References TempTrajectory::foundHits().

11  {
12  return a.foundHits()<b.foundHits();
13  }
int foundHits() const