Common factor 0.001 removed from the relative calibration coefficients.
authorpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Nov 2007 16:45:21 +0000 (16:45 +0000)
committerpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Wed, 21 Nov 2007 16:45:21 +0000 (16:45 +0000)
PHOS/AliPHOSPreprocessor.cxx

index d66af6d..5a2f002 100644 (file)
@@ -154,13 +154,13 @@ UInt_t AliPHOSPreprocessor::Process(TMap* /*valueSet*/)
          if(histo) {
            coeff = histo->GetMean()/refMean;
            if(coeff>0)
-             calibData.SetADCchannelEmc(mod+1,col+1,row+1,0.001/coeff);
+             calibData.SetADCchannelEmc(mod+1,col+1,row+1,1./coeff);
            else 
-             calibData.SetADCchannelEmc(mod+1,col+1,row+1,0.001);
+             calibData.SetADCchannelEmc(mod+1,col+1,row+1,1.);
            AliInfo(Form("mod %d col %d row %d  coeff %f\n",mod,col,row,coeff));
          }
          else
-           calibData.SetADCchannelEmc(mod+1,col+1,row+1,0.001); 
+           calibData.SetADCchannelEmc(mod+1,col+1,row+1,1.); 
        }
       }
     }