added warning in SetElement (comment from P. Rosnet)
authorrvernet <rvernet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Apr 2009 17:00:31 +0000 (17:00 +0000)
committerrvernet <rvernet@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 1 Apr 2009 17:00:31 +0000 (17:00 +0000)
CORRFW/AliCFGridSparse.cxx

index 4a4179e..695be2c 100755 (executable)
@@ -349,6 +349,8 @@ void AliCFGridSparse::SetElement(Int_t *bin, Float_t val)
   //
   // Sets grid element of bin indeces bin to val
   //
+  
+  AliWarning("Important: bins should be numbered from 1 to NBins");
   fData->SetBinContent(bin,val);
 }
 //____________________________________________________________________