Changeset 12794


Ignore:
Timestamp:
01/31/12 11:21:45 (13 years ago)
Author:
tbretz
Message:
Get run start and end time.
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/Mars/mraw/MRawFitsRead.cc

    r12738 r12794  
    150150    fRawRunHeader->SetRunType(0/*data*/);
    151151
     152    const string runstart = fin.GetStr("DATE-OBS");
     153    const string runstop  = fin.GetStr("DATE-END");
     154
     155    fRawRunHeader->SetRunTime(MTime(runstart.c_str()), MTime(runstop.c_str()));
     156
    152157    return
    153158        fin.HasKey("NPIX") && fin.HasKey("RUNID")  &&
Note: See TracChangeset for help on using the changeset viewer.