add integral for scintillation type pulses