31#ifndef __CDFJETCLUPLUGIN_HH__ 
   32#define __CDFJETCLUPLUGIN_HH__ 
   34#include "fastjet/JetDefinition.hh" 
   35#include "fastjet/PseudoJet.hh" 
   37#include "fastjet/internal/thread_safety_helpers.hh"   
   41FASTJET_BEGIN_NAMESPACE      
 
   51                   double   overlap_threshold_in, 
 
   52                   double   seed_threshold_in = 1.0,
 
   54    _seed_threshold    ( seed_threshold_in    ),    
 
   55    _cone_radius       ( cone_radius_in       ),
 
   57    _max_iterations    ( 100                  ),
 
   58    _iratch            ( iratch_in            ),
 
   59    _overlap_threshold ( overlap_threshold_in )  {}
 
 
   63                   double cone_radius_in      ,
 
   64                   int    adjacency_cut_in    ,
 
   65                   int    max_iterations_in   ,
 
   67                   double overlap_threshold_in) :
 
   68    _seed_threshold    (seed_threshold_in    ),    
 
   69    _cone_radius       (cone_radius_in       ),
 
   70    _adjacency_cut     (adjacency_cut_in     ),
 
   71    _max_iterations    (max_iterations_in    ),
 
   73    _overlap_threshold (overlap_threshold_in )  {}
 
 
   76  double seed_threshold    ()
 const {
return _seed_threshold    ;}
 
   77  double cone_radius       ()
 const {
return _cone_radius       ;}
 
   78  int    adjacency_cut     ()
 const {
return _adjacency_cut     ;}
 
   79  int    max_iterations    ()
 const {
return _max_iterations    ;}
 
   80  int    iratch            ()
 const {
return _iratch            ;}
 
   81  double overlap_threshold ()
 const {
return _overlap_threshold ;}
 
   85  virtual std::string description () 
const;
 
   86  virtual void run_clustering(ClusterSequence &) 
const;
 
   88  virtual double R()
 const {
return cone_radius();}
 
   92  double _seed_threshold   ;
 
   97  double _overlap_threshold;
 
  102  void _insert_unique (
PseudoJet & jet, std::map<double,int> & jetmap) 
const;
 
  107  void _print_banner(std::ostream *ostr) 
const;
 
 
Implementation of the JetClu algorithm from CDF (plugin for fastjet-v2.1 upwards)
 
CDFJetCluPlugin(double cone_radius_in, double overlap_threshold_in, double seed_threshold_in=1.0, int iratch_in=1)
a compact constructor
 
virtual double R() const
the plugin mechanism's standard way of accessing the jet radius
 
CDFJetCluPlugin(double seed_threshold_in, double cone_radius_in, int adjacency_cut_in, int max_iterations_in, int iratch_in, double overlap_threshold_in)
a constructor that looks like the one provided by CDF
 
a class that allows a user to introduce their own "plugin" jet finder
 
Class to contain pseudojets, including minimal information of use to jet-clustering routines.
 
provides an object wich will return "true" the first time () is called and false afterwards