Action #1940
Load CTA IRF upon demand
| Status: | Closed | Start date: | 03/03/2017 | |
|---|---|---|---|---|
| Priority: | Normal | Due date: | ||
| Assigned To: | % Done: | 100% | ||
| Category: | - | |||
| Target version: | 1.3.0 | |||
| Duration: |
Description
The loading of a CTA observation definition XML file takes a long time, probably because the response functions are loaded for each observation. It should be investigated whether the loading of the IRF upon demand accelerates things.
Recurrence
No recurrence.
History
#1
Updated by Knödlseder Jürgen about 9 years ago
- Status changed from New to In Progress
- Assigned To set to Knödlseder Jürgen
- % Done changed from 0 to 80
It turned out that the energy dispersion loading in GCTAEdisp2D is the bottle neck of the observation definition XML file loading.
I therefore implemented lazy loading for the energy dispersion information. The fetch() method was introduced for this purpose. The method should be thread safe (it was copied basically from the GCTAEventList::fetch() method.
#2
Updated by Knödlseder Jürgen about 9 years ago
- Status changed from In Progress to Closed
- % Done changed from 80 to 100
Merged into devel.