- void plotThreeMuUserAnalysis(TString ss="LLLL")
- {
-
-
-
- TPaveText *pave = new TPaveText(1.8,1.8,2.7,2.7);
- pave->SetFillColor(0);
- pave->SetBorderSize(0);
- pave->AddText("TAUOLA V Chrzaszcz");
- pave->AddText("#tau^{-} -> #mu^{-} #mu^{-} #mu^{+}");
- // pave->AddText("#tau^{-} -> e^{-} #mu^{-} #mu^{+}");
-
- pave->AddText("#Gamma_{"+ss+"} Mode");
-
- gStyle->SetOptStat(0);
- TCanvas *c = new TCanvas("c","c",800,800);
- TFile *f = new TFile("mc-tester"+ss+".root");
- TH2D *hist= f->Get("USER_HISTOGRAMS/m12_m23");
- hist->Scale(1./hist->Integral());
- hist->SetTitle("");
- hist->GetXaxis()->SetTitle("m_{--}^{2} GeV^{2}");
- hist->GetYaxis()->SetTitle("m_{+-}^{2} GeV^{2}");
- hist->GetZaxis()->SetLabelOffset(0.06);
- hist->GetZaxis()->SetTitleOffset(20);
- gStyle->SetPalette(1);
- hist->Draw("COLZD");
- pave->Draw();
- gPad->Update();
-
- TPaletteAxis *palette = (TPaletteAxis*)hist->GetListOfFunctions()->FindObject("palette");
- palette->SetX2NDC(0.85);
-
- gPad->Modified();
- gPad->Update();
- c->Update();
- c->SaveAs(ss+".pdf");
-
-
-
- }