Main Page | Namespace List | Class Hierarchy | Class List | Directories | File List | Namespace Members | Class Members | File Members

fastjet::IndexedSortHelper Class Reference

a class that helps us carry out indexed sorting. More...

#include <PseudoJet.hh>

List of all members.

Public Member Functions

 IndexedSortHelper (const std::vector< double > *reference_values)
int operator() (const int &i1, const int &i2) const

Private Attributes

const std::vector< double > * _ref_values


Detailed Description

a class that helps us carry out indexed sorting.

Definition at line 250 of file PseudoJet.hh.


Constructor & Destructor Documentation

fastjet::IndexedSortHelper::IndexedSortHelper const std::vector< double > *  reference_values  )  [inline]
 

Definition at line 252 of file PseudoJet.hh.

00252                                                                         {
00253     _ref_values = reference_values;
00254   };


Member Function Documentation

int fastjet::IndexedSortHelper::operator() const int &  i1,
const int &  i2
const [inline]
 

Definition at line 255 of file PseudoJet.hh.

00255                                                                {
00256     return  (*_ref_values)[i1] < (*_ref_values)[i2];
00257   };


Member Data Documentation

const std::vector<double>* fastjet::IndexedSortHelper::_ref_values [private]
 

Definition at line 257 of file PseudoJet.hh.


The documentation for this class was generated from the following file:
Generated on Fri Aug 15 13:45:46 2008 for fastjet by  doxygen 1.4.2