Hi everyone! I have some problem with fittng histogram. I try to fit main peak and background with different fit functions. And after these processes i have to count integral of histo without background. Could you help me ? Below I attach my code and picture.fit.C (723 Bytes)