Ignore:
Timestamp:
09/10/03 13:38:45 (21 years ago)
Author:
tbretz
Message:
*** empty log message ***
File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc

    r2326 r2328  
    247247    const Double_t mhz = 9.375;                          // [1e6 ticks/s]
    248248    const Double_t t   = (Double_t)fAbsTime[0]/mhz*1e-3; // [ns]
    249     const Double_t ns  = (UShort_t)fmod(t, 1e9);
    250     const Double_t s   = (Byte_t)fmod(t/1e9, 60);
    251     const Double_t m   = (Byte_t)fmod(t/60e9, 60);
    252     const Double_t h   = (Byte_t)(t/3600e9);
    253 
    254     fTime->SetTime((Byte_t)h, (Byte_t)m, (Byte_t)s, (UShort_t)ns);
     249    const UShort_t ns  = (UShort_t)fmod(t, 1e9);
     250    const Byte_t s     = (Byte_t)fmod(t/1e9, 60);
     251    const Byte_t m     = (Byte_t)fmod(t/60e9, 60);
     252    const Byte_t h     = (Byte_t)(t/3600e9);
     253
     254    fTime->SetTime(h, m, s, ns);
    255255    fTime->SetTime(fAbsTime[0], fAbsTime[1]);
    256256
Note: See TracChangeset for help on using the changeset viewer.