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 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.

Referenced by 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 26 Feb 2010 for fastjet by  doxygen 1.6.1