fastjet 2.4.3
Public Member Functions | Public Attributes | Private Attributes

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]
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().

                                                          {
      BJ::init(jet, info);
      other_init(index);
    }
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().

                                                {
      BJ::init(jet);
      other_init(index);
    }
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::index(), NNH< BJ, I >::NNBJ::NN, and NNH< BJ, I >::NNBJ::NN_dist.

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

                               {
      _index = index;
      NN_dist = BJ::beam_distance();
      NN = NULL;
    }

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: