Keep the leading time and width even in case of missing ADC (related to the problem...
authorcvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Nov 2009 14:05:28 +0000 (14:05 +0000)
committercvetan <cvetan@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 25 Nov 2009 14:05:28 +0000 (14:05 +0000)
VZERO/AliVZEROReconstructor.cxx

index 4829a7b..b5b97c5 100644 (file)
@@ -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));