fixed t0 bug when t0's are not present in the msr-file. Originated from the change array -> vector
This commit is contained in:
parent
fc28985425
commit
c837ceac97
@ -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
|
||||
|
@ -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
|
||||
|
Loading…
x
Reference in New Issue
Block a user