fixed t0 bug when t0's are not present in the msr-file. Originated from the change array -> vector

This commit is contained in:
nemu 2009-04-30 04:53:29 +00:00
parent fc28985425
commit c837ceac97
2 changed files with 2 additions and 2 deletions

View File

@ -296,7 +296,7 @@ bool PRunAsymmetry::PrepareData()
// check if the t0's are given in the msr-file
if (fRunInfo->fT0[0] == -1) { // t0's are NOT in the msr-file
if (fRunInfo->fT0.size() == 0) { // t0's are NOT in the msr-file
// check if the t0's are in the data file
if (runData->fT0s.size() != 0) { // t0's in the run data
// keep the proper t0's. For asymmetry runs, forward/backward are holding the histo no

View File

@ -331,7 +331,7 @@ bool PRunSingleHisto::PrepareData()
}
// check if the t0's are given in the msr-file
if (fRunInfo->fT0[0] == -1) { // t0's are NOT in the msr-file
if (fRunInfo->fT0.size() == 0) { // t0's are NOT in the msr-file
// check if the t0's are in the data file
if (runData->fT0s.size() != 0) { // t0's in the run data
// keep the proper t0's. For single histo runs, forward is holding the histo no