Commit a1e9021552dbd83cfe6a19bfab0d157f7cb9b031
1 parent
e3a3e4b9
Dump accumulated livetime
Showing
1 changed file
with
6 additions
and
0 deletions
src/ctbkgcube/ctbkgcube.cpp
| ... | ... | @@ -341,6 +341,12 @@ void ctbkgcube::run(void) |
| 341 | 341 | |
| 342 | 342 | } // endfor: looped over observations |
| 343 | 343 | |
| 344 | + // Log results | |
| 345 | + if (logTerse()) { | |
| 346 | + log << gammalib::parformat("Accumulated livetime"); | |
| 347 | + log << m_livetime << " sec" << std::endl; | |
| 348 | + } | |
| 349 | + | |
| 344 | 350 | // Re-normalize cube to get units of counts/MeV/s/sr |
| 345 | 351 | if (m_livetime > 0.0) { |
| 346 | 352 | ... | ... |