PhD-Kopecna-Renata/figures/Data/MVA/CorrScript.txt
2022-01-19 11:20:31 +01:00

35 lines
1.2 KiB
Plaintext

TCanvas *c = (TCanvas*)_file0->Get("c_CorrelationB")
c->Draw()
TH1 *h = (TH1*)c->GetPrimitive("CorrelationMatrixB")
gStyle->SetPalette(kRainBow)
h->GetYaxis()->SetBinLabel(1,"max[ln(p_{T} (#gamma_{1,2}))]")
h->GetYaxis()->SetBinLabel(2,"|#eta(#pi^{0})-#eta(K^{+})|")
h->GetYaxis()->SetBinLabel(3,"p_{T}ConeAsym(B^{+})")
h->GetYaxis()->SetBinLabel(4,"ln(p_{T}(B^{+}))")
h->GetYaxis()->SetBinLabel(5,"B^{+}IP#chi^{2}")
h->GetYaxis()->SetBinLabel(6,"ln(p_{T}(K^{+}))")
h->GetYaxis()->SetBinLabel(7,"ln(1-B^{+}DIRA)")
h->GetYaxis()->SetBinLabel(8,"CL(#pi^{0})")
h->GetYaxis()->SetBinLabel(9,"min[ln(#mu^{#pm}IP#chi^{2})]")
h->GetYaxis()->SetLabelSize(0.05)
h->GetXaxis()->SetBinLabel(1,"max[ln(p_{T} (#gamma_{1,2}))]")
h->GetXaxis()->SetBinLabel(2,"|#eta(#pi^{0})-#eta(K^{+})|")
h->GetXaxis()->SetBinLabel(3,"p_{T}ConeAsym(B^{+})")
h->GetXaxis()->SetBinLabel(4,"ln(p_{T}(B^{+}))")
h->GetXaxis()->SetBinLabel(5,"B^{+}IP#chi^{2}")
h->GetXaxis()->SetBinLabel(6,"ln(p_{T}(K^{+}))")
h->GetXaxis()->SetBinLabel(7,"ln(1-B^{+}DIRA)")
h->GetXaxis()->SetBinLabel(8,"CL(#pi^{0})")
h->GetXaxis()->SetBinLabel(9,"min[ln(#mu^{#pm}IP#chi^{2})]")
h->GetZaxis()->SetLabelSize(0.04)
h->SetTitle("")
h->Draw("COLZTEXT")
c->SaveAs("CorrelationB_new.eps","eps")