Changeset 2265 for trunk/MagicSoft/Mars/mraw
- Timestamp:
- 07/06/03 21:02:56 (21 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/MagicSoft/Mars/mraw/MRawEvtHeader.cc
r2173 r2265 245 245 // store the time of the event in the corresponding container 246 246 // 247 const Double_t mhz = 9.375; // [1e6 ticks/s] 248 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(h, m, s, ns); 247 255 fTime->SetTime(fAbsTime[0], fAbsTime[1]); 248 256
Note:
See TracChangeset
for help on using the changeset viewer.