Changeset 12615
- Timestamp:
- 11/22/11 14:10:01 (13 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/FACT++/src/DataWriteFits.cc
r12613 r12615 246 246 const Time stop (fTstop[0], fTstop[1]); 247 247 248 fFile.WriteKey("TSTARTI", floor(start.Unix ()),248 fFile.WriteKey("TSTARTI", floor(start.UnixTime()), 249 249 "Time when first event received (integral part)"); 250 fFile.WriteKey("TSTARTF", modf(start.Unix(), 1),250 fFile.WriteKey("TSTARTF", fmod(start.UnixTime(), 1), 251 251 "Time when first event received (fractional part)"); 252 fFile.WriteKey("TSTOPI", floor(stop.Unix ()),252 fFile.WriteKey("TSTOPI", floor(stop.UnixTime()), 253 253 "Time when last event received (integral part)"); 254 fFile.WriteKey("TSTOPF", modf(stop.Unix(), 1),254 fFile.WriteKey("TSTOPF", fmod(stop.UnixTime(), 1), 255 255 "Time when last event received (fractional part)"); 256 256 fFile.WriteKey("DATE-OBS", start.Iso(),
Note:
See TracChangeset
for help on using the changeset viewer.