Added exit if number of frames isn't as expected.

This commit is contained in:
redford_s
2018-10-10 17:02:25 +02:00
parent 763354a43d
commit 17ddf3e73d
+3 -1
View File
@@ -30,7 +30,7 @@ int main(int argc, char* argv[]) {
string module_str = argv[1];
string data_loc = argv[2];
int createHistos = 1;
int createHistos = 0;
int createPerStepHistos = 0;
jungfrauFile *thisfile = new jungfrauFile();
@@ -173,6 +173,8 @@ int main(int argc, char* argv[]) {
} else {
cout << "WARNING unexpected number of frames" << endl;
cout << "WARNING code expected 21999/22000 frames" << endl;
cout << "exiting to make sure you notice" << endl;
exit(1);
}
int framecounter = 0;