crash in non-interactive mode of musrt0 when data file doesn't exist (MUSR-133)

This commit is contained in:
nemu
2011-09-21 07:09:36 +00:00
parent 5fede09cd1
commit 2e41140242
2 changed files with 2 additions and 1 deletions

View File

@ -356,7 +356,7 @@ Int_t main(Int_t argc, Char_t *argv[])
}
}
if (getT0FromPromptPeak) {
if (getT0FromPromptPeak && success) {
Int_t histoNo = -1;
UInt_t t0Bin = 0;