Improving output format of the program.
authoraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 May 2008 12:36:38 +0000 (12:36 +0000)
committeraszostak <aszostak@f7af4fe6-9843-0410-8265-dc069ae4e863>
Fri, 9 May 2008 12:36:38 +0000 (12:36 +0000)
HLT/MUON/utils/dHLTdumpraw.cxx

index dbbde5e..8189106 100644 (file)
@@ -1347,6 +1347,10 @@ int main(int argc, const char** argv)
                                unsigned long bufferSize = 0;
                                returnCode = ReadFile(filename[i], buffer, bufferSize);
                                if (returnCode != EXIT_SUCCESS) break;
+                               if (numOfFiles > 1)
+                               {
+                                       cout << "########## Start of dump for file: " << filename[i] << " ##########" << endl;
+                               }
                                int result = ParseBuffer(buffer, bufferSize, continueParse, filetype[i]);
                                if (buffer != NULL) delete [] buffer;
                                if (result != EXIT_SUCCESS)
@@ -1354,6 +1358,10 @@ int main(int argc, const char** argv)
                                        returnCode = result;
                                        if (not continueParse) break;
                                }
+                               if (numOfFiles > 1)
+                               {
+                                       cout << "##########   End of dump for file: " << filename[i] << " ##########" << endl;
+                               }
                        }
                }