31 #ifndef __CDFJETCLUPLUGIN_HH__ 
   32 #define __CDFJETCLUPLUGIN_HH__ 
   34 #include "fastjet/JetDefinition.hh" 
   35 #include "fastjet/PseudoJet.hh" 
   40 FASTJET_BEGIN_NAMESPACE      
 
   50                    double   overlap_threshold_in, 
 
   51                    double   seed_threshold_in = 1.0,
 
   53     _seed_threshold    ( seed_threshold_in    ),    
 
   54     _cone_radius       ( cone_radius_in       ),
 
   56     _max_iterations    ( 100                  ),
 
   57     _iratch            ( iratch_in            ),
 
   58     _overlap_threshold ( overlap_threshold_in )  {}
 
   62                    double cone_radius_in      ,
 
   63                    int    adjacency_cut_in    ,
 
   64                    int    max_iterations_in   ,
 
   66                    double overlap_threshold_in) :
 
   67     _seed_threshold    (seed_threshold_in    ),    
 
   68     _cone_radius       (cone_radius_in       ),
 
   69     _adjacency_cut     (adjacency_cut_in     ),
 
   70     _max_iterations    (max_iterations_in    ),
 
   72     _overlap_threshold (overlap_threshold_in )  {}
 
   75   double seed_threshold    ()
 const {
return _seed_threshold    ;}
 
   76   double cone_radius       ()
 const {
return _cone_radius       ;}
 
   77   int    adjacency_cut     ()
 const {
return _adjacency_cut     ;}
 
   78   int    max_iterations    ()
 const {
return _max_iterations    ;}
 
   79   int    iratch            ()
 const {
return _iratch            ;}
 
   80   double overlap_threshold ()
 const {
return _overlap_threshold ;}
 
   84   virtual std::string description () 
const;
 
   85   virtual void run_clustering(ClusterSequence &) 
const;
 
   87   virtual double R()
 const {
return cone_radius();}
 
   91   double _seed_threshold   ;
 
   96   double _overlap_threshold;
 
  101   void _insert_unique (
PseudoJet & jet, std::map<double,int> & jetmap) 
const;
 
  103   static bool _first_time;
 
  106   void _print_banner(std::ostream *ostr) 
const;
 
  109 FASTJET_END_NAMESPACE      
 
  111 #endif // __CDFJETCLUPLUGIN_HH__