Commit 5a7e3067570aff60a361e69d5c2be57b7c1b571d
1 parent
45b412d5
Switch off response cache for stacked analysis (#3305)
Showing
1 changed file
with
6 additions
and
4 deletions
inst/cta/src/GCTAResponseCube.cpp
| ... | ... | @@ -157,8 +157,8 @@ GCTAResponseCube::GCTAResponseCube(const GCTACubeExposure& exposure, |
| 157 | 157 | init_members(); |
| 158 | 158 | |
| 159 | 159 | // Set members |
| 160 | - m_exposure = exposure; | |
| 161 | - m_psf = psf; | |
| 160 | + m_exposure = exposure; | |
| 161 | + m_psf = psf; | |
| 162 | 162 | m_background = background; |
| 163 | 163 | |
| 164 | 164 | // Signal that no energy dispersion was given |
| ... | ... | @@ -633,8 +633,10 @@ void GCTAResponseCube::init_members(void) |
| 633 | 633 | m_psf.clear(); |
| 634 | 634 | m_edisp.clear(); |
| 635 | 635 | m_background.clear(); |
| 636 | - m_apply_edisp = false; | |
| 637 | - m_has_edisp = false; | |
| 636 | + m_apply_edisp = false; | |
| 637 | + m_has_edisp = false; | |
| 638 | + m_use_irf_cache = false; //!< Current response cache uses too | |
| 639 | + m_use_nroi_cache = false; //!< much memory (#3305) | |
| 638 | 640 | |
| 639 | 641 | // Return |
| 640 | 642 | return; | ... | ... |