Added exit if number of frames isn't as expected.
This commit is contained in:
+3
-1
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user