Main Page   Modules   Namespace List   Class Hierarchy   Compound List   File List   Namespace Members   Compound Members   File Members  

TMuiRoadFinder::point_less_ftor Struct Reference

#include <TMuiRoadFinder.h>

List of all members.

Public Methods

bool operator() (const PHPoint &point1, const PHPoint &point2)


Member Function Documentation

bool operator() const PHPoint &    point1,
const PHPoint &    point2
[inline]
 

Definition at line 433 of file TMuiRoadFinder.h.

References r1, r2, and MUIOO::SQUARE.

00434     {
00435       double r1 = std::sqrt(MUIOO::SQUARE(point1.getX()) +
00436                             MUIOO::SQUARE(point1.getY()) +
00437                             MUIOO::SQUARE(point1.getZ()));
00438       
00439       double r2 = std::sqrt(MUIOO::SQUARE(point2.getX()) +
00440                             MUIOO::SQUARE(point2.getY()) +
00441                             MUIOO::SQUARE(point2.getZ()));
00442       
00443       return r1 < r2;
00444     }


The documentation for this struct was generated from the following file:
MUIOO: PHENIX Muon Identifier Analysis Framework. Documentation by doxygen
Last modified: