fix of ROOT-PPC problem (see MUSR-89)

This commit is contained in:
nemu
2009-08-31 08:12:26 +00:00
parent 550d318aa7
commit 53f4466904
2 changed files with 3 additions and 12 deletions

View File

@ -316,11 +316,7 @@ bool PRunSingleHisto::PrepareData()
// check if post pile up data shall be used
unsigned int histoNo;
if (fRunInfo->fFileFormat[0].Contains("ppc")) {
histoNo = runData->fDataBin.size()/2 + fRunInfo->fForwardHistoNo-1;
} else {
histoNo = fRunInfo->fForwardHistoNo-1;
}
histoNo = fRunInfo->fForwardHistoNo-1;
if ((runData->fDataBin.size() < histoNo) || (histoNo < 0)) {
cout << endl << "PRunSingleHisto::PrepareData(): **PANIC ERROR**:";