Calibrate x-scale of 1-dim histogram

The X-scale of of a 1-dim histogram may be recalibrated providing x-y-points.

This refers to new version ( >= root_v5.14/00):

The procedure to use previously fitted peaks is as follows: - Use the Fit Gaussian (with tail) dialog to perform the required fits (Activate the Option Add all functions Note: This may be done via the FindPeak Dialog with subsequent Fit Gaussian Dialog - If this is done before the CalibrationDialog is invoked, the table in the CalibrationDialog will have as many rows as peaks are defined. The default number is 3 - Invoke this widget (CalibrationDialog) Execute (Click) Update Peaklist - Fields Mean and Errors of the table should now be filled. Complete / modify the table at least with Nom Val (Nominal values) - Execute Calculate Function, the function is drawn in a seperate canvas. - If the result is reasonable possibly modify the parameters for the Calibrated Hist - Execute Fill Hist. A new histogram will be created and filled according to the calibration function. Note: Each entry in the original histogram is randomly shifted within its bin before the calibration is applied to avoid binning effects. - The Calibration function may be any legal TFormula in practice polynomials of 1. or 2. degree (pol1, pol2) are used - Calibration functions may be saved to and restored from a root file.