]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - HMPID/AliHMPIDCalib.cxx
improved version from Tomek
[u/mrichter/AliRoot.git] / HMPID / AliHMPIDCalib.cxx
index 139f95ad39de7778701353d8645052611d334c35..95c1f88e3b9d38dcda2b5e57e47df1b4005730f4 100644 (file)
@@ -295,8 +295,10 @@ void AliHMPIDCalib::FillPedestal(Int_t abspad,Int_t q)
   //Arguments: absolute pad number as from AliHMPIDParam and q-charge
   //Returns: none
   //
-  if(q<0) AliFatal("Negative charge is read!!!!!!");
-  
+  if(q<0) {
+   AliError("Negative charge is read!!!!!!");
+   return;
+  }
   UInt_t w32;
   Int_t nDDL=0, row=0, dil=0, adr=0;
   //The decoding (abs. pad -> ddl,dil,...) is the same as in AliHMPIDDigit::Raw