Hi,
I like to perform my analysis with histograms since they allow me to easily perform operations like Add, Multiply or Scale.
For spectra it is often necessary to plot data points at a shifted location, e.g. for pT spectra shifted in x-direction to plot the point at the mean pT instead of just at the center of the bin. This is easy to accomplish with TGraph*s where one doesn’t have bins, but individual data points.
Is there a way to change where a data point will be plotted for TH1 (other than converting it to a TGraph*)? Being able to adjust this on a per-bin basis would be optimal. If that is not possible, is there some built-in way to generate TGraph* from histograms (other than copying the contents by hand)?
Cheers,
Benjamin