diff --git a/src/ctselect/ctselect.cpp b/src/ctselect/ctselect.cpp index f462b35..a07b08b 100644 --- a/src/ctselect/ctselect.cpp +++ b/src/ctselect/ctselect.cpp @@ -545,8 +545,10 @@ 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().convert(m_cta_ref); + //double tmax = gti.tstop().convert(m_cta_ref); + double tmin = gti.tstart().secs() ; + double tmax = gti.tstop( ).secs() ; // Format time with sufficient accuracy and add to selection string sprintf(cmin, "%.8f", tmin);