Commit 08abb1575582b131700814d9558479aab6e29ec6
1 parent
72f03882
print also livetime cube
Showing
1 changed file
with
6 additions
and
0 deletions
inst/lat/src/GLATObservation.cpp
| ... | ... | @@ -268,6 +268,12 @@ std::string GLATObservation::print(void) const |
| 268 | 268 | else |
| 269 | 269 | result.append("\n"+parformat("LAT response")+"undefined"); |
| 270 | 270 | |
| 271 | + // Append livetime cube | |
| 272 | + if (m_ltcube != NULL) | |
| 273 | + result.append("\n"+m_ltcube->print()); | |
| 274 | + else | |
| 275 | + result.append("\n"+parformat("LAT livetime cube")+"undefined"); | |
| 276 | + | |
| 271 | 277 | // Append events |
| 272 | 278 | if (m_events != NULL) |
| 273 | 279 | result.append("\n"+m_events->print()); | ... | ... |