CMS 3D CMS Logo

TrajectoryStateLessWeight Class Reference

Compare two TrajectoryStateOnSurface acc. More...

#include <TrackingTools/GsfTools/src/TrajectoryStateLessWeight.h>

List of all members.

Public Member Functions

bool operator() (const TrajectoryStateOnSurface a, const TrajectoryStateOnSurface b) const
 TrajectoryStateLessWeight ()


Detailed Description

Compare two TrajectoryStateOnSurface acc.

to their weight.

Definition at line 10 of file TrajectoryStateLessWeight.h.


Constructor & Destructor Documentation

TrajectoryStateLessWeight::TrajectoryStateLessWeight (  )  [inline]

Definition at line 13 of file TrajectoryStateLessWeight.h.

00013 {}


Member Function Documentation

bool TrajectoryStateLessWeight::operator() ( const TrajectoryStateOnSurface  a,
const TrajectoryStateOnSurface  b 
) const [inline]

Definition at line 14 of file TrajectoryStateLessWeight.h.

References TrajectoryStateOnSurface::isValid(), and TrajectoryStateOnSurface::weight().

00016   {
00017     if ( !a.isValid() || !b.isValid() )  return false;
00018     return a.weight()>b.weight();
00019   }


The documentation for this class was generated from the following file:
Generated on Tue Jun 9 18:34:23 2009 for CMSSW by  doxygen 1.5.4