diff --git a/src/ctselect/ctselect.cpp b/src/ctselect/ctselect.cpp index 65b9e9c..f462b35 100644 --- a/src/ctselect/ctselect.cpp +++ b/src/ctselect/ctselect.cpp @@ -545,10 +545,8 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename) // Extract effective time interval in CTA reference time. We need // this reference for filtering. - //double tmin = gti.tstart().convert(m_cta_ref); - //double tmax = gti.tstop().convert(m_cta_ref); - double tmin = gti.tstart().secs() ; - double tmax = gti.tstop( ).secs() ; //.secs() ; + double tmin = gti.tstart().convert(m_cta_ref); + double tmax = gti.tstop().convert(m_cta_ref); // Format time with sufficient accuracy and add to selection string sprintf(cmin, "%.8f", tmin);