const Double_t nFiredCells = fFiredCells->GetMean();
if(nFiredCells>100 && nFiredCells<600) {
firedOK = kTRUE;
- Log(Form("Number of fired cells per event is %d.",nFiredCells));
+ Log(Form("Number of fired cells per event is %.1f.",nFiredCells));
}
else {
- Log(Form("Number of fired cells per event is %d, possibly not a LED run!",nFiredCells));
+ Log(Form("Number of fired cells per event is %.1f, possibly not a LED run!",nFiredCells));
firedOK = kFALSE;
}
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);
}
}
gaus1->SetLineColor(kBlue);
h1->Fit(gaus1,"LERQ+");
- AliInfo(Form("%s: %d entries, mean=%.3f, peak=%.3f, rms= %.3f. HG/LG = %.3f\n",
+ AliInfo(Form("%s: %.1f entries, mean=%.3f, peak=%.3f, rms= %.3f. HG/LG = %.3f\n",
h1->GetTitle(),h1->GetEntries(),h1->GetMean(),max,h1->GetRMS(),
gaus1->GetParameter("Mean")));
const Double_t nFiredCells = fFiredCells->GetMean();
if(nFiredCells<100. || nFiredCells>600. ) {
- Log(Form("Number of fired cells per event is %d, possibly not a LED run!",nFiredCells));
+ Log(Form("Number of fired cells per event is %.1f, possibly not a LED run!",nFiredCells));
continue; // not a LED run!
}
- Log(Form("Number of fired cells per event %d. Begin check for bad channels.",nFiredCells));
+ Log(Form("Number of fired cells per event %.1f. Begin check for bad channels.",nFiredCells));
for(Int_t mod=0; mod<5; mod++) {
for(Int_t iX=0; iX<64; iX++) {
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);
}
}
}