Changeset 8379


Ignore:
Timestamp:
03/17/07 14:10:49 (18 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars
Files:
4 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/Changelog

    r8375 r8379  
    1919                                                 -*-*- END OF LINE -*-*-
    2020
     21 2007/03/17 Thomas Bretz
     22
     23   * mbase/MTime.[h,cc]:
     24     - added new memeber function to set unix times
     25
     26
     27
    2128 2007/03/09 Thomas Bretz
    2229
  • trunk/MagicSoft/Mars/NEWS

    r8347 r8379  
    2626   - general: The changes to the interpretation of phrases lead to
    2727     a problem with the access of MHMatrix objects (eg. "M[0]")... fixed.
     28
     29   - general: Added example files how you can create your own calendar
     30      (eg. as christmas present) with Mars. Just run
     31           root macros/tutorials/calendar.C
    2832
    2933   - general: Added a possibility to display grouped data in the plotdb.C
     
    4650     extraction end is changed accordingly. If no proper extraction range
    4751     can be set (hi-gain too much to the left) an error is raised.
     52
     53   - callisto: New swapped pixels have been found and corrected
    4854
    4955   - callisto: Redone the signal extraction this includes:
  • trunk/MagicSoft/Mars/mbase/MTime.cc

    r8337 r8379  
    262262{
    263263    SetMjd(time*1000/kDay+49718);
     264}
     265
     266// --------------------------------------------------------------------------
     267//
     268// Set unix time (seconds since epoche 1970-01-01)
     269//
     270void MTime::SetUnixTime(Long_t tm)
     271{
     272    SetMjd(1000.*tm/kDay+40587);
    264273}
    265274
  • trunk/MagicSoft/Mars/mbase/MTime.h

    r8337 r8379  
    9898    void     SetMjd(Double_t m);
    9999    void     SetAxisTime(Double_t time);
     100    void     SetUnixTime(Long_t time);
    100101    void     SetEaster(Short_t year=0);
    101102
Note: See TracChangeset for help on using the changeset viewer.