Commit 3bb5da4adeaaaa4583a1a01c0f3e33f495be9643
1 parent
b01e1af5
Move cube and GTI initialization to after read_ahead (#2713)
Showing
1 changed file
with
4 additions
and
0 deletions
src/ctfindvar/ctfindvar.cpp
| ... | ... | @@ -705,6 +705,10 @@ void ctfindvar::get_parameters(void) |
| 705 | 705 | (*this)["histtype"].string(); |
| 706 | 706 | } |
| 707 | 707 | |
| 708 | + // Create GTIs and counts cube | |
| 709 | + init_gtis(); | |
| 710 | + init_cube(); | |
| 711 | + | |
| 708 | 712 | // Get the energy limits |
| 709 | 713 | m_emin = GEnergy((*this)["emin"].real(), "TeV"); |
| 710 | 714 | m_emax = GEnergy((*this)["emax"].real(), "TeV"); | ... | ... |