Fit histogram to another historgam

I guess, in general (when stretching/shrinking and scaling are needed), you would need to write your own “chi2” or “likelihood” function.
See: ${ROOTSYS}/tutorials/fit/

You could also try to use (but the involved histograms need to have well “aligned” bins, I guess):