Fitting histogram with TF1 multiple times

See how to do the fits, in particular with “user-defined functions” and more info in the links included: