throwError("BackgroundRescalingYPhiFromRoot (from ConstituentSubtractor) The phi range of the histogram does not correspond to the phi range of the particles! Change the phi range of the histogram.");
/// Construct background rescaling function in rapidity and azimuth using ROOT TH1 histogram bin contents for the rapidity dependence and this parametrization for the azimuth:
/// This product of the TH1 histogram and function is used to rescale the background which is subtracted such that one can correctly account
/// for the modulation of the UE due to rapidity dependence of the particle production
/// and/or due to the modulation in the azimuthal angle which is characteristic for heavy ion collisions.
/// The overall normalization of the rescaling function is arbitrary since it divides out in the calculation of position dependent rho (background is first demodulated to obtain unbiased position independent rho, and then it is modulated to obtain position dependent rho, see fastjet classes GridMedianBackgroundEstimator and JetMedianBackgroundEstimator for detailed calculation).
std::cout<<std::endl<<std::endl<<"ConstituentSubtractor::BackgroundRescalingYFromRootPhi WARNING: The histogram for rapidity rescaling is not defined!!! Not performing rapidity rescaling."<<std::endl<<std::endl<<std::endl;
_use_rap=false;
}
else_use_rap=true;
}
///
/// Turn on or off the rapidity rescaling. Throwing in case true is set and no histogram is provided.
voiduse_rap_term(booluse_rap){
_use_rap=use_rap;
if(!_hist&&_use_rap){
throwError("BackgroundRescalingYFromRootPhi (from ConstituentSubtractor) Requested rapidity rescaling, but the histogram for rescaling is not defined!");
}
}
///
/// Turn on or off the azimuth rescaling.
voiduse_phi_term(booluse_phi){
_use_phi=use_phi;
}
///
/// Return the rescaling factor associated with this particle
/// with four parameters sigma1, sigma2, a1, and a2.
///
/// This function is used to rescale the background which is subtracted such that one can correctly account
/// for the modulation of the UE due to rapidity dependence of the particle production
/// and/or due to the modulation in the azimuthal angle which is characteristic for heavy ion collisions.
/// The overall normalization of function f is arbitrary since it divides out in the calculation of position dependent rho (background is first demodulated to obtain unbiased position independent rho, and then it is modulated to obtain position dependent rho, see fastjet classes GridMedianBackgroundEstimator and JetMedianBackgroundEstimator for detailed calculation).
/// The size of the input vector "values" for rapidity dependence is N bins and the corresponding binning should be specified in a separate input vector "rap_binning" of size (N+1). The bin boundaries must be in increasing order.
///
/// This function is used to rescale the background which is subtracted such that one can correctly account
/// for the modulation of the UE due to rapidity dependence of the particle production
/// and/or due to the modulation in the azimuthal angle which is characteristic for heavy ion collisions.
/// The overall normalization of function f is arbitrary since it divides out in the calculation of position dependent rho (background is first demodulated to obtain unbiased position independent rho, and then it is modulated to obtain position dependent rho, see fastjet classes GridMedianBackgroundEstimator and JetMedianBackgroundEstimator for detailed calculation).
/// Construct background rescaling function in rapidity and azimuth using dependence recorded in input object vector<vector<double> > values. Its size is N bins for rapidity and M bins for azimuth. The binning of the rapidity should be specified in a separate vector "rap_binning" of size (N+1), and similarly the binning of the azimuth should be specified in a separate vector "phi_binning" of size (M+1). The bin boundaries must be in increasing order.