CMS 3D CMS Logo

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 7 of file TrajectoryLessByFoundHits.h.

References Trajectory::foundHits().

Referenced by TrajectorySegmentBuilder::cleanCandidates().

7 { return a.foundHits() < b.foundHits(); }
int foundHits() const
Definition: Trajectory.h:206
bool lessByFoundHits ( const TempTrajectory a,
const TempTrajectory b 
)
inline

Definition at line 8 of file TrajectoryLessByFoundHits.h.

References TempTrajectory::foundHits().

8 { return a.foundHits() < b.foundHits(); }
int foundHits() const