Default EMC calibrations changed from 1. to 0.005
authorpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Dec 2008 12:22:34 +0000 (12:22 +0000)
committerpolicheh <policheh@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 15 Dec 2008 12:22:34 +0000 (12:22 +0000)
PHOS/AliPHOSPreprocessor.cxx

index c12dbd1..c2ee9e7 100644 (file)
@@ -186,7 +186,7 @@ Bool_t AliPHOSPreprocessor::ProcessLEDRun()
            calibData.SetADCchannelEmc(mod+1,col+1,row+1,coeff);
          }
          else
-           calibData.SetADCchannelEmc(mod+1,col+1,row+1,1.);
+           calibData.SetADCchannelEmc(mod+1,col+1,row+1,0.005);
 
        }
       }
@@ -546,13 +546,13 @@ Bool_t AliPHOSPreprocessor::DoCalibrateEmc(Int_t system, TList* list, const AliP
            h1->GetXaxis()->SetRange(10,1000); //to cut off saturation peak and noise
            coeff = h1->GetMean()/refMean;
            if(coeff>0)
-             calibData.SetADCchannelEmc(mod+1,col+1,row+1,1./coeff);
+             calibData.SetADCchannelEmc(mod+1,col+1,row+1,0.005/coeff);
            else 
-             calibData.SetADCchannelEmc(mod+1,col+1,row+1,1.);
+             calibData.SetADCchannelEmc(mod+1,col+1,row+1,0.005);
            AliInfo(Form("mod %d col %d row %d  coeff %f\n",mod,col,row,coeff));
          }
          else
-           calibData.SetADCchannelEmc(mod+1,col+1,row+1,1.); 
+           calibData.SetADCchannelEmc(mod+1,col+1,row+1,0.005); 
        }
       }
     }