Ignore:
Timestamp:
09/10/04 14:06:46 (20 years ago)
Author:
tbretz
Message:
*** empty log message ***
Location:
trunk/MagicSoft/Mars/mbase
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mbase/MTime.cc

    r4889 r4920  
    570570}
    571571
     572void MTime::Plus1ns()
     573{
     574    fNanoSec++;
     575
     576    if (fNanoSec<1000000)
     577        return;
     578
     579    fNanoSec = 0;
     580    fTime += 1;
     581
     582    if ((Long_t)fTime<(Long_t)kDay*13)
     583        return;
     584
     585    fTime = 11*kDay;
     586    fMjd++;
     587}   
     588
    572589void MTime::Minus1ns()
    573590{
  • trunk/MagicSoft/Mars/mbase/MTime.h

    r4889 r4920  
    128128    void AddMilliSeconds(UInt_t ms);
    129129    void Minus1ns();
     130    void Plus1ns();
    130131    void SetMean(const MTime &t0, const MTime &t1);
    131132    void SetMean(Double_t t0, Double_t t1);
Note: See TracChangeset for help on using the changeset viewer.