Definition at line 284 of file DataWriteFits2.cc.
References fFile, fTriggerCounter, fTstart, fTstop, Time::Iso(), start(), and Time::UnixDate().
Referenced by Close(), and WriteHeader().
292 fFile->SetInt(
"TSTARTI", uint32_t(floor(
start.UnixDate())),
293 "Time when first evt received (integral part)");
294 fFile->SetFloat(
"TSTARTF", fmod(
start.UnixDate(), 1),
295 "Time when first evt received (fractional part)");
296 fFile->SetInt(
"TSTOPI", uint32_t(floor(stop.UnixDate())),
297 "Time when last evt received (integral part)");
298 fFile->SetFloat(
"TSTOPF", fmod(stop.UnixDate(), 1),
299 "Time when last evt received (fractional part)");
301 "Time when first event received");
302 fFile->SetStr(
"DATE-END", stop.Iso(),
303 "Time when last event received");
Adds some functionality to boost::posix_time::ptime for our needs.
std::shared_ptr< ofits > fFile
std::array< uint32_t, 8 > fTriggerCounter