31#include "fastjet/RangeDefinition.hh"
33FASTJET_BEGIN_NAMESPACE
37LimitedWarning RangeDefinition::_warnings_deprecated;
44 double deltaphi = twopi/double(npoints);
45 double deltarap = 2.0*rapmax/double(npoints);
47 for(
int i = 0; i < npoints; i++) {
49 for (
int j = 0; j < npoints; j++) {
56 _total_area = double(count)/double(npoints*npoints)*2.0*twopi*rapmax;
65void RangeDefinition::_warn_deprecated()
const{
66 _warnings_deprecated.warn(
"The use of RangeDefinition is deprecated since FastJet version 3.0 onwards. Please consider using Selector (defined in fastjet/Selector.hh) instead. There is no guarantee that support for RangeDefinition will be provided in future releases of FastJet.");
bool is_in_range(const PseudoJet &jet) const
return bool according to whether the jet is within the given range
void _numerical_total_area(double rapmax, int npoints)
calculate, and set _total_area, by calculating which of points on a grid (npoints * npoints from -rap...