31 #include "fastjet/ClusterSequenceArea.hh"
33 FASTJET_BEGIN_NAMESPACE
35 LimitedWarning ClusterSequenceArea::_range_warnings;
36 LimitedWarning ClusterSequenceArea::_explicit_ghosts_repeats_warnings;
41 void ClusterSequenceArea::_warn_if_range_unsuitable(
const Selector & selector)
const {
42 _check_selector_good_for_median(selector);
44 bool no_ghosts = (_area_def.area_type() == voronoi_area)
45 || (_area_def.area_type() == passive_area
48 double rapmin, rapmax;
49 selector.get_rapidity_extent(rapmin, rapmax);
50 if (rapmin < -_area_def.ghost_spec().ghost_maxrap()+0.95*jet_def().R() ||
51 rapmax > _area_def.ghost_spec().ghost_maxrap()-0.95*jet_def().R()) {
52 _range_warnings.warn(
"rapidity range for median (rho) extends beyond +-(ghost_maxrap - 0.95*R); this is likely to cause the results to be unreliable; safest option is to increase ghost_maxrap in the area definition");
the longitudinally invariant kt algorithm