82 |
tmpSize = logev->Records->GetEntries(); |
tmpSize = logev->Records->GetEntries(); |
83 |
ph = eh->GetPscuHeader(); |
ph = eh->GetPscuHeader(); |
84 |
outputFile << "<LOG_EVENT>\n"; |
outputFile << "<LOG_EVENT>\n"; |
85 |
outputFile << "\t<PACKET_OBT>" << ph->GetOrbitalTime() << "</PACKET_OBT>\n"; |
outputFile << "\t<PACKET_OBT>" << dec << ph->GetOrbitalTime() << "</PACKET_OBT>\n"; |
86 |
outputFile << "\t<PACKET_NUM>" << ph->GetCounter() << "</PACKET_NUM>\n"; |
outputFile << "\t<PACKET_NUM>" << ph->GetCounter() << "</PACKET_NUM>\n"; |
87 |
outputFile << "\t<LOG_RECORDS>\n"; |
outputFile << "\t<LOG_RECORDS>\n"; |
88 |
for (Int_t j = 0; j < tmpSize; j++){ |
for (Int_t j = 0; j < tmpSize; j++){ |
89 |
logrec = (pamela::LogRecord*)logev->Records->At(j); |
logrec = (pamela::LogRecord*)logev->Records->At(j); |
90 |
outputFile << "\t\t<LOG_RECORD>\n"; |
outputFile << "\t\t<LOG_RECORD>\n"; |
91 |
outputFile << "\t\t\t<RECORD_OBT>" << logrec->RECORD_OBT << "</RECORD_OBT>\n"; |
outputFile << "\t\t\t<RECORD_OBT>" << dec << logrec->RECORD_OBT << "</RECORD_OBT>\n"; |
92 |
outputFile << "\t\t\t<MASKTYPE>" << (short)logrec->MASKTYPE << "</MASKTYPE>\n"; |
outputFile << "\t\t\t<MASKTYPE>" << (short)logrec->MASKTYPE << "</MASKTYPE>\n"; |
93 |
outputFile << "\t\t\t<FILE_ID>" << (int)logrec->FILE_ID << "</FILE_ID>\n"; |
outputFile << "\t\t\t<FILE_ID>" << (int)logrec->FILE_ID << "</FILE_ID>\n"; |
94 |
outputFile << "\t\t\t<LINE_NO>" << logrec->LINE_NO << "</LINE_NO>\n"; |
outputFile << "\t\t\t<LINE_NO>" << logrec->LINE_NO << "</LINE_NO>\n"; |