NNH< BJ, I >::NNBJ Class Reference

a class that wraps around the BJ, supplementing it with extra information such as pointers to neighbours, etc. More...

Collaboration diagram for NNH< BJ, I >::NNBJ:
Collaboration graph
[legend]

List of all members.

Public Member Functions

void init (const PseudoJet &jet, int index)
void init (const PseudoJet &jet, int index, I *info)
void other_init (int index)
int index () const

Public Attributes

double NN_dist
NNBJNN

Private Attributes

int _index

Detailed Description

template<class BJ, class I = _NoInfo>
class NNH< BJ, I >::NNBJ

a class that wraps around the BJ, supplementing it with extra information such as pointers to neighbours, etc.

Definition at line 154 of file NNH.hh.


Member Function Documentation

template<class BJ, class I = _NoInfo>
int NNH< BJ, I >::NNBJ::index (  )  const [inline]

Definition at line 169 of file NNH.hh.

References NNH< BJ, I >::NNBJ::_index.

Referenced by NNH< BJ, I >::dij_min(), NNH< BJ, I >::merge_jets(), and NNH< BJ, I >::remove_jet().

00169 {return _index;}

template<class BJ, class I = _NoInfo>
void NNH< BJ, I >::NNBJ::init ( const PseudoJet jet,
int  index,
I *  info 
) [inline]

Definition at line 160 of file NNH.hh.

References NNH< BJ, I >::NNBJ::init(), and NNH< BJ, I >::NNBJ::other_init().

00160                                                           {
00161       BJ::init(jet, info);
00162       other_init(index);
00163     }

template<class BJ, class I = _NoInfo>
void NNH< BJ, I >::NNBJ::init ( const PseudoJet jet,
int  index 
) [inline]

Definition at line 156 of file NNH.hh.

References NNH< BJ, I >::NNBJ::other_init().

Referenced by NNH< BJ, I >::NNBJ::init().

00156                                                 {
00157       BJ::init(jet);
00158       other_init(index);
00159     }

template<class BJ, class I = _NoInfo>
void NNH< BJ, I >::NNBJ::other_init ( int  index  )  [inline]

Definition at line 164 of file NNH.hh.

References NNH< BJ, I >::NNBJ::_index, NNH< BJ, I >::NNBJ::NN, and NNH< BJ, I >::NNBJ::NN_dist.

Referenced by NNH< BJ, I >::NNBJ::init().

00164                                {
00165       _index = index;
00166       NN_dist = BJ::beam_distance();
00167       NN = NULL;
00168     }


Member Data Documentation

template<class BJ, class I = _NoInfo>
int NNH< BJ, I >::NNBJ::_index [private]

Definition at line 175 of file NNH.hh.

Referenced by NNH< BJ, I >::NNBJ::index(), and NNH< BJ, I >::NNBJ::other_init().

template<class BJ, class I = _NoInfo>
NNBJ* NNH< BJ, I >::NNBJ::NN
template<class BJ, class I = _NoInfo>
double NNH< BJ, I >::NNBJ::NN_dist

The documentation for this class was generated from the following file:

Generated on 26 Feb 2010 for fastjet by  doxygen 1.6.1