]> git.uio.no Git - u/mrichter/AliRoot.git/blobdiff - prod/acrcaf/qa_pp/plot_macros/plotLadderSigma.C
Obsolete
[u/mrichter/AliRoot.git] / prod / acrcaf / qa_pp / plot_macros / plotLadderSigma.C
diff --git a/prod/acrcaf/qa_pp/plot_macros/plotLadderSigma.C b/prod/acrcaf/qa_pp/plot_macros/plotLadderSigma.C
deleted file mode 100644 (file)
index 38cded4..0000000
+++ /dev/null
@@ -1,80 +0,0 @@
-{
-gROOT->SetStyle("Plain");
-gStyle->SetOptStat(0);
-gStyle->SetPalette(1);
-
-//open files and get lists
-TList *l;
-TFile f0("QAsym.proof.root");
-l = (TList *)f0.Get("QAsymHists");
-
-
-TH1F* fHpos[7];
-TH1F* fHneg[7];
-
-for(Int_t sector=0;sector<7;sector++){
- fHpos[sector]=  (TH1F*) l->FindObject(Form("fPtSigmaPos%d", sector));
- fHneg[sector]=  (TH1F*) l->FindObject(Form("fPtSigmaNeg%d", sector));
-} 
-
-TLegend *legp;
-legp= new TLegend(0.9,0.75,0.65,0.9);
-legp->SetFillColor(kWhite);
-
-TF1 *fun0, *fun1;
-fun0= new TF1("fun0","gaus",-5.0,5.0);
-fun1= new TF1("fun1","gaus",-5.0,5.0);
-fun0->SetLineColor(kBlack);
-fun1->SetLineColor(kRed);
-
-legp->AddEntry(fun0,"positive","l");
-legp->AddEntry(fun1,"negative","l");
-
-
-
-for(Int_t i=0; i<7;i++){
-  fHpos[i]->SetLineColor(kBlack);
-  fHpos[i]->SetLineWidth(2);
-  fHneg[i]->SetLineColor(kRed);
-  fHneg[i]->SetLineWidth(2);
-}
-      
-
-TCanvas * dca = new TCanvas("pt", "pt", 100, 100, 920, 720);
-dca->Divide(3,3);
-for(Int_t i=0; i<7;i++){
-  //fHpos[i]->Divide(fHneg[i]);
-  dca->cd(i+1);
-
-  fHpos[i]->Draw();
- //  if(i!=1){
-//     fHpos[i]->SetMaximum(fHpos[0]->GetMaximum()*2.5);
-//     fHpos[i]->SetMinimum(fHpos[0]->GetMinimum()-1);
-//   }
-  fHpos[i]->SetMaximum(1000000);
-  fHpos[i]->SetMinimum(0.1);
-  // fHpos[i]->GetXaxis()->SetRangeUser(-2.5,0.5);
-  fHpos[i]->SetTitle("");
-  fHpos[i]->SetXTitle(Form("#sigma_{p_{T}} case %2d",i));
-
-//   gPad->SetLeftMargin(0.15);
-//   gPad->SetBottomMargin(0.15);
-  fHneg[i]->Draw("same");
-  legp->Draw();
-//   fHpos[i]->SetTitleOffset(1., "X");
-//   fHpos[i]->SetTitleOffset(1., "Y");
-//   fHpos[i]->SetTitleSize(0.08, "X");
-//   fHpos[i]->SetTitleSize(0.05, "Y");
-//   fHpos[i]->SetLabelSize(0.1, "X");
-//   fHpos[i]->SetLabelSize(0.1, "Y");
-//   //fHpos[i]->GetXaxis()->SetNdivision(5);
-//   fHpos[i]->GetXaxis()->SetNdivisions(5);
-
-
-  gPad->SetLogy();
-
-}
-  
-
-
-}