fastjet::Private Namespace Reference


Classes

class  MirrorInfo
 class for helping us deal with mirror-image particles. More...

Functions

bool make_mirror (Coord2D &point, double Dlim)
 if there is a need for a mirror when looking for closest pairs up to distance D, then return true and turn the supplied point into its mirror copy


Function Documentation

bool fastjet::Private::make_mirror ( Coord2D &  point,
double  Dlim 
)

if there is a need for a mirror when looking for closest pairs up to distance D, then return true and turn the supplied point into its mirror copy

Definition at line 55 of file ClusterSequence_CP2DChan.cc.

References twopi, and fastjet::Coord2D::y.

Referenced by fastjet::ClusterSequence::_CP2DChan_limited_cluster().

00055                                                  {
00056     if (point.y < Dlim)       {point.y += twopi; return true;}
00057     if (twopi-point.y < Dlim) {point.y -= twopi; return true;}
00058     return false;
00059   }


Generated on Tue Dec 18 17:05:57 2007 for fastjet by  doxygen 1.5.2