31 #ifndef __CDFMIDPOINTPLUGIN_HH__
32 #define __CDFMIDPOINTPLUGIN_HH__
34 #include "fastjet/JetDefinition.hh"
38 FASTJET_BEGIN_NAMESPACE
114 double seed_threshold_in ,
115 double cone_radius_in ,
116 double cone_area_fraction_in ,
117 int max_pair_size_in ,
118 int max_iterations_in ,
119 double overlap_threshold_in ,
121 _seed_threshold (seed_threshold_in ),
122 _cone_radius (cone_radius_in ),
123 _cone_area_fraction (cone_area_fraction_in ),
124 _max_pair_size (max_pair_size_in ),
125 _max_iterations (max_iterations_in ),
126 _overlap_threshold (overlap_threshold_in ),
127 _sm_scale (sm_scale_in) {}
137 double overlap_threshold_in,
138 double seed_threshold_in = 1.0,
139 double cone_area_fraction_in = 1.0) :
140 _seed_threshold (seed_threshold_in ),
141 _cone_radius (cone_radius_in ),
142 _cone_area_fraction (cone_area_fraction_in ),
144 _max_iterations (100 ),
145 _overlap_threshold (overlap_threshold_in ),
150 double seed_threshold ()
const {
return _seed_threshold ;}
151 double cone_radius ()
const {
return _cone_radius ;}
152 double cone_area_fraction ()
const {
return _cone_area_fraction ;}
153 int max_pair_size ()
const {
return _max_pair_size ;}
154 int max_iterations ()
const {
return _max_iterations ;}
155 double overlap_threshold ()
const {
return _overlap_threshold ;}
159 virtual std::string description ()
const;
160 virtual void run_clustering(ClusterSequence &)
const;
162 virtual double R()
const {
return cone_radius();}
166 double _seed_threshold ;
167 double _cone_radius ;
168 double _cone_area_fraction;
170 int _max_iterations ;
171 double _overlap_threshold ;
172 SplitMergeScale _sm_scale ;
174 static bool _first_time;
177 void _print_banner(std::ostream *ostr)
const;
180 FASTJET_END_NAMESPACE
182 #endif // __CDFMIDPOINTPLUGIN_HH__
virtual double R() const
the plugin mechanism's standard way of accessing the jet radius
CDFMidPointPlugin(double cone_radius_in, double overlap_threshold_in, double seed_threshold_in=1.0, double cone_area_fraction_in=1.0)
a compact constructor
CDFMidPointPlugin(double seed_threshold_in, double cone_radius_in, double cone_area_fraction_in, int max_pair_size_in, int max_iterations_in, double overlap_threshold_in, SplitMergeScale sm_scale_in=SM_pt)
A CDFMidPointPlugin constructor that looks like the one provided by CDF.
SplitMergeScale
the choice of scale to be used in the split-merge step
a class that allows a user to introduce their own "plugin" jet finder
Implementation of the MidPoint algorithm from CDF (plugin for fastjet-v2.1 upwards) ...