Changeset 15178


Ignore:
Timestamp:
Mar 29, 2013, 12:50:57 PM (6 years ago)
Author:
tbretz
Message:
Added some comments about time zone offsets in root plots.
File:
1 edited

Legend:

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

    r14883 r15178  
    145145
    146146    const double jd  = floor(time.Mjd())+2400001;
    147     const double mjd = floor(time.Mjd())+49718+0.5;
     147    const double mjd = floor(time.Mjd())+49718+0.5; // root time
    148148
    149149    cout << "Time: " << time     << endl;
     
    178178    // ------------- Create canvases and frames ---------------------
    179179
     180    // It is important to use an offset which is larger than
     181    // 1970-01-01 00:00:00. This one will not work if your
     182    // local time zone is positive!
    180183    TH1S hframe("", "", 1, (mjd+jd0)*24*3600, (mjd+jd1)*24*3600);
    181184    hframe.SetStats(kFALSE);
Note: See TracChangeset for help on using the changeset viewer.