add DeadTimeCorrection to PRunAsymmetry - no ADDRUN handling yet.
This commit is contained in:
@@ -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; i<backwardHistoNo.size(); i++) {
|
||||
backward[i].resize(runData->GetDataBin(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
|
||||
|
||||
Reference in New Issue
Block a user