throwError("This class has been deprecated. Please use OriginalGeometricMeasure, ModifiedGeometricMeasure, or ConicalGeometricMeasure with the new Njettiness constructor.");
throwError("normalized_cutoff_measure has 3 parameters (beta, R0, Rcutoff)");
}
break;
caseunnormalized_cutoff_measure:
beta=para1;
Rcutoff=para2;//Rcutoff parameter is 2nd parameter in normalized_cutoff_measure
if(num_para==2){
returnnewUnnormalizedCutoffMeasure(beta,Rcutoff);
}else{
throwError("unnormalized_cutoff_measure has 2 parameters (beta, Rcutoff)");
}
break;
casegeometric_cutoff_measure:
throwError("This class has been deprecated. Please use OriginalGeometricMeasure, ModifiedGeometricMeasure, or ConicalGeometricMeasure with the new Njettiness constructor.");
// beta = para1;
// Rcutoff = para2; //Rcutoff parameter is 2nd parameter in geometric_cutoff_measure
// if(num_para == 2) {
// return new GeometricCutoffMeasure(beta,Rcutoff);
// } else {
// throw Error("geometric_cutoff_measure has 2 parameters (beta, Rcutoff)");
// }
// break;
default:
assert(false);
break;
}
returnNULL;
}
// Convert from AxesMode enum to AxesDefinition
// This returns a pointer that will be claimed by a SharedPtr