Commit b3ae9f06a0d813dacf2c921859f384bcc18d311f
1 parent
4292eae1
adjust PSF on border of ROI test
Showing
1 changed file
with
2 additions
and
2 deletions
inst/cta/test/test_CTA.cpp
| @@ -191,9 +191,9 @@ void test_response_npsf(void) | @@ -191,9 +191,9 @@ void test_response_npsf(void) | ||
| 191 | std::cout << "."; | 191 | std::cout << "."; |
| 192 | 192 | ||
| 193 | // Test PSF outside and overlapping ROI | 193 | // Test PSF outside and overlapping ROI |
| 194 | - srcDir.radec_deg(0.0, 2.1); | 194 | + srcDir.radec_deg(0.0, 2.0); |
| 195 | npsf = rsp.npsf(srcDir, srcEng.log10TeV(), srcTime, pnt, roi); | 195 | npsf = rsp.npsf(srcDir, srcEng.log10TeV(), srcTime, pnt, roi); |
| 196 | - ref = 0.0928484; | 196 | + ref = 0.492373; |
| 197 | if (fabs(npsf - ref) > 1.0e-3) { | 197 | if (fabs(npsf - ref) > 1.0e-3) { |
| 198 | std::cout << std::endl | 198 | std::cout << std::endl |
| 199 | << "TEST ERROR: Uncertainty in PS(0,2.1) integration >0.1%" | 199 | << "TEST ERROR: Uncertainty in PS(0,2.1) integration >0.1%" |