41void RangeDefinition::_numerical_total_area(
double rapmax,
int npoints) {
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++) {
50 if ( is_in_range(rap,phi) ) { count++; }
56 _total_area = double(count)/double(npoints*npoints)*2.0*twopi*rapmax;