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 committed 2009-04-30 04:53:29 +00:00
1 parent fc28985425
commit c837ceac97
2 files changed
+2 -2

No files matched your search

+1 -1
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
+1 -1
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