Commit d150779c776fdb844bbe7f2a897a240284467e78
1 parent
6549003c
Set event filename to blank after applying event selection in ctselect
Showing
1 changed file
with
3 additions
and
0 deletions
src/ctselect/ctselect.cpp
| @@ -934,6 +934,9 @@ void ctselect::select_events(GCTAObservation* obs, | @@ -934,6 +934,9 @@ void ctselect::select_events(GCTAObservation* obs, | ||
| 934 | obs->ontime(list->gti().ontime()); | 934 | obs->ontime(list->gti().ontime()); |
| 935 | obs->livetime(list->gti().ontime() * obs->deadc()); | 935 | obs->livetime(list->gti().ontime() * obs->deadc()); |
| 936 | 936 | ||
| 937 | + // Set observation attributes | ||
| 938 | + obs->eventfile(""); | ||
| 939 | + | ||
| 937 | // Return | 940 | // Return |
| 938 | return; | 941 | return; |
| 939 | } | 942 | } |