]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - ZDC/PlotPedestalsvsTime.C
symmetric rms error
[u/mrichter/AliRoot.git] / ZDC / PlotPedestalsvsTime.C
index 04c7fee28c948c9c221e5848f2cd30e9aea90a43..d19a27ce7be0e8b8f1461b8e3c16dc2ab257d5c6 100644 (file)
@@ -81,7 +81,7 @@ void PlotPedestalsvsTime(Int_t year=2011, Int_t firstRun=141820,
     f->Close();
  }
 
- TFile *outfile=new TFile(Form("Calib%dVsTime.root",year),"recreate");
+ TFile *outfile=new TFile(Form("PedCalib%dVsTime.root",year),"recreate");
  outfile->cd();
  for(int i=0; i<kNchannels; i++) graph[i]->Write();
  outfile->Close();
@@ -170,6 +170,7 @@ void PlotPedestalsvsTime(Int_t year=2011, Int_t firstRun=141820,
    graph[ic+17]->Draw("P, SAME");
  }
  cHadPeds->SaveAs("ZDCPedvsTime1.gif");
+ cHadPeds->SaveAs("ZDCPedvsTime1.C");
 
  TCanvas *cothPeds = new TCanvas("cothPeds","ZEM + Ref. pedestals",800,0,600,600);
  cothPeds->Divide(2,2);
@@ -202,5 +203,6 @@ void PlotPedestalsvsTime(Int_t year=2011, Int_t firstRun=141820,
     graph[ic+22]->Draw("P, SAME");
  }
  cothPeds->SaveAs("ZDCPedvsTime2.gif");
+ cothPeds->SaveAs("ZDCPedvsTime2.C");
  
 }