some more minor bug fixing leading towards ADDRUN

This commit is contained in:
nemu
2009-03-13 10:26:12 +00:00
parent 3eaa9e433f
commit 9f3fb85928
4 changed files with 28 additions and 30 deletions

View File

@ -379,7 +379,7 @@ bool PRunSingleHisto::PrepareData()
// get T0's of the to be added run
int t0Add;
// check if the t0's are given in the msr-file
if (fRunInfo->fT0[i] == -1) { // t0's are NOT in the msr-file
if (i >= fRunInfo->fT0.size()) { // t0's are NOT in the msr-file
// check if the t0's are in the data file
if (addRunData->fT0s.size() != 0) { // t0's in the run data
// keep the proper t0's. For single histo runs, forward is holding the histo no