18 |
#include <tabDump/TabDumpEvent.h> |
#include <tabDump/TabDumpEvent.h> |
19 |
#include <PscuHeader.h> |
#include <PscuHeader.h> |
20 |
#include <EventHeader.h> |
#include <EventHeader.h> |
21 |
|
#include <yodaUtility.h> |
22 |
#include <fstream> |
#include <fstream> |
23 |
|
|
24 |
#include <TFile.h> |
#include <TFile.h> |
32 |
Int_t tmpSize, nrow, ncol; |
Int_t tmpSize, nrow, ncol; |
33 |
ofstream outputFile; |
ofstream outputFile; |
34 |
stringstream oss; |
stringstream oss; |
35 |
|
UInt_t k_data = 0; |
36 |
|
|
37 |
pamela::TabDumpEvent *tde = 0; |
pamela::TabDumpEvent *tde = 0; |
38 |
pamela::TabDumpRecord *tdr = 0; |
pamela::TabDumpRecord *tdr = 0; |
90 |
for (int k = 0; k < nrow; k++){ |
for (int k = 0; k < nrow; k++){ |
91 |
outputFile << "\t\t\t<ROW> \n"; |
outputFile << "\t\t\t<ROW> \n"; |
92 |
for (int z = 0; z < ncol; z++){ |
for (int z = 0; z < ncol; z++){ |
93 |
outputFile << "\t\t\t<COL>" << (unsigned int)Data->At((k*ncol) + z) << "</COL>\n"; |
k_data = (UInt_t)Data->At((k*ncol) + z); |
94 |
|
Utility::endian_swap(k_data); |
95 |
|
outputFile << "\t\t\t<COL>" << k_data << "</COL>\n"; |
96 |
} |
} |
97 |
outputFile << "\t\t\t</ROW> \n"; |
outputFile << "\t\t\t</ROW> \n"; |
98 |
} |
} |