diff --git a/src/classes/PRunAsymmetry.cpp b/src/classes/PRunAsymmetry.cpp index 84e2f555..0dc60e35 100644 --- a/src/classes/PRunAsymmetry.cpp +++ b/src/classes/PRunAsymmetry.cpp @@ -1640,8 +1640,8 @@ Bool_t PRunAsymmetry::GetProperT0(PRawRunData* runData, PMsrGlobalBlock *globalB } // fill in the T0's from the msr-file (if present) - for (Int_t j=0; jGetAddT0BinSize(i); j++) { - fAddT0s[i-1][j] = fRunInfo->GetAddT0Bin(i, j); + for (Int_t j=0; jGetAddT0BinSize(i-1); j++) { + fAddT0s[i-1][j] = fRunInfo->GetAddT0Bin(i-1, j); } // fill in the T0's from the data file, if not already present in the msr-file diff --git a/src/classes/PRunAsymmetryRRF.cpp b/src/classes/PRunAsymmetryRRF.cpp index 10fd5997..38811c93 100644 --- a/src/classes/PRunAsymmetryRRF.cpp +++ b/src/classes/PRunAsymmetryRRF.cpp @@ -1278,8 +1278,8 @@ Bool_t PRunAsymmetryRRF::GetProperT0(PRawRunData* runData, PMsrGlobalBlock *glob } // fill in the T0's from the msr-file (if present) - for (Int_t j=0; jGetAddT0BinSize(i); j++) { - fAddT0s[i-1][j] = fRunInfo->GetAddT0Bin(i, j); + for (Int_t j=0; jGetAddT0BinSize(i-1); j++) { + fAddT0s[i-1][j] = fRunInfo->GetAddT0Bin(i-1, j); } // fill in the T0's from the data file, if not already present in the msr-file