6 void ConvEventNum(
const int event_num,
int& YYYY,
int& MM,
int& DD,
int& hh,
int& mm,
int& ss)
8 TTimeStamp ts(event_num - TTimeStamp::GetZoneOffset());
9 int YYYYMMDD = ts.GetDate();
10 int hhmmss = ts.GetTime();
11 YYYY = YYYYMMDD / 10000;
12 MM = (YYYYMMDD % 10000) / 100;
15 mm = (hhmmss % 10000) / 100;
21 int YYYY, MM, DD, hh, mm, ss;
24 oss << setfill(
'0') << YYYY <<
"-" << setw(2) << MM <<
"-" << setw(2) << DD <<
" "
25 << setw(2) << hh <<
":" << setw(2) << mm <<
":" << setw(2) << ss;
void ConvEventNum(const int event_num, int &YYYY, int &MM, int &DD, int &hh, int &mm, int &ss)