fastjet::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 fastjet::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 fastjet::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 fastjet::NNH< BJ, I >::NNBJ::index (  )  const [inline]

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

Definition at line 160 of file NNH.hh.

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

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

Definition at line 156 of file NNH.hh.

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

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

Definition at line 164 of file NNH.hh.

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


Member Data Documentation

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

Definition at line 175 of file NNH.hh.

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

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


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

Generated on Fri Apr 17 16:15:55 2009 for fastjet by  doxygen 1.5.7.1