1#ifndef __FASTJET_NNBASE_HH__ 
    2#define __FASTJET_NNBASE_HH__ 
   34#include<fastjet/ClusterSequence.hh> 
   37FASTJET_BEGIN_NAMESPACE      
 
   54  NNInfo(I * info) : _info(info) {}
 
   55  template<
class BJ> 
void init_jet(BJ * briefjet, 
const fastjet::PseudoJet & jet, 
int index) { briefjet->init(jet, index, _info);}
 
   66  template<
class BJ> 
void init_jet(BJ * briefjet, 
const fastjet::PseudoJet & jet, 
int index) { briefjet->init(jet, index);}
 
  172  virtual void start(
const std::vector<PseudoJet> & jets) = 0;
 
  176  virtual double dij_min(
int & iA, 
int & iB) = 0;
 
Helps solve closest pair problems with generic interparticle and particle-beam distances.
virtual void start(const std::vector< PseudoJet > &jets)=0
initialisation from a given list of particles
NNBase()
Default constructor.
virtual double dij_min(int &iA, int &iB)=0
returns the dij_min and indices iA, iB, for the corresponding jets.
virtual void merge_jets(int iA, int iB, const PseudoJet &jet, int jet_index)=0
merges the jets pointed to by indices A and B and replaces them with jet, assigning it an index jet_i...
virtual void remove_jet(int iA)=0
removes the jet pointed to by index iA
NNBase(I *info)
Constuctor with additional Info.
internal helper template class to facilitate initialisation of a BJ with a PseudoJet and extra inform...
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
internal dummy class, used as a default template argument