Correct the message about rejected pads, by not mixing good pads with total number...
authorlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jun 2009 09:22:31 +0000 (09:22 +0000)
committerlaphecet <laphecet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Tue, 23 Jun 2009 09:22:31 +0000 (09:22 +0000)
MUON/AliMUONDigitCalibrator.cxx

index a307f6c..7411944 100644 (file)
@@ -245,14 +245,15 @@ AliMUONDigitCalibrator::Calibrate(AliMUONVDigitStore& digitStore)
     Float_t charge(0.0);
     Int_t statusMap;
     Bool_t isSaturated(kFALSE);
-    
+
+    ++fNumberOfPads;
+
     Bool_t ok = IsValidDigit(digit->DetElemId(),digit->ManuId(),digit->ManuChannel(),&statusMap);
 
     digit->SetStatusMap(statusMap);
     
     if (ok)
     {
-      ++fNumberOfPads;
       charge = CalibrateDigit(digit->DetElemId(),digit->ManuId(),digit->ManuChannel(),
                               digit->ADC(),nsigmas,&isSaturated);
     }