diff --git a/src/classes/PRunAsymmetry.cpp b/src/classes/PRunAsymmetry.cpp index 75585b1e0..39687df14 100644 --- a/src/classes/PRunAsymmetry.cpp +++ b/src/classes/PRunAsymmetry.cpp @@ -712,11 +712,20 @@ Bool_t PRunAsymmetry::PrepareData() forward[i].resize(runData->GetDataBin(forwardHistoNo[i])->size()); forward[i] = *runData->GetDataBin(forwardHistoNo[i]); } + // check if a dead time correction has to be done + // this will be done automatically in the function itself, which also + // checks in the global and run section + DeadTimeCorrection(forward, forwardHistoNo); + backward.resize(backwardHistoNo.size()); // resize to number of groups for (UInt_t i=0; iGetDataBin(backwardHistoNo[i])->size()); backward[i] = *runData->GetDataBin(backwardHistoNo[i]); } + // check if a dead time correction has to be done + // this will be done automatically in the function itself, which also + // checks in the global and run section + DeadTimeCorrection(backward, backwardHistoNo); // check if addrun's are present, and if yes add data // check if there are runs to be added to the current one