Commit a8dbfe3590ec41d4b7608cca477092428c31f3df

Authored by Nathan Kelley-Hoskins
1 parent 0d0b8c27

back to normal buggy fits time conversion

Showing 1 changed file with 2 additions and 4 deletions
src/ctselect/ctselect.cpp
... ... @@ -545,10 +545,8 @@ void ctselect::select_events(GCTAObservation* obs, const std::string& filename)
545 545  
546 546 // Extract effective time interval in CTA reference time. We need
547 547 // this reference for filtering.
548   - //double tmin = gti.tstart().convert(m_cta_ref);
549   - //double tmax = gti.tstop().convert(m_cta_ref);
550   - double tmin = gti.tstart().secs() ;
551   - double tmax = gti.tstop( ).secs() ; //.secs() ;
  548 + double tmin = gti.tstart().convert(m_cta_ref);
  549 + double tmax = gti.tstop().convert(m_cta_ref);
552 550  
553 551 // Format time with sufficient accuracy and add to selection string
554 552 sprintf(cmin, "%.8f", tmin);
... ...