From: cvetan Date: Wed, 25 Nov 2009 14:05:28 +0000 (+0000) Subject: Keep the leading time and width even in case of missing ADC (related to the problem... X-Git-Url: http://git.uio.no/git/?p=u%2Fmrichter%2FAliRoot.git;a=commitdiff_plain;h=82dae5d923f3114b75bc11aaa054faf54f6b15cc Keep the leading time and width even in case of missing ADC (related to the problem with the inconsistent data from the first collisions). --- diff --git a/VZERO/AliVZEROReconstructor.cxx b/VZERO/AliVZEROReconstructor.cxx index 4829a7ba9e1..b5b97c51f10 100644 --- a/VZERO/AliVZEROReconstructor.cxx +++ b/VZERO/AliVZEROReconstructor.cxx @@ -155,12 +155,13 @@ void AliVZEROReconstructor::ConvertDigits(AliRawReader* rawReader, TTree* digits } // Convert i (FEE channel numbering) to j (aliroot channel numbering) - Int_t board = j / 8; - time[j] = rawStream.GetTime(i)/ (25./256.) * fCalibData->GetTimeResolution(board); - width[j] = rawStream.GetWidth(i) / 0.4 * fCalibData->GetWidthResolution(board); integrator[j] = rawStream.GetIntegratorFlag(i,imax); } + Int_t board = j / 8; + time[j] = rawStream.GetTime(i)/ (25./256.) * fCalibData->GetTimeResolution(board); + width[j] = rawStream.GetWidth(i) / 0.4 * fCalibData->GetWidthResolution(board); + // Filling the esd friend object fESDVZEROfriend->SetBBScalers(j,rawStream.GetBBScalers(i)); fESDVZEROfriend->SetBGScalers(j,rawStream.GetBGScalers(i));