]> git.uio.no Git - u/mrichter/AliRoot.git/commitdiff
fix for bug #88173
authoralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Oct 2011 13:53:36 +0000 (13:53 +0000)
committeralla <alla@f7af4fe6-9843-0410-8265-dc069ae4e863>
Mon, 31 Oct 2011 13:53:36 +0000 (13:53 +0000)
T0/AliT0QADataMakerRec.cxx

index 3d8b3b2c38f6ddceb7fbc6c0c63ce9a1039fc0de..0830147ba62bcf41b8d53cb461131a772b2b82f0 100644 (file)
@@ -166,8 +166,6 @@ void AliT0QADataMakerRec::InitRaws()
   fhRefPoint->SetLabelSize(0.02);
   Add2RawsList( fhRefPoint,0, expert, !image, !saveCorr);
 
-  TH1F* fhRefPointcal = new TH1F("hRefPointcal","Ref Point laser", 5000, 0 ,20000);
-  Add2RawsList( fhRefPointcal,250, expert, !image, !saveCorr);
 
   TH1F *fhRawCFD[24]; 
   TH1F * fhRawLEDamp[24];
@@ -597,6 +595,7 @@ void AliT0QADataMakerRec::MakeRaws( AliRawReader* rawReader)
       for (Int_t ik=0; ik<24; ik++) {
        //
        TH1* hik = (TH1*) GetRawsData(ik+1,itrID); if (!hik) continue; 
+       if ( hik -> GetEntries() < 100) continue;
        hik->GetXaxis()->SetRangeUser(2000, 3000);
        int  maxBin  =  hik->GetMaximumBin(); 
        double   meanEstimate  =  hik->GetBinCenter( maxBin);