Commit 999526b8ee2d10b11e31447c79f8ca262f83095d

Authored by Jürgen Knödlseder
1 parent 7247c9a0

Revert "Apply deadtime correction in default npred methods."

This reverts commit 7247c9a0b5f5976fb11206d4861f96d11f44a4c5.
Showing 1 changed file with 0 additions and 6 deletions
src/obs/GResponse.cpp
... ... @@ -435,9 +435,6 @@ double GResponse::npred_radial(const GSource& source,
435 435 GIntegral integral(&integrand);
436 436 npred = integral.romb(theta_min, theta_max);
437 437  
438   - // Apply deadtime correction
439   - npred *= obs.deadc(source.time());
440   -
441 438 // Compile option: Show integration results
442 439 #if defined(G_DEBUG_NPRED_RADIAL)
443 440 std::cout << "GResponse::npred_radial:";
... ... @@ -513,9 +510,6 @@ double GResponse::npred_elliptical(const GSource&amp; source,
513 510 GIntegral integral(&integrand);
514 511 npred = integral.romb(theta_min, theta_max);
515 512  
516   - // Apply deadtime correction
517   - npred *= obs.deadc(source.time());
518   -
519 513 // Compile option: Show integration results
520 514 #if defined(G_DEBUG_NPRED_ELLIPTICAL)
521 515 std::cout << "GResponse::npred_elliptical:";
... ...