Commit 0d0b8c27701143ecfc6935eaa020a2647bc2d78c
1 parent
b21067b4
just using secs()
Showing
1 changed file
with
2 additions
and
2 deletions
src/ctselect/ctselect.cpp
| @@ -547,8 +547,8 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename) | @@ -547,8 +547,8 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename) | ||
| 547 | // this reference for filtering. | 547 | // this reference for filtering. |
| 548 | //double tmin = gti.tstart().convert(m_cta_ref); | 548 | //double tmin = gti.tstart().convert(m_cta_ref); |
| 549 | //double tmax = gti.tstop().convert(m_cta_ref); | 549 | //double tmax = gti.tstop().convert(m_cta_ref); |
| 550 | - double tmin = gti.tstart().convert(gti.reference()).secs() ; | ||
| 551 | - double tmax = gti.tstop( ).convert(gti.reference()).secs() ; | 550 | + double tmin = gti.tstart().secs() ; |
| 551 | + double tmax = gti.tstop( ).secs() ; //.secs() ; | ||
| 552 | 552 | ||
| 553 | // Format time with sufficient accuracy and add to selection string | 553 | // Format time with sufficient accuracy and add to selection string |
| 554 | sprintf(cmin, "%.8f", tmin); | 554 | sprintf(cmin, "%.8f", tmin); |