{ //=========Macro generated from canvas: c1/ //========= (Mon Oct 20 18:56:05 2008) by ROOT version5.16/00 TCanvas *c1 = new TCanvas("c1", "",173,38,678,585); gStyle->SetOptFit(1); c1->Range(-0.1074962,0.3187284,1.139872,1.129189); c1->SetFillColor(0); c1->SetBorderSize(2); c1->SetGridx(); c1->SetGridy(); c1->SetTickx(); c1->SetTicky(); c1->SetFrameBorderMode(0); c1->SetFrameBorderMode(0); TGraph *graph = new TGraph(10); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); graph->SetLineColor(2); graph->SetLineStyle(2); graph->SetMarkerColor(2); graph->SetMarkerStyle(25); graph->SetPoint(0,0.927593,0.455209); graph->SetPoint(1,0.845918,0.740371); graph->SetPoint(2,0.706696,0.879024); graph->SetPoint(3,0.529677,0.942011); graph->SetPoint(4,0.375488,0.970181); graph->SetPoint(5,0.2644,0.983226); graph->SetPoint(6,0.192244,0.989592); graph->SetPoint(7,0.146966,0.992952); graph->SetPoint(8,0.117558,0.995018); graph->SetPoint(9,0.0982063,0.996452); TH1 *Graph_h1 = new TH1F("Graph_h1","Graph",100,0.01526763,1.010532); Graph_h1->SetMinimum(0.4010847); Graph_h1->SetMaximum(1.050576); Graph_h1->SetDirectory(0); Graph_h1->SetStats(0); Graph_h1->GetXaxis()->SetTitle("Signal / Background"); Graph_h1->GetXaxis()->CenterTitle(true); Graph_h1->GetYaxis()->SetTitle("Signal Efficiency"); Graph_h1->GetYaxis()->CenterTitle(true); graph->SetHistogram(Graph_h1); graph->Draw("apl"); graph = new TGraph(10); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); graph->SetLineColor(4); graph->SetLineStyle(3); graph->SetMarkerColor(4); graph->SetMarkerStyle(27); graph->SetPoint(0,0.772775,0.964507); graph->SetPoint(1,0.511106,0.987316); graph->SetPoint(2,0.306937,0.992144); graph->SetPoint(3,0.19409,0.994542); graph->SetPoint(4,0.135829,0.996153); graph->SetPoint(5,0.103655,0.997305); graph->SetPoint(6,0.084948,0.998165); graph->SetPoint(7,0.0734513,0.998717); graph->SetPoint(8,0.0659551,0.999157); graph->SetPoint(9,0.060848,0.99945); graph->Draw("pl"); graph = new TGraph(10); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); graph->SetLineStyle(3); graph->SetMarkerStyle(23); graph->SetPoint(0,0.840594,0.925047); graph->SetPoint(1,0.627896,0.977824); graph->SetPoint(2,0.40729,0.988433); graph->SetPoint(3,0.258785,0.992348); graph->SetPoint(4,0.17619,0.994603); graph->SetPoint(5,0.129064,0.996071); graph->SetPoint(6,0.101765,0.997204); graph->SetPoint(7,0.0851419,0.998022); graph->SetPoint(8,0.0743987,0.998616); graph->SetPoint(9,0.0671606,0.999051); graph->Draw("pl"); graph = new TGraph(10); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); graph->SetLineStyle(5); graph->SetMarkerStyle(22); graph->SetPoint(0,0.893914,0.805008); graph->SetPoint(1,0.756623,0.93773); graph->SetPoint(2,0.557395,0.973589); graph->SetPoint(3,0.374321,0.985644); graph->SetPoint(4,0.253138,0.99093); graph->SetPoint(5,0.17871,0.993677); graph->SetPoint(6,0.134495,0.995343); graph->SetPoint(7,0.10735,0.996534); graph->SetPoint(8,0.0900951,0.997477); graph->SetPoint(9,0.0786766,0.99821); graph->Draw("pl"); TLegend *leg = new TLegend(0.1493849,0.1911765,0.4815466,0.4852941,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextFont(72); leg->SetTextSize(0.05); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(19); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("Graph","P_{T min}^{trk} #geq 3.0 GeV","pl"); entry->SetLineColor(4); entry->SetLineStyle(3); entry->SetLineWidth(1); entry->SetMarkerColor(4); entry->SetMarkerStyle(27); entry->SetMarkerSize(1); entry=leg->AddEntry("Graph","P_{T min}^{trk} #geq 2.0 GeV","pl"); entry->SetLineColor(1); entry->SetLineStyle(3); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(23); entry->SetMarkerSize(1); entry=leg->AddEntry("Graph","P_{T min}^{trk} #geq 1.0 GeV","pl"); entry->SetLineColor(1); entry->SetLineStyle(5); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(22); entry->SetMarkerSize(1); entry=leg->AddEntry("Graph","P_{T min}^{trk} #geq 0.0 GeV","pl"); entry->SetLineColor(2); entry->SetLineStyle(2); entry->SetLineWidth(1); entry->SetMarkerColor(2); entry->SetMarkerStyle(25); entry->SetMarkerSize(1); leg->Draw(); TLatex * tex = new TLatex(0.00869099,0.335574,"(d)"); tex->SetTextColor(2); tex->SetLineWidth(2); tex->Draw(); c1->Modified(); c1->cd(); c1->SetSelected(c1); c1->ToggleToolBar(); }