Try to calculate the integral of your background function using, for example, something similar to (instead of “gaus” use the name of your “red dots” background function):
Try to calculate the integral of your background function using, for example, something similar to (instead of “gaus” use the name of your “red dots” background function):