Changeset 12615 for trunk/FACT++


Ignore:
Timestamp:
11/22/11 14:10:01 (13 years ago)
Author:
tbretz
Message:
Some fixed to the latest changes.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/FACT++/src/DataWriteFits.cc

    r12613 r12615  
    246246        const Time stop (fTstop[0],  fTstop[1]);
    247247
    248         fFile.WriteKey("TSTARTI",  floor(start.Unix()),
     248        fFile.WriteKey("TSTARTI",  floor(start.UnixTime()),
    249249                       "Time when first event received (integral part)");
    250         fFile.WriteKey("TSTARTF",  modf(start.Unix(), 1),
     250        fFile.WriteKey("TSTARTF",  fmod(start.UnixTime(), 1),
    251251                       "Time when first event received (fractional part)");
    252         fFile.WriteKey("TSTOPI",   floor(stop.Unix()),
     252        fFile.WriteKey("TSTOPI",   floor(stop.UnixTime()),
    253253                       "Time when last event received (integral part)");
    254         fFile.WriteKey("TSTOPF",   modf(stop.Unix(), 1),
     254        fFile.WriteKey("TSTOPF",   fmod(stop.UnixTime(), 1),
    255255                       "Time when last event received (fractional part)");
    256256        fFile.WriteKey("DATE-OBS", start.Iso(),
Note: See TracChangeset for help on using the changeset viewer.