1 #ifndef __FASTJET_NNBASE_HH__ 2 #define __FASTJET_NNBASE_HH__ 34 #include<fastjet/ClusterSequence.hh> 37 FASTJET_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;
179 virtual void remove_jet(
int iA) = 0;
183 virtual void merge_jets(
int iA,
int iB,
const PseudoJet & jet,
int jet_index) = 0;
189 FASTJET_END_NAMESPACE
192 #endif // __FASTJET_NNBASE_HH__ Helps solve closest pair problems with generic interparticle and particle-beam distances.
NNBase()
Default constructor.
internal dummy class, used as a default template argument
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...
NNBase(I *info)
Constuctor with additional Info.