void proj_npe_7() { //=========Macro generated from canvas: c/ //========= (Wed Jul 15 10:08:15 2015) by ROOT version6.04/00 TCanvas *c = new TCanvas("c", "",0,45,600,500); c->SetHighLightColor(2); c->Range(-2716.773,-19.2575,4381.788,173.3175); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); Double_t _fx8[40] = { -1533.68, -1080.366, -985.4475, -967.7257, -676.2766, -543.2768, 0.5077484, 1.609375, 4, 230.4228, 298.6529, 327.7793, 383.4035, 536.5637, 668.7969, 863.9145, 907.8805, 964.7188, 971.6563, 1075.914, 1097.936, 1215.826, 1275.258, 1308.524, 1328.116, 1732.736, 2102.711, 2197.457, 2255.99, 2286.444, 2371.061, 2594.067, 2630.891, 2704.654, 2727.792, 2773.388, 2784.73, 2845.592, 2924.958, 3198.695}; Double_t _fy8[40] = { 2.75, 2.65, 2.65, 2.7, 2.35, 2.45, 140.25, 2.65, 2.15, 2.55, 2.35, 2.45, 2.3, 2.5, 2.65, 4.05, 2.55, 2.5, 2.35, 2.25, 2.6, 2.7, 2.7, 2.6, 2.4, 2.35, 2.8, 2.55, 2.35, 2.8, 2.4, 2.35, 2.6, 2.6, 2.45, 2.45, 2.65, 2.55, 2.55, 2.65}; TGraph *graph = new TGraph(40,_fx8,_fy8); graph->SetName(""); graph->SetTitle("npe values of flashes in event: 7"); graph->SetFillColor(1); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); graph->SetMarkerColor(ci); graph->SetMarkerStyle(20); TH1F *Graph_Graph8 = new TH1F("Graph_Graph8","npe values of flashes in event: 7",100,-2006.917,3671.932); Graph_Graph8->SetMinimum(0); Graph_Graph8->SetMaximum(154.06); Graph_Graph8->SetDirectory(0); Graph_Graph8->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph8->SetLineColor(ci); Graph_Graph8->GetXaxis()->SetTitle("flash_t"); Graph_Graph8->GetXaxis()->SetLabelFont(42); Graph_Graph8->GetXaxis()->SetLabelSize(0.035); Graph_Graph8->GetXaxis()->SetTitleSize(0.035); Graph_Graph8->GetXaxis()->SetTitleFont(42); Graph_Graph8->GetYaxis()->SetTitle("flash_npe"); Graph_Graph8->GetYaxis()->SetLabelFont(42); Graph_Graph8->GetYaxis()->SetLabelSize(0.035); Graph_Graph8->GetYaxis()->SetTitleSize(0.035); Graph_Graph8->GetYaxis()->SetTitleFont(42); Graph_Graph8->GetZaxis()->SetLabelFont(42); Graph_Graph8->GetZaxis()->SetLabelSize(0.035); Graph_Graph8->GetZaxis()->SetTitleSize(0.035); Graph_Graph8->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph8); graph->Draw("ap"); TPaveText *pt = new TPaveText(0.1823077,0.9368947,0.8176923,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("npe values of flashes in event: 7"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }
void METopt() { //=========Macro generated from canvas: METopt/METopt //========= (Mon Nov 23 12:45:00 2015) by ROOT version6.02/05 TCanvas *METopt = new TCanvas("METopt", "METopt",140,162,700,700); METopt->Range(-0.375,-6.432596,3.375,0.05191559); METopt->SetFillColor(0); METopt->SetBorderMode(0); METopt->SetBorderSize(2); METopt->SetLogy(); METopt->SetFrameBorderMode(0); METopt->SetFrameBorderMode(0); THStack *METopt = new THStack(); METopt->SetName("METopt"); METopt->SetTitle("METopt"); TH1F *METopt_stack_8 = new TH1F("METopt_stack_8","METopt",15,0,3); METopt_stack_8->SetMinimum(1.643823e-06); METopt_stack_8->SetMaximum(0.2532004); METopt_stack_8->SetDirectory(0); METopt_stack_8->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); METopt_stack_8->SetLineColor(ci); METopt_stack_8->GetXaxis()->SetTitle("METopt"); METopt_stack_8->GetXaxis()->SetLabelFont(42); METopt_stack_8->GetXaxis()->SetLabelSize(0.035); METopt_stack_8->GetXaxis()->SetTitleSize(0.035); METopt_stack_8->GetXaxis()->SetTitleFont(42); METopt_stack_8->GetYaxis()->SetTitle("Events/pb"); METopt_stack_8->GetYaxis()->SetLabelFont(42); METopt_stack_8->GetYaxis()->SetLabelSize(0.035); METopt_stack_8->GetYaxis()->SetTitleSize(0.035); METopt_stack_8->GetYaxis()->SetTitleFont(42); METopt_stack_8->GetZaxis()->SetLabelFont(42); METopt_stack_8->GetZaxis()->SetLabelSize(0.035); METopt_stack_8->GetZaxis()->SetTitleSize(0.035); METopt_stack_8->GetZaxis()->SetTitleFont(42); METopt->SetHistogram(METopt_stack_8); TH1D *METopt36 = new TH1D("METopt36","MET/p_{T}^{lead jet}",15,0,3); METopt36->SetBinContent(1,0.00068069); METopt36->SetBinContent(2,0.00952966); METopt36->SetBinContent(3,0.06912243); METopt36->SetBinContent(4,0.01104153); METopt36->SetBinContent(5,0.01663754); METopt36->SetBinContent(6,0.02495631); METopt36->SetBinError(1,0.00068069); METopt36->SetBinError(2,0.002546909); METopt36->SetBinError(3,0.02217717); METopt36->SetBinError(4,0.00842943); METopt36->SetBinError(5,0.01176452); METopt36->SetBinError(6,0.01440853); METopt36->SetEntries(48); ci = TColor::GetColor("#00cc00"); METopt36->SetFillColor(ci); ci = TColor::GetColor("#00cc00"); METopt36->SetLineColor(ci); ci = TColor::GetColor("#00cc00"); METopt36->SetMarkerColor(ci); METopt36->SetMarkerStyle(22); METopt36->GetXaxis()->SetTitle("METopt"); METopt36->GetXaxis()->SetLabelFont(42); METopt36->GetXaxis()->SetLabelSize(0.035); METopt36->GetXaxis()->SetTitleSize(0.035); METopt36->GetXaxis()->SetTitleFont(42); METopt36->GetYaxis()->SetTitle("Events/pb"); METopt36->GetYaxis()->SetLabelFont(42); METopt36->GetYaxis()->SetLabelSize(0.035); METopt36->GetYaxis()->SetTitleSize(0.035); METopt36->GetYaxis()->SetTitleFont(42); METopt36->GetZaxis()->SetLabelFont(42); METopt36->GetZaxis()->SetLabelSize(0.035); METopt36->GetZaxis()->SetTitleSize(0.035); METopt36->GetZaxis()->SetTitleFont(42); METopt->Add(METopt,""); TH1D *METopt37 = new TH1D("METopt37","MET/p_{T}^{lead jet}",15,0,3); METopt37->SetBinContent(1,1.392893e-05); METopt37->SetBinContent(2,0.001351916); METopt37->SetBinContent(3,0.009267276); METopt37->SetBinContent(4,0.04333138); METopt37->SetBinContent(5,0.1226104); METopt37->SetBinContent(6,0.1345744); METopt37->SetBinContent(7,0.1072757); METopt37->SetBinContent(8,0.0786938); METopt37->SetBinContent(9,0.04683283); METopt37->SetBinContent(10,0.0271465); METopt37->SetBinContent(11,0.0117321); METopt37->SetBinContent(12,0.007680578); METopt37->SetBinContent(13,0.003504385); METopt37->SetBinContent(14,0.002544782); METopt37->SetBinContent(15,0.001871985); METopt37->SetBinContent(16,0.002029317); METopt37->SetBinError(1,1.392893e-05); METopt37->SetBinError(2,0.0001372687); METopt37->SetBinError(3,0.0003814526); METopt37->SetBinError(4,0.001364947); METopt37->SetBinError(5,0.003448717); METopt37->SetBinError(6,0.004099139); METopt37->SetBinError(7,0.004180275); METopt37->SetBinError(8,0.004584045); METopt37->SetBinError(9,0.003621192); METopt37->SetBinError(10,0.002726748); METopt37->SetBinError(11,0.001513075); METopt37->SetBinError(12,0.001337888); METopt37->SetBinError(13,0.001122201); METopt37->SetBinError(14,0.001068918); METopt37->SetBinError(15,0.001029262); METopt37->SetBinError(16,0.001037471); METopt37->SetEntries(12325); ci = TColor::GetColor("#00ffff"); METopt37->SetFillColor(ci); ci = TColor::GetColor("#00ffff"); METopt37->SetLineColor(ci); ci = TColor::GetColor("#00ffff"); METopt37->SetMarkerColor(ci); METopt37->SetMarkerStyle(20); METopt37->GetXaxis()->SetTitle("METopt"); METopt37->GetXaxis()->SetLabelFont(42); METopt37->GetXaxis()->SetLabelSize(0.035); METopt37->GetXaxis()->SetTitleSize(0.035); METopt37->GetXaxis()->SetTitleFont(42); METopt37->GetYaxis()->SetTitle("Events/pb"); METopt37->GetYaxis()->SetLabelFont(42); METopt37->GetYaxis()->SetLabelSize(0.035); METopt37->GetYaxis()->SetTitleSize(0.035); METopt37->GetYaxis()->SetTitleFont(42); METopt37->GetZaxis()->SetLabelFont(42); METopt37->GetZaxis()->SetLabelSize(0.035); METopt37->GetZaxis()->SetTitleSize(0.035); METopt37->GetZaxis()->SetTitleFont(42); METopt->Add(METopt,""); TH1D *METopt38 = new TH1D("METopt38","MET/p_{T}^{lead jet}",15,0,3); METopt38->SetBinContent(1,5.851509e-06); METopt38->SetBinContent(2,0.0002960863); METopt38->SetBinContent(3,0.002055587); METopt38->SetBinContent(4,0.009485694); METopt38->SetBinContent(5,0.02637833); METopt38->SetBinContent(6,0.03542185); METopt38->SetBinContent(7,0.02902985); METopt38->SetBinContent(8,0.01931192); METopt38->SetBinContent(9,0.01045294); METopt38->SetBinContent(10,0.006260894); METopt38->SetBinContent(11,0.004006631); METopt38->SetBinContent(12,0.001811275); METopt38->SetBinContent(13,0.001055017); METopt38->SetBinContent(14,0.0003970447); METopt38->SetBinContent(15,0.0002648587); METopt38->SetBinContent(16,0.0002425362); METopt38->SetBinError(1,2.616874e-06); METopt38->SetBinError(2,1.861479e-05); METopt38->SetBinError(3,5.431574e-05); METopt38->SetBinError(4,0.0002770452); METopt38->SetBinError(5,0.000680549); METopt38->SetBinError(6,0.0009013724); METopt38->SetBinError(7,0.0009115706); METopt38->SetBinError(8,0.0007784417); METopt38->SetBinError(9,0.0005631055); METopt38->SetBinError(10,0.000447395); METopt38->SetBinError(11,0.0003988073); METopt38->SetBinError(12,0.0002844883); METopt38->SetBinError(13,0.0002045993); METopt38->SetBinError(14,0.0001303943); METopt38->SetBinError(15,8.467851e-05); METopt38->SetBinError(16,0.0001139839); METopt38->SetEntries(19290); ci = TColor::GetColor("#ffcc00"); METopt38->SetFillColor(ci); ci = TColor::GetColor("#ffcc00"); METopt38->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); METopt38->SetMarkerColor(ci); METopt38->SetMarkerStyle(21); METopt38->GetXaxis()->SetTitle("METopt"); METopt38->GetXaxis()->SetLabelFont(42); METopt38->GetXaxis()->SetLabelSize(0.035); METopt38->GetXaxis()->SetTitleSize(0.035); METopt38->GetXaxis()->SetTitleFont(42); METopt38->GetYaxis()->SetTitle("Events/pb"); METopt38->GetYaxis()->SetLabelFont(42); METopt38->GetYaxis()->SetLabelSize(0.035); METopt38->GetYaxis()->SetTitleSize(0.035); METopt38->GetYaxis()->SetTitleFont(42); METopt38->GetZaxis()->SetLabelFont(42); METopt38->GetZaxis()->SetLabelSize(0.035); METopt38->GetZaxis()->SetTitleSize(0.035); METopt38->GetZaxis()->SetTitleFont(42); METopt->Add(METopt,""); TH1D *METopt39 = new TH1D("METopt39","MET/p_{T}^{lead jet}",15,0,3); METopt39->SetBinContent(2,1.542458e-05); METopt39->SetBinContent(3,9.254746e-05); METopt39->SetBinContent(4,0.0009717483); METopt39->SetBinContent(5,0.003146613); METopt39->SetBinContent(6,0.003840719); METopt39->SetBinContent(7,0.002637602); METopt39->SetBinContent(8,0.001758402); METopt39->SetBinContent(9,0.001326514); METopt39->SetBinContent(10,0.0007866534); METopt39->SetBinContent(11,0.0004781619); METopt39->SetBinContent(12,0.0003084915); METopt39->SetBinContent(13,0.0002159441); METopt39->SetBinContent(14,0.0001233966); METopt39->SetBinContent(15,0.0001233966); METopt39->SetBinContent(16,0.000107972); METopt39->SetBinError(2,1.542458e-05); METopt39->SetBinError(3,3.778234e-05); METopt39->SetBinError(4,0.0001224288); METopt39->SetBinError(5,0.000220307); METopt39->SetBinError(6,0.0002433957); METopt39->SetBinError(7,0.0002017025); METopt39->SetBinError(8,0.0001646894); METopt39->SetBinError(9,0.0001430416); METopt39->SetBinError(10,0.0001101535); METopt39->SetBinError(11,8.58804e-05); METopt39->SetBinError(12,6.89808e-05); METopt39->SetBinError(13,5.771348e-05); METopt39->SetBinError(14,4.362729e-05); METopt39->SetBinError(15,4.362729e-05); METopt39->SetBinError(16,4.080959e-05); METopt39->SetEntries(1033); ci = TColor::GetColor("#ff0000"); METopt39->SetFillColor(ci); ci = TColor::GetColor("#ff0000"); METopt39->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); METopt39->SetMarkerColor(ci); METopt39->SetMarkerStyle(20); METopt39->GetXaxis()->SetTitle("METopt"); METopt39->GetXaxis()->SetLabelFont(42); METopt39->GetXaxis()->SetLabelSize(0.035); METopt39->GetXaxis()->SetTitleSize(0.035); METopt39->GetXaxis()->SetTitleFont(42); METopt39->GetYaxis()->SetTitle("Events/pb"); METopt39->GetYaxis()->SetLabelFont(42); METopt39->GetYaxis()->SetLabelSize(0.035); METopt39->GetYaxis()->SetTitleSize(0.035); METopt39->GetYaxis()->SetTitleFont(42); METopt39->GetZaxis()->SetLabelFont(42); METopt39->GetZaxis()->SetLabelSize(0.035); METopt39->GetZaxis()->SetTitleSize(0.035); METopt39->GetZaxis()->SetTitleFont(42); METopt->Add(METopt,""); TH1D *METopt40 = new TH1D("METopt40","MET/p_{T}^{lead jet}",15,0,3); METopt40->SetBinContent(4,1.677165e-05); METopt40->SetBinError(4,1.677165e-05); METopt40->SetEntries(1); ci = TColor::GetColor("#0000ff"); METopt40->SetFillColor(ci); ci = TColor::GetColor("#0000ff"); METopt40->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); METopt40->SetMarkerColor(ci); METopt40->SetMarkerStyle(21); METopt40->GetXaxis()->SetTitle("METopt"); METopt40->GetXaxis()->SetLabelFont(42); METopt40->GetXaxis()->SetLabelSize(0.035); METopt40->GetXaxis()->SetTitleSize(0.035); METopt40->GetXaxis()->SetTitleFont(42); METopt40->GetYaxis()->SetTitle("Events/pb"); METopt40->GetYaxis()->SetLabelFont(42); METopt40->GetYaxis()->SetLabelSize(0.035); METopt40->GetYaxis()->SetTitleSize(0.035); METopt40->GetYaxis()->SetTitleFont(42); METopt40->GetZaxis()->SetLabelFont(42); METopt40->GetZaxis()->SetLabelSize(0.035); METopt40->GetZaxis()->SetTitleSize(0.035); METopt40->GetZaxis()->SetTitleFont(42); METopt->Add(METopt,""); METopt->Draw("nostack"); TPaveText *pt = new TPaveText(0.398046,0.9342857,0.601954,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("METopt"); pt->Draw(); TLegend *leg = new TLegend(0.54023,0.639881,0.938218,0.924107,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextSize(0.034965); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("METopt","METopt_QCD","lp"); ci = TColor::GetColor("#00cc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00cc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(22); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METopt","METopt_WJetsToLNu","lp"); ci = TColor::GetColor("#00ffff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00ffff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METopt","METopt_ZJetsToNuNu","lp"); ci = TColor::GetColor("#ffcc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ffcc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METopt","METopt_signal","lp"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METopt","METopt_ttbar","lp"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); METopt->Modified(); METopt->cd(); METopt->SetSelected(METopt); }
void DarkSusy_mH_125_mGammaD_2000_cT_1000_LHE_Higgs_m() { //=========Macro generated from canvas: cnv/cnv //========= (Sun May 24 15:18:55 2015) by ROOT version6.02/05 TCanvas *cnv = new TCanvas("cnv", "cnv",1,1,904,904); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); cnv->SetHighLightColor(2); cnv->Range(1.784236,-0.24375,2.499296,1.63125); cnv->SetFillColor(0); cnv->SetBorderMode(0); cnv->SetBorderSize(2); cnv->SetLogx(); cnv->SetTickx(1); cnv->SetTicky(1); cnv->SetLeftMargin(0.17); cnv->SetRightMargin(0.03); cnv->SetTopMargin(0.07); cnv->SetBottomMargin(0.13); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); TH1F *h_higgs_M_dummy9 = new TH1F("h_higgs_M_dummy9","h_higgs_M_dummy",220,80.5,300.5); h_higgs_M_dummy9->SetMaximum(1.5); h_higgs_M_dummy9->SetLineStyle(0); h_higgs_M_dummy9->SetMarkerStyle(20); h_higgs_M_dummy9->GetXaxis()->SetTitle("Mass of h [GeV]"); h_higgs_M_dummy9->GetXaxis()->SetMoreLogLabels(); h_higgs_M_dummy9->GetXaxis()->SetNdivisions(10); h_higgs_M_dummy9->GetXaxis()->SetLabelFont(42); h_higgs_M_dummy9->GetXaxis()->SetLabelOffset(0.007); h_higgs_M_dummy9->GetXaxis()->SetLabelSize(0.03); h_higgs_M_dummy9->GetXaxis()->SetTitleSize(0.06); h_higgs_M_dummy9->GetXaxis()->SetTitleOffset(0.95); h_higgs_M_dummy9->GetXaxis()->SetTitleFont(42); h_higgs_M_dummy9->GetYaxis()->SetTitle("Fraction of events / 1 GeV"); h_higgs_M_dummy9->GetYaxis()->SetLabelFont(42); h_higgs_M_dummy9->GetYaxis()->SetLabelOffset(0.007); h_higgs_M_dummy9->GetYaxis()->SetTitleSize(0.06); h_higgs_M_dummy9->GetYaxis()->SetTitleOffset(1.35); h_higgs_M_dummy9->GetYaxis()->SetTitleFont(42); h_higgs_M_dummy9->GetZaxis()->SetLabelFont(42); h_higgs_M_dummy9->GetZaxis()->SetLabelOffset(0.007); h_higgs_M_dummy9->GetZaxis()->SetTitleSize(0.06); h_higgs_M_dummy9->GetZaxis()->SetTitleFont(42); h_higgs_M_dummy9->Draw(""); TH1F *h_higgs_M_dummy10 = new TH1F("h_higgs_M_dummy10","h_higgs_M_dummy",220,80.5,300.5); h_higgs_M_dummy10->SetMaximum(1.5); h_higgs_M_dummy10->SetLineStyle(0); h_higgs_M_dummy10->SetMarkerStyle(20); h_higgs_M_dummy10->GetXaxis()->SetTitle("Mass of h [GeV]"); h_higgs_M_dummy10->GetXaxis()->SetMoreLogLabels(); h_higgs_M_dummy10->GetXaxis()->SetNdivisions(10); h_higgs_M_dummy10->GetXaxis()->SetLabelFont(42); h_higgs_M_dummy10->GetXaxis()->SetLabelOffset(0.007); h_higgs_M_dummy10->GetXaxis()->SetLabelSize(0.03); h_higgs_M_dummy10->GetXaxis()->SetTitleSize(0.06); h_higgs_M_dummy10->GetXaxis()->SetTitleOffset(0.95); h_higgs_M_dummy10->GetXaxis()->SetTitleFont(42); h_higgs_M_dummy10->GetYaxis()->SetTitle("Fraction of events / 1 GeV"); h_higgs_M_dummy10->GetYaxis()->SetLabelFont(42); h_higgs_M_dummy10->GetYaxis()->SetLabelOffset(0.007); h_higgs_M_dummy10->GetYaxis()->SetTitleSize(0.06); h_higgs_M_dummy10->GetYaxis()->SetTitleOffset(1.35); h_higgs_M_dummy10->GetYaxis()->SetTitleFont(42); h_higgs_M_dummy10->GetZaxis()->SetLabelFont(42); h_higgs_M_dummy10->GetZaxis()->SetLabelOffset(0.007); h_higgs_M_dummy10->GetZaxis()->SetTitleSize(0.06); h_higgs_M_dummy10->GetZaxis()->SetTitleFont(42); h_higgs_M_dummy10->Draw("same"); TH1F *h_higgs_M11 = new TH1F("h_higgs_M11","h_higgs_M",10,120.5,130.5); h_higgs_M11->SetBinContent(5,1); h_higgs_M11->SetBinError(5,0.003535556); h_higgs_M11->SetEntries(79999); h_higgs_M11->SetDirectory(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); h_higgs_M11->SetLineColor(ci); h_higgs_M11->SetLineWidth(2); h_higgs_M11->SetMarkerStyle(20); h_higgs_M11->GetXaxis()->SetLabelFont(42); h_higgs_M11->GetXaxis()->SetLabelOffset(0.007); h_higgs_M11->GetXaxis()->SetTitleSize(0.06); h_higgs_M11->GetXaxis()->SetTitleOffset(0.95); h_higgs_M11->GetXaxis()->SetTitleFont(42); h_higgs_M11->GetYaxis()->SetLabelFont(42); h_higgs_M11->GetYaxis()->SetLabelOffset(0.007); h_higgs_M11->GetYaxis()->SetTitleSize(0.06); h_higgs_M11->GetYaxis()->SetTitleOffset(1.3); h_higgs_M11->GetYaxis()->SetTitleFont(42); h_higgs_M11->GetZaxis()->SetLabelFont(42); h_higgs_M11->GetZaxis()->SetLabelOffset(0.007); h_higgs_M11->GetZaxis()->SetTitleSize(0.06); h_higgs_M11->GetZaxis()->SetTitleFont(42); h_higgs_M11->Draw("SAMEHIST"); TH1F *h_higgs_M12 = new TH1F("h_higgs_M12","h_higgs_M",10,120.5,130.5); h_higgs_M12->SetBinContent(5,1); h_higgs_M12->SetBinError(5,0.003535556); h_higgs_M12->SetEntries(79999); h_higgs_M12->SetDirectory(0); ci = TColor::GetColor("#0000ff"); h_higgs_M12->SetLineColor(ci); h_higgs_M12->SetLineWidth(2); h_higgs_M12->SetMarkerStyle(20); h_higgs_M12->GetXaxis()->SetMoreLogLabels(); h_higgs_M12->GetXaxis()->SetLabelFont(42); h_higgs_M12->GetXaxis()->SetLabelOffset(0.007); h_higgs_M12->GetXaxis()->SetTitleSize(0.06); h_higgs_M12->GetXaxis()->SetTitleOffset(0.95); h_higgs_M12->GetXaxis()->SetTitleFont(42); h_higgs_M12->GetYaxis()->SetLabelFont(42); h_higgs_M12->GetYaxis()->SetLabelOffset(0.007); h_higgs_M12->GetYaxis()->SetTitleSize(0.06); h_higgs_M12->GetYaxis()->SetTitleOffset(1.3); h_higgs_M12->GetYaxis()->SetTitleFont(42); h_higgs_M12->GetZaxis()->SetLabelFont(42); h_higgs_M12->GetZaxis()->SetLabelOffset(0.007); h_higgs_M12->GetZaxis()->SetTitleSize(0.06); h_higgs_M12->GetZaxis()->SetTitleFont(42); h_higgs_M12->Draw("SAMEHIST"); TLegend *leg = new TLegend(0.4566667,0.82,0.7822222,0.9066667,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("NULL","#splitline{pp #rightarrow h #rightarrow 2n_{1} #rightarrow 2n_{D} + 2 #gamma_{D} #rightarrow 2n_{D} + 4#mu}{#splitline{m_{h} = 125 GeV, m_{n_{1}} = 50 GeV, m_{n_{D}} = 1 GeV}{m_{#gamma_{D}} = 20 GeV, c#tau_{#gamma_{D}} = 1000 mm}}","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","CMS Simulation (LHE) 14 TeV","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TH1F *h_higgs_M_dummy13 = new TH1F("h_higgs_M_dummy13","h_higgs_M_dummy",220,80.5,300.5); h_higgs_M_dummy13->SetMaximum(1.5); h_higgs_M_dummy13->SetLineStyle(0); h_higgs_M_dummy13->SetMarkerStyle(20); h_higgs_M_dummy13->GetXaxis()->SetTitle("Mass of h [GeV]"); h_higgs_M_dummy13->GetXaxis()->SetMoreLogLabels(); h_higgs_M_dummy13->GetXaxis()->SetNdivisions(10); h_higgs_M_dummy13->GetXaxis()->SetLabelFont(42); h_higgs_M_dummy13->GetXaxis()->SetLabelOffset(0.007); h_higgs_M_dummy13->GetXaxis()->SetLabelSize(0.03); h_higgs_M_dummy13->GetXaxis()->SetTitleSize(0.06); h_higgs_M_dummy13->GetXaxis()->SetTitleOffset(0.95); h_higgs_M_dummy13->GetXaxis()->SetTitleFont(42); h_higgs_M_dummy13->GetYaxis()->SetTitle("Fraction of events / 1 GeV"); h_higgs_M_dummy13->GetYaxis()->SetLabelFont(42); h_higgs_M_dummy13->GetYaxis()->SetLabelOffset(0.007); h_higgs_M_dummy13->GetYaxis()->SetTitleSize(0.06); h_higgs_M_dummy13->GetYaxis()->SetTitleOffset(1.35); h_higgs_M_dummy13->GetYaxis()->SetTitleFont(42); h_higgs_M_dummy13->GetZaxis()->SetLabelFont(42); h_higgs_M_dummy13->GetZaxis()->SetLabelOffset(0.007); h_higgs_M_dummy13->GetZaxis()->SetTitleSize(0.06); h_higgs_M_dummy13->GetZaxis()->SetTitleFont(42); h_higgs_M_dummy13->Draw("same"); TH1F *h_higgs_M14 = new TH1F("h_higgs_M14","h_higgs_M",10,120.5,130.5); h_higgs_M14->SetBinContent(5,1); h_higgs_M14->SetBinError(5,0.003535556); h_higgs_M14->SetEntries(79999); h_higgs_M14->SetDirectory(0); ci = TColor::GetColor("#0000ff"); h_higgs_M14->SetLineColor(ci); h_higgs_M14->SetLineWidth(2); h_higgs_M14->SetMarkerStyle(20); h_higgs_M14->GetXaxis()->SetMoreLogLabels(); h_higgs_M14->GetXaxis()->SetLabelFont(42); h_higgs_M14->GetXaxis()->SetLabelOffset(0.007); h_higgs_M14->GetXaxis()->SetTitleSize(0.06); h_higgs_M14->GetXaxis()->SetTitleOffset(0.95); h_higgs_M14->GetXaxis()->SetTitleFont(42); h_higgs_M14->GetYaxis()->SetLabelFont(42); h_higgs_M14->GetYaxis()->SetLabelOffset(0.007); h_higgs_M14->GetYaxis()->SetTitleSize(0.06); h_higgs_M14->GetYaxis()->SetTitleOffset(1.3); h_higgs_M14->GetYaxis()->SetTitleFont(42); h_higgs_M14->GetZaxis()->SetLabelFont(42); h_higgs_M14->GetZaxis()->SetLabelOffset(0.007); h_higgs_M14->GetZaxis()->SetTitleSize(0.06); h_higgs_M14->GetZaxis()->SetTitleFont(42); h_higgs_M14->Draw("SAMEHIST"); cnv->Modified(); cnv->cd(); cnv->SetSelected(cnv); }
void METJets() { //=========Macro generated from canvas: METJets/METJets //========= (Mon Nov 23 12:44:57 2015) by ROOT version6.02/05 TCanvas *METJets = new TCanvas("METJets", "METJets",100,122,700,700); METJets->Range(-1.875,-6.017385,16.875,0.5057179); METJets->SetFillColor(0); METJets->SetBorderMode(0); METJets->SetBorderSize(2); METJets->SetLogy(); METJets->SetFrameBorderMode(0); METJets->SetFrameBorderMode(0); THStack *METJets = new THStack(); METJets->SetName("METJets"); METJets->SetTitle("METJets"); TH1F *METJets_stack_6 = new TH1F("METJets_stack_6","METJets",15,0,15); METJets_stack_6->SetMinimum(4.314451e-06); METJets_stack_6->SetMaximum(0.7135223); METJets_stack_6->SetDirectory(0); METJets_stack_6->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); METJets_stack_6->SetLineColor(ci); METJets_stack_6->GetXaxis()->SetTitle("METJets"); METJets_stack_6->GetXaxis()->SetLabelFont(42); METJets_stack_6->GetXaxis()->SetLabelSize(0.035); METJets_stack_6->GetXaxis()->SetTitleSize(0.035); METJets_stack_6->GetXaxis()->SetTitleFont(42); METJets_stack_6->GetYaxis()->SetTitle("Events/pb"); METJets_stack_6->GetYaxis()->SetLabelFont(42); METJets_stack_6->GetYaxis()->SetLabelSize(0.035); METJets_stack_6->GetYaxis()->SetTitleSize(0.035); METJets_stack_6->GetYaxis()->SetTitleFont(42); METJets_stack_6->GetZaxis()->SetLabelFont(42); METJets_stack_6->GetZaxis()->SetLabelSize(0.035); METJets_stack_6->GetZaxis()->SetTitleSize(0.035); METJets_stack_6->GetZaxis()->SetTitleFont(42); METJets->SetHistogram(METJets_stack_6); TH1D *METJets26 = new TH1D("METJets26"," Number of jets in MET hemisphere",15,0,15); METJets26->SetBinContent(2,0.04212405); METJets26->SetBinContent(3,0.07948327); METJets26->SetBinContent(4,0.01036084); METJets26->SetBinError(2,0.01681759); METJets26->SetBinError(3,0.02371537); METJets26->SetBinError(4,0.008401902); METJets26->SetEntries(48); ci = TColor::GetColor("#00cc00"); METJets26->SetFillColor(ci); ci = TColor::GetColor("#00cc00"); METJets26->SetLineColor(ci); ci = TColor::GetColor("#00cc00"); METJets26->SetMarkerColor(ci); METJets26->SetMarkerStyle(22); METJets26->GetXaxis()->SetTitle("METJets"); METJets26->GetXaxis()->SetLabelFont(42); METJets26->GetXaxis()->SetLabelSize(0.035); METJets26->GetXaxis()->SetTitleSize(0.035); METJets26->GetXaxis()->SetTitleFont(42); METJets26->GetYaxis()->SetTitle("Events/pb"); METJets26->GetYaxis()->SetLabelFont(42); METJets26->GetYaxis()->SetLabelSize(0.035); METJets26->GetYaxis()->SetTitleSize(0.035); METJets26->GetYaxis()->SetTitleFont(42); METJets26->GetZaxis()->SetLabelFont(42); METJets26->GetZaxis()->SetLabelSize(0.035); METJets26->GetZaxis()->SetTitleSize(0.035); METJets26->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets27 = new TH1D("METJets27"," Number of jets in MET hemisphere",15,0,15); METJets27->SetBinContent(1,0.03065968); METJets27->SetBinContent(2,0.3781184); METJets27->SetBinContent(3,0.170029); METJets27->SetBinContent(4,0.01983644); METJets27->SetBinContent(5,0.001731819); METJets27->SetBinContent(6,8.600525e-05); METJets27->SetBinError(1,0.00294369); METJets27->SetBinError(2,0.007985565); METJets27->SetBinError(3,0.00484409); METJets27->SetBinError(4,0.001537283); METJets27->SetBinError(5,0.00033659); METJets27->SetBinError(6,3.512553e-05); METJets27->SetEntries(12325); ci = TColor::GetColor("#00ffff"); METJets27->SetFillColor(ci); ci = TColor::GetColor("#00ffff"); METJets27->SetLineColor(ci); ci = TColor::GetColor("#00ffff"); METJets27->SetMarkerColor(ci); METJets27->SetMarkerStyle(20); METJets27->GetXaxis()->SetTitle("METJets"); METJets27->GetXaxis()->SetLabelFont(42); METJets27->GetXaxis()->SetLabelSize(0.035); METJets27->GetXaxis()->SetTitleSize(0.035); METJets27->GetXaxis()->SetTitleFont(42); METJets27->GetYaxis()->SetTitle("Events/pb"); METJets27->GetYaxis()->SetLabelFont(42); METJets27->GetYaxis()->SetLabelSize(0.035); METJets27->GetYaxis()->SetTitleSize(0.035); METJets27->GetYaxis()->SetTitleFont(42); METJets27->GetZaxis()->SetLabelFont(42); METJets27->GetZaxis()->SetLabelSize(0.035); METJets27->GetZaxis()->SetTitleSize(0.035); METJets27->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets28 = new TH1D("METJets28"," Number of jets in MET hemisphere",15,0,15); METJets28->SetBinContent(1,0.006934464); METJets28->SetBinContent(2,0.09758253); METJets28->SetBinContent(3,0.03751483); METJets28->SetBinContent(4,0.004169631); METJets28->SetBinContent(5,0.0002374636); METJets28->SetBinContent(6,3.744021e-05); METJets28->SetBinError(1,0.0004695246); METJets28->SetBinError(2,0.001593906); METJets28->SetBinError(3,0.000898225); METJets28->SetBinError(4,0.0002412372); METJets28->SetBinError(5,4.540663e-05); METJets28->SetBinError(6,2.848295e-05); METJets28->SetEntries(19290); ci = TColor::GetColor("#ffcc00"); METJets28->SetFillColor(ci); ci = TColor::GetColor("#ffcc00"); METJets28->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); METJets28->SetMarkerColor(ci); METJets28->SetMarkerStyle(21); METJets28->GetXaxis()->SetTitle("METJets"); METJets28->GetXaxis()->SetLabelFont(42); METJets28->GetXaxis()->SetLabelSize(0.035); METJets28->GetXaxis()->SetTitleSize(0.035); METJets28->GetXaxis()->SetTitleFont(42); METJets28->GetYaxis()->SetTitle("Events/pb"); METJets28->GetYaxis()->SetLabelFont(42); METJets28->GetYaxis()->SetLabelSize(0.035); METJets28->GetYaxis()->SetTitleSize(0.035); METJets28->GetYaxis()->SetTitleFont(42); METJets28->GetZaxis()->SetLabelFont(42); METJets28->GetZaxis()->SetLabelSize(0.035); METJets28->GetZaxis()->SetTitleSize(0.035); METJets28->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets29 = new TH1D("METJets29"," Number of jets in MET hemisphere",15,0,15); METJets29->SetBinContent(1,0.0008483517); METJets29->SetBinContent(2,0.008946254); METJets29->SetBinContent(3,0.00525978); METJets29->SetBinContent(4,0.0007866534); METJets29->SetBinContent(5,7.712288e-05); METJets29->SetBinContent(6,1.542458e-05); METJets29->SetBinError(1,0.0001143917); METJets29->SetBinError(2,0.000371473); METJets29->SetBinError(3,0.0002848331); METJets29->SetBinError(4,0.0001101535); METJets29->SetBinError(5,3.44904e-05); METJets29->SetBinError(6,1.542458e-05); METJets29->SetEntries(1033); ci = TColor::GetColor("#ff0000"); METJets29->SetFillColor(ci); ci = TColor::GetColor("#ff0000"); METJets29->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); METJets29->SetMarkerColor(ci); METJets29->SetMarkerStyle(20); METJets29->GetXaxis()->SetTitle("METJets"); METJets29->GetXaxis()->SetLabelFont(42); METJets29->GetXaxis()->SetLabelSize(0.035); METJets29->GetXaxis()->SetTitleSize(0.035); METJets29->GetXaxis()->SetTitleFont(42); METJets29->GetYaxis()->SetTitle("Events/pb"); METJets29->GetYaxis()->SetLabelFont(42); METJets29->GetYaxis()->SetLabelSize(0.035); METJets29->GetYaxis()->SetTitleSize(0.035); METJets29->GetYaxis()->SetTitleFont(42); METJets29->GetZaxis()->SetLabelFont(42); METJets29->GetZaxis()->SetLabelSize(0.035); METJets29->GetZaxis()->SetTitleSize(0.035); METJets29->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets30 = new TH1D("METJets30"," Number of jets in MET hemisphere",15,0,15); METJets30->SetBinContent(3,1.677165e-05); METJets30->SetBinError(3,1.677165e-05); METJets30->SetEntries(1); ci = TColor::GetColor("#0000ff"); METJets30->SetFillColor(ci); ci = TColor::GetColor("#0000ff"); METJets30->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); METJets30->SetMarkerColor(ci); METJets30->SetMarkerStyle(21); METJets30->GetXaxis()->SetTitle("METJets"); METJets30->GetXaxis()->SetLabelFont(42); METJets30->GetXaxis()->SetLabelSize(0.035); METJets30->GetXaxis()->SetTitleSize(0.035); METJets30->GetXaxis()->SetTitleFont(42); METJets30->GetYaxis()->SetTitle("Events/pb"); METJets30->GetYaxis()->SetLabelFont(42); METJets30->GetYaxis()->SetLabelSize(0.035); METJets30->GetYaxis()->SetTitleSize(0.035); METJets30->GetYaxis()->SetTitleFont(42); METJets30->GetZaxis()->SetLabelFont(42); METJets30->GetZaxis()->SetLabelSize(0.035); METJets30->GetZaxis()->SetTitleSize(0.035); METJets30->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); METJets->Draw("nostack"); TPaveText *pt = new TPaveText(0.3872701,0.94,0.6127299,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("METJets"); pt->Draw(); TLegend *leg = new TLegend(0.54023,0.639881,0.938218,0.924107,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextSize(0.034965); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("METJets","METJets_QCD","lp"); ci = TColor::GetColor("#00cc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00cc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(22); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_WJetsToLNu","lp"); ci = TColor::GetColor("#00ffff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00ffff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_ZJetsToNuNu","lp"); ci = TColor::GetColor("#ffcc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ffcc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_signal","lp"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_ttbar","lp"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); METJets->Modified(); METJets->cd(); METJets->SetSelected(METJets); }
void DarkSusy_mH_125_mGammaD_2000_cT_0_LHE_gammaD_Sorted_cT_Z_lab() { //=========Macro generated from canvas: cnv/cnv //========= (Sun May 24 15:19:45 2015) by ROOT version6.02/05 TCanvas *cnv = new TCanvas("cnv", "cnv",1,1,904,904); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); cnv->SetHighLightColor(2); cnv->Range(-2.125,-0.2925,10.375,1.9575); cnv->SetFillColor(0); cnv->SetBorderMode(0); cnv->SetBorderSize(2); cnv->SetTickx(1); cnv->SetTicky(1); cnv->SetLeftMargin(0.17); cnv->SetRightMargin(0.03); cnv->SetTopMargin(0.07); cnv->SetBottomMargin(0.13); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); TH1F *h_gammaD_1_cT_Z_lab_dummy68 = new TH1F("h_gammaD_1_cT_Z_lab_dummy68","h_gammaD_1_cT_Z_lab_dummy",10,0,10); h_gammaD_1_cT_Z_lab_dummy68->SetMaximum(1.8); h_gammaD_1_cT_Z_lab_dummy68->SetLineStyle(0); h_gammaD_1_cT_Z_lab_dummy68->SetMarkerStyle(20); h_gammaD_1_cT_Z_lab_dummy68->GetXaxis()->SetTitle("L_{Z} of #gamma_{D} [mm]"); h_gammaD_1_cT_Z_lab_dummy68->GetXaxis()->SetLabelFont(42); h_gammaD_1_cT_Z_lab_dummy68->GetXaxis()->SetLabelOffset(0.007); h_gammaD_1_cT_Z_lab_dummy68->GetXaxis()->SetTitleSize(0.06); h_gammaD_1_cT_Z_lab_dummy68->GetXaxis()->SetTitleOffset(0.95); h_gammaD_1_cT_Z_lab_dummy68->GetXaxis()->SetTitleFont(42); h_gammaD_1_cT_Z_lab_dummy68->GetYaxis()->SetTitle("Normalized Fraction of events / 1 mm"); h_gammaD_1_cT_Z_lab_dummy68->GetYaxis()->SetLabelFont(42); h_gammaD_1_cT_Z_lab_dummy68->GetYaxis()->SetLabelOffset(0.007); h_gammaD_1_cT_Z_lab_dummy68->GetYaxis()->SetTitleSize(0.05); h_gammaD_1_cT_Z_lab_dummy68->GetYaxis()->SetTitleOffset(1.3); h_gammaD_1_cT_Z_lab_dummy68->GetYaxis()->SetTitleFont(42); h_gammaD_1_cT_Z_lab_dummy68->GetZaxis()->SetLabelFont(42); h_gammaD_1_cT_Z_lab_dummy68->GetZaxis()->SetLabelOffset(0.007); h_gammaD_1_cT_Z_lab_dummy68->GetZaxis()->SetTitleSize(0.06); h_gammaD_1_cT_Z_lab_dummy68->GetZaxis()->SetTitleFont(42); h_gammaD_1_cT_Z_lab_dummy68->Draw(""); TH1F *h_gammaD_1_cT_Z_lab69 = new TH1F("h_gammaD_1_cT_Z_lab69","h_gammaD_1_cT_Z_lab",10,0,10); h_gammaD_1_cT_Z_lab69->SetBinContent(1,1); h_gammaD_1_cT_Z_lab69->SetEntries(79999); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); h_gammaD_1_cT_Z_lab69->SetLineColor(ci); h_gammaD_1_cT_Z_lab69->SetLineWidth(2); h_gammaD_1_cT_Z_lab69->SetMarkerStyle(20); h_gammaD_1_cT_Z_lab69->GetXaxis()->SetLabelFont(42); h_gammaD_1_cT_Z_lab69->GetXaxis()->SetLabelOffset(0.007); h_gammaD_1_cT_Z_lab69->GetXaxis()->SetTitleSize(0.06); h_gammaD_1_cT_Z_lab69->GetXaxis()->SetTitleOffset(0.95); h_gammaD_1_cT_Z_lab69->GetXaxis()->SetTitleFont(42); h_gammaD_1_cT_Z_lab69->GetYaxis()->SetLabelFont(42); h_gammaD_1_cT_Z_lab69->GetYaxis()->SetLabelOffset(0.007); h_gammaD_1_cT_Z_lab69->GetYaxis()->SetTitleSize(0.06); h_gammaD_1_cT_Z_lab69->GetYaxis()->SetTitleOffset(1.3); h_gammaD_1_cT_Z_lab69->GetYaxis()->SetTitleFont(42); h_gammaD_1_cT_Z_lab69->GetZaxis()->SetLabelFont(42); h_gammaD_1_cT_Z_lab69->GetZaxis()->SetLabelOffset(0.007); h_gammaD_1_cT_Z_lab69->GetZaxis()->SetTitleSize(0.06); h_gammaD_1_cT_Z_lab69->GetZaxis()->SetTitleFont(42); h_gammaD_1_cT_Z_lab69->Draw("same"); TH1F *h_gammaD_2_cT_Z_lab70 = new TH1F("h_gammaD_2_cT_Z_lab70","h_gammaD_2_cT_Z_lab",10,0,10); h_gammaD_2_cT_Z_lab70->SetBinContent(1,1); h_gammaD_2_cT_Z_lab70->SetEntries(79999); ci = TColor::GetColor("#ff0000"); h_gammaD_2_cT_Z_lab70->SetLineColor(ci); h_gammaD_2_cT_Z_lab70->SetLineWidth(2); h_gammaD_2_cT_Z_lab70->SetMarkerStyle(20); h_gammaD_2_cT_Z_lab70->GetXaxis()->SetLabelFont(42); h_gammaD_2_cT_Z_lab70->GetXaxis()->SetLabelOffset(0.007); h_gammaD_2_cT_Z_lab70->GetXaxis()->SetTitleSize(0.06); h_gammaD_2_cT_Z_lab70->GetXaxis()->SetTitleOffset(0.95); h_gammaD_2_cT_Z_lab70->GetXaxis()->SetTitleFont(42); h_gammaD_2_cT_Z_lab70->GetYaxis()->SetLabelFont(42); h_gammaD_2_cT_Z_lab70->GetYaxis()->SetLabelOffset(0.007); h_gammaD_2_cT_Z_lab70->GetYaxis()->SetTitleSize(0.06); h_gammaD_2_cT_Z_lab70->GetYaxis()->SetTitleOffset(1.3); h_gammaD_2_cT_Z_lab70->GetYaxis()->SetTitleFont(42); h_gammaD_2_cT_Z_lab70->GetZaxis()->SetLabelFont(42); h_gammaD_2_cT_Z_lab70->GetZaxis()->SetLabelOffset(0.007); h_gammaD_2_cT_Z_lab70->GetZaxis()->SetTitleSize(0.06); h_gammaD_2_cT_Z_lab70->GetZaxis()->SetTitleFont(42); h_gammaD_2_cT_Z_lab70->Draw("same"); TLegend *leg = new TLegend(0.46,0.6744444,0.6955556,0.7644444,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("h_gammaD_1_cT_Z_lab","1st dark photon (leading p_{T})","L"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_gammaD_2_cT_Z_lab","2nd dark photon","L"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.4566667,0.82,0.7822222,0.9066667,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","#splitline{pp #rightarrow h #rightarrow 2n_{1} #rightarrow 2n_{D} + 2 #gamma_{D} #rightarrow 2n_{D} + 4#mu}{#splitline{m_{h} = 125 GeV, m_{n_{1}} = 50 GeV, m_{n_{D}} = 1 GeV}{m_{#gamma_{D}} = 20 GeV, c#tau_{#gamma_{D}} = 0 mm}}","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","CMS Simulation (LHE) 14 TeV","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); cnv->Modified(); cnv->cd(); cnv->SetSelected(cnv); }
void AnalysisSparse(Bool_t save_output = kFALSE) { gStyle->SetGridColor(kGray); // TString tmpstr(fname); // if (tmpstr.Contains("data")) { // Printf("!!! Real Data !!!"); // mc = kFALSE; // } TString gtitle = Form("Monte Carlo, %s", graph_name.Data()); grapht = graph_name.Data(); Double_t grx[999], gry[999], gry2[999], gry3[999], gry4[999], gry_eff[999], gry_fix[999], grxE[999]; Double_t gry22[999], gry22E[999], grx22E[999]; Double_t gry_true[999], gry_true_eff[999], gry_true_effE[999]; TH1::AddDirectory(kFALSE); TFile::SetCacheFileDir(gSystem->HomeDirectory()); TFile *f = TFile::Open(fname.Data(), "CACHEREAD"); if (!f) return; TList *l; f->GetObject(lname.Data(), l); if (!l) return; Int_t bf[999], bl[999]; Int_t nn = FindExactRange(((THnSparse *)(l->FindObject(s1name.Data())))-> Projection(1), del_step, bf, bl); // Int_t nn = FindRange5(bf, bl); Bool_t binhaluska = kFALSE; if (binAnders) { nn = 8; bf[0] = 6;bf[1] = 9;bf[2] = 11;bf[3] = 16;bf[4] = 21;bf[5] = 26; bl[0] = 8;bl[1] = 10;bl[2] = 15;bl[3] = 20;bl[4] = 25;bl[5] = 30; bf[6] = 31;bf[7] = 41; bl[6] = 40;bl[7] = 50; } Printf("number of intervals = %d =>", nn); Int_t count = 0; Double_t ptmean = 0, value = 0; Int_t fitStatus = -1; gStyle->SetOptStat(0); TCanvas *c = new TCanvas("c", "Signal & Background"); c->Divide(5, 5); c->Modified(); c->Draw(); TCanvas *c2 = (TCanvas *)c->DrawClone("c2"); c2->SetTitle("Phi mesons (raw)"); c2->Modified(); c2->Draw(); TCanvas *c3, *c4; if (mc) { c3 = (TCanvas *)c->DrawClone("c3"); c3->SetTitle("Phi mesons (gen)"); c3->Modified(); c3->Draw(); c4 = (TCanvas *)c->DrawClone("c4"); c4->SetTitle("Phi mesons (true)"); c4->Modified(); c4->Draw(); } for (Int_t i = 0; i < nn; i++) { c->cd(count + 1)->SetGrid(); h1 = (TH1D *)PullHisto(l, s1name.Data(), bf[i], bl[i], ptmean); h1->SetLineColor(kRed); h1->GetXaxis()->SetTitle("inv. mass, GeV/c^2"); h1->Draw("hist"); h3_p = (TH1D *)PullHisto(l, s3name_p.Data(), bf[i], bl[i], ptmean); h3_m = (TH1D *)PullHisto(l, s3name_m.Data(), bf[i], bl[i], ptmean); // !!!!!!!!!!!!!!!!!!!!!!!! if (count==0) h3_p = h1; // !!!!!!!!!!!!!!!!!!!!!!!! else { h3_p->Add(h3_m); // h3_p->Add((TH1D *)PullHisto(l, smix.Data(), bf[i], bl[i], ptmean)); // h3_p->Add((TH1D *)PullHisto(l, smixpp.Data(), bf[i], bl[i], ptmean)); // h3_p->Add((TH1D *)PullHisto(l, smixmm.Data(), bf[i], bl[i], ptmean)); Norm(h1, h3_p, norm[0], norm[1]); } h3_p->SetLineColor(kBlue); h3_p->Draw("hist, same"); if (mc) { c3->cd(count + 1)->SetGrid(); Printf("%s", s1namegen.Data()); hg = (TH1D *)PullHisto(l, s1namegen.Data(), bf[i], bl[i], ptmean); hg->SetLineColor(kMagenta); hg->GetXaxis()->SetTitle("inv. mass, GeV/c^2"); hg->Draw("hist"); c4->cd(count + 1)->SetGrid(); ht = (TH1D *)PullHisto(l, s1nametrue.Data(), bf[i], bl[i], ptmean); ht->SetLineColor(kMagenta-5); ht->GetXaxis()->SetTitle("inv. mass, GeV/c^2"); ht->Draw("hist"); } c2->cd(count + 1)->SetGrid(); TH1 *hh = (TH1 *)h1->Clone("hh"); hh->SetLineColor(kRed+1); hh->Add(h3_p, -1); /// !!!!!!!!!!!!!!!!!!!!!! ////////// if ((ilist == 3) && (count < 2)) hh->Reset(); // !!!!!!!!!!!!!!!!!!!!!!!!!!!!! hh->Draw("hist"); // !!!!!!!!!!!!!!!!!! ff->SetParameters(0.1, 1.02, 0.004, -25000., 0., 0., 0.); ff->SetLineColor(hh->GetLineColor()); ff->SetLineWidth(1); // ff->SetLineStyle(kDashed); // where fit Double_t fmin = 1.02-2*0.004; Double_t fmax = 1.02+2*0.004; // Double_t fmin = 0.995; // Double_t fmax = 1.185; // !!!!!!!!!!!!!!!!!! Bool_t hisfun = kFALSE; // kFALSE = integral from function Double_t hisfun_k = 1.0/hh->GetBinWidth(10); // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! if (binhaluska) if (i > 9) hisfun_k = 0.5/hh->GetBinWidth(10); Printf("======= %f", hisfun_k); // !!!!!!!!!!!!!!!!!! // wehere integral (his or fun) Double_t fmini = 1.02-2*0.004; Double_t fmaxi = 1.02+2*0.004; hh->Fit(ff, "Q", "", fmin, fmax); hh->Fit(ff, "Q", "", fmin, fmax); fitStatus = hh->Fit(ff, "Q", "", fmin, fmax); TF1 *pp3 = new TF1("pp3", "[0]+x*[1]+x*x*[2]+x*x*x*[3]", fmin, fmax); pp3->SetParameters(ff->GetParameter(3), ff->GetParameter(4), ff->GetParameter(5), ff->GetParameter(6)); pp3->SetLineWidth(1); pp3->SetLineColor(h3_p->GetLineColor()); pp3->Draw("same"); // ff->SetRange(fmin, fmax); // ff->DrawCopy("same"); value = hh->Integral(hh->FindBin(fmini), hh->FindBin(fmaxi)); if (!hisfun) value = ff->Integral(fmini, fmaxi)*hisfun_k - pp3->Integral(fmini, fmaxi)*hisfun_k; if (value < 0) value = 0; if ((fitStatus != 0) || (ff->GetParameter(2) > 0.1)) { printf(" SKIP Data"); value = 0; } grx[count] = ptmean; if (binhaluska) { if (count < 10) grxE[count] = 0.25; // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! else grxE[count] = 0.50; // !!!!!!!!!!!!!!!!!!!!!!!!!!!!!!! } else // grxE[count] = (1.30-1.10)/2.0; // !!!!!!!!!!!!!!!!!!!!!!!!!! grxE[count] = 0.05; gry[count] = value; Double_t tmp1 = h1->Integral(h1->FindBin(fmini), h1->FindBin(fmaxi)); Double_t tmp2 = h3_p->Integral(h3_p->FindBin(fmini), h3_p->FindBin(fmaxi)); Double_t tmp_sg = tmp1 - tmp2; Double_t tmp_bg = tmp2; // if ((tmp_sg <= -tmp_bg) || (tmp_bg < 33.0)) { // gry3[count] = 0.0; // gry4[count] = 0.0; // } // else { gry3[count] = tmp_sg/tmp_bg; gry4[count] = tmp_sg/TMath::Sqrt(tmp_sg + tmp_bg); // } // Printf("%4.2f, %10f, %10f, %10f", ptmean, tmp1, tmp2, gry3[count]); if (mc) { c3->cd(count + 1); // !!!!!!!!!!!!!!!! ff->SetParameters(1, 1.02, 0.004, 0., 0., 0., 0.); hg->Fit(ff, "Q", "", fmin, fmax); hg->Fit(ff, "Q", "", fmin, fmax); fitStatus = hg->Fit(ff, "Q", "", fmin, fmax); /* TF1 *pp3 = new TF1("pp3", "[0]+x*[1]+x*x*[2]+x*x*x*[3]", fmin, fmax); pp3->SetParameters(ff->GetParameter(3), ff->GetParameter(4), ff->GetParameter(5), ff->GetParameter(6)); pp3->SetLineWidth(1); pp3->SetLineColor(h3_p->GetLineColor()); pp3->Draw("same"); */ value = hg->Integral(hg->FindBin(fmini), hg->FindBin(fmaxi)); if (!hisfun) value = ff->Integral(fmini, fmaxi)*hisfun_k; //!!!!!!!!!!!!!!!!!!!pp3->Integral(fmini, fmaxi)*hisfun_k; if (value <= 0) value = -1; if ((fitStatus != 0) || (ff->GetParameter(2) > 0.1)) { printf(" SKIP MC"); value = -1; } gry2[count] = value; Double_t superfactor = CalculateFactor(l, 0.1); if (useCF) { gry22E[i] = TMath::Sqrt(gry2[i])*superfactor; // gry22E[i] = 0.0001; gry22[i] = gry2[i]*superfactor; grx22E[i] = 0.05; } gry_eff[count] = gry[count]/gry2[count]; c4->cd(count + 1); // !!!!!!!!!!!!!!!! ff->SetParameters(1, 1.02, 0.004, 0., 0., 0., 0.); ht->Fit(ff, "Q", "", fmin, fmax); ht->Fit(ff, "Q", "", fmin, fmax); fitStatus = ht->Fit(ff, "Q", "", fmin, fmax); /* TF1 *pp3 = new TF1("pp3", "[0]+x*[1]+x*x*[2]+x*x*x*[3]", fmin, fmax); pp3->SetParameters(ff->GetParameter(3), ff->GetParameter(4), ff->GetParameter(5), ff->GetParameter(6)); pp3->SetLineWidth(1); pp3->SetLineColor(h3_p->GetLineColor()); pp3->Draw("same"); */ value = ht->Integral(ht->FindBin(fmini), ht->FindBin(fmaxi)); if (!hisfun) value = ff->Integral(fmini, fmaxi)*hisfun_k; //!!!!!!!!!!!!!!!!!!!pp3->Integral(fmini, fmaxi)*hisfun_k; if (value <= 0) value = -1; if ((fitStatus != 0) || (ff->GetParameter(2) > 0.1)) { printf(" SKIP true"); value = -1; } gry_true[count] = value; gry_true_eff[count] = gry_true[count]/gry2[count]; // Propagation of uncertainty (A/B) Double_t AAA = gry_true[count]; Double_t AAAE = TMath::Sqrt(AAA); Double_t BBB = gry2[count]; Double_t BBBE = TMath::Sqrt(BBB); Double_t EEE = TMath::Sqrt((AAAE/AAA)*(AAAE/AAA)+(BBBE/BBB)*(BBBE/BBB)); EEE = EEE*gry_true_eff[count]; gry_true_effE[count] = EEE; } Printf("=> %6.4f", ptmean); count++; } new TCanvas(); TGraph *gr = new TGraph(count, grx, gry); gr->SetMarkerStyle(8); gr->SetMarkerColor(hh->GetLineColor()); gr->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr->SetTitle(Form("raw phi, %s", gtitle.Data())); gr->Draw("AP"); cc3 = new TCanvas(); TGraph *gr3 = new TGraph(count, grx, gry3); gr3->SetMarkerStyle(22); gr3->SetMarkerColor(kBlue+1); gr3->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr3->SetTitle(Form("SIG / BKG, %s", gtitle.Data())); gr3->SetMinimum(0); gr3->Draw("AP"); cc4 = new TCanvas(); TGraph *gr4 = new TGraph(count, grx, gry4); gr4->SetMarkerStyle(23); gr4->SetMarkerColor(kBlue-1); gr4->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr4->SetTitle(Form("Significance, %s", gtitle.Data())); gr4->SetMinimum(0); gr4->Draw("AP"); ccc = new TCanvas("ccc","ccc",0,0,900,300); ccc->Divide(2, 1, 0.001, 0.001); ccc->cd(1); gr3->Draw("AP"); ccc->cd(2); gr4->Draw("AP"); TString blabla = "mc"; if (!mc) blabla = "data"; // gr3->SaveAs(Form("SB_%s_%s.C", blabla.Data(), grapht.Data())); // gr4->SaveAs(Form("Sig_%s_%s.C", blabla.Data(), grapht.Data())); // ccc->SaveAs(Form("%s_%s_2.eps", blabla.Data(), grapht.Data())); // c->SaveAs(Form("%s_%s_0.eps", blabla.Data(), grapht.Data())); // c2->SaveAs(Form("%s_%s_1.eps", blabla.Data(), grapht.Data())); // cc3->SaveAs(Form("%s_%s_2.eps", blabla.Data(), grapht.Data())); // gr3->SaveAs(Form("sig_bck_%s_%s.C", blabla.Data(), grapht.Data())); if (mc) { new TCanvas(); TGraph *gr2 = new TGraph(count, grx, gry2); gr2->SetMarkerStyle(8); gr2->SetMarkerColor(hg->GetLineColor()); gr2->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr2->SetTitle(Form("gen phi, %s", gtitle.Data())); gr2->Draw("AP"); new TCanvas(); TGraphErrors *gr22 = new TGraphErrors(count, grx, gry22, grx22E, gry22E); gr22->SetMarkerStyle(8); gr22->SetMarkerColor(kCyan); gr22->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr22->SetTitle(Form("gen phi, %s", gtitle.Data())); gr22->Draw("AP"); c = new TCanvas(); c->SetGrid(); TGraph *gr_e = new TGraph(count, grx, gry_eff); gr_e->SetMarkerStyle(22); gr_e->SetMarkerColor(kBlack); gr_e->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr_e->SetTitle(Form("efficiency (raw), %s", grapht.Data())); gr_e->Draw("AP"); Printf("Save as '\033[1meffi_raw_%s\033[0m' file", grapht.Data()); for (Int_t i = 0; i < gr_e->GetN(); i++) Printf("%f %f", gr_e->GetX()[i], gr_e->GetY()[i]); cvb = new TCanvas(); cvb->cd(); TGraph *gr_true = new TGraph(count, grx, gry_true); gr_true->SetMarkerStyle(8); gr_true->SetMarkerColor(ht->GetLineColor()); gr_true->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr_true->SetTitle(Form("true phi, %s", gtitle.Data())); gr_true->Draw("AP"); c = new TCanvas(); c->cd(); c->SetGrid(); TGraphErrors *gr_true_eff = new TGraphErrors(count, grx, gry_true_eff, grxE, gry_true_effE); gr_true_eff->SetMarkerStyle(20); // gr_true_eff->SetMarkerSize(0.75); gr_true_eff->SetMarkerColor(kBlack); gr_true_eff->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr_true_eff->SetTitle(Form("efficiency (true), %s", grapht.Data())); gr_true_eff->Draw("AEP"); m_gr->Add(gr_true_eff); Printf("Save as '\033[1meffi_true_%s\033[0m' file", grapht.Data()); TString tout; Double_t oux, ouy, ouxe, ouye; for (Int_t i = 0; i < gr_true_eff->GetN(); i++) { oux = gr_true_eff->GetX()[i]; ouy = gr_true_eff->GetY()[i]; ouy = MinusCheck(ouy); ouxe = gr_true_eff->GetErrorX(i); ouye = gr_true_eff->GetErrorY(i); ouye = NanCheck(ouye); Printf("%f %f %f %f", gr_true_eff->GetX()[i], gr_true_eff->GetY()[i], gr_true_eff->GetErrorX(i), gr_true_eff->GetErrorY(i)); if (!save_output) continue; gSystem->mkdir(dir_prefix.Data()); tout = Form("%f %f %f %f", oux, ouy, ouxe, ouye); if (i == 0) tout = Form("Printf(\"%s\"); > %s/effi_%s", tout.Data(), dir_prefix.Data(), grapht.Data()); else tout = Form("Printf(\"%s\"); >> %s/effi_%s", tout.Data(), dir_prefix.Data(), grapht.Data()); // Printf(":::::: %s", tout.Data()); gROOT->ProcessLine(tout.Data()); } // ------------------ c = new TCanvas("cfinal", "mc_effi", 1200, 450); c->Divide(2, 1, 0.001, 0.001); c->Modified(); c->Draw(); c->cd(1); gr_true->SetMinimum(0); gr_true->SetTitle(Form("phi (true & raw), %s", gtitle.Data())); gr_true->SetMarkerColor(kGreen+1); gr_true->Draw("AP"); gr->SetMarkerColor(kRed+1); gr->Draw("P"); c->cd(2)->SetGrid(); gr_true_eff->SetMinimum(0); gr_true_eff->SetTitle(Form("efficiency, %s", grapht.Data())); gr_true_eff->SetMarkerColor(kGreen+1); gr_true_eff->Draw("AP"); gr_e->SetMarkerColor(kRed+1); gr_e->Draw("P"); // c->SaveAs(Form("%s_%s.eps", blabla.Data(), grapht.Data())); return; } // TGraph *geff = new TGraph(Form("effi_raw_%s", grapht.Data())); // TGraph *geff = new TGraph(Form("effi_true_%s", grapht.Data())); // TGraph *geff = new TGraph("effi_true_Phi2010_qualityonly"); TGraph *geff = new TGraph("effi_true_PhiNsigma_qualityonly"); if (geff->IsZombie()) return; geff->SetMarkerStyle(22); geff->SetMarkerColor(kBlack); geff->GetXaxis()->SetTitle("p_{t}, GeV/c"); geff->SetTitle(Form("efficiency, %s", grapht.Data())); c = new TCanvas(); c->SetGrid(); geff->Draw("AP"); Double_t tpcsigma = 9999.9; if (ilist == 1) tpcsigma = 1.0; if (ilist == 2) tpcsigma = 1.5; if (ilist == 3) tpcsigma = 2.0; if (ilist == 4) tpcsigma = 2.5; if (ilist == 5) tpcsigma = 3.0; Double_t sss = TMath::Erf(tpcsigma/TMath::Sqrt(2.0)); if (noSigma) sss = 1.0; Printf("sigma = %10f", sss); // for (Int_t i = 0; i < count; i++) // geff->GetY()[i] = (sss*sss)/(geff->GetY()[i]); // geff->SetMaximum(1.0); // geff->Draw("AP"); for (Int_t i = 0; i < count; i++) { Double_t deno = geff->Eval(grx[i])*sss*sss; if (deno < 0.00001) deno = 1; gry_fix[i] = gry[i]/deno; } new TCanvas; TGraph *gr_fix = new TGraph(count, grx, gry_fix); gr_fix->SetMarkerStyle(21); gr_fix->SetMarkerColor(hh->GetLineColor()); gr_fix->GetXaxis()->SetTitle("p_{t}, GeV/c"); gr_fix->SetTitle(Form("corrected phi * #sigma^{2}, %s", gtitle.Data())); if (noSigma) gr_fix->SetTitle(Form("corrected phi (no #sigma), %s", gtitle.Data())); gr_fix->Draw("AP"); //--------------------- c = new TCanvas("cfinald", "data_correct", 1200, 450); c->Divide(2, 1, 0.001, 0.001); c->Modified(); c->Draw(); c->cd(1); gr->SetMinimum(0); gr->SetMarkerColor(kBlack); gr->Draw("AP"); c->cd(2); gr_fix->SetMinimum(0); gr_fix->SetMarkerColor(kGreen+3); gr_fix->Draw("AP"); TString bla9 = Form("qualityonly_PID2_%s", grapht.Data()); if (noSigma) bla9 = Form("%s_noSig.C", bla9.Data()); else bla9 = Form("%s.C", bla9.Data()); // gr_fix->SaveAs(bla9.Data()); // TPad *cp = new TPad("cpf", "", 0.45,0.45,0.99,0.92); TPad *cp = new TPad("cpf", "", 0.60,0.55,0.99,0.93); cp->SetLogy(); cp->Draw(); cp->cd(); TGraph *cloneg = ((TGraph *)gr_fix->Clone()); cloneg->SetTitle(); cloneg->SetMarkerSize(0.8); cloneg->Draw("AP"); // c->SaveAs(Form("%s_%s.eps", blabla.Data(), grapht.Data())); f->Close(); }
void long_Ay_nu_01() { gROOT->SetStyle("HALLA"); TCanvas *cn = new TCanvas("cn","cn",540,360); cn->Draw(); cn->UseCurrentStyle(); TH1F *frm = new TH1F("frm","",100,0.,10.); frm->GetXaxis()->SetTitle("#nu (GeV)"); frm->GetYaxis()->SetTitle("Ay for Q2=0.13 (GeV/c)2"); frm->SetMinimum(-0.5); // frm->SetMinimum(0); // frm->SetMaximum(1.0); frm->SetMaximum(1.5); frm->UseCurrentStyle(); frm->Draw(); frm->SetAxisRange(0,0.120,"X"); // frm->SetAxisRange(0.5,1.1,"X"); // TF1* galster = new TF1("galster","x/(4.*0.938*.938)*1.91/(1.+x/.71)^2/(1.+5.6*x/(4.*.938*.938))",0.,4.); // galster->SetLineColor(6); // galster->SetLineStyle(3); // galster->SetLineWidth(2); TF1 *genf = new TF1("genf",genff,1.,10.,1); genf->SetLineColor(2); genf->SetLineStyle(2); genf->SetParameter(0,1.); // match to Madey point just below 1.5 // genf->SetParameter(0,.0411/genf->Eval(1.45)); genf->SetParameter(0,-0.558645); // TF1 *bbba05 = new TF1("BBBA05",gen_bbba05,0.,10.,0); // bbba05->SetLineColor(7); // bbba05->SetLineStyle(3); TMultiGraph* mgrDta = new TMultiGraph("Data","G_{E}^{n}"); TLegend *legDta = new TLegend(.54,.6,.875,.90,"","brNDC"); TMultiGraph* wgr = mgrDta; TLegend *wlg = legDta; // the data legDta->SetBorderSize(0); // turn off border legDta->SetFillStyle(0); datafile_t *f = datafiles; TGraph* gr=0; while ( f && f->filename ) { gr=OneGraph(f); if (gr) { if (f->lnpt) { mgrDta->Add(gr,f->lnpt); legDta->AddEntry(gr,f->label,f->lnpt); } else if (gr->GetMarkerStyle()>=20) { mgrDta->Add(gr,"p"); legDta->AddEntry(gr,f->label,"p"); } else { mgrDta->Add(gr,"l"); legDta->AddEntry(gr,f->label,"l"); } } f++; } mgrDta->Draw("p"); // legDta->Draw(); TF1 *theFit = new TF1("theFit","pol0"); gr->Fit(theFit); theFit->Draw("same"); TMultiGraph* mgrThry = new TMultiGraph("Theory","G_{E}^{n}"); TLegend *legThry = new TLegend(.54,.3,.875,.6,"","brNDC"); wgr = mgrThry; wlg = legThry; // the theory wlg->SetBorderSize(0); // turn off border wlg->SetFillStyle(0); f = theoryfiles1; gr=0; while ( f && f->filename ) { gr=OneGraph(f); if (gr) { TGraphAsymmErrors *egr = dynamic_cast<TGraphAsymmErrors*>(gr); if (egr && egr->GetN()>1 && egr->GetEYhigh() && egr->GetEYhigh()[1]>0) { gr = toerror_band(egr); gr->SetFillStyle(3000+f->style); } if (f->lnpt) { wgr->Add(gr,f->lnpt); wlg->AddEntry(gr,f->label,f->lnpt); } else if (gr->GetMarkerStyle()>=20) { wgr->Add(gr,"p"); wlg->AddEntry(gr,f->label,"p"); } else { wgr->Add(gr,"l"); wlg->AddEntry(gr,f->label,"l"); } } f++; } // genf->Draw("same"); mgrThry->Draw("c"); // galster->Draw("same"); // bbba05->Draw("same"); // legThry->AddEntry(genf,"F_{2}/F_{1} #propto ln^{2}(Q^{2}/#Lambda^{2})/Q^{2}","l"); // legThry->AddEntry(galster,"Galster fit","l"); // legThry->AddEntry(bbba05,"BBBA05","l"); // legThry->Draw(); // legDta->Draw(); // draw a line at 1 cn->Modified(); cn->Update(); cn->SaveAs(Form("%s.eps",psfile)); cn->SaveAs(Form("%s.root",psfile)); gSystem->Exec(Form("./replace_symbols.pl %s.eps",psfile)); return; // LEAVING HERE // now an overlay, hopefully matching dimensions // remove everything but the graph cn->Update(); TList *clist = cn->GetListOfPrimitives(); TFrame* frame = cn->GetFrame(); for (int i=0; i<clist->GetSize(); ) { if (clist->At(i) != frame) { clist->RemoveAt(i); } else i++; } // draw markers in the corners TMarker *mkr = new TMarker(frame->GetX1(),frame->GetY1(),2); mkr->Draw(); mkr = new TMarker(frame->GetX2(),frame->GetY1(),2); mkr->Draw(); mkr = new TMarker(frame->GetX1(),frame->GetY2(),2); mkr->Draw(); mkr = new TMarker(frame->GetX2(),frame->GetY2(),2); mkr->Draw(); frame->SetLineColor(10); cn->Update(); datafile_t miller = { "figure_input/Miller/lattice.GEn.rtf","Miller", "[0]","[1]","[1]-[3]","[2]-[1]",0,0,1,3,"F" }; gr = OneGraph(&miller); TGraphAsymmErrors* egr = dynamic_cast<TGraphAsymmErrors*>(gr); if (egr && egr->GetEYhigh() && egr->GetEYhigh()[egr->GetN()/2]>0) { gr = toerror_band(egr); gr->SetLineStyle(1); gr->SetFillColor(gr->GetLineColor()); gr->SetFillStyle(3000+miller.style); } gr->Draw("F"); cn->Update(); cn->SaveAs("gen_Miller_Overlay.eps"); cn->SaveAs("gen_Miller_Overlay.root"); }
void DarkSusy_mH_125_mGammaD_2000_cT_1000_LHE_nD_pT() { //=========Macro generated from canvas: cnv/cnv //========= (Sun May 24 15:18:59 2015) by ROOT version6.02/05 TCanvas *cnv = new TCanvas("cnv", "cnv",1,1,904,904); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); cnv->SetHighLightColor(2); cnv->Range(-27.625,-0.01625,134.875,0.10875); cnv->SetFillColor(0); cnv->SetBorderMode(0); cnv->SetBorderSize(2); cnv->SetTickx(1); cnv->SetTicky(1); cnv->SetLeftMargin(0.17); cnv->SetRightMargin(0.03); cnv->SetTopMargin(0.07); cnv->SetBottomMargin(0.13); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); TH1F *h_nD_1_pT_dummy34 = new TH1F("h_nD_1_pT_dummy34","h_nD_1_pT_dummy",130,0,130); h_nD_1_pT_dummy34->SetMaximum(0.1); h_nD_1_pT_dummy34->SetLineStyle(0); h_nD_1_pT_dummy34->SetMarkerStyle(20); h_nD_1_pT_dummy34->GetXaxis()->SetTitle("p_{T} of n_{D} [GeV]"); h_nD_1_pT_dummy34->GetXaxis()->SetLabelFont(42); h_nD_1_pT_dummy34->GetXaxis()->SetLabelOffset(0.007); h_nD_1_pT_dummy34->GetXaxis()->SetTitleSize(0.06); h_nD_1_pT_dummy34->GetXaxis()->SetTitleOffset(0.95); h_nD_1_pT_dummy34->GetXaxis()->SetTitleFont(42); h_nD_1_pT_dummy34->GetYaxis()->SetTitle("Fraction of events / 1 GeV"); h_nD_1_pT_dummy34->GetYaxis()->SetLabelFont(42); h_nD_1_pT_dummy34->GetYaxis()->SetLabelOffset(0.007); h_nD_1_pT_dummy34->GetYaxis()->SetTitleSize(0.06); h_nD_1_pT_dummy34->GetYaxis()->SetTitleOffset(1.35); h_nD_1_pT_dummy34->GetYaxis()->SetTitleFont(42); h_nD_1_pT_dummy34->GetZaxis()->SetLabelFont(42); h_nD_1_pT_dummy34->GetZaxis()->SetLabelOffset(0.007); h_nD_1_pT_dummy34->GetZaxis()->SetTitleSize(0.06); h_nD_1_pT_dummy34->GetZaxis()->SetTitleFont(42); h_nD_1_pT_dummy34->Draw(""); TH1F *h_nD_1_pT35 = new TH1F("h_nD_1_pT35","h_nD_1_pT",131,0,131); h_nD_1_pT35->SetBinContent(2,5.000062e-05); h_nD_1_pT35->SetBinContent(3,7.500093e-05); h_nD_1_pT35->SetBinContent(4,0.0001500019); h_nD_1_pT35->SetBinContent(5,0.0006000075); h_nD_1_pT35->SetBinContent(6,0.001000013); h_nD_1_pT35->SetBinContent(7,0.001837523); h_nD_1_pT35->SetBinContent(8,0.002737534); h_nD_1_pT35->SetBinContent(9,0.004450056); h_nD_1_pT35->SetBinContent(10,0.006925086); h_nD_1_pT35->SetBinContent(11,0.01163765); h_nD_1_pT35->SetBinContent(12,0.01380017); h_nD_1_pT35->SetBinContent(13,0.01797522); h_nD_1_pT35->SetBinContent(14,0.02037526); h_nD_1_pT35->SetBinContent(15,0.02335029); h_nD_1_pT35->SetBinContent(16,0.02615033); h_nD_1_pT35->SetBinContent(17,0.02888786); h_nD_1_pT35->SetBinContent(18,0.03248791); h_nD_1_pT35->SetBinContent(19,0.03340042); h_nD_1_pT35->SetBinContent(20,0.03530044); h_nD_1_pT35->SetBinContent(21,0.03736297); h_nD_1_pT35->SetBinContent(22,0.03896299); h_nD_1_pT35->SetBinContent(23,0.039938); h_nD_1_pT35->SetBinContent(24,0.03883798); h_nD_1_pT35->SetBinContent(25,0.04065051); h_nD_1_pT35->SetBinContent(26,0.04050051); h_nD_1_pT35->SetBinContent(27,0.04063801); h_nD_1_pT35->SetBinContent(28,0.04091301); h_nD_1_pT35->SetBinContent(29,0.0398255); h_nD_1_pT35->SetBinContent(30,0.03963799); h_nD_1_pT35->SetBinContent(31,0.03840048); h_nD_1_pT35->SetBinContent(32,0.03778797); h_nD_1_pT35->SetBinContent(33,0.03655046); h_nD_1_pT35->SetBinContent(34,0.03588795); h_nD_1_pT35->SetBinContent(35,0.03367542); h_nD_1_pT35->SetBinContent(36,0.03081289); h_nD_1_pT35->SetBinContent(37,0.02991287); h_nD_1_pT35->SetBinContent(38,0.02731284); h_nD_1_pT35->SetBinContent(39,0.02473781); h_nD_1_pT35->SetBinContent(40,0.02112526); h_nD_1_pT35->SetBinContent(41,0.01686271); h_nD_1_pT35->SetBinContent(42,0.008475106); h_nD_1_pT35->SetBinError(2,5.000063e-05); h_nD_1_pT35->SetBinError(3,7.500094e-05); h_nD_1_pT35->SetBinError(4,0.0001500019); h_nD_1_pT35->SetBinError(5,0.0006000075); h_nD_1_pT35->SetBinError(6,0.001000013); h_nD_1_pT35->SetBinError(7,0.001837523); h_nD_1_pT35->SetBinError(8,0.002737534); h_nD_1_pT35->SetBinError(9,0.004450056); h_nD_1_pT35->SetBinError(10,0.006925087); h_nD_1_pT35->SetBinError(11,0.01163765); h_nD_1_pT35->SetBinError(12,0.01380017); h_nD_1_pT35->SetBinError(13,0.01797522); h_nD_1_pT35->SetBinError(14,0.02037525); h_nD_1_pT35->SetBinError(15,0.02335029); h_nD_1_pT35->SetBinError(16,0.02615033); h_nD_1_pT35->SetBinError(17,0.02888786); h_nD_1_pT35->SetBinError(18,0.03248791); h_nD_1_pT35->SetBinError(19,0.03340042); h_nD_1_pT35->SetBinError(20,0.03530044); h_nD_1_pT35->SetBinError(21,0.03736297); h_nD_1_pT35->SetBinError(22,0.03896299); h_nD_1_pT35->SetBinError(23,0.039938); h_nD_1_pT35->SetBinError(24,0.03883799); h_nD_1_pT35->SetBinError(25,0.04065051); h_nD_1_pT35->SetBinError(26,0.04050051); h_nD_1_pT35->SetBinError(27,0.04063801); h_nD_1_pT35->SetBinError(28,0.04091301); h_nD_1_pT35->SetBinError(29,0.0398255); h_nD_1_pT35->SetBinError(30,0.039638); h_nD_1_pT35->SetBinError(31,0.03840048); h_nD_1_pT35->SetBinError(32,0.03778797); h_nD_1_pT35->SetBinError(33,0.03655046); h_nD_1_pT35->SetBinError(34,0.03588795); h_nD_1_pT35->SetBinError(35,0.03367542); h_nD_1_pT35->SetBinError(36,0.03081289); h_nD_1_pT35->SetBinError(37,0.02991287); h_nD_1_pT35->SetBinError(38,0.02731284); h_nD_1_pT35->SetBinError(39,0.02473781); h_nD_1_pT35->SetBinError(40,0.02112526); h_nD_1_pT35->SetBinError(41,0.01686271); h_nD_1_pT35->SetBinError(42,0.008475106); h_nD_1_pT35->SetEntries(79999); h_nD_1_pT35->SetDirectory(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); h_nD_1_pT35->SetLineColor(ci); h_nD_1_pT35->SetLineWidth(2); h_nD_1_pT35->SetMarkerStyle(20); h_nD_1_pT35->GetXaxis()->SetLabelFont(42); h_nD_1_pT35->GetXaxis()->SetLabelOffset(0.007); h_nD_1_pT35->GetXaxis()->SetTitleSize(0.06); h_nD_1_pT35->GetXaxis()->SetTitleOffset(0.95); h_nD_1_pT35->GetXaxis()->SetTitleFont(42); h_nD_1_pT35->GetYaxis()->SetLabelFont(42); h_nD_1_pT35->GetYaxis()->SetLabelOffset(0.007); h_nD_1_pT35->GetYaxis()->SetTitleSize(0.06); h_nD_1_pT35->GetYaxis()->SetTitleOffset(1.3); h_nD_1_pT35->GetYaxis()->SetTitleFont(42); h_nD_1_pT35->GetZaxis()->SetLabelFont(42); h_nD_1_pT35->GetZaxis()->SetLabelOffset(0.007); h_nD_1_pT35->GetZaxis()->SetTitleSize(0.06); h_nD_1_pT35->GetZaxis()->SetTitleFont(42); h_nD_1_pT35->Draw("SAME"); TH1F *h_nD_2_pT36 = new TH1F("h_nD_2_pT36","h_nD_2_pT",131,0,131); h_nD_2_pT36->SetBinContent(1,0.00241253); h_nD_2_pT36->SetBinContent(2,0.006325079); h_nD_2_pT36->SetBinContent(3,0.01201265); h_nD_2_pT36->SetBinContent(4,0.0159252); h_nD_2_pT36->SetBinContent(5,0.02058776); h_nD_2_pT36->SetBinContent(6,0.02691284); h_nD_2_pT36->SetBinContent(7,0.0318254); h_nD_2_pT36->SetBinContent(8,0.03665046); h_nD_2_pT36->SetBinContent(9,0.04277553); h_nD_2_pT36->SetBinContent(10,0.0484506); h_nD_2_pT36->SetBinContent(11,0.06466331); h_nD_2_pT36->SetBinContent(12,0.06373829); h_nD_2_pT36->SetBinContent(13,0.06025075); h_nD_2_pT36->SetBinContent(14,0.0561132); h_nD_2_pT36->SetBinContent(15,0.05451318); h_nD_2_pT36->SetBinContent(16,0.04967562); h_nD_2_pT36->SetBinContent(17,0.04705059); h_nD_2_pT36->SetBinContent(18,0.04222553); h_nD_2_pT36->SetBinContent(19,0.03781297); h_nD_2_pT36->SetBinContent(20,0.03412542); h_nD_2_pT36->SetBinContent(21,0.02968787); h_nD_2_pT36->SetBinContent(22,0.02782535); h_nD_2_pT36->SetBinContent(23,0.0236003); h_nD_2_pT36->SetBinContent(24,0.02195027); h_nD_2_pT36->SetBinContent(25,0.01983775); h_nD_2_pT36->SetBinContent(26,0.01803773); h_nD_2_pT36->SetBinContent(27,0.01680021); h_nD_2_pT36->SetBinContent(28,0.01433768); h_nD_2_pT36->SetBinContent(29,0.01277516); h_nD_2_pT36->SetBinContent(30,0.01162515); h_nD_2_pT36->SetBinContent(31,0.01031263); h_nD_2_pT36->SetBinContent(32,0.008587607); h_nD_2_pT36->SetBinContent(33,0.007400093); h_nD_2_pT36->SetBinContent(34,0.006537582); h_nD_2_pT36->SetBinContent(35,0.00477506); h_nD_2_pT36->SetBinContent(36,0.003775047); h_nD_2_pT36->SetBinContent(37,0.002837535); h_nD_2_pT36->SetBinContent(38,0.002275028); h_nD_2_pT36->SetBinContent(39,0.001475018); h_nD_2_pT36->SetBinContent(40,0.0009500119); h_nD_2_pT36->SetBinContent(41,0.0004875061); h_nD_2_pT36->SetBinContent(42,6.250078e-05); h_nD_2_pT36->SetBinError(1,0.00241253); h_nD_2_pT36->SetBinError(2,0.006325079); h_nD_2_pT36->SetBinError(3,0.01201265); h_nD_2_pT36->SetBinError(4,0.0159252); h_nD_2_pT36->SetBinError(5,0.02058776); h_nD_2_pT36->SetBinError(6,0.02691284); h_nD_2_pT36->SetBinError(7,0.0318254); h_nD_2_pT36->SetBinError(8,0.03665046); h_nD_2_pT36->SetBinError(9,0.04277553); h_nD_2_pT36->SetBinError(10,0.04845061); h_nD_2_pT36->SetBinError(11,0.06466331); h_nD_2_pT36->SetBinError(12,0.0637383); h_nD_2_pT36->SetBinError(13,0.06025075); h_nD_2_pT36->SetBinError(14,0.0561132); h_nD_2_pT36->SetBinError(15,0.05451318); h_nD_2_pT36->SetBinError(16,0.04967562); h_nD_2_pT36->SetBinError(17,0.04705059); h_nD_2_pT36->SetBinError(18,0.04222553); h_nD_2_pT36->SetBinError(19,0.03781297); h_nD_2_pT36->SetBinError(20,0.03412543); h_nD_2_pT36->SetBinError(21,0.02968787); h_nD_2_pT36->SetBinError(22,0.02782535); h_nD_2_pT36->SetBinError(23,0.0236003); h_nD_2_pT36->SetBinError(24,0.02195027); h_nD_2_pT36->SetBinError(25,0.01983775); h_nD_2_pT36->SetBinError(26,0.01803773); h_nD_2_pT36->SetBinError(27,0.01680021); h_nD_2_pT36->SetBinError(28,0.01433768); h_nD_2_pT36->SetBinError(29,0.01277516); h_nD_2_pT36->SetBinError(30,0.01162515); h_nD_2_pT36->SetBinError(31,0.01031263); h_nD_2_pT36->SetBinError(32,0.008587607); h_nD_2_pT36->SetBinError(33,0.007400093); h_nD_2_pT36->SetBinError(34,0.006537582); h_nD_2_pT36->SetBinError(35,0.00477506); h_nD_2_pT36->SetBinError(36,0.003775047); h_nD_2_pT36->SetBinError(37,0.002837535); h_nD_2_pT36->SetBinError(38,0.002275028); h_nD_2_pT36->SetBinError(39,0.001475018); h_nD_2_pT36->SetBinError(40,0.0009500119); h_nD_2_pT36->SetBinError(41,0.0004875061); h_nD_2_pT36->SetBinError(42,6.250078e-05); h_nD_2_pT36->SetEntries(79999); h_nD_2_pT36->SetDirectory(0); ci = TColor::GetColor("#ff0000"); h_nD_2_pT36->SetLineColor(ci); h_nD_2_pT36->SetLineWidth(2); h_nD_2_pT36->SetMarkerStyle(20); h_nD_2_pT36->GetXaxis()->SetLabelFont(42); h_nD_2_pT36->GetXaxis()->SetLabelOffset(0.007); h_nD_2_pT36->GetXaxis()->SetTitleSize(0.06); h_nD_2_pT36->GetXaxis()->SetTitleOffset(0.95); h_nD_2_pT36->GetXaxis()->SetTitleFont(42); h_nD_2_pT36->GetYaxis()->SetLabelFont(42); h_nD_2_pT36->GetYaxis()->SetLabelOffset(0.007); h_nD_2_pT36->GetYaxis()->SetTitleSize(0.06); h_nD_2_pT36->GetYaxis()->SetTitleOffset(1.3); h_nD_2_pT36->GetYaxis()->SetTitleFont(42); h_nD_2_pT36->GetZaxis()->SetLabelFont(42); h_nD_2_pT36->GetZaxis()->SetLabelOffset(0.007); h_nD_2_pT36->GetZaxis()->SetTitleSize(0.06); h_nD_2_pT36->GetZaxis()->SetTitleFont(42); h_nD_2_pT36->Draw("SAME"); TLegend *leg = new TLegend(0.46,0.6744444,0.6955556,0.7644444,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("h_nD_1_pT","1st n_{D} (leading p_{T})","L"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_nD_2_pT","2nd n_{D}","L"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.4566667,0.82,0.7822222,0.9066667,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","#splitline{pp #rightarrow h #rightarrow 2n_{1} #rightarrow 2n_{D} + 2 #gamma_{D} #rightarrow 2n_{D} + 4#mu}{#splitline{m_{h} = 125 GeV, m_{n_{1}} = 50 GeV, m_{n_{D}} = 1 GeV}{m_{#gamma_{D}} = 20 GeV, c#tau_{#gamma_{D}} = 1000 mm}}","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","CMS Simulation (LHE) 14 TeV","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); cnv->Modified(); cnv->cd(); cnv->SetSelected(cnv); }
void TracktoLCTX_2015all_sameYrange() { //=========Macro generated from canvas: TracktoLCTX/TracktoLCTX //========= (Fri Aug 5 08:13:37 2016) by ROOT version6.06/01 TCanvas *TracktoLCTX = new TCanvas("TracktoLCTX", "TracktoLCTX",0,0,500,500); gStyle->SetOptStat(0); TracktoLCTX->SetHighLightColor(2); TracktoLCTX->Range(-50,-2.848556,50,2.626708); TracktoLCTX->SetFillColor(0); TracktoLCTX->SetBorderMode(0); TracktoLCTX->SetBorderSize(2); TracktoLCTX->SetLogy(); TracktoLCTX->SetFrameBorderMode(0); TracktoLCTX->SetFrameBorderMode(0); TH1D *TracktoLCTX_1__109 = new TH1D("TracktoLCTX_1__109","TracktoLCTX",100,-40,40); TracktoLCTX_1__109->SetBinContent(0,371.1851); TracktoLCTX_1__109->SetBinContent(13,0.001225956); TracktoLCTX_1__109->SetBinContent(14,0.001225956); TracktoLCTX_1__109->SetBinContent(17,0.002451912); TracktoLCTX_1__109->SetBinContent(18,0.003677868); TracktoLCTX_1__109->SetBinContent(19,0.00919467); TracktoLCTX_1__109->SetBinContent(20,0.007355736); TracktoLCTX_1__109->SetBinContent(21,0.0196153); TracktoLCTX_1__109->SetBinContent(22,0.02084125); TracktoLCTX_1__109->SetBinContent(23,0.03310081); TracktoLCTX_1__109->SetBinContent(24,0.03187485); TracktoLCTX_1__109->SetBinContent(25,0.06007184); TracktoLCTX_1__109->SetBinContent(26,0.06007184); TracktoLCTX_1__109->SetBinContent(27,0.07968714); TracktoLCTX_1__109->SetBinContent(28,0.1293384); TracktoLCTX_1__109->SetBinContent(29,0.1642781); TracktoLCTX_1__109->SetBinContent(30,0.1802155); TracktoLCTX_1__109->SetBinContent(31,0.2206721); TracktoLCTX_1__109->SetBinContent(32,0.2556118); TracktoLCTX_1__109->SetBinContent(33,0.3144577); TracktoLCTX_1__109->SetBinContent(34,0.4051784); TracktoLCTX_1__109->SetBinContent(35,0.4260197); TracktoLCTX_1__109->SetBinContent(36,0.5247091); TracktoLCTX_1__109->SetBinContent(37,0.5406466); TracktoLCTX_1__109->SetBinContent(38,0.5743604); TracktoLCTX_1__109->SetBinContent(39,0.638723); TracktoLCTX_1__109->SetBinContent(40,0.7607057); TracktoLCTX_1__109->SetBinContent(41,0.89127); TracktoLCTX_1__109->SetBinContent(42,0.9164021); TracktoLCTX_1__109->SetBinContent(43,0.9801518); TracktoLCTX_1__109->SetBinContent(44,1.127879); TracktoLCTX_1__109->SetBinContent(45,1.162819); TracktoLCTX_1__109->SetBinContent(46,1.39759); TracktoLCTX_1__109->SetBinContent(47,1.54593); TracktoLCTX_1__109->SetBinContent(48,1.858549); TracktoLCTX_1__109->SetBinContent(49,3.018917); TracktoLCTX_1__109->SetBinContent(50,31.96067); TracktoLCTX_1__109->SetBinContent(51,31.44332); TracktoLCTX_1__109->SetBinContent(52,2.99072); TracktoLCTX_1__109->SetBinContent(53,1.805833); TracktoLCTX_1__109->SetBinContent(54,1.601098); TracktoLCTX_1__109->SetBinContent(55,1.406171); TracktoLCTX_1__109->SetBinContent(56,1.14443); TracktoLCTX_1__109->SetBinContent(57,1.069034); TracktoLCTX_1__109->SetBinContent(58,1.034707); TracktoLCTX_1__109->SetBinContent(59,0.8661379); TracktoLCTX_1__109->SetBinContent(60,0.836102); TracktoLCTX_1__109->SetBinContent(61,0.6877613); TracktoLCTX_1__109->SetBinContent(62,0.6822445); TracktoLCTX_1__109->SetBinContent(63,0.6540475); TracktoLCTX_1__109->SetBinContent(64,0.5418725); TracktoLCTX_1__109->SetBinContent(65,0.4425701); TracktoLCTX_1__109->SetBinContent(66,0.4149861); TracktoLCTX_1__109->SetBinContent(67,0.3910799); TracktoLCTX_1__109->SetBinContent(68,0.2930035); TracktoLCTX_1__109->SetBinContent(69,0.2850348); TracktoLCTX_1__109->SetBinContent(70,0.2537729); TracktoLCTX_1__109->SetBinContent(71,0.1814415); TracktoLCTX_1__109->SetBinContent(72,0.139759); TracktoLCTX_1__109->SetBinContent(73,0.1238215); TracktoLCTX_1__109->SetBinContent(74,0.09439861); TracktoLCTX_1__109->SetBinContent(75,0.06558864); TracktoLCTX_1__109->SetBinContent(76,0.05394206); TracktoLCTX_1__109->SetBinContent(77,0.02942294); TracktoLCTX_1__109->SetBinContent(78,0.0306489); TracktoLCTX_1__109->SetBinContent(79,0.02819699); TracktoLCTX_1__109->SetBinContent(80,0.01838934); TracktoLCTX_1__109->SetBinContent(81,0.01716338); TracktoLCTX_1__109->SetBinContent(82,0.02084125); TracktoLCTX_1__109->SetBinContent(83,0.003677868); TracktoLCTX_1__109->SetBinContent(84,0.00612978); TracktoLCTX_1__109->SetBinContent(85,0.007355736); TracktoLCTX_1__109->SetBinContent(86,0.003677868); TracktoLCTX_1__109->SetBinContent(87,0.002451912); TracktoLCTX_1__109->SetBinContent(89,0.001225956); TracktoLCTX_1__109->SetBinContent(90,0.001225956); TracktoLCTX_1__109->SetBinContent(96,0.001225956); TracktoLCTX_1__109->SetMinimum(0.005); TracktoLCTX_1__109->SetMaximum(120); TracktoLCTX_1__109->SetEntries(768682); TracktoLCTX_1__109->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff00ff"); TracktoLCTX_1__109->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); TracktoLCTX_1__109->SetMarkerColor(ci); TracktoLCTX_1__109->GetXaxis()->SetTitle("cm"); TracktoLCTX_1__109->GetYaxis()->SetTitle("scaled number of entries"); TracktoLCTX_1__109->Draw("H"); TLegend *leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("TracktoLCTX_1","ME11A: mean:-0.0cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_2","ME11B: mean:-0.0cm;RMS:4.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_3","ME12+13: mean:0.0cm;RMS:3.5cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_4","ME2: mean:0.0cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_5","ME3: mean:0.1cm;RMS:2.8cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_6","ME4: mean:0.0cm;RMS:2.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *TracktoLCTX_2__110 = new TH1D("TracktoLCTX_2__110","TracktoLCTX",100,-40,40); TracktoLCTX_2__110->SetBinContent(0,265.8331); TracktoLCTX_2__110->SetBinContent(4,0.001044117); TracktoLCTX_2__110->SetBinContent(5,0.002088233); TracktoLCTX_2__110->SetBinContent(6,0.002088233); TracktoLCTX_2__110->SetBinContent(7,0.001566175); TracktoLCTX_2__110->SetBinContent(8,0.002610291); TracktoLCTX_2__110->SetBinContent(9,0.004437495); TracktoLCTX_2__110->SetBinContent(10,0.00313235); TracktoLCTX_2__110->SetBinContent(11,0.004698524); TracktoLCTX_2__110->SetBinContent(12,0.006786757); TracktoLCTX_2__110->SetBinContent(13,0.01357351); TracktoLCTX_2__110->SetBinContent(14,0.01409557); TracktoLCTX_2__110->SetBinContent(15,0.01566175); TracktoLCTX_2__110->SetBinContent(16,0.03054041); TracktoLCTX_2__110->SetBinContent(17,0.02923526); TracktoLCTX_2__110->SetBinContent(18,0.0349779); TracktoLCTX_2__110->SetBinContent(19,0.03706614); TracktoLCTX_2__110->SetBinContent(20,0.04072054); TracktoLCTX_2__110->SetBinContent(21,0.05559921); TracktoLCTX_2__110->SetBinContent(22,0.05063965); TracktoLCTX_2__110->SetBinContent(23,0.0707389); TracktoLCTX_2__110->SetBinContent(24,0.08613961); TracktoLCTX_2__110->SetBinContent(25,0.09658078); TracktoLCTX_2__110->SetBinContent(26,0.1033675); TracktoLCTX_2__110->SetBinContent(27,0.1328638); TracktoLCTX_2__110->SetBinContent(28,0.1273822); TracktoLCTX_2__110->SetBinContent(29,0.1498307); TracktoLCTX_2__110->SetBinContent(30,0.1670586); TracktoLCTX_2__110->SetBinContent(31,0.1871579); TracktoLCTX_2__110->SetBinContent(32,0.1819373); TracktoLCTX_2__110->SetBinContent(33,0.2250071); TracktoLCTX_2__110->SetBinContent(34,0.2265733); TracktoLCTX_2__110->SetBinContent(35,0.2592019); TracktoLCTX_2__110->SetBinContent(36,0.26886); TracktoLCTX_2__110->SetBinContent(37,0.2975732); TracktoLCTX_2__110->SetBinContent(38,0.2949629); TracktoLCTX_2__110->SetBinContent(39,0.3069703); TracktoLCTX_2__110->SetBinContent(40,0.3382938); TracktoLCTX_2__110->SetBinContent(41,0.3818856); TracktoLCTX_2__110->SetBinContent(42,0.4147753); TracktoLCTX_2__110->SetBinContent(43,0.4419223); TracktoLCTX_2__110->SetBinContent(44,0.4980436); TracktoLCTX_2__110->SetBinContent(45,0.6136795); TracktoLCTX_2__110->SetBinContent(46,0.7267051); TracktoLCTX_2__110->SetBinContent(47,0.9898225); TracktoLCTX_2__110->SetBinContent(48,1.439054); TracktoLCTX_2__110->SetBinContent(49,3.488393); TracktoLCTX_2__110->SetBinContent(50,37.54382); TracktoLCTX_2__110->SetBinContent(51,36.99696); TracktoLCTX_2__110->SetBinContent(52,3.337257); TracktoLCTX_2__110->SetBinContent(53,1.355263); TracktoLCTX_2__110->SetBinContent(54,0.9175174); TracktoLCTX_2__110->SetBinContent(55,0.7669036); TracktoLCTX_2__110->SetBinContent(56,0.5849663); TracktoLCTX_2__110->SetBinContent(57,0.5024811); TracktoLCTX_2__110->SetBinContent(58,0.4442716); TracktoLCTX_2__110->SetBinContent(59,0.4012018); TracktoLCTX_2__110->SetBinContent(60,0.3897165); TracktoLCTX_2__110->SetBinContent(61,0.3427313); TracktoLCTX_2__110->SetBinContent(62,0.3325511); TracktoLCTX_2__110->SetBinContent(63,0.2994004); TracktoLCTX_2__110->SetBinContent(64,0.2834776); TracktoLCTX_2__110->SetBinContent(65,0.2659887); TracktoLCTX_2__110->SetBinContent(66,0.2620732); TracktoLCTX_2__110->SetBinContent(67,0.2466725); TracktoLCTX_2__110->SetBinContent(68,0.2020365); TracktoLCTX_2__110->SetBinContent(69,0.2114336); TracktoLCTX_2__110->SetBinContent(70,0.1850697); TracktoLCTX_2__110->SetBinContent(71,0.1571395); TracktoLCTX_2__110->SetBinContent(72,0.1459153); TracktoLCTX_2__110->SetBinContent(73,0.1312977); TracktoLCTX_2__110->SetBinContent(74,0.1062389); TracktoLCTX_2__110->SetBinContent(75,0.1138087); TracktoLCTX_2__110->SetBinContent(76,0.09684181); TracktoLCTX_2__110->SetBinContent(77,0.07856977); TracktoLCTX_2__110->SetBinContent(78,0.07308816); TracktoLCTX_2__110->SetBinContent(79,0.06473523); TracktoLCTX_2__110->SetBinContent(80,0.05507715); TracktoLCTX_2__110->SetBinContent(81,0.05951464); TracktoLCTX_2__110->SetBinContent(82,0.03445585); TracktoLCTX_2__110->SetBinContent(83,0.02558086); TracktoLCTX_2__110->SetBinContent(84,0.01827204); TracktoLCTX_2__110->SetBinContent(85,0.0287132); TracktoLCTX_2__110->SetBinContent(86,0.01670586); TracktoLCTX_2__110->SetBinContent(87,0.0125294); TracktoLCTX_2__110->SetBinContent(88,0.01409557); TracktoLCTX_2__110->SetBinContent(89,0.006264699); TracktoLCTX_2__110->SetBinContent(90,0.005220583); TracktoLCTX_2__110->SetBinContent(91,0.007830874); TracktoLCTX_2__110->SetBinContent(92,0.00313235); TracktoLCTX_2__110->SetBinContent(93,0.00313235); TracktoLCTX_2__110->SetBinContent(94,0.001044117); TracktoLCTX_2__110->SetBinContent(95,0.001044117); TracktoLCTX_2__110->SetBinContent(96,0.001044117); TracktoLCTX_2__110->SetBinContent(97,0.001044117); TracktoLCTX_2__110->SetBinContent(98,0.0005220583); TracktoLCTX_2__110->SetBinContent(101,0.0005220583); TracktoLCTX_2__110->SetEntries(1401505); TracktoLCTX_2__110->SetStats(0); ci = TColor::GetColor("#ff9999"); TracktoLCTX_2__110->SetLineColor(ci); ci = TColor::GetColor("#ff9999"); TracktoLCTX_2__110->SetMarkerColor(ci); TracktoLCTX_2__110->GetXaxis()->SetTitle("cm"); TracktoLCTX_2__110->GetYaxis()->SetTitle("scaled number of entries"); TracktoLCTX_2__110->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("TracktoLCTX_1","ME11A: mean:-0.0cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_2","ME11B: mean:-0.0cm;RMS:4.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_3","ME12+13: mean:0.0cm;RMS:3.5cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_4","ME2: mean:0.0cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_5","ME3: mean:0.1cm;RMS:2.8cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_6","ME4: mean:0.0cm;RMS:2.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *TracktoLCTX_3__111 = new TH1D("TracktoLCTX_3__111","TracktoLCTX",100,-40,40); TracktoLCTX_3__111->SetBinContent(0,87.79784); TracktoLCTX_3__111->SetBinContent(1,0.01559486); TracktoLCTX_3__111->SetBinContent(2,0.01149095); TracktoLCTX_3__111->SetBinContent(3,0.01969877); TracktoLCTX_3__111->SetBinContent(4,0.01313252); TracktoLCTX_3__111->SetBinContent(5,0.004103911); TracktoLCTX_3__111->SetBinContent(6,0.01067017); TracktoLCTX_3__111->SetBinContent(7,0.01231173); TracktoLCTX_3__111->SetBinContent(8,0.02051956); TracktoLCTX_3__111->SetBinContent(9,0.01067017); TracktoLCTX_3__111->SetBinContent(10,0.01969877); TracktoLCTX_3__111->SetBinContent(11,0.02380268); TracktoLCTX_3__111->SetBinContent(12,0.01231173); TracktoLCTX_3__111->SetBinContent(13,0.0139533); TracktoLCTX_3__111->SetBinContent(14,0.01231173); TracktoLCTX_3__111->SetBinContent(15,0.01723643); TracktoLCTX_3__111->SetBinContent(16,0.0229819); TracktoLCTX_3__111->SetBinContent(17,0.02380268); TracktoLCTX_3__111->SetBinContent(18,0.01641564); TracktoLCTX_3__111->SetBinContent(19,0.02544425); TracktoLCTX_3__111->SetBinContent(20,0.02462347); TracktoLCTX_3__111->SetBinContent(21,0.03324168); TracktoLCTX_3__111->SetBinContent(22,0.03160011); TracktoLCTX_3__111->SetBinContent(23,0.02544425); TracktoLCTX_3__111->SetBinContent(24,0.02954816); TracktoLCTX_3__111->SetBinContent(25,0.03611442); TracktoLCTX_3__111->SetBinContent(26,0.01805721); TracktoLCTX_3__111->SetBinContent(27,0.03201051); TracktoLCTX_3__111->SetBinContent(28,0.04801576); TracktoLCTX_3__111->SetBinContent(29,0.03036894); TracktoLCTX_3__111->SetBinContent(30,0.03036894); TracktoLCTX_3__111->SetBinContent(31,0.03118972); TracktoLCTX_3__111->SetBinContent(32,0.03611442); TracktoLCTX_3__111->SetBinContent(33,0.04432224); TracktoLCTX_3__111->SetBinContent(34,0.04924693); TracktoLCTX_3__111->SetBinContent(35,0.04268067); TracktoLCTX_3__111->SetBinContent(36,0.0599171); TracktoLCTX_3__111->SetBinContent(37,0.0554028); TracktoLCTX_3__111->SetBinContent(38,0.07551196); TracktoLCTX_3__111->SetBinContent(39,0.08618213); TracktoLCTX_3__111->SetBinContent(40,0.08495096); TracktoLCTX_3__111->SetBinContent(41,0.1116264); TracktoLCTX_3__111->SetBinContent(42,0.1616941); TracktoLCTX_3__111->SetBinContent(43,0.2265359); TracktoLCTX_3__111->SetBinContent(44,0.3422662); TracktoLCTX_3__111->SetBinContent(45,0.6114827); TracktoLCTX_3__111->SetBinContent(46,1.085895); TracktoLCTX_3__111->SetBinContent(47,2.150449); TracktoLCTX_3__111->SetBinContent(48,4.908688); TracktoLCTX_3__111->SetBinContent(49,12.17056); TracktoLCTX_3__111->SetBinContent(50,25.97283); TracktoLCTX_3__111->SetBinContent(51,26.87815); TracktoLCTX_3__111->SetBinContent(52,12.93183); TracktoLCTX_3__111->SetBinContent(53,5.269422); TracktoLCTX_3__111->SetBinContent(54,2.273567); TracktoLCTX_3__111->SetBinContent(55,1.078918); TracktoLCTX_3__111->SetBinContent(56,0.5761891); TracktoLCTX_3__111->SetBinContent(57,0.3681208); TracktoLCTX_3__111->SetBinContent(58,0.2150449); TracktoLCTX_3__111->SetBinContent(59,0.1662084); TracktoLCTX_3__111->SetBinContent(60,0.1239381); TracktoLCTX_3__111->SetBinContent(61,0.08946526); TracktoLCTX_3__111->SetBinContent(62,0.08536135); TracktoLCTX_3__111->SetBinContent(63,0.05786515); TracktoLCTX_3__111->SetBinContent(64,0.06237945); TracktoLCTX_3__111->SetBinContent(65,0.05909632); TracktoLCTX_3__111->SetBinContent(66,0.04021833); TracktoLCTX_3__111->SetBinContent(67,0.04185989); TracktoLCTX_3__111->SetBinContent(68,0.0508885); TracktoLCTX_3__111->SetBinContent(69,0.03939755); TracktoLCTX_3__111->SetBinContent(70,0.03857676); TracktoLCTX_3__111->SetBinContent(71,0.03529363); TracktoLCTX_3__111->SetBinContent(72,0.02954816); TracktoLCTX_3__111->SetBinContent(73,0.02626503); TracktoLCTX_3__111->SetBinContent(74,0.02790659); TracktoLCTX_3__111->SetBinContent(75,0.02134034); TracktoLCTX_3__111->SetBinContent(76,0.02503386); TracktoLCTX_3__111->SetBinContent(77,0.03036894); TracktoLCTX_3__111->SetBinContent(78,0.02421308); TracktoLCTX_3__111->SetBinContent(79,0.02954816); TracktoLCTX_3__111->SetBinContent(80,0.01969877); TracktoLCTX_3__111->SetBinContent(81,0.02134034); TracktoLCTX_3__111->SetBinContent(82,0.02134034); TracktoLCTX_3__111->SetBinContent(83,0.03036894); TracktoLCTX_3__111->SetBinContent(84,0.03118972); TracktoLCTX_3__111->SetBinContent(85,0.01641564); TracktoLCTX_3__111->SetBinContent(86,0.02134034); TracktoLCTX_3__111->SetBinContent(87,0.01354291); TracktoLCTX_3__111->SetBinContent(88,0.01805721); TracktoLCTX_3__111->SetBinContent(89,0.01969877); TracktoLCTX_3__111->SetBinContent(90,0.009028604); TracktoLCTX_3__111->SetBinContent(91,0.0139533); TracktoLCTX_3__111->SetBinContent(92,0.01723643); TracktoLCTX_3__111->SetBinContent(93,0.01231173); TracktoLCTX_3__111->SetBinContent(94,0.01477408); TracktoLCTX_3__111->SetBinContent(95,0.01313252); TracktoLCTX_3__111->SetBinContent(96,0.0139533); TracktoLCTX_3__111->SetBinContent(97,0.01149095); TracktoLCTX_3__111->SetBinContent(98,0.01313252); TracktoLCTX_3__111->SetBinContent(99,0.01231173); TracktoLCTX_3__111->SetBinContent(100,0.006566258); TracktoLCTX_3__111->SetBinContent(101,0.1218862); TracktoLCTX_3__111->SetEntries(457904); TracktoLCTX_3__111->SetStats(0); TracktoLCTX_3__111->GetXaxis()->SetTitle("cm"); TracktoLCTX_3__111->GetYaxis()->SetTitle("scaled number of entries"); TracktoLCTX_3__111->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("TracktoLCTX_1","ME11A: mean:-0.0cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_2","ME11B: mean:-0.0cm;RMS:4.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_3","ME12+13: mean:0.0cm;RMS:3.5cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_4","ME2: mean:0.0cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_5","ME3: mean:0.1cm;RMS:2.8cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_6","ME4: mean:0.0cm;RMS:2.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *TracktoLCTX_4__112 = new TH1D("TracktoLCTX_4__112","TracktoLCTX",100,-40,40); TracktoLCTX_4__112->SetBinContent(0,201.0141); TracktoLCTX_4__112->SetBinContent(1,0.0196316); TracktoLCTX_4__112->SetBinContent(2,0.01895928); TracktoLCTX_4__112->SetBinContent(3,0.02164854); TracktoLCTX_4__112->SetBinContent(4,0.02205193); TracktoLCTX_4__112->SetBinContent(5,0.02379995); TracktoLCTX_4__112->SetBinContent(6,0.01990052); TracktoLCTX_4__112->SetBinContent(7,0.01990052); TracktoLCTX_4__112->SetBinContent(8,0.02541351); TracktoLCTX_4__112->SetBinContent(9,0.02097623); TracktoLCTX_4__112->SetBinContent(10,0.02501012); TracktoLCTX_4__112->SetBinContent(11,0.02541351); TracktoLCTX_4__112->SetBinContent(12,0.0268926); TracktoLCTX_4__112->SetBinContent(13,0.01990052); TracktoLCTX_4__112->SetBinContent(14,0.02474119); TracktoLCTX_4__112->SetBinContent(15,0.02554797); TracktoLCTX_4__112->SetBinContent(16,0.02729599); TracktoLCTX_4__112->SetBinContent(17,0.02420334); TracktoLCTX_4__112->SetBinContent(18,0.03375021); TracktoLCTX_4__112->SetBinContent(19,0.03119542); TracktoLCTX_4__112->SetBinContent(20,0.02716153); TracktoLCTX_4__112->SetBinContent(21,0.02608582); TracktoLCTX_4__112->SetBinContent(22,0.02823723); TracktoLCTX_4__112->SetBinContent(23,0.03442253); TracktoLCTX_4__112->SetBinContent(24,0.02864062); TracktoLCTX_4__112->SetBinContent(25,0.03038864); TracktoLCTX_4__112->SetBinContent(26,0.0279683); TracktoLCTX_4__112->SetBinContent(27,0.02635475); TracktoLCTX_4__112->SetBinContent(28,0.03334682); TracktoLCTX_4__112->SetBinContent(29,0.03603608); TracktoLCTX_4__112->SetBinContent(30,0.0428937); TracktoLCTX_4__112->SetBinContent(31,0.03872534); TracktoLCTX_4__112->SetBinContent(32,0.03630501); TracktoLCTX_4__112->SetBinContent(33,0.04612081); TracktoLCTX_4__112->SetBinContent(34,0.04437279); TracktoLCTX_4__112->SetBinContent(35,0.05405413); TracktoLCTX_4__112->SetBinContent(36,0.0610462); TracktoLCTX_4__112->SetBinContent(37,0.06373546); TracktoLCTX_4__112->SetBinContent(38,0.06481117); TracktoLCTX_4__112->SetBinContent(39,0.08995575); TracktoLCTX_4__112->SetBinContent(40,0.0930484); TracktoLCTX_4__112->SetBinContent(41,0.1266641); TracktoLCTX_4__112->SetBinContent(42,0.1819284); TracktoLCTX_4__112->SetBinContent(43,0.2405543); TracktoLCTX_4__112->SetBinContent(44,0.3701766); TracktoLCTX_4__112->SetBinContent(45,0.5730813); TracktoLCTX_4__112->SetBinContent(46,0.95778); TracktoLCTX_4__112->SetBinContent(47,1.803821); TracktoLCTX_4__112->SetBinContent(48,3.918386); TracktoLCTX_4__112->SetBinContent(49,10.64086); TracktoLCTX_4__112->SetBinContent(50,28.39065); TracktoLCTX_4__112->SetBinContent(51,29.52283); TracktoLCTX_4__112->SetBinContent(52,11.82629); TracktoLCTX_4__112->SetBinContent(53,4.280226); TracktoLCTX_4__112->SetBinContent(54,1.936267); TracktoLCTX_4__112->SetBinContent(55,1.044509); TracktoLCTX_4__112->SetBinContent(56,0.5765774); TracktoLCTX_4__112->SetBinContent(57,0.3551168); TracktoLCTX_4__112->SetBinContent(58,0.2312764); TracktoLCTX_4__112->SetBinContent(59,0.1687511); TracktoLCTX_4__112->SetBinContent(60,0.1266641); TracktoLCTX_4__112->SetBinContent(61,0.09681336); TracktoLCTX_4__112->SetBinContent(62,0.07919871); TracktoLCTX_4__112->SetBinContent(63,0.07906425); TracktoLCTX_4__112->SetBinContent(64,0.06682811); TracktoLCTX_4__112->SetBinContent(65,0.04867561); TracktoLCTX_4__112->SetBinContent(66,0.04948238); TracktoLCTX_4__112->SetBinContent(67,0.04356601); TracktoLCTX_4__112->SetBinContent(68,0.04222138); TracktoLCTX_4__112->SetBinContent(69,0.03617055); TracktoLCTX_4__112->SetBinContent(70,0.03348129); TracktoLCTX_4__112->SetBinContent(71,0.03294344); TracktoLCTX_4__112->SetBinContent(72,0.03442253); TracktoLCTX_4__112->SetBinContent(73,0.0330779); TracktoLCTX_4__112->SetBinContent(74,0.02769938); TracktoLCTX_4__112->SetBinContent(75,0.03173327); TracktoLCTX_4__112->SetBinContent(76,0.03159881); TracktoLCTX_4__112->SetBinContent(77,0.0341536); TracktoLCTX_4__112->SetBinContent(78,0.02635475); TracktoLCTX_4__112->SetBinContent(79,0.03065756); TracktoLCTX_4__112->SetBinContent(80,0.02635475); TracktoLCTX_4__112->SetBinContent(81,0.02245532); TracktoLCTX_4__112->SetBinContent(82,0.0258169); TracktoLCTX_4__112->SetBinContent(83,0.02985079); TracktoLCTX_4__112->SetBinContent(84,0.03011971); TracktoLCTX_4__112->SetBinContent(85,0.02339656); TracktoLCTX_4__112->SetBinContent(86,0.02474119); TracktoLCTX_4__112->SetBinContent(87,0.02608582); TracktoLCTX_4__112->SetBinContent(88,0.01936267); TracktoLCTX_4__112->SetBinContent(89,0.02635475); TracktoLCTX_4__112->SetBinContent(90,0.02312764); TracktoLCTX_4__112->SetBinContent(91,0.01990052); TracktoLCTX_4__112->SetBinContent(92,0.01882482); TracktoLCTX_4__112->SetBinContent(93,0.02043838); TracktoLCTX_4__112->SetBinContent(94,0.02178301); TracktoLCTX_4__112->SetBinContent(95,0.01976606); TracktoLCTX_4__112->SetBinContent(96,0.02205193); TracktoLCTX_4__112->SetBinContent(97,0.01990052); TracktoLCTX_4__112->SetBinContent(98,0.02043838); TracktoLCTX_4__112->SetBinContent(99,0.0196316); TracktoLCTX_4__112->SetBinContent(100,0.01909375); TracktoLCTX_4__112->SetBinContent(101,0.4657798); TracktoLCTX_4__112->SetEntries(2242103); TracktoLCTX_4__112->SetStats(0); ci = TColor::GetColor("#ff0000"); TracktoLCTX_4__112->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); TracktoLCTX_4__112->SetMarkerColor(ci); TracktoLCTX_4__112->GetXaxis()->SetTitle("cm"); TracktoLCTX_4__112->GetYaxis()->SetTitle("scaled number of entries"); TracktoLCTX_4__112->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("TracktoLCTX_1","ME11A: mean:-0.0cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_2","ME11B: mean:-0.0cm;RMS:4.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_3","ME12+13: mean:0.0cm;RMS:3.5cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_4","ME2: mean:0.0cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_5","ME3: mean:0.1cm;RMS:2.8cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_6","ME4: mean:0.0cm;RMS:2.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *TracktoLCTX_5__113 = new TH1D("TracktoLCTX_5__113","TracktoLCTX",100,-40,40); TracktoLCTX_5__113->SetBinContent(0,158.5363); TracktoLCTX_5__113->SetBinContent(1,0.006475526); TracktoLCTX_5__113->SetBinContent(2,0.009250751); TracktoLCTX_5__113->SetBinContent(3,0.008325676); TracktoLCTX_5__113->SetBinContent(4,0.008017317); TracktoLCTX_5__113->SetBinContent(5,0.007092242); TracktoLCTX_5__113->SetBinContent(6,0.007708959); TracktoLCTX_5__113->SetBinContent(7,0.009867468); TracktoLCTX_5__113->SetBinContent(8,0.009867468); TracktoLCTX_5__113->SetBinContent(9,0.01017583); TracktoLCTX_5__113->SetBinContent(10,0.008325676); TracktoLCTX_5__113->SetBinContent(11,0.008634034); TracktoLCTX_5__113->SetBinContent(12,0.008325676); TracktoLCTX_5__113->SetBinContent(13,0.007092242); TracktoLCTX_5__113->SetBinContent(14,0.01048418); TracktoLCTX_5__113->SetBinContent(15,0.01002165); TracktoLCTX_5__113->SetBinContent(16,0.005550451); TracktoLCTX_5__113->SetBinContent(17,0.01171762); TracktoLCTX_5__113->SetBinContent(18,0.007092242); TracktoLCTX_5__113->SetBinContent(19,0.01079254); TracktoLCTX_5__113->SetBinContent(20,0.01033001); TracktoLCTX_5__113->SetBinContent(21,0.009867468); TracktoLCTX_5__113->SetBinContent(22,0.01202598); TracktoLCTX_5__113->SetBinContent(23,0.008942392); TracktoLCTX_5__113->SetBinContent(24,0.01171762); TracktoLCTX_5__113->SetBinContent(25,0.01295105); TracktoLCTX_5__113->SetBinContent(26,0.01171762); TracktoLCTX_5__113->SetBinContent(27,0.01264269); TracktoLCTX_5__113->SetBinContent(28,0.01325941); TracktoLCTX_5__113->SetBinContent(29,0.01695971); TracktoLCTX_5__113->SetBinContent(30,0.01510956); TracktoLCTX_5__113->SetBinContent(31,0.01942658); TracktoLCTX_5__113->SetBinContent(32,0.01387613); TracktoLCTX_5__113->SetBinContent(33,0.01942658); TracktoLCTX_5__113->SetBinContent(34,0.02497703); TracktoLCTX_5__113->SetBinContent(35,0.02775225); TracktoLCTX_5__113->SetBinContent(36,0.03021912); TracktoLCTX_5__113->SetBinContent(37,0.03561539); TracktoLCTX_5__113->SetBinContent(38,0.0496457); TracktoLCTX_5__113->SetBinContent(39,0.05874227); TracktoLCTX_5__113->SetBinContent(40,0.07138496); TracktoLCTX_5__113->SetBinContent(41,0.09805796); TracktoLCTX_5__113->SetBinContent(42,0.1487829); TracktoLCTX_5__113->SetBinContent(43,0.2306521); TracktoLCTX_5__113->SetBinContent(44,0.3478282); TracktoLCTX_5__113->SetBinContent(45,0.5999112); TracktoLCTX_5__113->SetBinContent(46,1.067691); TracktoLCTX_5__113->SetBinContent(47,2.142011); TracktoLCTX_5__113->SetBinContent(48,4.841689); TracktoLCTX_5__113->SetBinContent(49,12.14423); TracktoLCTX_5__113->SetBinContent(50,26.05644); TracktoLCTX_5__113->SetBinContent(51,27.31993); TracktoLCTX_5__113->SetBinContent(52,13.45506); TracktoLCTX_5__113->SetBinContent(53,5.234075); TracktoLCTX_5__113->SetBinContent(54,2.302666); TracktoLCTX_5__113->SetBinContent(55,1.15804); TracktoLCTX_5__113->SetBinContent(56,0.6304387); TracktoLCTX_5__113->SetBinContent(57,0.3798975); TracktoLCTX_5__113->SetBinContent(58,0.2247932); TracktoLCTX_5__113->SetBinContent(59,0.141999); TracktoLCTX_5__113->SetBinContent(60,0.115326); TracktoLCTX_5__113->SetBinContent(61,0.08479855); TracktoLCTX_5__113->SetBinContent(62,0.0599757); TracktoLCTX_5__113->SetBinContent(63,0.04764137); TracktoLCTX_5__113->SetBinContent(64,0.04409525); TracktoLCTX_5__113->SetBinContent(65,0.03114419); TracktoLCTX_5__113->SetBinContent(66,0.02790643); TracktoLCTX_5__113->SetBinContent(67,0.02528539); TracktoLCTX_5__113->SetBinContent(68,0.02158509); TracktoLCTX_5__113->SetBinContent(69,0.01464702); TracktoLCTX_5__113->SetBinContent(70,0.01665135); TracktoLCTX_5__113->SetBinContent(71,0.01541792); TracktoLCTX_5__113->SetBinContent(72,0.01418448); TracktoLCTX_5__113->SetBinContent(73,0.01588046); TracktoLCTX_5__113->SetBinContent(74,0.01233433); TracktoLCTX_5__113->SetBinContent(75,0.01387613); TracktoLCTX_5__113->SetBinContent(76,0.01233433); TracktoLCTX_5__113->SetBinContent(77,0.0111009); TracktoLCTX_5__113->SetBinContent(78,0.01171762); TracktoLCTX_5__113->SetBinContent(79,0.01202598); TracktoLCTX_5__113->SetBinContent(80,0.01218016); TracktoLCTX_5__113->SetBinContent(81,0.01202598); TracktoLCTX_5__113->SetBinContent(82,0.01048418); TracktoLCTX_5__113->SetBinContent(83,0.01310523); TracktoLCTX_5__113->SetBinContent(84,0.01171762); TracktoLCTX_5__113->SetBinContent(85,0.009559109); TracktoLCTX_5__113->SetBinContent(86,0.01171762); TracktoLCTX_5__113->SetBinContent(87,0.01017583); TracktoLCTX_5__113->SetBinContent(88,0.01048418); TracktoLCTX_5__113->SetBinContent(89,0.01140926); TracktoLCTX_5__113->SetBinContent(90,0.01048418); TracktoLCTX_5__113->SetBinContent(91,0.01387613); TracktoLCTX_5__113->SetBinContent(92,0.01079254); TracktoLCTX_5__113->SetBinContent(93,0.009250751); TracktoLCTX_5__113->SetBinContent(94,0.009867468); TracktoLCTX_5__113->SetBinContent(95,0.009250751); TracktoLCTX_5__113->SetBinContent(96,0.008634034); TracktoLCTX_5__113->SetBinContent(97,0.007708959); TracktoLCTX_5__113->SetBinContent(98,0.009250751); TracktoLCTX_5__113->SetBinContent(99,0.008017317); TracktoLCTX_5__113->SetBinContent(100,0.006475526); TracktoLCTX_5__113->SetBinContent(101,0.1988911); TracktoLCTX_5__113->SetEntries(1678146); TracktoLCTX_5__113->SetStats(0); ci = TColor::GetColor("#00ff00"); TracktoLCTX_5__113->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); TracktoLCTX_5__113->SetMarkerColor(ci); TracktoLCTX_5__113->GetXaxis()->SetTitle("cm"); TracktoLCTX_5__113->GetYaxis()->SetTitle("scaled number of entries"); TracktoLCTX_5__113->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("TracktoLCTX_1","ME11A: mean:-0.0cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_2","ME11B: mean:-0.0cm;RMS:4.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_3","ME12+13: mean:0.0cm;RMS:3.5cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_4","ME2: mean:0.0cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_5","ME3: mean:0.1cm;RMS:2.8cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_6","ME4: mean:0.0cm;RMS:2.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *TracktoLCTX_6__114 = new TH1D("TracktoLCTX_6__114","TracktoLCTX",100,-40,40); TracktoLCTX_6__114->SetBinContent(0,132.1923); TracktoLCTX_6__114->SetBinContent(1,0.001398638); TracktoLCTX_6__114->SetBinContent(2,0.003146936); TracktoLCTX_6__114->SetBinContent(3,0.004895233); TracktoLCTX_6__114->SetBinContent(4,0.004895233); TracktoLCTX_6__114->SetBinContent(5,0.003846255); TracktoLCTX_6__114->SetBinContent(6,0.005944212); TracktoLCTX_6__114->SetBinContent(7,0.003496595); TracktoLCTX_6__114->SetBinContent(8,0.004195914); TracktoLCTX_6__114->SetBinContent(9,0.003846255); TracktoLCTX_6__114->SetBinContent(10,0.005944212); TracktoLCTX_6__114->SetBinContent(11,0.003146936); TracktoLCTX_6__114->SetBinContent(12,0.00716802); TracktoLCTX_6__114->SetBinContent(13,0.003146936); TracktoLCTX_6__114->SetBinContent(14,0.002097957); TracktoLCTX_6__114->SetBinContent(15,0.003496595); TracktoLCTX_6__114->SetBinContent(16,0.005594552); TracktoLCTX_6__114->SetBinContent(17,0.003846255); TracktoLCTX_6__114->SetBinContent(18,0.003496595); TracktoLCTX_6__114->SetBinContent(19,0.004895233); TracktoLCTX_6__114->SetBinContent(20,0.005244893); TracktoLCTX_6__114->SetBinContent(21,0.00699319); TracktoLCTX_6__114->SetBinContent(22,0.005244893); TracktoLCTX_6__114->SetBinContent(23,0.009091147); TracktoLCTX_6__114->SetBinContent(24,0.008042169); TracktoLCTX_6__114->SetBinContent(25,0.008042169); TracktoLCTX_6__114->SetBinContent(26,0.00734285); TracktoLCTX_6__114->SetBinContent(27,0.009790467); TracktoLCTX_6__114->SetBinContent(28,0.006293871); TracktoLCTX_6__114->SetBinContent(29,0.007692509); TracktoLCTX_6__114->SetBinContent(30,0.007692509); TracktoLCTX_6__114->SetBinContent(31,0.01014013); TracktoLCTX_6__114->SetBinContent(32,0.01363672); TracktoLCTX_6__114->SetBinContent(33,0.01958093); TracktoLCTX_6__114->SetBinContent(34,0.01538502); TracktoLCTX_6__114->SetBinContent(35,0.02132923); TracktoLCTX_6__114->SetBinContent(36,0.02377685); TracktoLCTX_6__114->SetBinContent(37,0.0293714); TracktoLCTX_6__114->SetBinContent(38,0.03356731); TracktoLCTX_6__114->SetBinContent(39,0.05209927); TracktoLCTX_6__114->SetBinContent(40,0.07884822); TracktoLCTX_6__114->SetBinContent(41,0.09003733); TracktoLCTX_6__114->SetBinContent(42,0.1477311); TracktoLCTX_6__114->SetBinContent(43,0.2288522); TracktoLCTX_6__114->SetBinContent(44,0.3765833); TracktoLCTX_6__114->SetBinContent(45,0.6750177); TracktoLCTX_6__114->SetBinContent(46,1.234298); TracktoLCTX_6__114->SetBinContent(47,2.558634); TracktoLCTX_6__114->SetBinContent(48,5.579692); TracktoLCTX_6__114->SetBinContent(49,12.90051); TracktoLCTX_6__114->SetBinContent(50,24.16759); TracktoLCTX_6__114->SetBinContent(51,25.31535); TracktoLCTX_6__114->SetBinContent(52,14.24845); TracktoLCTX_6__114->SetBinContent(53,6.09002); TracktoLCTX_6__114->SetBinContent(54,2.648846); TracktoLCTX_6__114->SetBinContent(55,1.29409); TracktoLCTX_6__114->SetBinContent(56,0.6807871); TracktoLCTX_6__114->SetBinContent(57,0.3872479); TracktoLCTX_6__114->SetBinContent(58,0.2234324); TracktoLCTX_6__114->SetBinContent(59,0.1461577); TracktoLCTX_6__114->SetBinContent(60,0.1010516); TracktoLCTX_6__114->SetBinContent(61,0.0699319); TracktoLCTX_6__114->SetBinContent(62,0.04615506); TracktoLCTX_6__114->SetBinContent(63,0.03846255); TracktoLCTX_6__114->SetBinContent(64,0.02412651); TracktoLCTX_6__114->SetBinContent(65,0.02500066); TracktoLCTX_6__114->SetBinContent(66,0.01818229); TracktoLCTX_6__114->SetBinContent(67,0.01678366); TracktoLCTX_6__114->SetBinContent(68,0.01958093); TracktoLCTX_6__114->SetBinContent(69,0.01398638); TracktoLCTX_6__114->SetBinContent(70,0.01258774); TracktoLCTX_6__114->SetBinContent(71,0.01153876); TracktoLCTX_6__114->SetBinContent(72,0.00734285); TracktoLCTX_6__114->SetBinContent(73,0.01014013); TracktoLCTX_6__114->SetBinContent(74,0.01048979); TracktoLCTX_6__114->SetBinContent(75,0.00751768); TracktoLCTX_6__114->SetBinContent(76,0.005594552); TracktoLCTX_6__114->SetBinContent(77,0.01014013); TracktoLCTX_6__114->SetBinContent(78,0.006643531); TracktoLCTX_6__114->SetBinContent(79,0.005244893); TracktoLCTX_6__114->SetBinContent(80,0.004720404); TracktoLCTX_6__114->SetBinContent(81,0.008391828); TracktoLCTX_6__114->SetBinContent(82,0.005944212); TracktoLCTX_6__114->SetBinContent(83,0.005769382); TracktoLCTX_6__114->SetBinContent(84,0.002097957); TracktoLCTX_6__114->SetBinContent(85,0.003146936); TracktoLCTX_6__114->SetBinContent(86,0.004545574); TracktoLCTX_6__114->SetBinContent(87,0.005244893); TracktoLCTX_6__114->SetBinContent(88,0.003846255); TracktoLCTX_6__114->SetBinContent(89,0.004895233); TracktoLCTX_6__114->SetBinContent(90,0.003496595); TracktoLCTX_6__114->SetBinContent(91,0.005944212); TracktoLCTX_6__114->SetBinContent(92,0.003146936); TracktoLCTX_6__114->SetBinContent(93,0.005594552); TracktoLCTX_6__114->SetBinContent(94,0.001748298); TracktoLCTX_6__114->SetBinContent(95,0.002797276); TracktoLCTX_6__114->SetBinContent(96,0.004895233); TracktoLCTX_6__114->SetBinContent(97,0.003146936); TracktoLCTX_6__114->SetBinContent(98,0.002097957); TracktoLCTX_6__114->SetBinContent(99,0.003846255); TracktoLCTX_6__114->SetBinContent(100,0.003146936); TracktoLCTX_6__114->SetBinContent(101,0.06888293); TracktoLCTX_6__114->SetEntries(1328499); TracktoLCTX_6__114->SetStats(0); ci = TColor::GetColor("#0000ff"); TracktoLCTX_6__114->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); TracktoLCTX_6__114->SetMarkerColor(ci); TracktoLCTX_6__114->GetXaxis()->SetTitle("cm"); TracktoLCTX_6__114->GetYaxis()->SetTitle("scaled number of entries"); TracktoLCTX_6__114->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("TracktoLCTX_1","ME11A: mean:-0.0cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_2","ME11B: mean:-0.0cm;RMS:4.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_3","ME12+13: mean:0.0cm;RMS:3.5cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_4","ME2: mean:0.0cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_5","ME3: mean:0.1cm;RMS:2.8cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("TracktoLCTX_6","ME4: mean:0.0cm;RMS:2.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TPaveText *pt = new TPaveText(0.01,0.945,0.3062097,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(1); pt->SetFillColor(0); TText *AText = pt->AddText("TracktoLCTX"); pt->Draw(); TracktoLCTX->Modified(); TracktoLCTX->cd(); TracktoLCTX->SetSelected(TracktoLCTX); }
void METJets() { //=========Macro generated from canvas: METJets/METJets //========= (Mon Nov 23 11:05:00 2015) by ROOT version6.02/05 TCanvas *METJets = new TCanvas("METJets", "METJets",100,122,700,700); METJets->Range(-1.875,-6.772831,16.875,5.054722); METJets->SetFillColor(0); METJets->SetBorderMode(0); METJets->SetBorderSize(2); METJets->SetLogy(); METJets->SetFrameBorderMode(0); METJets->SetFrameBorderMode(0); THStack *METJets = new THStack(); METJets->SetName("METJets"); METJets->SetTitle("METJets"); TH1F *METJets_stack_6 = new TH1F("METJets_stack_6","METJets",15,0,15); METJets_stack_6->SetMinimum(2.569948e-06); METJets_stack_6->SetMaximum(7446.75); METJets_stack_6->SetDirectory(0); METJets_stack_6->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); METJets_stack_6->SetLineColor(ci); METJets_stack_6->GetXaxis()->SetTitle("METJets"); METJets_stack_6->GetXaxis()->SetLabelFont(42); METJets_stack_6->GetXaxis()->SetLabelSize(0.035); METJets_stack_6->GetXaxis()->SetTitleSize(0.035); METJets_stack_6->GetXaxis()->SetTitleFont(42); METJets_stack_6->GetYaxis()->SetTitle("Events/pb"); METJets_stack_6->GetYaxis()->SetLabelFont(42); METJets_stack_6->GetYaxis()->SetLabelSize(0.035); METJets_stack_6->GetYaxis()->SetTitleSize(0.035); METJets_stack_6->GetYaxis()->SetTitleFont(42); METJets_stack_6->GetZaxis()->SetLabelFont(42); METJets_stack_6->GetZaxis()->SetLabelSize(0.035); METJets_stack_6->GetZaxis()->SetTitleSize(0.035); METJets_stack_6->GetZaxis()->SetTitleFont(42); METJets->SetHistogram(METJets_stack_6); TH1D *METJets26 = new TH1D("METJets26"," Number of jets in MET hemisphere",15,0,15); METJets26->SetBinContent(1,2.358311); METJets26->SetBinContent(2,1799.25); METJets26->SetBinContent(3,2794.573); METJets26->SetBinContent(4,982.1805); METJets26->SetBinContent(5,126.0732); METJets26->SetBinContent(6,6.831502); METJets26->SetBinContent(7,0.05059331); METJets26->SetBinError(1,0.8851475); METJets26->SetBinError(2,24.25261); METJets26->SetBinError(3,30.24717); METJets26->SetBinError(4,17.9355); METJets26->SetBinError(5,6.393654); METJets26->SetBinError(6,1.459512); METJets26->SetBinError(7,0.02038811); METJets26->SetEntries(35032); ci = TColor::GetColor("#00cc00"); METJets26->SetFillColor(ci); ci = TColor::GetColor("#00cc00"); METJets26->SetLineColor(ci); ci = TColor::GetColor("#00cc00"); METJets26->SetMarkerColor(ci); METJets26->SetMarkerStyle(22); METJets26->GetXaxis()->SetTitle("METJets"); METJets26->GetXaxis()->SetLabelFont(42); METJets26->GetXaxis()->SetLabelSize(0.035); METJets26->GetXaxis()->SetTitleSize(0.035); METJets26->GetXaxis()->SetTitleFont(42); METJets26->GetYaxis()->SetTitle("Events/pb"); METJets26->GetYaxis()->SetLabelFont(42); METJets26->GetYaxis()->SetLabelSize(0.035); METJets26->GetYaxis()->SetTitleSize(0.035); METJets26->GetYaxis()->SetTitleFont(42); METJets26->GetZaxis()->SetLabelFont(42); METJets26->GetZaxis()->SetLabelSize(0.035); METJets26->GetZaxis()->SetTitleSize(0.035); METJets26->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets27 = new TH1D("METJets27"," Number of jets in MET hemisphere",15,0,15); METJets27->SetBinContent(1,0.8785647); METJets27->SetBinContent(2,19.65506); METJets27->SetBinContent(3,13.48662); METJets27->SetBinContent(4,1.798839); METJets27->SetBinContent(5,0.132607); METJets27->SetBinContent(6,0.006526677); METJets27->SetBinContent(7,0.0001605133); METJets27->SetBinContent(8,1.473949e-05); METJets27->SetBinError(1,0.02795641); METJets27->SetBinError(2,0.1254575); METJets27->SetBinError(3,0.1000964); METJets27->SetBinError(4,0.03249664); METJets27->SetBinError(5,0.007171238); METJets27->SetBinError(6,0.001513783); METJets27->SetBinError(7,4.840768e-05); METJets27->SetBinError(8,1.473949e-05); METJets27->SetEntries(136801); ci = TColor::GetColor("#00ffff"); METJets27->SetFillColor(ci); ci = TColor::GetColor("#00ffff"); METJets27->SetLineColor(ci); ci = TColor::GetColor("#00ffff"); METJets27->SetMarkerColor(ci); METJets27->SetMarkerStyle(20); METJets27->GetXaxis()->SetTitle("METJets"); METJets27->GetXaxis()->SetLabelFont(42); METJets27->GetXaxis()->SetLabelSize(0.035); METJets27->GetXaxis()->SetTitleSize(0.035); METJets27->GetXaxis()->SetTitleFont(42); METJets27->GetYaxis()->SetTitle("Events/pb"); METJets27->GetYaxis()->SetLabelFont(42); METJets27->GetYaxis()->SetLabelSize(0.035); METJets27->GetYaxis()->SetTitleSize(0.035); METJets27->GetYaxis()->SetTitleFont(42); METJets27->GetZaxis()->SetLabelFont(42); METJets27->GetZaxis()->SetLabelSize(0.035); METJets27->GetZaxis()->SetTitleSize(0.035); METJets27->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets28 = new TH1D("METJets28"," Number of jets in MET hemisphere",15,0,15); METJets28->SetBinContent(1,0.1431715); METJets28->SetBinContent(2,2.860636); METJets28->SetBinContent(3,1.738326); METJets28->SetBinContent(4,0.1855333); METJets28->SetBinContent(5,0.01162161); METJets28->SetBinContent(6,0.0007176836); METJets28->SetBinContent(7,3.39293e-05); METJets28->SetBinError(1,0.003525434); METJets28->SetBinError(2,0.01498037); METJets28->SetBinError(3,0.0112588); METJets28->SetBinError(4,0.003217574); METJets28->SetBinError(5,0.0006944844); METJets28->SetBinError(6,0.0001304861); METJets28->SetBinError(7,2.841073e-05); METJets28->SetEntries(131338); ci = TColor::GetColor("#ffcc00"); METJets28->SetFillColor(ci); ci = TColor::GetColor("#ffcc00"); METJets28->SetLineColor(ci); ci = TColor::GetColor("#ffcc00"); METJets28->SetMarkerColor(ci); METJets28->SetMarkerStyle(21); METJets28->GetXaxis()->SetTitle("METJets"); METJets28->GetXaxis()->SetLabelFont(42); METJets28->GetXaxis()->SetLabelSize(0.035); METJets28->GetXaxis()->SetTitleSize(0.035); METJets28->GetXaxis()->SetTitleFont(42); METJets28->GetYaxis()->SetTitle("Events/pb"); METJets28->GetYaxis()->SetLabelFont(42); METJets28->GetYaxis()->SetLabelSize(0.035); METJets28->GetYaxis()->SetTitleSize(0.035); METJets28->GetYaxis()->SetTitleFont(42); METJets28->GetZaxis()->SetLabelFont(42); METJets28->GetZaxis()->SetLabelSize(0.035); METJets28->GetZaxis()->SetTitleSize(0.035); METJets28->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets29 = new TH1D("METJets29"," Number of jets in MET hemisphere",15,0,15); METJets29->SetBinContent(1,0.003208312); METJets29->SetBinContent(2,0.03535313); METJets29->SetBinContent(3,0.02142474); METJets29->SetBinContent(4,0.003779021); METJets29->SetBinContent(5,0.0003701898); METJets29->SetBinContent(6,9.254746e-05); METJets29->SetBinError(1,0.0002224564); METJets29->SetBinError(2,0.0007384491); METJets29->SetBinError(3,0.000574863); METJets29->SetBinError(4,0.0002414328); METJets29->SetBinError(5,7.556468e-05); METJets29->SetBinError(6,3.778234e-05); METJets29->SetEntries(4164); ci = TColor::GetColor("#ff0000"); METJets29->SetFillColor(ci); ci = TColor::GetColor("#ff0000"); METJets29->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); METJets29->SetMarkerColor(ci); METJets29->SetMarkerStyle(20); METJets29->GetXaxis()->SetTitle("METJets"); METJets29->GetXaxis()->SetLabelFont(42); METJets29->GetXaxis()->SetLabelSize(0.035); METJets29->GetXaxis()->SetTitleSize(0.035); METJets29->GetXaxis()->SetTitleFont(42); METJets29->GetYaxis()->SetTitle("Events/pb"); METJets29->GetYaxis()->SetLabelFont(42); METJets29->GetYaxis()->SetLabelSize(0.035); METJets29->GetYaxis()->SetTitleSize(0.035); METJets29->GetYaxis()->SetTitleFont(42); METJets29->GetZaxis()->SetLabelFont(42); METJets29->GetZaxis()->SetLabelSize(0.035); METJets29->GetZaxis()->SetTitleSize(0.035); METJets29->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); TH1D *METJets30 = new TH1D("METJets30"," Number of jets in MET hemisphere",15,0,15); METJets30->SetBinContent(2,0.000335433); METJets30->SetBinContent(3,0.000335433); METJets30->SetBinContent(4,0.0002180314); METJets30->SetBinContent(5,0.0001341732); METJets30->SetBinError(2,7.500509e-05); METJets30->SetBinError(3,7.500509e-05); METJets30->SetBinError(4,6.047104e-05); METJets30->SetBinError(5,4.743738e-05); METJets30->SetEntries(61); ci = TColor::GetColor("#0000ff"); METJets30->SetFillColor(ci); ci = TColor::GetColor("#0000ff"); METJets30->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); METJets30->SetMarkerColor(ci); METJets30->SetMarkerStyle(21); METJets30->GetXaxis()->SetTitle("METJets"); METJets30->GetXaxis()->SetLabelFont(42); METJets30->GetXaxis()->SetLabelSize(0.035); METJets30->GetXaxis()->SetTitleSize(0.035); METJets30->GetXaxis()->SetTitleFont(42); METJets30->GetYaxis()->SetTitle("Events/pb"); METJets30->GetYaxis()->SetLabelFont(42); METJets30->GetYaxis()->SetLabelSize(0.035); METJets30->GetYaxis()->SetTitleSize(0.035); METJets30->GetYaxis()->SetTitleFont(42); METJets30->GetZaxis()->SetLabelFont(42); METJets30->GetZaxis()->SetLabelSize(0.035); METJets30->GetZaxis()->SetTitleSize(0.035); METJets30->GetZaxis()->SetTitleFont(42); METJets->Add(METJets,""); METJets->Draw("nostack"); TPaveText *pt = new TPaveText(0.3872701,0.94,0.6127299,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("METJets"); pt->Draw(); TLegend *leg = new TLegend(0.54023,0.639881,0.938218,0.924107,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextSize(0.034965); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("METJets","METJets_QCD","lp"); ci = TColor::GetColor("#00cc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00cc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(22); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_WJetsToLNu","lp"); ci = TColor::GetColor("#00ffff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#00ffff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_ZJetsToNuNu","lp"); ci = TColor::GetColor("#ffcc00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ffcc00"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_signal","lp"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#ff0000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("METJets","METJets_ttbar","lp"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#0000ff"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); METJets->Modified(); METJets->cd(); METJets->SetSelected(METJets); }
void makeStack(TString myVar, TString myCut, TString myName, TString myAxisNameX, TString myAxisNameY, vector<const Sample*>& listOfSignals, vector<const Sample*>& listOfSamples, vector<const Sample*> listOfDatasets, TString inFileName, bool isBlind, bool isLog, bool drawSignal, bool drawLegend, int nBins, float xLow, float xHigh, float* xlowVec) { // prepare the input file TFile* infile = new TFile(inFileName, "READ"); infile -> cd(); // prepare the stack THStack *hs = new THStack("hs",""); // prepare the histos pointers TH1F* hist[20]; // prepare the tree pointers TTree* tree[20]; // prepare the legend TLegend* leg = new TLegend(.7485,.7225,.9597,.9604); leg->SetFillColor(0); // prepare the colors Int_t col[20] = {46,2,12,5,3,4,9,7,47,49,49,50,51,52,53,54,55,56,57,58}; // prepare the cut if (isBlind) myCut += "*(phoMetDeltaPhi < 2.9)"; // prepare the Y axis lable if (xlowVec != 0) myAxisNameY = "Events/" + myAxisNameY; else { float binWidth = (xHigh-xLow)/nBins; TString tempString; tempString.Form("%.2f ",binWidth); myAxisNameY = "Events/" + tempString + myAxisNameY; } // prepare the legend strings vector<TString> theLegends; // loop through the datasets and produce the plots TH1F* hdata; TH1F* hsignal; //prepare data and signal histos if (xlowVec != 0) hdata = new TH1F("hdata","",nBins,xlowVec); else hdata = new TH1F("hdata","",nBins,xLow,xHigh); if (xlowVec != 0) hsignal = new TH1F("hsignal","",nBins,xlowVec); else hsignal = new TH1F("hsignal","",nBins,xLow,xHigh); TTree* treedata[20]; for (UInt_t iDatas=0; iDatas < listOfDatasets.size(); iDatas++) { //get the tree treedata[iDatas] = (TTree*) infile -> Get(listOfDatasets.at(iDatas)->Name()->Data()); //fill the histogram if ( iDatas == 0 ) treedata[iDatas] -> Draw(myVar + " >> hdata","hlt_weight*evt_weight*kf_weight*pu_weight" + myCut); else treedata[iDatas] -> Draw(myVar + " >>+ hdata","hlt_weight*evt_weight*kf_weight*pu_weight" + myCut); if ( isBlind && iDatas == 0 ) leg -> AddEntry(hdata, "DATA (19.8 fb^{-1})", "pl"); }//end loop on datasets if (xlowVec != 0) { for (int iBin = 1; iBin <= nBins; iBin++) hdata->SetBinError (iBin,hdata->GetBinError(iBin)/hdata->GetBinWidth(iBin)); for (int iBin = 1; iBin <= nBins; iBin++) hdata->SetBinContent(iBin,hdata->GetBinContent(iBin)/hdata->GetBinWidth(iBin)); } TTree* treesignal[20]; for (UInt_t iSignal=0; iSignal < listOfSignals.size(); iSignal++) { //get the tree treesignal[iSignal] = (TTree*) infile -> Get(listOfSignals.at(iSignal)->Name()->Data()); //fill the histogram TString thisScale = Form("%f *", *(listOfSignals.at(iSignal)->Scale())); if ( iSignal == 0 ) treesignal[iSignal] -> Draw(myVar + " >> hsignal",thisScale + "hlt_weight*evt_weight*kf_weight*pu_weight" + myCut); else treesignal[iSignal] -> Draw(myVar + " >>+ hsignal",thisScale + "hlt_weight*evt_weight*kf_weight*pu_weight" + myCut); if ( drawSignal && iSignal == 0 ) leg -> AddEntry(hsignal, "Signal", "l"); }//end loop on signals if (xlowVec != 0) { for (int iBin = 1; iBin <= nBins; iBin++) hsignal->SetBinError (iBin,hsignal->GetBinError(iBin)/hsignal->GetBinWidth(iBin)); for (int iBin = 1; iBin <= nBins; iBin++) hsignal->SetBinContent(iBin,hsignal->GetBinContent(iBin)/hsignal->GetBinWidth(iBin)); } hsignal -> SetLineColor(49); hsignal -> SetLineWidth(4.0); int theHistCounter = 0; // loop through the samples and produce the plots for (UInt_t iSample=0; iSample < listOfSamples.size(); iSample++) { //determine if the histo is first of the series bool isFirstOfSerie = (*listOfSamples.at(iSample)->Legend()).CompareTo(" "); bool isLastOfSerie = false; if (iSample == listOfSamples.size() - 1) isLastOfSerie = true; if (iSample < listOfSamples.size() - 1 && (*listOfSamples.at(iSample+1)->Legend()).CompareTo(" ") != 0) isLastOfSerie = true; //get the tree tree[iSample] = (TTree*) infile -> Get(listOfSamples.at(iSample)->Name()->Data()); //if sample first of the list create a new histogram if (isFirstOfSerie) { TString thisHistName = "h_" + *(listOfSamples.at(iSample)->Name()); //variable bin histo if (xlowVec != 0) hist[theHistCounter] = new TH1F(thisHistName,thisHistName,nBins,xlowVec); //fixed bin histo else hist[theHistCounter] = new TH1F(thisHistName,thisHistName,nBins,xLow,xHigh); hist[theHistCounter] -> Sumw2(); hist[theHistCounter] -> SetFillColor(col[theHistCounter]); hist[theHistCounter] -> SetFillStyle(1001); theLegends.push_back(*listOfSamples.at(iSample)->Legend()); } //fill the histogram TString thisScale = Form("%f *", *(listOfSamples.at(iSample)->Scale())); if (isFirstOfSerie) tree[iSample] -> Draw(myVar + " >> " + TString(hist[theHistCounter] -> GetName()),thisScale + "hlt_weight*evt_weight*kf_weight*pu_weight" + myCut); else tree[iSample] -> Draw(myVar + " >>+ " + TString(hist[theHistCounter] -> GetName()),thisScale + "hlt_weight*evt_weight*kf_weight*pu_weight" + myCut); //add the systematic uncertainty for (int iBin = 1; iBin <= nBins; iBin++) { float thisSyst = *(listOfSamples.at(iSample)->Syst()); float thisError = sqrt(hist[theHistCounter]->GetBinError(iBin)*hist[theHistCounter]->GetBinError(iBin) + thisSyst*thisSyst*hist[theHistCounter]->GetBinContent(iBin)*hist[theHistCounter]->GetBinContent(iBin)); hist[theHistCounter]->SetBinError (iBin,thisError); } //add the histogram to the stack if the last of the series: //either last sample or ~ sample followed by non ~ sample if (isLastOfSerie) { if (xlowVec != 0) { for (int iBin = 1; iBin <= nBins; iBin++) hist[theHistCounter]->SetBinError (iBin,hist[theHistCounter]->GetBinError(iBin)/hist[theHistCounter]->GetBinWidth(iBin)); for (int iBin = 1; iBin <= nBins; iBin++) hist[theHistCounter]->SetBinContent(iBin,hist[theHistCounter]->GetBinContent(iBin)/hist[theHistCounter]->GetBinWidth(iBin)); } hs -> Add(hist[theHistCounter]); theHistCounter++; } }//end loop on samples //Fix the legend for (int iHisto = theHistCounter-1; iHisto >= 0; iHisto--) { leg -> AddEntry(hist[iHisto], theLegends[iHisto], "f"); } //get the maximum to properly set the frame float theMax = hdata -> GetBinContent(hdata -> GetMaximumBin()) + hdata -> GetBinError(hdata -> GetMaximumBin()); TH1* theMCSum = (TH1*) hs->GetStack()->Last(); float theMaxMC = theMCSum->GetBinContent(theMCSum->GetMaximumBin()) + theMCSum->GetBinError(theMCSum->GetMaximumBin()); if (theMaxMC > theMax) theMax = theMaxMC; //prepare the ratio band and plot TH1* theMCRatioBand = makeRatioBand(theMCSum); TH1* theRatioPlot = makeRatioPlot(hdata,theMCSum); TCanvas* can = new TCanvas(); can -> SetLogy(isLog); TPad *pad1 = new TPad("pad1","top pad",0,0.30,1,1); pad1->SetBottomMargin(0.02); pad1->SetLeftMargin(0.13); pad1->SetLogy(isLog); pad1->Draw(); TPad *pad2 = new TPad("pad2","bottom pad",0,0.0,1,0.30); pad2->SetTopMargin(0.02); pad2->SetLeftMargin(0.13); pad2->SetBottomMargin(0.4); pad2->SetGridy(); pad2->Draw(); pad1->cd(); hs->Draw("hist"); hdata->Draw("same,pe"); if (drawSignal) hsignal->Draw("same,hist"); if (drawLegend) leg->Draw("same"); //hs->GetXaxis()->SetTitle(myAxisNameX); hs->GetYaxis()->SetTitle(myAxisNameY); hs->GetXaxis()->SetLabelSize(0.04); hs->GetYaxis()->SetLabelSize(0.04); hs->GetXaxis()->SetLabelOffset(0.025); hs->GetYaxis()->SetLabelOffset(0.035); //hs->GetXaxis()->SetTitleOffset(1.1); hs->GetYaxis()->SetTitleOffset(1.1); hs->SetMaximum(theMax); if (isLog) hs->SetMinimum(0.01); pad2->cd(); theMCRatioBand->GetXaxis()->SetTitle(myAxisNameX); theMCRatioBand->GetXaxis()->SetTitleSize(0.16); theMCRatioBand->GetXaxis()->SetTitleOffset(1.1); theMCRatioBand->GetXaxis()->SetLabelSize(0.12); theMCRatioBand->GetXaxis()->SetLabelOffset(0.07); theMCRatioBand->GetYaxis()->SetTitle("Data/MC"); theMCRatioBand->GetYaxis()->SetTitleSize(0.10); theMCRatioBand->GetYaxis()->SetTitleOffset(0.6); theMCRatioBand->GetYaxis()->SetLabelSize(0.06); theMCRatioBand->GetYaxis()->SetLabelOffset(0.03); theMCRatioBand->SetFillStyle(3001); theMCRatioBand->SetFillColor(kBlue); theMCRatioBand->SetLineWidth(1); theMCRatioBand->SetLineColor(kBlack); theMCRatioBand->SetMarkerSize(0.1); theMCRatioBand->SetMaximum(3.); theMCRatioBand->SetMinimum(0.); theMCRatioBand->Draw("E2"); TLine *line = new TLine(xLow,1,xHigh,1); line->SetLineColor(kBlack); line->Draw("same"); theRatioPlot->Draw("same,pe"); can->cd(); can->Modified(); can -> SaveAs(myName + "_lep.pdf","pdf"); can -> SaveAs(myName + "_lep.png","png"); //cleanup the memory allocation delete theMCSum; delete hs; delete leg; delete hdata; delete pad1; delete pad2; delete can; delete theMCRatioBand; delete theRatioPlot; infile -> Close(); delete infile; return; }
void calculateEfficiencyFromNTUPLE_withGenWeights_v4(){ if (variable_for_which_plot_eff == "etaSC") doBarrel = true; // correct etaMode for eta variable TFile fi("/nas2/cmsdas/2016/SHORT_EXERCISES/ElectronsAndPhotons/samples/DY_Run2Asympt25ns_miniAOD_sept21_flat_ntuple_withWeights.root"); gDirectory->ls(); TTree *tr = (TTree*)gDirectory->Get("electronTree"); TFile fiBG("/nas2/cmsdas/2016/SHORT_EXERCISES/ElectronsAndPhotons/samples/TT_Run2Asympt25ns_miniAOD_sept21_flat_ntuple_withWeights.root"); gDirectory->ls(); TTree *trBG = (TTree*)fiBG.Get("electronTree"); float binLimitLow = 20; float binLimitUpper = 170; if(variable_for_which_plot_eff == "pt") { std::cout<<"\nVarible is Pt, all is fine!" << std::endl; } else if(variable_for_which_plot_eff == "etaSC") { binLimitLow = -2.5; binLimitUpper = 2.5; } else if (variable_for_which_plot_eff == "nPV") { binLimitLow = 0; binLimitUpper = 50; } else { std::cout<<"\n No no, can't happen!"<<"\nVarible is "<<variable_for_which_plot_eff.Data() << std::endl; } TH1F *histVeto; TH1F *histVetoTot; TH1F *bg_histVeto; TH1F *bg_histVetoTot; if (variable_for_which_plot_eff != "nPV") { histVeto=new TH1F("histVeto","",nBins,binLimitLow, binLimitUpper); bg_histVeto=new TH1F("bg_histVeto","",nBins,binLimitLow, binLimitUpper); histVetoTot=new TH1F("histVetoTot","",nBins,binLimitLow, binLimitUpper); bg_histVetoTot=new TH1F("bg_histVetoTot","",nBins,binLimitLow, binLimitUpper); } else { nBins =24; histVeto=new TH1F("histVeto","",nBins,binLimits); bg_histVeto=new TH1F("bg_histVeto","",nBins,binLimits); histVetoTot=new TH1F("histVetoTot","",nBins,binLimits); bg_histVetoTot=new TH1F("bg_histVetoTot","",nBins,binLimits); } TCanvas *c = new TCanvas ("c", "c", 600, 600); c->SetFillColor(kWhite); gPad->SetLeftMargin(0.12); gPad->SetBottomMargin(0.11); TLatex Tl05; Tl05.SetTextAlign(23); Tl05.SetTextSize(0.04); const TString *pToCutsFile = nullptr; const TString *pToCutsFile_EtaEndcap = nullptr; if (doBarrel ) { pToCutsFile = cutFileNameBarrel; pToCutsFile_EtaEndcap = cutFileNameEndcap; } else { pToCutsFile = cutFileNameEndcap; pToCutsFile_EtaEndcap = cutFileNameEndcap; //is not used here, just for aestetics purpose } if ( (variable_for_which_plot_eff == "pt" || variable_for_which_plot_eff == "nPV" ) && (doBarrel ==true) ){ // if (Pt <20 || Pt >200 || abs(EtaSC) > 1.566 ) continue; std::cout<<"\nI'm here 3 "<<std::endl; // signal // pt/nPV barrel useHistograms( histVeto, pToCutsFile, tr, false, ptOrPVBarrel, false, pToCutsFile_EtaEndcap); useHistograms( histVetoTot, pToCutsFile, tr, true, ptOrPVBarrel, false, pToCutsFile_EtaEndcap); std::cout<<"\nI'm here 4 "<<std::endl; // BG // pt/nPV barrel useHistograms( bg_histVeto, pToCutsFile, trBG, false, ptOrPVBarrel, true, pToCutsFile_EtaEndcap); useHistograms( bg_histVetoTot, pToCutsFile, trBG, true, ptOrPVBarrel, true, pToCutsFile_EtaEndcap); } else if ( (variable_for_which_plot_eff == "pt" || variable_for_which_plot_eff == "nPV" ) && doBarrel ==false){ // signal // pt/nPV endcap useHistograms( histVeto, pToCutsFile, tr, false, ptOrPVEndcap, false, pToCutsFile_EtaEndcap); useHistograms( histVetoTot, pToCutsFile, tr, true, ptOrPVEndcap, false, pToCutsFile_EtaEndcap); // BG // pt/nPV endcap useHistograms( bg_histVeto, pToCutsFile, trBG, false, ptOrPVEndcap, true, pToCutsFile_EtaEndcap); useHistograms( bg_histVetoTot, pToCutsFile, trBG, true, ptOrPVEndcap, true, pToCutsFile_EtaEndcap); } else if (variable_for_which_plot_eff == "etaSC"){ // signal // etaFullRange useHistograms( histVeto, pToCutsFile, tr, false, etaFullRange, false, pToCutsFile_EtaEndcap); useHistograms( histVetoTot, pToCutsFile, tr, true, etaFullRange, false, pToCutsFile_EtaEndcap); // BG // etaFullRange useHistograms( bg_histVeto, pToCutsFile, trBG, false, etaFullRange, true, pToCutsFile_EtaEndcap); useHistograms( bg_histVetoTot, pToCutsFile, trBG, true, etaFullRange, true, pToCutsFile_EtaEndcap); } else { std::cout<<"\nCan't happen! \nVariable is "<<variable_for_which_plot_eff<<" and eta is "<< (doBarrel?"barrel":"endcap")<<std::endl; } std::cout<<"\nI'm here 6 "<<std::endl; TH1F *effV = (TH1F*)histVeto->Clone("effV"); TH1F *effV_bg = (TH1F*)bg_histVeto->Clone("effV_bg"); std::cout<<"\nI'm here 7 "<<std::endl; calculateEffAndErrors(histVeto, histVetoTot, effV); calculateEffAndErrors(bg_histVeto, bg_histVetoTot, effV_bg); std::cout<<"\nI'm here 8 "<<std::endl; // Usage : // histogram, color_number, variable // setHistCosmetics(effV,4, variable_for_which_plot_eff); setHistCosmetics(effV_bg,38, variable_for_which_plot_eff); //------------------------------------------------------------------ //if (variable_for_which_plot_eff == "etaSC" || variable_for_which_plot_eff == "nPV") effV->GetYaxis()->SetRangeUser(0.,1.); effV->Draw("L"); effV_bg->Draw("Lsame"); effV->SetLineWidth(3); effV_bg->SetLineWidth(3); TLegend *leg = new TLegend(0.35, 0.52, 0.75, 0.65); leg->SetFillStyle(0); leg->SetBorderSize(0); leg->AddEntry(effV, "WP Veto", "lf"); leg->AddEntry((TObject*)0, "", ""); leg->AddEntry(effV_bg, "BG WP Veto", "lf"); leg->SetTextSize(0.03); leg->Draw("same"); if (variable_for_which_plot_eff == "pt" ){ if (doBarrel) Tl05.DrawLatex(40,1.1,"barrel electrons"); else Tl05.DrawLatex(40,1.1,"endcap electrons"); } else if ( variable_for_which_plot_eff == "nPV" ){ if (doBarrel) Tl05.DrawLatex(30,1.05,"barrel electrons"); else Tl05.DrawLatex(30,1.05,"endcap electrons"); } c->Modified(); c->Update(); c->SaveAs( fileOut + ".png"); effV->SetDirectory(0); effV_bg->SetDirectory(0); DYfile->cd(); effV->Write("WP_Veto"); effV_bg->Write("BG_WP_Veto"); c->Write(); DYfile->Close(); }
void DarkSusy_mH_125_mGammaD_2000_cT_0_LHE_dimuon_pZ() { //=========Macro generated from canvas: cnv/cnv //========= (Sun May 24 15:19:49 2015) by ROOT version6.02/05 TCanvas *cnv = new TCanvas("cnv", "cnv",1,1,904,904); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); cnv->SetHighLightColor(2); cnv->Range(-21.25,-0.00678698,103.75,0.04542056); cnv->SetFillColor(0); cnv->SetBorderMode(0); cnv->SetBorderSize(2); cnv->SetTickx(1); cnv->SetTicky(1); cnv->SetLeftMargin(0.17); cnv->SetRightMargin(0.03); cnv->SetTopMargin(0.07); cnv->SetBottomMargin(0.13); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); TH1F *h_dimuon_1_pZ_dummy123 = new TH1F("h_dimuon_1_pZ_dummy123","h_dimuon_1_pZ_dummy",100,0,100); h_dimuon_1_pZ_dummy123->SetMaximum(0.04176603); h_dimuon_1_pZ_dummy123->SetLineStyle(0); h_dimuon_1_pZ_dummy123->SetMarkerStyle(20); h_dimuon_1_pZ_dummy123->GetXaxis()->SetTitle("|p_{Z}| of #mu#mu [GeV]"); h_dimuon_1_pZ_dummy123->GetXaxis()->SetLabelFont(42); h_dimuon_1_pZ_dummy123->GetXaxis()->SetLabelOffset(0.007); h_dimuon_1_pZ_dummy123->GetXaxis()->SetTitleSize(0.06); h_dimuon_1_pZ_dummy123->GetXaxis()->SetTitleOffset(0.95); h_dimuon_1_pZ_dummy123->GetXaxis()->SetTitleFont(42); h_dimuon_1_pZ_dummy123->GetYaxis()->SetTitle("Fraction of events / 1 GeV"); h_dimuon_1_pZ_dummy123->GetYaxis()->SetLabelFont(42); h_dimuon_1_pZ_dummy123->GetYaxis()->SetLabelOffset(0.007); h_dimuon_1_pZ_dummy123->GetYaxis()->SetTitleSize(0.06); h_dimuon_1_pZ_dummy123->GetYaxis()->SetTitleOffset(1.35); h_dimuon_1_pZ_dummy123->GetYaxis()->SetTitleFont(42); h_dimuon_1_pZ_dummy123->GetZaxis()->SetLabelFont(42); h_dimuon_1_pZ_dummy123->GetZaxis()->SetLabelOffset(0.007); h_dimuon_1_pZ_dummy123->GetZaxis()->SetTitleSize(0.06); h_dimuon_1_pZ_dummy123->GetZaxis()->SetTitleFont(42); h_dimuon_1_pZ_dummy123->Draw(""); TH1F *h_dimuon_1_pZ124 = new TH1F("h_dimuon_1_pZ124","h_dimuon_1_pZ",100,0,100); h_dimuon_1_pZ124->SetBinContent(0,1.425542); h_dimuon_1_pZ124->SetBinContent(1,0.01842265); h_dimuon_1_pZ124->SetBinContent(2,0.01963655); h_dimuon_1_pZ124->SetBinContent(3,0.01810133); h_dimuon_1_pZ124->SetBinContent(4,0.01813703); h_dimuon_1_pZ124->SetBinContent(5,0.01813703); h_dimuon_1_pZ124->SetBinContent(6,0.01845835); h_dimuon_1_pZ124->SetBinContent(7,0.01924381); h_dimuon_1_pZ124->SetBinContent(8,0.0164947); h_dimuon_1_pZ124->SetBinContent(9,0.01685173); h_dimuon_1_pZ124->SetBinContent(10,0.01767289); h_dimuon_1_pZ124->SetBinContent(11,0.01763719); h_dimuon_1_pZ124->SetBinContent(12,0.01799422); h_dimuon_1_pZ124->SetBinContent(13,0.01799422); h_dimuon_1_pZ124->SetBinContent(14,0.01613767); h_dimuon_1_pZ124->SetBinContent(15,0.01756578); h_dimuon_1_pZ124->SetBinContent(16,0.01578064); h_dimuon_1_pZ124->SetBinContent(17,0.01538791); h_dimuon_1_pZ124->SetBinContent(18,0.016459); h_dimuon_1_pZ124->SetBinContent(19,0.01674462); h_dimuon_1_pZ124->SetBinContent(20,0.01681602); h_dimuon_1_pZ124->SetBinContent(21,0.01420972); h_dimuon_1_pZ124->SetBinContent(22,0.01510229); h_dimuon_1_pZ124->SetBinContent(23,0.01492377); h_dimuon_1_pZ124->SetBinContent(24,0.01463815); h_dimuon_1_pZ124->SetBinContent(25,0.01388839); h_dimuon_1_pZ124->SetBinContent(26,0.01313863); h_dimuon_1_pZ124->SetBinContent(27,0.01388839); h_dimuon_1_pZ124->SetBinContent(28,0.0139955); h_dimuon_1_pZ124->SetBinContent(29,0.01331715); h_dimuon_1_pZ124->SetBinContent(30,0.01188904); h_dimuon_1_pZ124->SetBinContent(31,0.01331715); h_dimuon_1_pZ124->SetBinContent(32,0.01381699); h_dimuon_1_pZ124->SetBinContent(33,0.01210325); h_dimuon_1_pZ124->SetBinContent(34,0.01174622); h_dimuon_1_pZ124->SetBinContent(35,0.01217466); h_dimuon_1_pZ124->SetBinContent(36,0.01199614); h_dimuon_1_pZ124->SetBinContent(37,0.01135349); h_dimuon_1_pZ124->SetBinContent(38,0.01096076); h_dimuon_1_pZ124->SetBinContent(39,0.01113928); h_dimuon_1_pZ124->SetBinContent(40,0.009104216); h_dimuon_1_pZ124->SetBinContent(41,0.01038952); h_dimuon_1_pZ124->SetBinContent(42,0.01038952); h_dimuon_1_pZ124->SetBinContent(43,0.01028241); h_dimuon_1_pZ124->SetBinContent(44,0.01056803); h_dimuon_1_pZ124->SetBinContent(45,0.01024671); h_dimuon_1_pZ124->SetBinContent(46,0.009389839); h_dimuon_1_pZ124->SetBinContent(47,0.008461566); h_dimuon_1_pZ124->SetBinContent(48,0.008818594); h_dimuon_1_pZ124->SetBinContent(49,0.008461566); h_dimuon_1_pZ124->SetBinContent(50,0.009175622); h_dimuon_1_pZ124->SetBinContent(51,0.007568995); h_dimuon_1_pZ124->SetBinContent(52,0.00913992); h_dimuon_1_pZ124->SetBinContent(53,0.008354457); h_dimuon_1_pZ124->SetBinContent(54,0.007533293); h_dimuon_1_pZ124->SetBinContent(55,0.006962048); h_dimuon_1_pZ124->SetBinContent(56,0.008033132); h_dimuon_1_pZ124->SetBinContent(57,0.008033132); h_dimuon_1_pZ124->SetBinContent(58,0.007818915); h_dimuon_1_pZ124->SetBinContent(59,0.007890321); h_dimuon_1_pZ124->SetBinContent(60,0.008211646); h_dimuon_1_pZ124->SetBinContent(61,0.007319076); h_dimuon_1_pZ124->SetBinContent(62,0.007104859); h_dimuon_1_pZ124->SetBinContent(63,0.006962048); h_dimuon_1_pZ124->SetBinContent(64,0.006390803); h_dimuon_1_pZ124->SetBinContent(65,0.007461887); h_dimuon_1_pZ124->SetBinContent(66,0.006890642); h_dimuon_1_pZ124->SetBinContent(67,0.007104859); h_dimuon_1_pZ124->SetBinContent(68,0.006319397); h_dimuon_1_pZ124->SetBinContent(69,0.006319397); h_dimuon_1_pZ124->SetBinContent(70,0.006212289); h_dimuon_1_pZ124->SetBinContent(71,0.006033775); h_dimuon_1_pZ124->SetBinContent(72,0.005998072); h_dimuon_1_pZ124->SetBinContent(73,0.005498233); h_dimuon_1_pZ124->SetBinContent(74,0.005819558); h_dimuon_1_pZ124->SetBinContent(75,0.005676747); h_dimuon_1_pZ124->SetBinContent(76,0.005105502); h_dimuon_1_pZ124->SetBinContent(77,0.005676747); h_dimuon_1_pZ124->SetBinContent(78,0.005498233); h_dimuon_1_pZ124->SetBinContent(79,0.006069478); h_dimuon_1_pZ124->SetBinContent(80,0.005926666); h_dimuon_1_pZ124->SetBinContent(81,0.005355421); h_dimuon_1_pZ124->SetBinContent(82,0.005176907); h_dimuon_1_pZ124->SetBinContent(83,0.004605663); h_dimuon_1_pZ124->SetBinContent(84,0.004819879); h_dimuon_1_pZ124->SetBinContent(85,0.00432004); h_dimuon_1_pZ124->SetBinContent(86,0.004998393); h_dimuon_1_pZ124->SetBinContent(87,0.004819879); h_dimuon_1_pZ124->SetBinContent(88,0.004641365); h_dimuon_1_pZ124->SetBinContent(89,0.00456996); h_dimuon_1_pZ124->SetBinContent(90,0.005069799); h_dimuon_1_pZ124->SetBinContent(91,0.004748474); h_dimuon_1_pZ124->SetBinContent(92,0.004534257); h_dimuon_1_pZ124->SetBinContent(93,0.004141526); h_dimuon_1_pZ124->SetBinContent(94,0.004355743); h_dimuon_1_pZ124->SetBinContent(95,0.004498554); h_dimuon_1_pZ124->SetBinContent(96,0.00407012); h_dimuon_1_pZ124->SetBinContent(97,0.004427148); h_dimuon_1_pZ124->SetBinContent(98,0.004855582); h_dimuon_1_pZ124->SetBinContent(99,0.004355743); h_dimuon_1_pZ124->SetBinContent(100,0.004141526); h_dimuon_1_pZ124->SetBinContent(101,0.4306473); h_dimuon_1_pZ124->SetBinError(0,0.007134133); h_dimuon_1_pZ124->SetBinError(1,0.0008110119); h_dimuon_1_pZ124->SetBinError(2,0.0008373051); h_dimuon_1_pZ124->SetBinError(3,0.000803908); h_dimuon_1_pZ124->SetBinError(4,0.0008047005); h_dimuon_1_pZ124->SetBinError(5,0.0008047005); h_dimuon_1_pZ124->SetBinError(6,0.0008117974); h_dimuon_1_pZ124->SetBinError(7,0.0008288898); h_dimuon_1_pZ124->SetBinError(8,0.0007674028); h_dimuon_1_pZ124->SetBinError(9,0.0007756636); h_dimuon_1_pZ124->SetBinError(10,0.0007943374); h_dimuon_1_pZ124->SetBinError(11,0.0007935346); h_dimuon_1_pZ124->SetBinError(12,0.0008015261); h_dimuon_1_pZ124->SetBinError(13,0.0008015261); h_dimuon_1_pZ124->SetBinError(14,0.0007590521); h_dimuon_1_pZ124->SetBinError(15,0.0007919266); h_dimuon_1_pZ124->SetBinError(16,0.0007506086); h_dimuon_1_pZ124->SetBinError(17,0.0007412096); h_dimuon_1_pZ124->SetBinError(18,0.0007665718); h_dimuon_1_pZ124->SetBinError(19,0.0007731946); h_dimuon_1_pZ124->SetBinError(20,0.0007748415); h_dimuon_1_pZ124->SetBinError(21,0.0007122688); h_dimuon_1_pZ124->SetBinError(22,0.0007342984); h_dimuon_1_pZ124->SetBinError(23,0.0007299457); h_dimuon_1_pZ124->SetBinError(24,0.0007229268); h_dimuon_1_pZ124->SetBinError(25,0.0007041695); h_dimuon_1_pZ124->SetBinError(26,0.0006848986); h_dimuon_1_pZ124->SetBinError(27,0.0007041695); h_dimuon_1_pZ124->SetBinError(28,0.0007068796); h_dimuon_1_pZ124->SetBinError(29,0.0006895358); h_dimuon_1_pZ124->SetBinError(30,0.0006515151); h_dimuon_1_pZ124->SetBinError(31,0.0006895358); h_dimuon_1_pZ124->SetBinError(32,0.0007023569); h_dimuon_1_pZ124->SetBinError(33,0.0006573584); h_dimuon_1_pZ124->SetBinError(34,0.0006475903); h_dimuon_1_pZ124->SetBinError(35,0.0006592947); h_dimuon_1_pZ124->SetBinError(36,0.0006544433); h_dimuon_1_pZ124->SetBinError(37,0.0006366723); h_dimuon_1_pZ124->SetBinError(38,0.0006255638); h_dimuon_1_pZ124->SetBinError(39,0.0006306374); h_dimuon_1_pZ124->SetBinError(40,0.0005701282); h_dimuon_1_pZ124->SetBinError(41,0.0006090443); h_dimuon_1_pZ124->SetBinError(42,0.0006090443); h_dimuon_1_pZ124->SetBinError(43,0.0006058968); h_dimuon_1_pZ124->SetBinError(44,0.0006142544); h_dimuon_1_pZ124->SetBinError(45,0.000604844); h_dimuon_1_pZ124->SetBinError(46,0.0005790023); h_dimuon_1_pZ124->SetBinError(47,0.0005496378); h_dimuon_1_pZ124->SetBinError(48,0.0005611137); h_dimuon_1_pZ124->SetBinError(49,0.0005496378); h_dimuon_1_pZ124->SetBinError(50,0.0005723596); h_dimuon_1_pZ124->SetBinError(51,0.0005198408); h_dimuon_1_pZ124->SetBinError(52,0.000571245); h_dimuon_1_pZ124->SetBinError(53,0.000546148); h_dimuon_1_pZ124->SetBinError(54,0.0005186133); h_dimuon_1_pZ124->SetBinError(55,0.0004985626); h_dimuon_1_pZ124->SetBinError(56,0.0005355421); h_dimuon_1_pZ124->SetBinError(57,0.0005355421); h_dimuon_1_pZ124->SetBinError(58,0.0005283533); h_dimuon_1_pZ124->SetBinError(59,0.0005307604); h_dimuon_1_pZ124->SetBinError(60,0.0005414599); h_dimuon_1_pZ124->SetBinError(61,0.0005111864); h_dimuon_1_pZ124->SetBinError(62,0.0005036501); h_dimuon_1_pZ124->SetBinError(63,0.0004985626); h_dimuon_1_pZ124->SetBinError(64,0.000477671); h_dimuon_1_pZ124->SetBinError(65,0.0005161495); h_dimuon_1_pZ124->SetBinError(66,0.0004959993); h_dimuon_1_pZ124->SetBinError(67,0.0005036501); h_dimuon_1_pZ124->SetBinError(68,0.000474995); h_dimuon_1_pZ124->SetBinError(69,0.000474995); h_dimuon_1_pZ124->SetBinError(70,0.0004709524); h_dimuon_1_pZ124->SetBinError(71,0.0004641365); h_dimuon_1_pZ124->SetBinError(72,0.0004627613); h_dimuon_1_pZ124->SetBinError(73,0.0004430602); h_dimuon_1_pZ124->SetBinError(74,0.000455823); h_dimuon_1_pZ124->SetBinError(75,0.0004501953); h_dimuon_1_pZ124->SetBinError(76,0.0004269435); h_dimuon_1_pZ124->SetBinError(77,0.0004501953); h_dimuon_1_pZ124->SetBinError(78,0.0004430602); h_dimuon_1_pZ124->SetBinError(79,0.0004655077); h_dimuon_1_pZ124->SetBinError(80,0.0004599985); h_dimuon_1_pZ124->SetBinError(81,0.0004372683); h_dimuon_1_pZ124->SetBinError(82,0.0004299188); h_dimuon_1_pZ124->SetBinError(83,0.000405506); h_dimuon_1_pZ124->SetBinError(84,0.0004148292); h_dimuon_1_pZ124->SetBinError(85,0.0003927309); h_dimuon_1_pZ124->SetBinError(86,0.0004224413); h_dimuon_1_pZ124->SetBinError(87,0.0004148292); h_dimuon_1_pZ124->SetBinError(88,0.0004070747); h_dimuon_1_pZ124->SetBinError(89,0.0004039312); h_dimuon_1_pZ124->SetBinError(90,0.0004254481); h_dimuon_1_pZ124->SetBinError(91,0.0004117449); h_dimuon_1_pZ124->SetBinError(92,0.0004023502); h_dimuon_1_pZ124->SetBinError(93,0.000384531); h_dimuon_1_pZ124->SetBinError(94,0.0003943504); h_dimuon_1_pZ124->SetBinError(95,0.000400763); h_dimuon_1_pZ124->SetBinError(96,0.0003812017); h_dimuon_1_pZ124->SetBinError(97,0.0003975697); h_dimuon_1_pZ124->SetBinError(98,0.0004163627); h_dimuon_1_pZ124->SetBinError(99,0.0003943504); h_dimuon_1_pZ124->SetBinError(100,0.000384531); h_dimuon_1_pZ124->SetBinError(101,0.003921137); h_dimuon_1_pZ124->SetEntries(79999); h_dimuon_1_pZ124->SetDirectory(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); h_dimuon_1_pZ124->SetLineColor(ci); h_dimuon_1_pZ124->SetLineWidth(2); h_dimuon_1_pZ124->SetMarkerStyle(20); h_dimuon_1_pZ124->GetXaxis()->SetLabelFont(42); h_dimuon_1_pZ124->GetXaxis()->SetLabelOffset(0.007); h_dimuon_1_pZ124->GetXaxis()->SetTitleSize(0.06); h_dimuon_1_pZ124->GetXaxis()->SetTitleOffset(0.95); h_dimuon_1_pZ124->GetXaxis()->SetTitleFont(42); h_dimuon_1_pZ124->GetYaxis()->SetLabelFont(42); h_dimuon_1_pZ124->GetYaxis()->SetLabelOffset(0.007); h_dimuon_1_pZ124->GetYaxis()->SetTitleSize(0.06); h_dimuon_1_pZ124->GetYaxis()->SetTitleOffset(1.3); h_dimuon_1_pZ124->GetYaxis()->SetTitleFont(42); h_dimuon_1_pZ124->GetZaxis()->SetLabelFont(42); h_dimuon_1_pZ124->GetZaxis()->SetLabelOffset(0.007); h_dimuon_1_pZ124->GetZaxis()->SetTitleSize(0.06); h_dimuon_1_pZ124->GetZaxis()->SetTitleFont(42); h_dimuon_1_pZ124->Draw("SAMEHIST"); TH1F *h_dimuon_2_pZ125 = new TH1F("h_dimuon_2_pZ125","h_dimuon_2_pZ",100,0,100); h_dimuon_2_pZ125->SetBinContent(0,1.284048); h_dimuon_2_pZ125->SetBinContent(1,0.02049629); h_dimuon_2_pZ125->SetBinContent(2,0.02204318); h_dimuon_2_pZ125->SetBinContent(3,0.02242991); h_dimuon_2_pZ125->SetBinContent(4,0.02172092); h_dimuon_2_pZ125->SetBinContent(5,0.02085079); h_dimuon_2_pZ125->SetBinContent(6,0.02191428); h_dimuon_2_pZ125->SetBinContent(7,0.02133419); h_dimuon_2_pZ125->SetBinContent(8,0.02068966); h_dimuon_2_pZ125->SetBinContent(9,0.02320335); h_dimuon_2_pZ125->SetBinContent(10,0.02239768); h_dimuon_2_pZ125->SetBinContent(11,0.02049629); h_dimuon_2_pZ125->SetBinContent(12,0.02049629); h_dimuon_2_pZ125->SetBinContent(13,0.01972285); h_dimuon_2_pZ125->SetBinContent(14,0.01911054); h_dimuon_2_pZ125->SetBinContent(15,0.01836932); h_dimuon_2_pZ125->SetBinContent(16,0.01856268); h_dimuon_2_pZ125->SetBinContent(17,0.01759587); h_dimuon_2_pZ125->SetBinContent(18,0.01604898); h_dimuon_2_pZ125->SetBinContent(19,0.01695134); h_dimuon_2_pZ125->SetBinContent(20,0.0166613); h_dimuon_2_pZ125->SetBinContent(21,0.01617789); h_dimuon_2_pZ125->SetBinContent(22,0.01537222); h_dimuon_2_pZ125->SetBinContent(23,0.01540445); h_dimuon_2_pZ125->SetBinContent(24,0.01466323); h_dimuon_2_pZ125->SetBinContent(25,0.01466323); h_dimuon_2_pZ125->SetBinContent(26,0.01427651); h_dimuon_2_pZ125->SetBinContent(27,0.01430873); h_dimuon_2_pZ125->SetBinContent(28,0.0124718); h_dimuon_2_pZ125->SetBinContent(29,0.0128263); h_dimuon_2_pZ125->SetBinContent(30,0.01263294); h_dimuon_2_pZ125->SetBinContent(31,0.01250403); h_dimuon_2_pZ125->SetBinContent(32,0.01185949); h_dimuon_2_pZ125->SetBinContent(33,0.01182726); h_dimuon_2_pZ125->SetBinContent(34,0.01153722); h_dimuon_2_pZ125->SetBinContent(35,0.01134386); h_dimuon_2_pZ125->SetBinContent(36,0.01063487); h_dimuon_2_pZ125->SetBinContent(37,0.01053819); h_dimuon_2_pZ125->SetBinContent(38,0.01011924); h_dimuon_2_pZ125->SetBinContent(39,0.009345794); h_dimuon_2_pZ125->SetBinContent(40,0.01053819); h_dimuon_2_pZ125->SetBinContent(41,0.009055752); h_dimuon_2_pZ125->SetBinContent(42,0.009442475); h_dimuon_2_pZ125->SetBinContent(43,0.008733484); h_dimuon_2_pZ125->SetBinContent(44,0.009345794); h_dimuon_2_pZ125->SetBinContent(45,0.01005479); h_dimuon_2_pZ125->SetBinContent(46,0.009055752); h_dimuon_2_pZ125->SetBinContent(47,0.00866903); h_dimuon_2_pZ125->SetBinContent(48,0.008088946); h_dimuon_2_pZ125->SetBinContent(49,0.008443442); h_dimuon_2_pZ125->SetBinContent(50,0.008765711); h_dimuon_2_pZ125->SetBinContent(51,0.00763777); h_dimuon_2_pZ125->SetBinContent(52,0.007573316); h_dimuon_2_pZ125->SetBinContent(53,0.007444409); h_dimuon_2_pZ125->SetBinContent(54,0.007895585); h_dimuon_2_pZ125->SetBinContent(55,0.008088946); h_dimuon_2_pZ125->SetBinContent(56,0.00660651); h_dimuon_2_pZ125->SetBinContent(57,0.007347728); h_dimuon_2_pZ125->SetBinContent(58,0.006832098); h_dimuon_2_pZ125->SetBinContent(59,0.006219788); h_dimuon_2_pZ125->SetBinContent(60,0.006896552); h_dimuon_2_pZ125->SetBinContent(61,0.005897519); h_dimuon_2_pZ125->SetBinContent(62,0.00660651); h_dimuon_2_pZ125->SetBinContent(63,0.005607476); h_dimuon_2_pZ125->SetBinContent(64,0.006413149); h_dimuon_2_pZ125->SetBinContent(65,0.005704157); h_dimuon_2_pZ125->SetBinContent(66,0.005704157); h_dimuon_2_pZ125->SetBinContent(67,0.005865292); h_dimuon_2_pZ125->SetBinContent(68,0.005220754); h_dimuon_2_pZ125->SetBinContent(69,0.00557525); h_dimuon_2_pZ125->SetBinContent(70,0.005607476); h_dimuon_2_pZ125->SetBinContent(71,0.00454399); h_dimuon_2_pZ125->SetBinContent(72,0.005188527); h_dimuon_2_pZ125->SetBinContent(73,0.005220754); h_dimuon_2_pZ125->SetBinContent(74,0.004769578); h_dimuon_2_pZ125->SetBinContent(75,0.0051563); h_dimuon_2_pZ125->SetBinContent(76,0.004415082); h_dimuon_2_pZ125->SetBinContent(77,0.005188527); h_dimuon_2_pZ125->SetBinContent(78,0.004834032); h_dimuon_2_pZ125->SetBinContent(79,0.004253948); h_dimuon_2_pZ125->SetBinContent(80,0.003996133); h_dimuon_2_pZ125->SetBinContent(81,0.004479536); h_dimuon_2_pZ125->SetBinContent(82,0.004511763); h_dimuon_2_pZ125->SetBinContent(83,0.004028359); h_dimuon_2_pZ125->SetBinContent(84,0.003802771); h_dimuon_2_pZ125->SetBinContent(85,0.004672897); h_dimuon_2_pZ125->SetBinContent(86,0.003899452); h_dimuon_2_pZ125->SetBinContent(87,0.00464067); h_dimuon_2_pZ125->SetBinContent(88,0.004092813); h_dimuon_2_pZ125->SetBinContent(89,0.003931679); h_dimuon_2_pZ125->SetBinContent(90,0.003996133); h_dimuon_2_pZ125->SetBinContent(91,0.004479536); h_dimuon_2_pZ125->SetBinContent(92,0.003448276); h_dimuon_2_pZ125->SetBinContent(93,0.003641637); h_dimuon_2_pZ125->SetBinContent(94,0.003319368); h_dimuon_2_pZ125->SetBinContent(95,0.003383822); h_dimuon_2_pZ125->SetBinContent(96,0.003931679); h_dimuon_2_pZ125->SetBinContent(97,0.003319368); h_dimuon_2_pZ125->SetBinContent(98,0.003254915); h_dimuon_2_pZ125->SetBinContent(99,0.003544956); h_dimuon_2_pZ125->SetBinContent(100,0.00351273); h_dimuon_2_pZ125->SetBinContent(101,0.2940702); h_dimuon_2_pZ125->SetBinError(0,0.006432795); h_dimuon_2_pZ125->SetBinError(1,0.0008127309); h_dimuon_2_pZ125->SetBinError(2,0.0008428422); h_dimuon_2_pZ125->SetBinError(3,0.0008502034); h_dimuon_2_pZ125->SetBinError(4,0.0008366584); h_dimuon_2_pZ125->SetBinError(5,0.0008197291); h_dimuon_2_pZ125->SetBinError(6,0.0008403741); h_dimuon_2_pZ125->SetBinError(7,0.0008291769); h_dimuon_2_pZ125->SetBinError(8,0.0008165556); h_dimuon_2_pZ125->SetBinError(9,0.0008647379); h_dimuon_2_pZ125->SetBinError(10,0.0008495924); h_dimuon_2_pZ125->SetBinError(11,0.0008127309); h_dimuon_2_pZ125->SetBinError(12,0.0008127309); h_dimuon_2_pZ125->SetBinError(13,0.0007972489); h_dimuon_2_pZ125->SetBinError(14,0.0007847757); h_dimuon_2_pZ125->SetBinError(15,0.0007694061); h_dimuon_2_pZ125->SetBinError(16,0.0007734451); h_dimuon_2_pZ125->SetBinError(17,0.0007530339); h_dimuon_2_pZ125->SetBinError(18,0.0007191722); h_dimuon_2_pZ125->SetBinError(19,0.0007391134); h_dimuon_2_pZ125->SetBinError(20,0.0007327629); h_dimuon_2_pZ125->SetBinError(21,0.0007220547); h_dimuon_2_pZ125->SetBinError(22,0.0007038456); h_dimuon_2_pZ125->SetBinError(23,0.000704583); h_dimuon_2_pZ125->SetBinError(24,0.0006874228); h_dimuon_2_pZ125->SetBinError(25,0.0006874228); h_dimuon_2_pZ125->SetBinError(26,0.0006782973); h_dimuon_2_pZ125->SetBinError(27,0.0006790624); h_dimuon_2_pZ125->SetBinError(28,0.0006339773); h_dimuon_2_pZ125->SetBinError(29,0.0006429242); h_dimuon_2_pZ125->SetBinError(30,0.0006380596); h_dimuon_2_pZ125->SetBinError(31,0.0006347959); h_dimuon_2_pZ125->SetBinError(32,0.0006182187); h_dimuon_2_pZ125->SetBinError(33,0.0006173782); h_dimuon_2_pZ125->SetBinError(34,0.0006097611); h_dimuon_2_pZ125->SetBinError(35,0.0006046298); h_dimuon_2_pZ125->SetBinError(36,0.0005854303); h_dimuon_2_pZ125->SetBinError(37,0.0005827632); h_dimuon_2_pZ125->SetBinError(38,0.0005710617); h_dimuon_2_pZ125->SetBinError(39,0.0005488039); h_dimuon_2_pZ125->SetBinError(40,0.0005827632); h_dimuon_2_pZ125->SetBinError(41,0.0005402209); h_dimuon_2_pZ125->SetBinError(42,0.0005516353); h_dimuon_2_pZ125->SetBinError(43,0.0005305214); h_dimuon_2_pZ125->SetBinError(44,0.0005488039); h_dimuon_2_pZ125->SetBinError(45,0.0005692401); h_dimuon_2_pZ125->SetBinError(46,0.0005402209); h_dimuon_2_pZ125->SetBinError(47,0.0005285601); h_dimuon_2_pZ125->SetBinError(48,0.0005105698); h_dimuon_2_pZ125->SetBinError(49,0.0005216376); h_dimuon_2_pZ125->SetBinError(50,0.0005314993); h_dimuon_2_pZ125->SetBinError(51,0.0004961265); h_dimuon_2_pZ125->SetBinError(52,0.0004940287); h_dimuon_2_pZ125->SetBinError(53,0.0004898061); h_dimuon_2_pZ125->SetBinError(54,0.0005044304); h_dimuon_2_pZ125->SetBinError(55,0.0005105698); h_dimuon_2_pZ125->SetBinError(56,0.0004614187); h_dimuon_2_pZ125->SetBinError(57,0.0004866152); h_dimuon_2_pZ125->SetBinError(58,0.0004692304); h_dimuon_2_pZ125->SetBinError(59,0.0004477101); h_dimuon_2_pZ125->SetBinError(60,0.0004714386); h_dimuon_2_pZ125->SetBinError(61,0.0004359571); h_dimuon_2_pZ125->SetBinError(62,0.0004614187); h_dimuon_2_pZ125->SetBinError(63,0.0004251017); h_dimuon_2_pZ125->SetBinError(64,0.000454616); h_dimuon_2_pZ125->SetBinError(65,0.0004287507); h_dimuon_2_pZ125->SetBinError(66,0.0004287507); h_dimuon_2_pZ125->SetBinError(67,0.0004347643); h_dimuon_2_pZ125->SetBinError(68,0.0004101812); h_dimuon_2_pZ125->SetBinError(69,0.0004238784); h_dimuon_2_pZ125->SetBinError(70,0.0004251017); h_dimuon_2_pZ125->SetBinError(71,0.000382673); h_dimuon_2_pZ125->SetBinError(72,0.0004089132); h_dimuon_2_pZ125->SetBinError(73,0.0004101812); h_dimuon_2_pZ125->SetBinError(74,0.0003920569); h_dimuon_2_pZ125->SetBinError(75,0.0004076413); h_dimuon_2_pZ125->SetBinError(76,0.0003772059); h_dimuon_2_pZ125->SetBinError(77,0.0004089132); h_dimuon_2_pZ125->SetBinError(78,0.000394697); h_dimuon_2_pZ125->SetBinError(79,0.0003702586); h_dimuon_2_pZ125->SetBinError(80,0.0003588633); h_dimuon_2_pZ125->SetBinError(81,0.0003799493); h_dimuon_2_pZ125->SetBinError(82,0.0003813136); h_dimuon_2_pZ125->SetBinError(83,0.0003603074); h_dimuon_2_pZ125->SetBinError(84,0.0003500735); h_dimuon_2_pZ125->SetBinError(85,0.000388063); h_dimuon_2_pZ125->SetBinError(86,0.0003544956); h_dimuon_2_pZ125->SetBinError(87,0.0003867225); h_dimuon_2_pZ125->SetBinError(88,0.0003631785); h_dimuon_2_pZ125->SetBinError(89,0.0003559575); h_dimuon_2_pZ125->SetBinError(90,0.0003588633); h_dimuon_2_pZ125->SetBinError(91,0.0003799493); h_dimuon_2_pZ125->SetBinError(92,0.0003333574); h_dimuon_2_pZ125->SetBinError(93,0.0003425764); h_dimuon_2_pZ125->SetBinError(94,0.0003270671); h_dimuon_2_pZ125->SetBinError(95,0.0003302272); h_dimuon_2_pZ125->SetBinError(96,0.0003559575); h_dimuon_2_pZ125->SetBinError(97,0.0003270671); h_dimuon_2_pZ125->SetBinError(98,0.0003238761); h_dimuon_2_pZ125->SetBinError(99,0.0003379983); h_dimuon_2_pZ125->SetBinError(100,0.0003364585); h_dimuon_2_pZ125->SetBinError(101,0.003078468); h_dimuon_2_pZ125->SetEntries(79999); h_dimuon_2_pZ125->SetDirectory(0); ci = TColor::GetColor("#ff0000"); h_dimuon_2_pZ125->SetLineColor(ci); h_dimuon_2_pZ125->SetLineWidth(2); h_dimuon_2_pZ125->SetMarkerStyle(20); h_dimuon_2_pZ125->GetXaxis()->SetLabelFont(42); h_dimuon_2_pZ125->GetXaxis()->SetLabelOffset(0.007); h_dimuon_2_pZ125->GetXaxis()->SetTitleSize(0.06); h_dimuon_2_pZ125->GetXaxis()->SetTitleOffset(0.95); h_dimuon_2_pZ125->GetXaxis()->SetTitleFont(42); h_dimuon_2_pZ125->GetYaxis()->SetLabelFont(42); h_dimuon_2_pZ125->GetYaxis()->SetLabelOffset(0.007); h_dimuon_2_pZ125->GetYaxis()->SetTitleSize(0.06); h_dimuon_2_pZ125->GetYaxis()->SetTitleOffset(1.3); h_dimuon_2_pZ125->GetYaxis()->SetTitleFont(42); h_dimuon_2_pZ125->GetZaxis()->SetLabelFont(42); h_dimuon_2_pZ125->GetZaxis()->SetLabelOffset(0.007); h_dimuon_2_pZ125->GetZaxis()->SetTitleSize(0.06); h_dimuon_2_pZ125->GetZaxis()->SetTitleFont(42); h_dimuon_2_pZ125->Draw("SAMEHIST"); TLegend *leg = new TLegend(0.46,0.6744444,0.6955556,0.7644444,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("h_dimuon_1_pZ","1st #mu#mu (leading p_{T})","L"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_dimuon_2_pZ","2nd #mu#mu","L"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.4566667,0.82,0.7822222,0.9066667,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","#splitline{pp #rightarrow h #rightarrow 2n_{1} #rightarrow 2n_{D} + 2 #gamma_{D} #rightarrow 2n_{D} + 4#mu}{#splitline{m_{h} = 125 GeV, m_{n_{1}} = 50 GeV, m_{n_{D}} = 1 GeV}{m_{#gamma_{D}} = 20 GeV, c#tau_{#gamma_{D}} = 0 mm}}","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","CMS Simulation (LHE) 14 TeV","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); cnv->Modified(); cnv->cd(); cnv->SetSelected(cnv); }
void SegtoLCTY_2016B_June22all_sameYrange() { //=========Macro generated from canvas: SegtoLCTY/SegtoLCTY //========= (Fri Aug 5 08:12:16 2016) by ROOT version6.06/01 TCanvas *SegtoLCTY = new TCanvas("SegtoLCTY", "SegtoLCTY",0,0,500,500); gStyle->SetOptStat(0); SegtoLCTY->SetHighLightColor(2); SegtoLCTY->Range(-50,-2.848556,50,2.626708); SegtoLCTY->SetFillColor(0); SegtoLCTY->SetBorderMode(0); SegtoLCTY->SetBorderSize(2); SegtoLCTY->SetLogy(); SegtoLCTY->SetFrameBorderMode(0); SegtoLCTY->SetFrameBorderMode(0); TH1D *SegtoLCTY_1__37 = new TH1D("SegtoLCTY_1__37","SegtoLCTY",100,-40,40); SegtoLCTY_1__37->SetBinContent(0,1.898254); SegtoLCTY_1__37->SetBinContent(1,0.002442073); SegtoLCTY_1__37->SetBinContent(2,0.002136814); SegtoLCTY_1__37->SetBinContent(3,0.0009157775); SegtoLCTY_1__37->SetBinContent(4,0.002594703); SegtoLCTY_1__37->SetBinContent(5,0.002594703); SegtoLCTY_1__37->SetBinContent(6,0.002594703); SegtoLCTY_1__37->SetBinContent(7,0.002442073); SegtoLCTY_1__37->SetBinContent(8,0.001831555); SegtoLCTY_1__37->SetBinContent(9,0.002747332); SegtoLCTY_1__37->SetBinContent(10,0.003052592); SegtoLCTY_1__37->SetBinContent(11,0.00366311); SegtoLCTY_1__37->SetBinContent(12,0.001831555); SegtoLCTY_1__37->SetBinContent(13,0.003052592); SegtoLCTY_1__37->SetBinContent(14,0.004273628); SegtoLCTY_1__37->SetBinContent(15,0.003815739); SegtoLCTY_1__37->SetBinContent(16,0.003968369); SegtoLCTY_1__37->SetBinContent(17,0.002594703); SegtoLCTY_1__37->SetBinContent(18,0.002899962); SegtoLCTY_1__37->SetBinContent(19,0.005036776); SegtoLCTY_1__37->SetBinContent(20,0.004120999); SegtoLCTY_1__37->SetBinContent(21,0.003815739); SegtoLCTY_1__37->SetBinContent(22,0.005036776); SegtoLCTY_1__37->SetBinContent(23,0.004426258); SegtoLCTY_1__37->SetBinContent(24,0.005036776); SegtoLCTY_1__37->SetBinContent(25,0.006868331); SegtoLCTY_1__37->SetBinContent(26,0.007020961); SegtoLCTY_1__37->SetBinContent(27,0.006257813); SegtoLCTY_1__37->SetBinContent(28,0.006868331); SegtoLCTY_1__37->SetBinContent(29,0.007020961); SegtoLCTY_1__37->SetBinContent(30,0.01068407); SegtoLCTY_1__37->SetBinContent(31,0.006868331); SegtoLCTY_1__37->SetBinContent(32,0.01007355); SegtoLCTY_1__37->SetBinContent(33,0.009310404); SegtoLCTY_1__37->SetBinContent(34,0.01037881); SegtoLCTY_1__37->SetBinContent(35,0.01266826); SegtoLCTY_1__37->SetBinContent(36,0.01159985); SegtoLCTY_1__37->SetBinContent(37,0.01648399); SegtoLCTY_1__37->SetBinContent(38,0.01831555); SegtoLCTY_1__37->SetBinContent(39,0.01984185); SegtoLCTY_1__37->SetBinContent(40,0.01846818); SegtoLCTY_1__37->SetBinContent(41,0.02243655); SegtoLCTY_1__37->SetBinContent(42,0.02671018); SegtoLCTY_1__37->SetBinContent(43,0.03937843); SegtoLCTY_1__37->SetBinContent(44,0.03617321); SegtoLCTY_1__37->SetBinContent(45,0.04868884); SegtoLCTY_1__37->SetBinContent(46,0.05479402); SegtoLCTY_1__37->SetBinContent(47,0.07723057); SegtoLCTY_1__37->SetBinContent(48,0.1245457); SegtoLCTY_1__37->SetBinContent(49,1.805913); SegtoLCTY_1__37->SetBinContent(50,5.034181); SegtoLCTY_1__37->SetBinContent(51,85.83888); SegtoLCTY_1__37->SetBinContent(52,3.317862); SegtoLCTY_1__37->SetBinContent(53,1.832013); SegtoLCTY_1__37->SetBinContent(54,0.3237273); SegtoLCTY_1__37->SetBinContent(55,0.2254339); SegtoLCTY_1__37->SetBinContent(56,0.1320246); SegtoLCTY_1__37->SetBinContent(57,0.1472875); SegtoLCTY_1__37->SetBinContent(58,0.0799779); SegtoLCTY_1__37->SetBinContent(59,0.07280431); SegtoLCTY_1__37->SetBinContent(60,0.05342035); SegtoLCTY_1__37->SetBinContent(61,0.04533098); SegtoLCTY_1__37->SetBinContent(62,0.03724162); SegtoLCTY_1__37->SetBinContent(63,0.03479954); SegtoLCTY_1__37->SetBinContent(64,0.0257944); SegtoLCTY_1__37->SetBinContent(65,0.01663662); SegtoLCTY_1__37->SetBinContent(66,0.02258918); SegtoLCTY_1__37->SetBinContent(67,0.02106288); SegtoLCTY_1__37->SetBinContent(68,0.01419455); SegtoLCTY_1__37->SetBinContent(69,0.0190787); SegtoLCTY_1__37->SetBinContent(70,0.01465244); SegtoLCTY_1__37->SetBinContent(71,0.0175524); SegtoLCTY_1__37->SetBinContent(72,0.0108367); SegtoLCTY_1__37->SetBinContent(73,0.01144722); SegtoLCTY_1__37->SetBinContent(74,0.01419455); SegtoLCTY_1__37->SetBinContent(75,0.008852516); SegtoLCTY_1__37->SetBinContent(76,0.009157775); SegtoLCTY_1__37->SetBinContent(77,0.009768293); SegtoLCTY_1__37->SetBinContent(78,0.007784109); SegtoLCTY_1__37->SetBinContent(79,0.009615663); SegtoLCTY_1__37->SetBinContent(80,0.006410442); SegtoLCTY_1__37->SetBinContent(81,0.007936738); SegtoLCTY_1__37->SetBinContent(82,0.006105183); SegtoLCTY_1__37->SetBinContent(83,0.007020961); SegtoLCTY_1__37->SetBinContent(84,0.006868331); SegtoLCTY_1__37->SetBinContent(85,0.005494665); SegtoLCTY_1__37->SetBinContent(86,0.005494665); SegtoLCTY_1__37->SetBinContent(87,0.005342035); SegtoLCTY_1__37->SetBinContent(88,0.005494665); SegtoLCTY_1__37->SetBinContent(89,0.005647294); SegtoLCTY_1__37->SetBinContent(90,0.005036776); SegtoLCTY_1__37->SetBinContent(91,0.003052592); SegtoLCTY_1__37->SetBinContent(92,0.004273628); SegtoLCTY_1__37->SetBinContent(93,0.002899962); SegtoLCTY_1__37->SetBinContent(94,0.003357851); SegtoLCTY_1__37->SetBinContent(95,0.002899962); SegtoLCTY_1__37->SetBinContent(96,0.005647294); SegtoLCTY_1__37->SetBinContent(97,0.003052592); SegtoLCTY_1__37->SetBinContent(98,0.002594703); SegtoLCTY_1__37->SetBinContent(99,0.003052592); SegtoLCTY_1__37->SetBinContent(100,0.002594703); SegtoLCTY_1__37->SetBinContent(101,1.24912); SegtoLCTY_1__37->SetMinimum(0.005); SegtoLCTY_1__37->SetMaximum(120); SegtoLCTY_1__37->SetEntries(675802); SegtoLCTY_1__37->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff00ff"); SegtoLCTY_1__37->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); SegtoLCTY_1__37->SetMarkerColor(ci); SegtoLCTY_1__37->GetXaxis()->SetTitle("cm"); SegtoLCTY_1__37->GetYaxis()->SetTitle("scaled number of entries"); SegtoLCTY_1__37->Draw("H"); TLegend *leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("SegtoLCTY_1","ME11A: mean:0.1cm;RMS:1.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_2","ME11B: mean:0.2cm;RMS:1.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_3","ME12+13: mean:0.5cm;RMS:1.6cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_4","ME2: mean:0.2cm;RMS:1.1cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_5","ME3: mean:-0.1cm;RMS:1.1cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_6","ME4: mean:-0.1cm;RMS:1.2cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *SegtoLCTY_2__38 = new TH1D("SegtoLCTY_2__38","SegtoLCTY",100,-40,40); SegtoLCTY_2__38->SetBinContent(0,0.6313823); SegtoLCTY_2__38->SetBinContent(1,0.002236199); SegtoLCTY_2__38->SetBinContent(2,0.002494222); SegtoLCTY_2__38->SetBinContent(3,0.001720153); SegtoLCTY_2__38->SetBinContent(4,0.001376123); SegtoLCTY_2__38->SetBinContent(5,0.002150192); SegtoLCTY_2__38->SetBinContent(6,0.002064184); SegtoLCTY_2__38->SetBinContent(7,0.00369833); SegtoLCTY_2__38->SetBinContent(8,0.003182284); SegtoLCTY_2__38->SetBinContent(9,0.003096276); SegtoLCTY_2__38->SetBinContent(10,0.003526314); SegtoLCTY_2__38->SetBinContent(11,0.003354299); SegtoLCTY_2__38->SetBinContent(12,0.001376123); SegtoLCTY_2__38->SetBinContent(13,0.00369833); SegtoLCTY_2__38->SetBinContent(14,0.004128368); SegtoLCTY_2__38->SetBinContent(15,0.002150192); SegtoLCTY_2__38->SetBinContent(16,0.002924261); SegtoLCTY_2__38->SetBinContent(17,0.003010268); SegtoLCTY_2__38->SetBinContent(18,0.004214376); SegtoLCTY_2__38->SetBinContent(19,0.004128368); SegtoLCTY_2__38->SetBinContent(20,0.005246468); SegtoLCTY_2__38->SetBinContent(21,0.005246468); SegtoLCTY_2__38->SetBinContent(22,0.003870345); SegtoLCTY_2__38->SetBinContent(23,0.005676506); SegtoLCTY_2__38->SetBinContent(24,0.005934529); SegtoLCTY_2__38->SetBinContent(25,0.006364568); SegtoLCTY_2__38->SetBinContent(26,0.00516046); SegtoLCTY_2__38->SetBinContent(27,0.00627856); SegtoLCTY_2__38->SetBinContent(28,0.006880614); SegtoLCTY_2__38->SetBinContent(29,0.006880614); SegtoLCTY_2__38->SetBinContent(30,0.008342744); SegtoLCTY_2__38->SetBinContent(31,0.00885879); SegtoLCTY_2__38->SetBinContent(32,0.009202821); SegtoLCTY_2__38->SetBinContent(33,0.01083697); SegtoLCTY_2__38->SetBinContent(34,0.01049294); SegtoLCTY_2__38->SetBinContent(35,0.01247111); SegtoLCTY_2__38->SetBinContent(36,0.01358921); SegtoLCTY_2__38->SetBinContent(37,0.01505134); SegtoLCTY_2__38->SetBinContent(38,0.01530937); SegtoLCTY_2__38->SetBinContent(39,0.01608343); SegtoLCTY_2__38->SetBinContent(40,0.02124389); SegtoLCTY_2__38->SetBinContent(41,0.02451219); SegtoLCTY_2__38->SetBinContent(42,0.02459819); SegtoLCTY_2__38->SetBinContent(43,0.03552117); SegtoLCTY_2__38->SetBinContent(44,0.03835942); SegtoLCTY_2__38->SetBinContent(45,0.0538408); SegtoLCTY_2__38->SetBinContent(46,0.07448264); SegtoLCTY_2__38->SetBinContent(47,0.07998713); SegtoLCTY_2__38->SetBinContent(48,0.1540397); SegtoLCTY_2__38->SetBinContent(49,3.500856); SegtoLCTY_2__38->SetBinContent(50,4.506716); SegtoLCTY_2__38->SetBinContent(51,79.10719); SegtoLCTY_2__38->SetBinContent(52,6.900309); SegtoLCTY_2__38->SetBinContent(53,3.7692); SegtoLCTY_2__38->SetBinContent(54,0.4788907); SegtoLCTY_2__38->SetBinContent(55,0.2770307); SegtoLCTY_2__38->SetBinContent(56,0.1499114); SegtoLCTY_2__38->SetBinContent(57,0.09228623); SegtoLCTY_2__38->SetBinContent(58,0.06829009); SegtoLCTY_2__38->SetBinContent(59,0.05237867); SegtoLCTY_2__38->SetBinContent(60,0.04240178); SegtoLCTY_2__38->SetBinContent(61,0.033629); SegtoLCTY_2__38->SetBinContent(62,0.02924261); SegtoLCTY_2__38->SetBinContent(63,0.02313606); SegtoLCTY_2__38->SetBinContent(64,0.02029781); SegtoLCTY_2__38->SetBinContent(65,0.01745956); SegtoLCTY_2__38->SetBinContent(66,0.01849165); SegtoLCTY_2__38->SetBinContent(67,0.01315917); SegtoLCTY_2__38->SetBinContent(68,0.01315917); SegtoLCTY_2__38->SetBinContent(69,0.00885879); SegtoLCTY_2__38->SetBinContent(70,0.01023491); SegtoLCTY_2__38->SetBinContent(71,0.00885879); SegtoLCTY_2__38->SetBinContent(72,0.007052629); SegtoLCTY_2__38->SetBinContent(73,0.007568675); SegtoLCTY_2__38->SetBinContent(74,0.008084721); SegtoLCTY_2__38->SetBinContent(75,0.006106545); SegtoLCTY_2__38->SetBinContent(76,0.006192552); SegtoLCTY_2__38->SetBinContent(77,0.006536583); SegtoLCTY_2__38->SetBinContent(78,0.005504491); SegtoLCTY_2__38->SetBinContent(79,0.003784337); SegtoLCTY_2__38->SetBinContent(80,0.005074453); SegtoLCTY_2__38->SetBinContent(81,0.004730422); SegtoLCTY_2__38->SetBinContent(82,0.004300384); SegtoLCTY_2__38->SetBinContent(83,0.003010268); SegtoLCTY_2__38->SetBinContent(84,0.003526314); SegtoLCTY_2__38->SetBinContent(85,0.003354299); SegtoLCTY_2__38->SetBinContent(86,0.002752245); SegtoLCTY_2__38->SetBinContent(87,0.003784337); SegtoLCTY_2__38->SetBinContent(88,0.00369833); SegtoLCTY_2__38->SetBinContent(89,0.004214376); SegtoLCTY_2__38->SetBinContent(90,0.003096276); SegtoLCTY_2__38->SetBinContent(91,0.003182284); SegtoLCTY_2__38->SetBinContent(92,0.00369833); SegtoLCTY_2__38->SetBinContent(93,0.003010268); SegtoLCTY_2__38->SetBinContent(94,0.002322207); SegtoLCTY_2__38->SetBinContent(95,0.002752245); SegtoLCTY_2__38->SetBinContent(96,0.001978176); SegtoLCTY_2__38->SetBinContent(97,0.00258023); SegtoLCTY_2__38->SetBinContent(98,0.002666238); SegtoLCTY_2__38->SetBinContent(99,0.002322207); SegtoLCTY_2__38->SetBinContent(100,0.002236199); SegtoLCTY_2__38->SetBinContent(101,1.317035); SegtoLCTY_2__38->SetEntries(1185341); SegtoLCTY_2__38->SetStats(0); ci = TColor::GetColor("#ff9999"); SegtoLCTY_2__38->SetLineColor(ci); ci = TColor::GetColor("#ff9999"); SegtoLCTY_2__38->SetMarkerColor(ci); SegtoLCTY_2__38->GetXaxis()->SetTitle("cm"); SegtoLCTY_2__38->GetYaxis()->SetTitle("scaled number of entries"); SegtoLCTY_2__38->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("SegtoLCTY_1","ME11A: mean:0.1cm;RMS:1.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_2","ME11B: mean:0.2cm;RMS:1.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_3","ME12+13: mean:0.5cm;RMS:1.6cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_4","ME2: mean:0.2cm;RMS:1.1cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_5","ME3: mean:-0.1cm;RMS:1.1cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_6","ME4: mean:-0.1cm;RMS:1.2cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *SegtoLCTY_3__39 = new TH1D("SegtoLCTY_3__39","SegtoLCTY",100,-40,40); SegtoLCTY_3__39->SetBinContent(0,0.2784678); SegtoLCTY_3__39->SetBinContent(1,0.002072319); SegtoLCTY_3__39->SetBinContent(2,0.002072319); SegtoLCTY_3__39->SetBinContent(3,0.0007771195); SegtoLCTY_3__39->SetBinContent(4,0.002072319); SegtoLCTY_3__39->SetBinContent(5,0.002072319); SegtoLCTY_3__39->SetBinContent(6,0.003108478); SegtoLCTY_3__39->SetBinContent(7,0.002331359); SegtoLCTY_3__39->SetBinContent(8,0.002849438); SegtoLCTY_3__39->SetBinContent(9,0.002331359); SegtoLCTY_3__39->SetBinContent(10,0.002072319); SegtoLCTY_3__39->SetBinContent(11,0.001554239); SegtoLCTY_3__39->SetBinContent(12,0.001813279); SegtoLCTY_3__39->SetBinContent(13,0.001813279); SegtoLCTY_3__39->SetBinContent(14,0.001813279); SegtoLCTY_3__39->SetBinContent(15,0.002849438); SegtoLCTY_3__39->SetBinContent(16,0.002590398); SegtoLCTY_3__39->SetBinContent(17,0.001813279); SegtoLCTY_3__39->SetBinContent(18,0.001554239); SegtoLCTY_3__39->SetBinContent(19,0.002590398); SegtoLCTY_3__39->SetBinContent(20,0.004144637); SegtoLCTY_3__39->SetBinContent(21,0.002331359); SegtoLCTY_3__39->SetBinContent(22,0.002849438); SegtoLCTY_3__39->SetBinContent(23,0.002072319); SegtoLCTY_3__39->SetBinContent(24,0.003626558); SegtoLCTY_3__39->SetBinContent(25,0.001554239); SegtoLCTY_3__39->SetBinContent(26,0.003367518); SegtoLCTY_3__39->SetBinContent(27,0.003885598); SegtoLCTY_3__39->SetBinContent(28,0.002331359); SegtoLCTY_3__39->SetBinContent(29,0.003108478); SegtoLCTY_3__39->SetBinContent(30,0.004662717); SegtoLCTY_3__39->SetBinContent(31,0.006735036); SegtoLCTY_3__39->SetBinContent(32,0.004144637); SegtoLCTY_3__39->SetBinContent(33,0.004921757); SegtoLCTY_3__39->SetBinContent(34,0.004921757); SegtoLCTY_3__39->SetBinContent(35,0.006216956); SegtoLCTY_3__39->SetBinContent(36,0.006216956); SegtoLCTY_3__39->SetBinContent(37,0.006216956); SegtoLCTY_3__39->SetBinContent(38,0.009325434); SegtoLCTY_3__39->SetBinContent(39,0.008030235); SegtoLCTY_3__39->SetBinContent(40,0.009325434); SegtoLCTY_3__39->SetBinContent(41,0.01036159); SegtoLCTY_3__39->SetBinContent(42,0.01165679); SegtoLCTY_3__39->SetBinContent(43,0.01554239); SegtoLCTY_3__39->SetBinContent(44,0.01735567); SegtoLCTY_3__39->SetBinContent(45,0.02642206); SegtoLCTY_3__39->SetBinContent(46,0.03237998); SegtoLCTY_3__39->SetBinContent(47,0.04766333); SegtoLCTY_3__39->SetBinContent(48,0.07667579); SegtoLCTY_3__39->SetBinContent(49,1.295458); SegtoLCTY_3__39->SetBinContent(50,14.74714); SegtoLCTY_3__39->SetBinContent(51,54.13544); SegtoLCTY_3__39->SetBinContent(52,15.52219); SegtoLCTY_3__39->SetBinContent(53,7.625356); SegtoLCTY_3__39->SetBinContent(54,3.031284); SegtoLCTY_3__39->SetBinContent(55,2.189923); SegtoLCTY_3__39->SetBinContent(56,0.5009831); SegtoLCTY_3__39->SetBinContent(57,0.1761471); SegtoLCTY_3__39->SetBinContent(58,0.09325434); SegtoLCTY_3__39->SetBinContent(59,0.05517549); SegtoLCTY_3__39->SetBinContent(60,0.03807886); SegtoLCTY_3__39->SetBinContent(61,0.02460879); SegtoLCTY_3__39->SetBinContent(62,0.02719918); SegtoLCTY_3__39->SetBinContent(63,0.01631951); SegtoLCTY_3__39->SetBinContent(64,0.01165679); SegtoLCTY_3__39->SetBinContent(65,0.01476527); SegtoLCTY_3__39->SetBinContent(66,0.01010255); SegtoLCTY_3__39->SetBinContent(67,0.004921757); SegtoLCTY_3__39->SetBinContent(68,0.01036159); SegtoLCTY_3__39->SetBinContent(69,0.004921757); SegtoLCTY_3__39->SetBinContent(70,0.003626558); SegtoLCTY_3__39->SetBinContent(71,0.006994076); SegtoLCTY_3__39->SetBinContent(72,0.005698877); SegtoLCTY_3__39->SetBinContent(73,0.005698877); SegtoLCTY_3__39->SetBinContent(74,0.003626558); SegtoLCTY_3__39->SetBinContent(75,0.003108478); SegtoLCTY_3__39->SetBinContent(76,0.004144637); SegtoLCTY_3__39->SetBinContent(77,0.003108478); SegtoLCTY_3__39->SetBinContent(78,0.002331359); SegtoLCTY_3__39->SetBinContent(79,0.003108478); SegtoLCTY_3__39->SetBinContent(80,0.003885598); SegtoLCTY_3__39->SetBinContent(81,0.003367518); SegtoLCTY_3__39->SetBinContent(82,0.002331359); SegtoLCTY_3__39->SetBinContent(83,0.002072319); SegtoLCTY_3__39->SetBinContent(84,0.001813279); SegtoLCTY_3__39->SetBinContent(85,0.002331359); SegtoLCTY_3__39->SetBinContent(86,0.003367518); SegtoLCTY_3__39->SetBinContent(87,0.002849438); SegtoLCTY_3__39->SetBinContent(88,0.002072319); SegtoLCTY_3__39->SetBinContent(89,0.001813279); SegtoLCTY_3__39->SetBinContent(90,0.002849438); SegtoLCTY_3__39->SetBinContent(91,0.002072319); SegtoLCTY_3__39->SetBinContent(92,0.001554239); SegtoLCTY_3__39->SetBinContent(93,0.001036159); SegtoLCTY_3__39->SetBinContent(94,0.002849438); SegtoLCTY_3__39->SetBinContent(95,0.001295199); SegtoLCTY_3__39->SetBinContent(96,0.001554239); SegtoLCTY_3__39->SetBinContent(97,0.001813279); SegtoLCTY_3__39->SetBinContent(98,0.001554239); SegtoLCTY_3__39->SetBinContent(99,0.001295199); SegtoLCTY_3__39->SetBinContent(100,0.001295199); SegtoLCTY_3__39->SetBinContent(101,0.6424188); SegtoLCTY_3__39->SetEntries(389596); SegtoLCTY_3__39->SetStats(0); SegtoLCTY_3__39->GetXaxis()->SetTitle("cm"); SegtoLCTY_3__39->GetYaxis()->SetTitle("scaled number of entries"); SegtoLCTY_3__39->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("SegtoLCTY_1","ME11A: mean:0.1cm;RMS:1.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_2","ME11B: mean:0.2cm;RMS:1.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_3","ME12+13: mean:0.5cm;RMS:1.6cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_4","ME2: mean:0.2cm;RMS:1.1cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_5","ME3: mean:-0.1cm;RMS:1.1cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_6","ME4: mean:-0.1cm;RMS:1.2cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *SegtoLCTY_4__40 = new TH1D("SegtoLCTY_4__40","SegtoLCTY",100,-40,40); SegtoLCTY_4__40->SetBinContent(0,0.8410274); SegtoLCTY_4__40->SetBinContent(1,0.0004816881); SegtoLCTY_4__40->SetBinContent(2,0.000535209); SegtoLCTY_4__40->SetBinContent(3,0.0006957717); SegtoLCTY_4__40->SetBinContent(4,0.0006957717); SegtoLCTY_4__40->SetBinContent(5,0.001016897); SegtoLCTY_4__40->SetBinContent(6,0.0009098553); SegtoLCTY_4__40->SetBinContent(7,0.0002140836); SegtoLCTY_4__40->SetBinContent(8,0.000535209); SegtoLCTY_4__40->SetBinContent(9,0.0006957717); SegtoLCTY_4__40->SetBinContent(10,0.000535209); SegtoLCTY_4__40->SetBinContent(11,0.0006957717); SegtoLCTY_4__40->SetBinContent(12,0.0006957717); SegtoLCTY_4__40->SetBinContent(13,0.0007492926); SegtoLCTY_4__40->SetBinContent(14,0.0007492926); SegtoLCTY_4__40->SetBinContent(15,0.0004816881); SegtoLCTY_4__40->SetBinContent(16,0.001016897); SegtoLCTY_4__40->SetBinContent(17,0.0007492926); SegtoLCTY_4__40->SetBinContent(18,0.0008028135); SegtoLCTY_4__40->SetBinContent(19,0.001123939); SegtoLCTY_4__40->SetBinContent(20,0.001338022); SegtoLCTY_4__40->SetBinContent(21,0.001284502); SegtoLCTY_4__40->SetBinContent(22,0.001498585); SegtoLCTY_4__40->SetBinContent(23,0.001284502); SegtoLCTY_4__40->SetBinContent(24,0.001605627); SegtoLCTY_4__40->SetBinContent(25,0.001819711); SegtoLCTY_4__40->SetBinContent(26,0.00117746); SegtoLCTY_4__40->SetBinContent(27,0.001230981); SegtoLCTY_4__40->SetBinContent(28,0.001498585); SegtoLCTY_4__40->SetBinContent(29,0.001712669); SegtoLCTY_4__40->SetBinContent(30,0.001445064); SegtoLCTY_4__40->SetBinContent(31,0.002676045); SegtoLCTY_4__40->SetBinContent(32,0.00235492); SegtoLCTY_4__40->SetBinContent(33,0.002676045); SegtoLCTY_4__40->SetBinContent(34,0.00240844); SegtoLCTY_4__40->SetBinContent(35,0.003211254); SegtoLCTY_4__40->SetBinContent(36,0.004121109); SegtoLCTY_4__40->SetBinContent(37,0.003907026); SegtoLCTY_4__40->SetBinContent(38,0.004121109); SegtoLCTY_4__40->SetBinContent(39,0.00776053); SegtoLCTY_4__40->SetBinContent(40,0.00711828); SegtoLCTY_4__40->SetBinContent(41,0.009098553); SegtoLCTY_4__40->SetBinContent(42,0.009633762); SegtoLCTY_4__40->SetBinContent(43,0.01081122); SegtoLCTY_4__40->SetBinContent(44,0.01546754); SegtoLCTY_4__40->SetBinContent(45,0.0163774); SegtoLCTY_4__40->SetBinContent(46,0.03163085); SegtoLCTY_4__40->SetBinContent(47,0.06224481); SegtoLCTY_4__40->SetBinContent(48,1.059553); SegtoLCTY_4__40->SetBinContent(49,1.844384); SegtoLCTY_4__40->SetBinContent(50,7.443151); SegtoLCTY_4__40->SetBinContent(51,76.64963); SegtoLCTY_4__40->SetBinContent(52,6.21854); SegtoLCTY_4__40->SetBinContent(53,2.206881); SegtoLCTY_4__40->SetBinContent(54,2.981221); SegtoLCTY_4__40->SetBinContent(55,0.782422); SegtoLCTY_4__40->SetBinContent(56,0.2253765); SegtoLCTY_4__40->SetBinContent(57,0.1047404); SegtoLCTY_4__40->SetBinContent(58,0.06138847); SegtoLCTY_4__40->SetBinContent(59,0.04115757); SegtoLCTY_4__40->SetBinContent(60,0.02788439); SegtoLCTY_4__40->SetBinContent(61,0.0179295); SegtoLCTY_4__40->SetBinContent(62,0.01525346); SegtoLCTY_4__40->SetBinContent(63,0.01107883); SegtoLCTY_4__40->SetBinContent(64,0.01038305); SegtoLCTY_4__40->SetBinContent(65,0.007599968); SegtoLCTY_4__40->SetBinContent(66,0.007225321); SegtoLCTY_4__40->SetBinContent(67,0.005833778); SegtoLCTY_4__40->SetBinContent(68,0.005405611); SegtoLCTY_4__40->SetBinContent(69,0.003639421); SegtoLCTY_4__40->SetBinContent(70,0.002676045); SegtoLCTY_4__40->SetBinContent(71,0.003157733); SegtoLCTY_4__40->SetBinContent(72,0.002676045); SegtoLCTY_4__40->SetBinContent(73,0.002194357); SegtoLCTY_4__40->SetBinContent(74,0.001819711); SegtoLCTY_4__40->SetBinContent(75,0.002301399); SegtoLCTY_4__40->SetBinContent(76,0.002087315); SegtoLCTY_4__40->SetBinContent(77,0.001926752); SegtoLCTY_4__40->SetBinContent(78,0.002140836); SegtoLCTY_4__40->SetBinContent(79,0.00176619); SegtoLCTY_4__40->SetBinContent(80,0.001552106); SegtoLCTY_4__40->SetBinContent(81,0.0009633762); SegtoLCTY_4__40->SetBinContent(82,0.001338022); SegtoLCTY_4__40->SetBinContent(83,0.00117746); SegtoLCTY_4__40->SetBinContent(84,0.001498585); SegtoLCTY_4__40->SetBinContent(85,0.00117746); SegtoLCTY_4__40->SetBinContent(86,0.000535209); SegtoLCTY_4__40->SetBinContent(87,0.001445064); SegtoLCTY_4__40->SetBinContent(88,0.001016897); SegtoLCTY_4__40->SetBinContent(89,0.00117746); SegtoLCTY_4__40->SetBinContent(90,0.00117746); SegtoLCTY_4__40->SetBinContent(91,0.0006422508); SegtoLCTY_4__40->SetBinContent(92,0.0008028135); SegtoLCTY_4__40->SetBinContent(93,0.0009633762); SegtoLCTY_4__40->SetBinContent(94,0.0005887299); SegtoLCTY_4__40->SetBinContent(95,0.0006957717); SegtoLCTY_4__40->SetBinContent(96,0.0009633762); SegtoLCTY_4__40->SetBinContent(97,0.001016897); SegtoLCTY_4__40->SetBinContent(98,0.0008028135); SegtoLCTY_4__40->SetBinContent(99,0.001123939); SegtoLCTY_4__40->SetBinContent(100,0.001016897); SegtoLCTY_4__40->SetBinContent(101,0.3512041); SegtoLCTY_4__40->SetEntries(1890705); SegtoLCTY_4__40->SetStats(0); ci = TColor::GetColor("#ff0000"); SegtoLCTY_4__40->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); SegtoLCTY_4__40->SetMarkerColor(ci); SegtoLCTY_4__40->GetXaxis()->SetTitle("cm"); SegtoLCTY_4__40->GetYaxis()->SetTitle("scaled number of entries"); SegtoLCTY_4__40->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("SegtoLCTY_1","ME11A: mean:0.1cm;RMS:1.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_2","ME11B: mean:0.2cm;RMS:1.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_3","ME12+13: mean:0.5cm;RMS:1.6cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_4","ME2: mean:0.2cm;RMS:1.1cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_5","ME3: mean:-0.1cm;RMS:1.1cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_6","ME4: mean:-0.1cm;RMS:1.2cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *SegtoLCTY_5__41 = new TH1D("SegtoLCTY_5__41","SegtoLCTY",100,-40,40); SegtoLCTY_5__41->SetBinContent(0,0.5244401); SegtoLCTY_5__41->SetBinContent(1,0.0003618825); SegtoLCTY_5__41->SetBinContent(2,0.000289506); SegtoLCTY_5__41->SetBinContent(3,0.0003618825); SegtoLCTY_5__41->SetBinContent(4,0.0005066355); SegtoLCTY_5__41->SetBinContent(5,0.0003618825); SegtoLCTY_5__41->SetBinContent(6,0.0003618825); SegtoLCTY_5__41->SetBinContent(7,0.000434259); SegtoLCTY_5__41->SetBinContent(8,0.0002171295); SegtoLCTY_5__41->SetBinContent(9,0.0007961415); SegtoLCTY_5__41->SetBinContent(10,0.000434259); SegtoLCTY_5__41->SetBinContent(11,0.000289506); SegtoLCTY_5__41->SetBinContent(12,0.0003618825); SegtoLCTY_5__41->SetBinContent(13,0.0003618825); SegtoLCTY_5__41->SetBinContent(14,0.000868518); SegtoLCTY_5__41->SetBinContent(15,0.0006513885); SegtoLCTY_5__41->SetBinContent(16,0.0006513885); SegtoLCTY_5__41->SetBinContent(17,0.0009408945); SegtoLCTY_5__41->SetBinContent(18,0.0009408945); SegtoLCTY_5__41->SetBinContent(19,0.0007961415); SegtoLCTY_5__41->SetBinContent(20,0.001085647); SegtoLCTY_5__41->SetBinContent(21,0.0003618825); SegtoLCTY_5__41->SetBinContent(22,0.0012304); SegtoLCTY_5__41->SetBinContent(23,0.0009408945); SegtoLCTY_5__41->SetBinContent(24,0.001302777); SegtoLCTY_5__41->SetBinContent(25,0.002026542); SegtoLCTY_5__41->SetBinContent(26,0.0009408945); SegtoLCTY_5__41->SetBinContent(27,0.002098918); SegtoLCTY_5__41->SetBinContent(28,0.001809412); SegtoLCTY_5__41->SetBinContent(29,0.00144753); SegtoLCTY_5__41->SetBinContent(30,0.001664659); SegtoLCTY_5__41->SetBinContent(31,0.00267793); SegtoLCTY_5__41->SetBinContent(32,0.00267793); SegtoLCTY_5__41->SetBinContent(33,0.002098918); SegtoLCTY_5__41->SetBinContent(34,0.002967436); SegtoLCTY_5__41->SetBinContent(35,0.004197837); SegtoLCTY_5__41->SetBinContent(36,0.004632096); SegtoLCTY_5__41->SetBinContent(37,0.004776849); SegtoLCTY_5__41->SetBinContent(38,0.005717743); SegtoLCTY_5__41->SetBinContent(39,0.0135344); SegtoLCTY_5__41->SetBinContent(40,0.01179737); SegtoLCTY_5__41->SetBinContent(41,0.01150786); SegtoLCTY_5__41->SetBinContent(42,0.01331728); SegtoLCTY_5__41->SetBinContent(43,0.0193969); SegtoLCTY_5__41->SetBinContent(44,0.02258147); SegtoLCTY_5__41->SetBinContent(45,0.04031371); SegtoLCTY_5__41->SetBinContent(46,0.1180461); SegtoLCTY_5__41->SetBinContent(47,3.074409); SegtoLCTY_5__41->SetBinContent(48,3.030983); SegtoLCTY_5__41->SetBinContent(49,5.040154); SegtoLCTY_5__41->SetBinContent(50,10.08465); SegtoLCTY_5__41->SetBinContent(51,70.76684); SegtoLCTY_5__41->SetBinContent(52,3.508089); SegtoLCTY_5__41->SetBinContent(53,3.107702); SegtoLCTY_5__41->SetBinContent(54,0.5185776); SegtoLCTY_5__41->SetBinContent(55,0.1874551); SegtoLCTY_5__41->SetBinContent(56,0.1121836); SegtoLCTY_5__41->SetBinContent(57,0.06492172); SegtoLCTY_5__41->SetBinContent(58,0.04552482); SegtoLCTY_5__41->SetBinContent(59,0.03242467); SegtoLCTY_5__41->SetBinContent(60,0.02258147); SegtoLCTY_5__41->SetBinContent(61,0.01787699); SegtoLCTY_5__41->SetBinContent(62,0.0132449); SegtoLCTY_5__41->SetBinContent(63,0.008395674); SegtoLCTY_5__41->SetBinContent(64,0.006369132); SegtoLCTY_5__41->SetBinContent(65,0.00579012); SegtoLCTY_5__41->SetBinContent(66,0.003908331); SegtoLCTY_5__41->SetBinContent(67,0.004921602); SegtoLCTY_5__41->SetBinContent(68,0.002388424); SegtoLCTY_5__41->SetBinContent(69,0.003329319); SegtoLCTY_5__41->SetBinContent(70,0.002822683); SegtoLCTY_5__41->SetBinContent(71,0.002533177); SegtoLCTY_5__41->SetBinContent(72,0.001809412); SegtoLCTY_5__41->SetBinContent(73,0.002243671); SegtoLCTY_5__41->SetBinContent(74,0.001519906); SegtoLCTY_5__41->SetBinContent(75,0.00144753); SegtoLCTY_5__41->SetBinContent(76,0.001013271); SegtoLCTY_5__41->SetBinContent(77,0.0012304); SegtoLCTY_5__41->SetBinContent(78,0.000868518); SegtoLCTY_5__41->SetBinContent(79,0.001302777); SegtoLCTY_5__41->SetBinContent(80,0.000868518); SegtoLCTY_5__41->SetBinContent(81,0.001085647); SegtoLCTY_5__41->SetBinContent(82,0.001375153); SegtoLCTY_5__41->SetBinContent(83,0.0006513885); SegtoLCTY_5__41->SetBinContent(84,0.0007961415); SegtoLCTY_5__41->SetBinContent(85,0.0007961415); SegtoLCTY_5__41->SetBinContent(86,0.000579012); SegtoLCTY_5__41->SetBinContent(87,0.0007961415); SegtoLCTY_5__41->SetBinContent(88,0.001085647); SegtoLCTY_5__41->SetBinContent(89,0.0009408945); SegtoLCTY_5__41->SetBinContent(90,0.001085647); SegtoLCTY_5__41->SetBinContent(91,0.000434259); SegtoLCTY_5__41->SetBinContent(92,0.0006513885); SegtoLCTY_5__41->SetBinContent(93,0.000434259); SegtoLCTY_5__41->SetBinContent(94,0.0006513885); SegtoLCTY_5__41->SetBinContent(95,0.0006513885); SegtoLCTY_5__41->SetBinContent(96,0.000723765); SegtoLCTY_5__41->SetBinContent(97,0.000434259); SegtoLCTY_5__41->SetBinContent(98,0.0005066355); SegtoLCTY_5__41->SetBinContent(99,0.0003618825); SegtoLCTY_5__41->SetBinContent(100,0.000434259); SegtoLCTY_5__41->SetBinContent(101,0.4193494); SegtoLCTY_5__41->SetEntries(1394704); SegtoLCTY_5__41->SetStats(0); ci = TColor::GetColor("#00ff00"); SegtoLCTY_5__41->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); SegtoLCTY_5__41->SetMarkerColor(ci); SegtoLCTY_5__41->GetXaxis()->SetTitle("cm"); SegtoLCTY_5__41->GetYaxis()->SetTitle("scaled number of entries"); SegtoLCTY_5__41->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("SegtoLCTY_1","ME11A: mean:0.1cm;RMS:1.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_2","ME11B: mean:0.2cm;RMS:1.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_3","ME12+13: mean:0.5cm;RMS:1.6cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_4","ME2: mean:0.2cm;RMS:1.1cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_5","ME3: mean:-0.1cm;RMS:1.1cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_6","ME4: mean:-0.1cm;RMS:1.2cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *SegtoLCTY_6__42 = new TH1D("SegtoLCTY_6__42","SegtoLCTY",100,-40,40); SegtoLCTY_6__42->SetBinContent(0,0.2770893); SegtoLCTY_6__42->SetBinContent(1,0.0004566402); SegtoLCTY_6__42->SetBinContent(2,0.0001826561); SegtoLCTY_6__42->SetBinContent(3,0.0003653122); SegtoLCTY_6__42->SetBinContent(4,9.132804e-05); SegtoLCTY_6__42->SetBinContent(5,0.0002739841); SegtoLCTY_6__42->SetBinContent(6,0.0001826561); SegtoLCTY_6__42->SetBinContent(7,0.0004566402); SegtoLCTY_6__42->SetBinContent(8,0.0002739841); SegtoLCTY_6__42->SetBinContent(9,0.0005479682); SegtoLCTY_6__42->SetBinContent(10,0.0004566402); SegtoLCTY_6__42->SetBinContent(11,0.0002739841); SegtoLCTY_6__42->SetBinContent(12,0.0005479682); SegtoLCTY_6__42->SetBinContent(13,0.0006392963); SegtoLCTY_6__42->SetBinContent(14,0.0006392963); SegtoLCTY_6__42->SetBinContent(15,0.0008219523); SegtoLCTY_6__42->SetBinContent(16,9.132804e-05); SegtoLCTY_6__42->SetBinContent(17,0.0002739841); SegtoLCTY_6__42->SetBinContent(18,0.0009132804); SegtoLCTY_6__42->SetBinContent(19,0.0005479682); SegtoLCTY_6__42->SetBinContent(20,0.0008219523); SegtoLCTY_6__42->SetBinContent(21,0.001004608); SegtoLCTY_6__42->SetBinContent(22,0.0006392963); SegtoLCTY_6__42->SetBinContent(23,0.001278593); SegtoLCTY_6__42->SetBinContent(24,0.0009132804); SegtoLCTY_6__42->SetBinContent(25,0.001278593); SegtoLCTY_6__42->SetBinContent(26,0.001004608); SegtoLCTY_6__42->SetBinContent(27,0.0008219523); SegtoLCTY_6__42->SetBinContent(28,0.001552577); SegtoLCTY_6__42->SetBinContent(29,0.001369921); SegtoLCTY_6__42->SetBinContent(30,0.002009217); SegtoLCTY_6__42->SetBinContent(31,0.002009217); SegtoLCTY_6__42->SetBinContent(32,0.002465857); SegtoLCTY_6__42->SetBinContent(33,0.002465857); SegtoLCTY_6__42->SetBinContent(34,0.002922497); SegtoLCTY_6__42->SetBinContent(35,0.003379137); SegtoLCTY_6__42->SetBinContent(36,0.003470465); SegtoLCTY_6__42->SetBinContent(37,0.005844994); SegtoLCTY_6__42->SetBinContent(38,0.007032259); SegtoLCTY_6__42->SetBinContent(39,0.01324257); SegtoLCTY_6__42->SetBinContent(40,0.0104114); SegtoLCTY_6__42->SetBinContent(41,0.0126946); SegtoLCTY_6__42->SetBinContent(42,0.0120553); SegtoLCTY_6__42->SetBinContent(43,0.02164474); SegtoLCTY_6__42->SetBinContent(44,0.02803771); SegtoLCTY_6__42->SetBinContent(45,0.04338082); SegtoLCTY_6__42->SetBinContent(46,0.114708); SegtoLCTY_6__42->SetBinContent(47,3.722987); SegtoLCTY_6__42->SetBinContent(48,4.052682); SegtoLCTY_6__42->SetBinContent(49,4.146202); SegtoLCTY_6__42->SetBinContent(50,11.80935); SegtoLCTY_6__42->SetBinContent(51,66.46654); SegtoLCTY_6__42->SetBinContent(52,3.982907); SegtoLCTY_6__42->SetBinContent(53,4.192048); SegtoLCTY_6__42->SetBinContent(54,0.6763754); SegtoLCTY_6__42->SetBinContent(55,0.2176347); SegtoLCTY_6__42->SetBinContent(56,0.1273113); SegtoLCTY_6__42->SetBinContent(57,0.0788161); SegtoLCTY_6__42->SetBinContent(58,0.05004776); SegtoLCTY_6__42->SetBinContent(59,0.03607457); SegtoLCTY_6__42->SetBinContent(60,0.02538919); SegtoLCTY_6__42->SetBinContent(61,0.02146209); SegtoLCTY_6__42->SetBinContent(62,0.01397319); SegtoLCTY_6__42->SetBinContent(63,0.01159866); SegtoLCTY_6__42->SetBinContent(64,0.01013741); SegtoLCTY_6__42->SetBinContent(65,0.005844994); SegtoLCTY_6__42->SetBinContent(66,0.005388354); SegtoLCTY_6__42->SetBinContent(67,0.004018434); SegtoLCTY_6__42->SetBinContent(68,0.004840386); SegtoLCTY_6__42->SetBinContent(69,0.002374529); SegtoLCTY_6__42->SetBinContent(70,0.003379137); SegtoLCTY_6__42->SetBinContent(71,0.002465857); SegtoLCTY_6__42->SetBinContent(72,0.001826561); SegtoLCTY_6__42->SetBinContent(73,0.003013825); SegtoLCTY_6__42->SetBinContent(74,0.001552577); SegtoLCTY_6__42->SetBinContent(75,0.001187264); SegtoLCTY_6__42->SetBinContent(76,0.001187264); SegtoLCTY_6__42->SetBinContent(77,0.0009132804); SegtoLCTY_6__42->SetBinContent(78,0.0008219523); SegtoLCTY_6__42->SetBinContent(79,0.001004608); SegtoLCTY_6__42->SetBinContent(80,0.0004566402); SegtoLCTY_6__42->SetBinContent(81,0.0009132804); SegtoLCTY_6__42->SetBinContent(82,0.0009132804); SegtoLCTY_6__42->SetBinContent(83,0.0005479682); SegtoLCTY_6__42->SetBinContent(84,0.0004566402); SegtoLCTY_6__42->SetBinContent(85,0.0003653122); SegtoLCTY_6__42->SetBinContent(86,0.0007306243); SegtoLCTY_6__42->SetBinContent(87,0.001095936); SegtoLCTY_6__42->SetBinContent(88,0.0006392963); SegtoLCTY_6__42->SetBinContent(89,0.0005479682); SegtoLCTY_6__42->SetBinContent(90,0.0004566402); SegtoLCTY_6__42->SetBinContent(91,9.132804e-05); SegtoLCTY_6__42->SetBinContent(92,0.0004566402); SegtoLCTY_6__42->SetBinContent(93,0.0006392963); SegtoLCTY_6__42->SetBinContent(94,0.0003653122); SegtoLCTY_6__42->SetBinContent(95,0.0004566402); SegtoLCTY_6__42->SetBinContent(96,0.0005479682); SegtoLCTY_6__42->SetBinContent(97,0.001004608); SegtoLCTY_6__42->SetBinContent(98,0.0001826561); SegtoLCTY_6__42->SetBinContent(99,0.0006392963); SegtoLCTY_6__42->SetBinContent(100,0.0006392963); SegtoLCTY_6__42->SetBinContent(101,0.3928932); SegtoLCTY_6__42->SetEntries(1102290); SegtoLCTY_6__42->SetStats(0); ci = TColor::GetColor("#0000ff"); SegtoLCTY_6__42->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); SegtoLCTY_6__42->SetMarkerColor(ci); SegtoLCTY_6__42->GetXaxis()->SetTitle("cm"); SegtoLCTY_6__42->GetYaxis()->SetTitle("scaled number of entries"); SegtoLCTY_6__42->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("SegtoLCTY_1","ME11A: mean:0.1cm;RMS:1.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_2","ME11B: mean:0.2cm;RMS:1.6cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_3","ME12+13: mean:0.5cm;RMS:1.6cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_4","ME2: mean:0.2cm;RMS:1.1cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_5","ME3: mean:-0.1cm;RMS:1.1cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("SegtoLCTY_6","ME4: mean:-0.1cm;RMS:1.2cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TPaveText *pt = new TPaveText(0.01,0.9390678,0.2699194,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(1); pt->SetFillColor(0); TText *AText = pt->AddText("SegtoLCTY"); pt->Draw(); SegtoLCTY->Modified(); SegtoLCTY->cd(); SegtoLCTY->SetSelected(SegtoLCTY); }
void Interpolate(const TString& trigger="INEL") { if (gSystem->Getenv("FWD")) fwd = gSystem->Getenv("FWD"); else fwd = gSystem->ExpandPathName("$ALICE_PHYSICS/PWGLF/FORWARD/analysis2"); gROOT->SetMacroPath(Form("%s/dndeta:%s", gROOT->GetMacroPath(),fwd)); if (!gROOT->GetClass("Drawer")) gROOT->LoadMacro("Drawer.C+"); TH1* h0900 = GetOne( 900, trigger); TH1* h2760 = GetOne(2760, trigger); TH1* h7000 = GetOne(7000, trigger); TH1* h8000 = GetOne(8000, trigger); Info("","900: %p 2760: %p 7000: %p 8000: %p", h0900, h2760, h7000, h8000); Double_t e8000 = (trigger.EqualTo("INEL") ? 0.852 : 0.93); h8000->Scale(e8000); TFile* out = TFile::Open("trends.root", "RECREATE"); THStack* sOrig = new THStack("orig", Form("pp - %s", trigger.Data())); sOrig->Add(h8000); sOrig->Add(h7000); sOrig->Add(h2760); sOrig->Add(h0900); TCanvas* cOrig = new TCanvas("cOrig", "Original", 1200, 1200); cOrig->SetTopMargin(0.01); cOrig->SetRightMargin(0.01); sOrig->Draw("nostack"); sOrig->GetHistogram()->SetYTitle("1/#it{N} d#it{N}_{ch}/d#it{#eta}"); sOrig->GetHistogram()->SetXTitle("#it{#eta}"); sOrig->DrawClone("nostack"); sOrig->Write(); TLegend* l = cOrig->BuildLegend(.35, .2, .55, .6, "#sqrt{s}"); l->SetFillColor(0); l->SetFillStyle(0); l->SetBorderSize(0); cOrig->Modified(); cOrig->Update(); cOrig->cd(); cOrig->Write(); Info("", "Wrote original"); TCanvas* cG = new TCanvas("cG", "one", 1200, 1200); cG->SetTopMargin(0.01); cG->SetRightMargin(0.01); Info("","Creating tuple"); TNtuple* tuple = new TNtuple("tuple", "Tuple", "eta:deta:" "v0900:e0900:v2760:e2760:" "v7000:e7000:v8000:e8000"); TMultiGraph* mg = new TMultiGraph; Int_t n = h0900->GetNbinsX(); Info("","Loop over bins %d", n); for (Int_t i = 1; i <= n; i++) { Info("", "Getting one bin %d,%p,%p,%p,%p,%p,%p", i, h0900,h2760,h7000,h8000,mg,tuple); OneBin(i, h0900, h2760, h7000, h8000, mg, tuple); } mg->Draw("alp"); cG->Modified(); cG->Update(); cG->cd(); TPrincipal* p =tuple->Principal("v0900:v2760:v7000:v8000","eta<0", "npdhc"); }
void TripleComp(){ TFile *_file1=TFile::Open("94rbSets/94rb_14_set1/094rb_14_5scan_set1.root"); TFile *_file2=TFile::Open("94rbSets/94rb_14_set2/094rb_14_5scan_set2.root"); TFile *_file3=TFile::Open("94rbSets/94rb_14_set3/094rb_14_5scan_set3.root"); TFile *_file4=TFile::Open("94rbSets/94rb_14_set4/094rb_14_5scan_set4.root"); TFile *_file5=TFile::Open("94rbSets/94rb_14_set5/094rb_14_5scan_set5.root"); TFile *GStotal=TFile::Open("94rbFullset_totals.root"); // TCanvas *TriComp = new TCanvas("TriComp","Comparison between the 3 detector types",800,450); TCanvas *TriCompBG = new TCanvas("TriCompBG","Beta-Gated comparison between the 3 detector types",800,450); THStack *hs = new THStack("hs","Gamma-Ray Detector Type Comparison"); THStack *hsbg = new THStack("hsbg","Gamma-Ray Detector Type Beta-Gated Comparison"); TH1D* HPGeT = new TH1D("HPGeT","Clover Energy (Totals)",8192.,0,8192.); TH1D* HPGeTbg = new TH1D("HPGeTbg","Clover Energy (Beta-Gated Totals)",8192.,0,8192.); TH1D* d2500_1 = (TH1D*) _file1->Get("d2500"); TH1D* d2510_1 = (TH1D*) _file1->Get("d2510"); TH1D* d2500_2 = (TH1D*) _file2->Get("d2500"); TH1D* d2510_2 = (TH1D*) _file2->Get("d2510"); TH1D* d2500_3 = (TH1D*) _file3->Get("d2500"); TH1D* d2510_3 = (TH1D*) _file3->Get("d2510"); TH1D* d2500_4 = (TH1D*) _file4->Get("d2500"); TH1D* d2510_4 = (TH1D*) _file4->Get("d2510"); TH1D* d2500_5 = (TH1D*) _file5->Get("d2500"); TH1D* d2510_5 = (TH1D*) _file5->Get("d2510"); TH1D* naiT = (TH1D*) GStotal->Get("NaITotal"); TH1D* naiTbg = (TH1D*) GStotal->Get("NaITotalBG"); TH1D* shT = (TH1D*) GStotal->Get("SHTotal"); TH1D* shTbg = (TH1D*) GStotal->Get("SHTotalBG"); HPGeT->Add(d2500_1); HPGeT->Add(d2500_2); HPGeT->Add(d2500_3); HPGeT->Add(d2500_4); HPGeT->Add(d2500_5); HPGeTbg->Add(d2510_1); HPGeTbg->Add(d2510_2); HPGeTbg->Add(d2510_3); HPGeTbg->Add(d2510_4); HPGeTbg->Add(d2510_5); naiT->SetLineColor(kRed); shT->SetLineColor(kBlack); naiTbg->SetLineColor(kRed); shTbg->SetLineColor(kBlack); hs->Add(HPGeT); hs->Add(naiT); hs->Add(shT); hsbg->Add(HPGeTbg); naiTbg->SetTitle("NaI Energy (Beta-Gated Totals)"); shTbg->SetTitle("2\" HAGRiD Energy (Beta-Gated Totals)"); hsbg->Add(naiTbg); hsbg->Add(shTbg); /* TriComp->cd(); hs->Draw("nostack"); hs->GetXaxis()->SetTitle("Energy (keV)"); hs->GetYaxis()->SetTitle("Counts"); hs->GetYaxis()->SetTitleOffset(1.4); //hs->GetXaxis()->SetRangeUser(10,1500); hs->SetMaximum(2000000); */ TriCompBG->cd(); hsbg->Draw("nostack"); hsbg->GetYaxis()->SetTitle("Counts"); hsbg->GetYaxis()->SetTitleOffset(1); hsbg->GetXaxis()->SetTitle("Energy (keV)"); hsbg->GetXaxis()->SetRangeUser(0,4000); gStyle->SetOptDate(0); gStyle->SetOptStat(0); // TriComp->SetLogy(); TriCompBG->SetLogy(); //TriComp->Modified(); TriCompBG->Modified(); hsbg->GetYaxis()->SetRangeUser(100,7000000); gPad->RedrawAxis(); }
void LCTsigma_2016B_June22all_sameYrange() { //=========Macro generated from canvas: LCTsigma/LCTsigma //========= (Fri Aug 5 08:12:17 2016) by ROOT version6.06/01 TCanvas *LCTsigma = new TCanvas("LCTsigma", "LCTsigma",0,0,500,500); gStyle->SetOptStat(0); LCTsigma->SetHighLightColor(2); LCTsigma->Range(-5,-2.848556,45,2.626708); LCTsigma->SetFillColor(0); LCTsigma->SetBorderMode(0); LCTsigma->SetBorderSize(2); LCTsigma->SetLogy(); LCTsigma->SetFrameBorderMode(0); LCTsigma->SetFrameBorderMode(0); TH1D *LCTsigma_1__61 = new TH1D("LCTsigma_1__61","LCTsigma",100,0,40); LCTsigma_1__61->SetBinContent(1,0.2671004); LCTsigma_1__61->SetBinContent(2,0.7179271); LCTsigma_1__61->SetBinContent(3,82.27739); LCTsigma_1__61->SetBinContent(4,1.049605); LCTsigma_1__61->SetBinContent(5,1.020196); LCTsigma_1__61->SetBinContent(6,0.9397023); LCTsigma_1__61->SetBinContent(7,0.8736094); LCTsigma_1__61->SetBinContent(8,0.8270714); LCTsigma_1__61->SetBinContent(9,0.7708318); LCTsigma_1__61->SetBinContent(10,0.7038293); LCTsigma_1__61->SetBinContent(11,0.648196); LCTsigma_1__61->SetBinContent(12,0.6174234); LCTsigma_1__61->SetBinContent(13,0.5702791); LCTsigma_1__61->SetBinContent(14,0.5160101); LCTsigma_1__61->SetBinContent(15,0.4749294); LCTsigma_1__61->SetBinContent(16,0.4242986); LCTsigma_1__61->SetBinContent(17,0.4070174); LCTsigma_1__61->SetBinContent(18,0.3483523); LCTsigma_1__61->SetBinContent(19,0.3169733); LCTsigma_1__61->SetBinContent(20,0.2802887); LCTsigma_1__61->SetBinContent(21,0.2570955); LCTsigma_1__61->SetBinContent(22,0.2293547); LCTsigma_1__61->SetBinContent(23,0.2028265); LCTsigma_1__61->SetBinContent(24,0.1869097); LCTsigma_1__61->SetBinContent(25,0.1802397); LCTsigma_1__61->SetBinContent(26,0.1635649); LCTsigma_1__61->SetBinContent(27,0.1508314); LCTsigma_1__61->SetBinContent(28,0.1462837); LCTsigma_1__61->SetBinContent(29,0.1315795); LCTsigma_1__61->SetBinContent(30,0.1312764); LCTsigma_1__61->SetBinContent(31,0.124758); LCTsigma_1__61->SetBinContent(32,0.1168754); LCTsigma_1__61->SetBinContent(33,0.1152079); LCTsigma_1__61->SetBinContent(34,0.1083864); LCTsigma_1__61->SetBinContent(35,0.1139952); LCTsigma_1__61->SetBinContent(36,0.09428857); LCTsigma_1__61->SetBinContent(37,0.100049); LCTsigma_1__61->SetBinContent(38,0.096714); LCTsigma_1__61->SetBinContent(39,0.1030808); LCTsigma_1__61->SetBinContent(40,0.09353062); LCTsigma_1__61->SetBinContent(41,0.09610764); LCTsigma_1__61->SetBinContent(42,0.09155996); LCTsigma_1__61->SetBinContent(43,0.08943771); LCTsigma_1__61->SetBinContent(44,0.08928612); LCTsigma_1__61->SetBinContent(45,0.08200983); LCTsigma_1__61->SetBinContent(46,0.0867091); LCTsigma_1__61->SetBinContent(47,0.08170665); LCTsigma_1__61->SetBinContent(48,0.07761374); LCTsigma_1__61->SetBinContent(49,0.08489003); LCTsigma_1__61->SetBinContent(50,0.0811003); LCTsigma_1__61->SetBinContent(51,0.0739756); LCTsigma_1__61->SetBinContent(52,0.07079222); LCTsigma_1__61->SetBinContent(53,0.07352083); LCTsigma_1__61->SetBinContent(54,0.06988269); LCTsigma_1__61->SetBinContent(55,0.07094381); LCTsigma_1__61->SetBinContent(56,0.06776043); LCTsigma_1__61->SetBinContent(57,0.06503183); LCTsigma_1__61->SetBinContent(58,0.05699759); LCTsigma_1__61->SetBinContent(59,0.06002938); LCTsigma_1__61->SetBinContent(60,0.06169686); LCTsigma_1__61->SetBinContent(61,0.05533011); LCTsigma_1__61->SetBinContent(62,0.05927143); LCTsigma_1__61->SetBinContent(63,0.0554817); LCTsigma_1__61->SetBinContent(64,0.05623964); LCTsigma_1__61->SetBinContent(65,0.05320786); LCTsigma_1__61->SetBinContent(66,0.05290468); LCTsigma_1__61->SetBinContent(67,0.04593157); LCTsigma_1__61->SetBinContent(68,0.05351104); LCTsigma_1__61->SetBinContent(69,0.04987289); LCTsigma_1__61->SetBinContent(70,0.0539658); LCTsigma_1__61->SetBinContent(71,0.04699269); LCTsigma_1__61->SetBinContent(72,0.04593157); LCTsigma_1__61->SetBinContent(73,0.04365773); LCTsigma_1__61->SetBinContent(74,0.04532521); LCTsigma_1__61->SetBinContent(75,0.04062594); LCTsigma_1__61->SetBinContent(76,0.04380932); LCTsigma_1__61->SetBinContent(77,0.04001959); LCTsigma_1__61->SetBinContent(78,0.039868); LCTsigma_1__61->SetBinContent(79,0.03926164); LCTsigma_1__61->SetBinContent(80,0.04017117); LCTsigma_1__61->SetBinContent(81,0.03683621); LCTsigma_1__61->SetBinContent(82,0.03607826); LCTsigma_1__61->SetBinContent(83,0.03350124); LCTsigma_1__61->SetBinContent(84,0.03228853); LCTsigma_1__61->SetBinContent(85,0.03683621); LCTsigma_1__61->SetBinContent(86,0.03259171); LCTsigma_1__61->SetBinContent(87,0.03213694); LCTsigma_1__61->SetBinContent(88,0.03107581); LCTsigma_1__61->SetBinContent(89,0.03153058); LCTsigma_1__61->SetBinContent(90,0.02895356); LCTsigma_1__61->SetBinContent(91,0.03153058); LCTsigma_1__61->SetBinContent(92,0.03244012); LCTsigma_1__61->SetBinContent(93,0.02743767); LCTsigma_1__61->SetBinContent(94,0.03077264); LCTsigma_1__61->SetBinContent(95,0.02592178); LCTsigma_1__61->SetBinContent(96,0.0284988); LCTsigma_1__61->SetBinContent(97,0.02713449); LCTsigma_1__61->SetBinContent(98,0.02592178); LCTsigma_1__61->SetBinContent(99,0.02789244); LCTsigma_1__61->SetBinContent(100,0.02031297); LCTsigma_1__61->SetBinContent(101,2.444378); LCTsigma_1__61->SetMinimum(0.005); LCTsigma_1__61->SetMaximum(120); LCTsigma_1__61->SetEntries(675802); LCTsigma_1__61->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ff00ff"); LCTsigma_1__61->SetLineColor(ci); ci = TColor::GetColor("#ff00ff"); LCTsigma_1__61->SetMarkerColor(ci); LCTsigma_1__61->GetXaxis()->SetTitle("cm"); LCTsigma_1__61->GetYaxis()->SetTitle("scaled number of entries"); LCTsigma_1__61->Draw("H"); TLegend *leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("LCTsigma_1","ME11A: mean:2.4cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_2","ME11B: mean:2.1cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_3","ME12+13: mean:1.5cm;RMS:2.4cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_4","ME2: mean:1.4cm;RMS:2.2cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_5","ME3: mean:1.3cm;RMS:1.6cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_6","ME4: mean:1.3cm;RMS:1.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *LCTsigma_2__62 = new TH1D("LCTsigma_2__62","LCTsigma",100,0,40); LCTsigma_2__62->SetBinContent(1,0.6415878); LCTsigma_2__62->SetBinContent(2,1.663795); LCTsigma_2__62->SetBinContent(3,76.94018); LCTsigma_2__62->SetBinContent(4,2.312834); LCTsigma_2__62->SetBinContent(5,2.146591); LCTsigma_2__62->SetBinContent(6,1.90712); LCTsigma_2__62->SetBinContent(7,1.670475); LCTsigma_2__62->SetBinContent(8,1.464321); LCTsigma_2__62->SetBinContent(9,1.276495); LCTsigma_2__62->SetBinContent(10,1.093637); LCTsigma_2__62->SetBinContent(11,0.9240544); LCTsigma_2__62->SetBinContent(12,0.801578); LCTsigma_2__62->SetBinContent(13,0.6547776); LCTsigma_2__62->SetBinContent(14,0.5377827); LCTsigma_2__62->SetBinContent(15,0.4390307); LCTsigma_2__62->SetBinContent(16,0.3703412); LCTsigma_2__62->SetBinContent(17,0.3101308); LCTsigma_2__62->SetBinContent(18,0.2571148); LCTsigma_2__62->SetBinContent(19,0.2253394); LCTsigma_2__62->SetBinContent(20,0.1915085); LCTsigma_2__62->SetBinContent(21,0.1732655); LCTsigma_2__62->SetBinContent(22,0.1490272); LCTsigma_2__62->SetBinContent(23,0.1475712); LCTsigma_2__62->SetBinContent(24,0.134724); LCTsigma_2__62->SetBinContent(25,0.121363); LCTsigma_2__62->SetBinContent(26,0.1187079); LCTsigma_2__62->SetBinContent(27,0.1096292); LCTsigma_2__62->SetBinContent(28,0.1087727); LCTsigma_2__62->SetBinContent(29,0.09858064); LCTsigma_2__62->SetBinContent(30,0.09840935); LCTsigma_2__62->SetBinContent(31,0.09858064); LCTsigma_2__62->SetBinContent(32,0.08796031); LCTsigma_2__62->SetBinContent(33,0.08504829); LCTsigma_2__62->SetBinContent(34,0.08230756); LCTsigma_2__62->SetBinContent(35,0.07956683); LCTsigma_2__62->SetBinContent(36,0.08033766); LCTsigma_2__62->SetBinContent(37,0.07691175); LCTsigma_2__62->SetBinContent(38,0.07408537); LCTsigma_2__62->SetBinContent(39,0.06749048); LCTsigma_2__62->SetBinContent(40,0.06517799); LCTsigma_2__62->SetBinContent(41,0.06654836); LCTsigma_2__62->SetBinContent(42,0.0689465); LCTsigma_2__62->SetBinContent(43,0.06671965); LCTsigma_2__62->SetBinContent(44,0.06166643); LCTsigma_2__62->SetBinContent(45,0.0608956); LCTsigma_2__62->SetBinContent(46,0.05601368); LCTsigma_2__62->SetBinContent(47,0.05661321); LCTsigma_2__62->SetBinContent(48,0.05635627); LCTsigma_2__62->SetBinContent(49,0.05395813); LCTsigma_2__62->SetBinContent(50,0.05130305); LCTsigma_2__62->SetBinContent(51,0.04659242); LCTsigma_2__62->SetBinContent(52,0.04753454); LCTsigma_2__62->SetBinContent(53,0.05147434); LCTsigma_2__62->SetBinContent(54,0.0451364); LCTsigma_2__62->SetBinContent(55,0.04719195); LCTsigma_2__62->SetBinContent(56,0.04650677); LCTsigma_2__62->SetBinContent(57,0.04410863); LCTsigma_2__62->SetBinContent(58,0.04231002); LCTsigma_2__62->SetBinContent(59,0.03837022); LCTsigma_2__62->SetBinContent(60,0.04273826); LCTsigma_2__62->SetBinContent(61,0.03699986); LCTsigma_2__62->SetBinContent(62,0.03614338); LCTsigma_2__62->SetBinContent(63,0.03485866); LCTsigma_2__62->SetBinContent(64,0.03400219); LCTsigma_2__62->SetBinContent(65,0.03657162); LCTsigma_2__62->SetBinContent(66,0.03811328); LCTsigma_2__62->SetBinContent(67,0.03263182); LCTsigma_2__62->SetBinContent(68,0.03263182); LCTsigma_2__62->SetBinContent(69,0.03425913); LCTsigma_2__62->SetBinContent(70,0.03023368); LCTsigma_2__62->SetBinContent(71,0.03246052); LCTsigma_2__62->SetBinContent(72,0.02971979); LCTsigma_2__62->SetBinContent(73,0.03091886); LCTsigma_2__62->SetBinContent(74,0.03186099); LCTsigma_2__62->SetBinContent(75,0.02749295); LCTsigma_2__62->SetBinContent(76,0.02774989); LCTsigma_2__62->SetBinContent(77,0.02800684); LCTsigma_2__62->SetBinContent(78,0.02612259); LCTsigma_2__62->SetBinContent(79,0.02620823); LCTsigma_2__62->SetBinContent(80,0.02792119); LCTsigma_2__62->SetBinContent(81,0.02663647); LCTsigma_2__62->SetBinContent(82,0.02415269); LCTsigma_2__62->SetBinContent(83,0.02381009); LCTsigma_2__62->SetBinContent(84,0.02637953); LCTsigma_2__62->SetBinContent(85,0.02415269); LCTsigma_2__62->SetBinContent(86,0.02329621); LCTsigma_2__62->SetBinContent(87,0.02201149); LCTsigma_2__62->SetBinContent(88,0.02286797); LCTsigma_2__62->SetBinContent(89,0.01901382); LCTsigma_2__62->SetBinContent(90,0.02201149); LCTsigma_2__62->SetBinContent(91,0.02312491); LCTsigma_2__62->SetBinContent(92,0.01901382); LCTsigma_2__62->SetBinContent(93,0.01858558); LCTsigma_2__62->SetBinContent(94,0.01807169); LCTsigma_2__62->SetBinContent(95,0.02192584); LCTsigma_2__62->SetBinContent(96,0.02004159); LCTsigma_2__62->SetBinContent(97,0.01721521); LCTsigma_2__62->SetBinContent(98,0.01867123); LCTsigma_2__62->SetBinContent(99,0.01841428); LCTsigma_2__62->SetBinContent(100,0.01849993); LCTsigma_2__62->SetBinContent(101,1.521876); LCTsigma_2__62->SetEntries(1185341); LCTsigma_2__62->SetStats(0); ci = TColor::GetColor("#ff9999"); LCTsigma_2__62->SetLineColor(ci); ci = TColor::GetColor("#ff9999"); LCTsigma_2__62->SetMarkerColor(ci); LCTsigma_2__62->GetXaxis()->SetTitle("cm"); LCTsigma_2__62->GetYaxis()->SetTitle("scaled number of entries"); LCTsigma_2__62->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("LCTsigma_1","ME11A: mean:2.4cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_2","ME11B: mean:2.1cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_3","ME12+13: mean:1.5cm;RMS:2.4cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_4","ME2: mean:1.4cm;RMS:2.2cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_5","ME3: mean:1.3cm;RMS:1.6cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_6","ME4: mean:1.3cm;RMS:1.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *LCTsigma_3__63 = new TH1D("LCTsigma_3__63","LCTsigma",100,0,40); LCTsigma_3__63->SetBinContent(1,3.18335); LCTsigma_3__63->SetBinContent(2,8.110099); LCTsigma_3__63->SetBinContent(3,55.60834); LCTsigma_3__63->SetBinContent(4,9.726071); LCTsigma_3__63->SetBinContent(5,7.599615); LCTsigma_3__63->SetBinContent(6,5.331); LCTsigma_3__63->SetBinContent(7,3.482403); LCTsigma_3__63->SetBinContent(8,2.167811); LCTsigma_3__63->SetBinContent(9,1.28797); LCTsigma_3__63->SetBinContent(10,0.7526726); LCTsigma_3__63->SetBinContent(11,0.4709373); LCTsigma_3__63->SetBinContent(12,0.3124935); LCTsigma_3__63->SetBinContent(13,0.2109138); LCTsigma_3__63->SetBinContent(14,0.146554); LCTsigma_3__63->SetBinContent(15,0.1157958); LCTsigma_3__63->SetBinContent(16,0.085296); LCTsigma_3__63->SetBinContent(17,0.06927069); LCTsigma_3__63->SetBinContent(18,0.05841484); LCTsigma_3__63->SetBinContent(19,0.05712247); LCTsigma_3__63->SetBinContent(20,0.04471578); LCTsigma_3__63->SetBinContent(21,0.03515229); LCTsigma_3__63->SetBinContent(22,0.03618618); LCTsigma_3__63->SetBinContent(23,0.03515229); LCTsigma_3__63->SetBinContent(24,0.03153367); LCTsigma_3__63->SetBinContent(25,0.02817353); LCTsigma_3__63->SetBinContent(26,0.0341184); LCTsigma_3__63->SetBinContent(27,0.02481338); LCTsigma_3__63->SetBinContent(28,0.02197018); LCTsigma_3__63->SetBinContent(29,0.02739811); LCTsigma_3__63->SetBinContent(30,0.01964393); LCTsigma_3__63->SetBinContent(31,0.02429644); LCTsigma_3__63->SetBinContent(32,0.01938546); LCTsigma_3__63->SetBinContent(33,0.02041935); LCTsigma_3__63->SetBinContent(34,0.01783462); LCTsigma_3__63->SetBinContent(35,0.02067782); LCTsigma_3__63->SetBinContent(36,0.01861004); LCTsigma_3__63->SetBinContent(37,0.01938546); LCTsigma_3__63->SetBinContent(38,0.01524989); LCTsigma_3__63->SetBinContent(39,0.01886851); LCTsigma_3__63->SetBinContent(40,0.01783462); LCTsigma_3__63->SetBinContent(41,0.01757615); LCTsigma_3__63->SetBinContent(42,0.01938546); LCTsigma_3__63->SetBinContent(43,0.01524989); LCTsigma_3__63->SetBinContent(44,0.01757615); LCTsigma_3__63->SetBinContent(45,0.01731767); LCTsigma_3__63->SetBinContent(46,0.01731767); LCTsigma_3__63->SetBinContent(47,0.01964393); LCTsigma_3__63->SetBinContent(48,0.01628378); LCTsigma_3__63->SetBinContent(49,0.01550836); LCTsigma_3__63->SetBinContent(50,0.01524989); LCTsigma_3__63->SetBinContent(51,0.01524989); LCTsigma_3__63->SetBinContent(52,0.01395753); LCTsigma_3__63->SetBinContent(53,0.01369906); LCTsigma_3__63->SetBinContent(54,0.01628378); LCTsigma_3__63->SetBinContent(55,0.01059738); LCTsigma_3__63->SetBinContent(56,0.01163127); LCTsigma_3__63->SetBinContent(57,0.009563491); LCTsigma_3__63->SetBinContent(58,0.01033891); LCTsigma_3__63->SetBinContent(59,0.01369906); LCTsigma_3__63->SetBinContent(60,0.01395753); LCTsigma_3__63->SetBinContent(61,0.009046546); LCTsigma_3__63->SetBinContent(62,0.01292364); LCTsigma_3__63->SetBinContent(63,0.009305019); LCTsigma_3__63->SetBinContent(64,0.01085585); LCTsigma_3__63->SetBinContent(65,0.01188975); LCTsigma_3__63->SetBinContent(66,0.01008044); LCTsigma_3__63->SetBinContent(67,0.01344058); LCTsigma_3__63->SetBinContent(68,0.01292364); LCTsigma_3__63->SetBinContent(69,0.0113728); LCTsigma_3__63->SetBinContent(70,0.01163127); LCTsigma_3__63->SetBinContent(71,0.01033891); LCTsigma_3__63->SetBinContent(72,0.0113728); LCTsigma_3__63->SetBinContent(73,0.0113728); LCTsigma_3__63->SetBinContent(74,0.009821964); LCTsigma_3__63->SetBinContent(75,0.0113728); LCTsigma_3__63->SetBinContent(76,0.01240669); LCTsigma_3__63->SetBinContent(77,0.01214822); LCTsigma_3__63->SetBinContent(78,0.01111433); LCTsigma_3__63->SetBinContent(79,0.008788073); LCTsigma_3__63->SetBinContent(80,0.01008044); LCTsigma_3__63->SetBinContent(81,0.006978764); LCTsigma_3__63->SetBinContent(82,0.007754182); LCTsigma_3__63->SetBinContent(83,0.01344058); LCTsigma_3__63->SetBinContent(84,0.009305019); LCTsigma_3__63->SetBinContent(85,0.01008044); LCTsigma_3__63->SetBinContent(86,0.01085585); LCTsigma_3__63->SetBinContent(87,0.009046546); LCTsigma_3__63->SetBinContent(88,0.008271128); LCTsigma_3__63->SetBinContent(89,0.009305019); LCTsigma_3__63->SetBinContent(90,0.0085296); LCTsigma_3__63->SetBinContent(91,0.009821964); LCTsigma_3__63->SetBinContent(92,0.009821964); LCTsigma_3__63->SetBinContent(93,0.009046546); LCTsigma_3__63->SetBinContent(94,0.008788073); LCTsigma_3__63->SetBinContent(95,0.007237237); LCTsigma_3__63->SetBinContent(96,0.008271128); LCTsigma_3__63->SetBinContent(97,0.006203346); LCTsigma_3__63->SetBinContent(98,0.006203346); LCTsigma_3__63->SetBinContent(99,0.005944873); LCTsigma_3__63->SetBinContent(100,0.005169455); LCTsigma_3__63->SetBinContent(101,0.6999442); LCTsigma_3__63->SetEntries(389596); LCTsigma_3__63->SetStats(0); LCTsigma_3__63->GetXaxis()->SetTitle("cm"); LCTsigma_3__63->GetYaxis()->SetTitle("scaled number of entries"); LCTsigma_3__63->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("LCTsigma_1","ME11A: mean:2.4cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_2","ME11B: mean:2.1cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_3","ME12+13: mean:1.5cm;RMS:2.4cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_4","ME2: mean:1.4cm;RMS:2.2cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_5","ME3: mean:1.3cm;RMS:1.6cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_6","ME4: mean:1.3cm;RMS:1.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *LCTsigma_4__64 = new TH1D("LCTsigma_4__64","LCTsigma",100,0,40); LCTsigma_4__64->SetBinContent(1,1.8811); LCTsigma_4__64->SetBinContent(2,4.878654); LCTsigma_4__64->SetBinContent(3,73.17773); LCTsigma_4__64->SetBinContent(4,5.69795); LCTsigma_4__64->SetBinContent(5,4.447017); LCTsigma_4__64->SetBinContent(6,3.067821); LCTsigma_4__64->SetBinContent(7,1.963316); LCTsigma_4__64->SetBinContent(8,1.222624); LCTsigma_4__64->SetBinContent(9,0.7509952); LCTsigma_4__64->SetBinContent(10,0.4758781); LCTsigma_4__64->SetBinContent(11,0.3264227); LCTsigma_4__64->SetBinContent(12,0.2169601); LCTsigma_4__64->SetBinContent(13,0.1604495); LCTsigma_4__64->SetBinContent(14,0.1189164); LCTsigma_4__64->SetBinContent(15,0.09953076); LCTsigma_4__64->SetBinContent(16,0.07902976); LCTsigma_4__64->SetBinContent(17,0.06771703); LCTsigma_4__64->SetBinContent(18,0.06442413); LCTsigma_4__64->SetBinContent(19,0.05651053); LCTsigma_4__64->SetBinContent(20,0.05146495); LCTsigma_4__64->SetBinContent(21,0.04641936); LCTsigma_4__64->SetBinContent(22,0.04243601); LCTsigma_4__64->SetBinContent(23,0.04254223); LCTsigma_4__64->SetBinContent(24,0.03739042); LCTsigma_4__64->SetBinContent(25,0.03627509); LCTsigma_4__64->SetBinContent(26,0.03627509); LCTsigma_4__64->SetBinContent(27,0.03324774); LCTsigma_4__64->SetBinContent(28,0.03197306); LCTsigma_4__64->SetBinContent(29,0.03069839); LCTsigma_4__64->SetBinContent(30,0.02883949); LCTsigma_4__64->SetBinContent(31,0.02894571); LCTsigma_4__64->SetBinContent(32,0.02761793); LCTsigma_4__64->SetBinContent(33,0.02474991); LCTsigma_4__64->SetBinContent(34,0.02453747); LCTsigma_4__64->SetBinContent(35,0.0260777); LCTsigma_4__64->SetBinContent(36,0.02103211); LCTsigma_4__64->SetBinContent(37,0.02342213); LCTsigma_4__64->SetBinContent(38,0.02012922); LCTsigma_4__64->SetBinContent(39,0.01949188); LCTsigma_4__64->SetBinContent(40,0.01896077); LCTsigma_4__64->SetBinContent(41,0.0172612); LCTsigma_4__64->SetBinContent(42,0.01890766); LCTsigma_4__64->SetBinContent(43,0.01827032); LCTsigma_4__64->SetBinContent(44,0.01710187); LCTsigma_4__64->SetBinContent(45,0.01683631); LCTsigma_4__64->SetBinContent(46,0.01742054); LCTsigma_4__64->SetBinContent(47,0.01646453); LCTsigma_4__64->SetBinContent(48,0.01503053); LCTsigma_4__64->SetBinContent(49,0.01455252); LCTsigma_4__64->SetBinContent(50,0.01487119); LCTsigma_4__64->SetBinContent(51,0.0139683); LCTsigma_4__64->SetBinContent(52,0.01439319); LCTsigma_4__64->SetBinContent(53,0.01311852); LCTsigma_4__64->SetBinContent(54,0.01455252); LCTsigma_4__64->SetBinContent(55,0.01248118); LCTsigma_4__64->SetBinContent(56,0.0121094); LCTsigma_4__64->SetBinContent(57,0.0134903); LCTsigma_4__64->SetBinContent(58,0.01333096); LCTsigma_4__64->SetBinContent(59,0.01131273); LCTsigma_4__64->SetBinContent(60,0.01009117); LCTsigma_4__64->SetBinContent(61,0.01019739); LCTsigma_4__64->SetBinContent(62,0.01062228); LCTsigma_4__64->SetBinContent(63,0.01120651); LCTsigma_4__64->SetBinContent(64,0.01003805); LCTsigma_4__64->SetBinContent(65,0.009931832); LCTsigma_4__64->SetBinContent(66,0.01009117); LCTsigma_4__64->SetBinContent(67,0.01014428); LCTsigma_4__64->SetBinContent(68,0.009028938); LCTsigma_4__64->SetBinContent(69,0.009188272); LCTsigma_4__64->SetBinContent(70,0.008763381); LCTsigma_4__64->SetBinContent(71,0.009028938); LCTsigma_4__64->SetBinContent(72,0.00796671); LCTsigma_4__64->SetBinContent(73,0.007648041); LCTsigma_4__64->SetBinContent(74,0.007754264); LCTsigma_4__64->SetBinContent(75,0.008126044); LCTsigma_4__64->SetBinContent(76,0.008126044); LCTsigma_4__64->SetBinContent(77,0.008550935); LCTsigma_4__64->SetBinContent(78,0.007701153); LCTsigma_4__64->SetBinContent(79,0.00833849); LCTsigma_4__64->SetBinContent(80,0.008444712); LCTsigma_4__64->SetBinContent(81,0.007541819); LCTsigma_4__64->SetBinContent(82,0.007488707); LCTsigma_4__64->SetBinContent(83,0.006479591); LCTsigma_4__64->SetBinContent(84,0.006054699); LCTsigma_4__64->SetBinContent(85,0.006585813); LCTsigma_4__64->SetBinContent(86,0.006320256); LCTsigma_4__64->SetBinContent(87,0.005948477); LCTsigma_4__64->SetBinContent(88,0.005842254); LCTsigma_4__64->SetBinContent(89,0.005470474); LCTsigma_4__64->SetBinContent(90,0.005576697); LCTsigma_4__64->SetBinContent(91,0.006160922); LCTsigma_4__64->SetBinContent(92,0.005523585); LCTsigma_4__64->SetBinContent(93,0.006001588); LCTsigma_4__64->SetBinContent(94,0.006214034); LCTsigma_4__64->SetBinContent(95,0.005736031); LCTsigma_4__64->SetBinContent(96,0.00493936); LCTsigma_4__64->SetBinContent(97,0.004620692); LCTsigma_4__64->SetBinContent(98,0.004886249); LCTsigma_4__64->SetBinContent(99,0.00531114); LCTsigma_4__64->SetBinContent(100,0.005258028); LCTsigma_4__64->SetBinContent(101,0.4179867); LCTsigma_4__64->SetEntries(1890705); LCTsigma_4__64->SetStats(0); ci = TColor::GetColor("#ff0000"); LCTsigma_4__64->SetLineColor(ci); ci = TColor::GetColor("#ff0000"); LCTsigma_4__64->SetMarkerColor(ci); LCTsigma_4__64->GetXaxis()->SetTitle("cm"); LCTsigma_4__64->GetYaxis()->SetTitle("scaled number of entries"); LCTsigma_4__64->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("LCTsigma_1","ME11A: mean:2.4cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_2","ME11B: mean:2.1cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_3","ME12+13: mean:1.5cm;RMS:2.4cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_4","ME2: mean:1.4cm;RMS:2.2cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_5","ME3: mean:1.3cm;RMS:1.6cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_6","ME4: mean:1.3cm;RMS:1.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *LCTsigma_5__65 = new TH1D("LCTsigma_5__65","LCTsigma",100,0,40); LCTsigma_5__65->SetBinContent(1,2.360931); LCTsigma_5__65->SetBinContent(2,6.15692); LCTsigma_5__65->SetBinContent(3,68.89588); LCTsigma_5__65->SetBinContent(4,7.000274); LCTsigma_5__65->SetBinContent(5,5.379208); LCTsigma_5__65->SetBinContent(6,3.591525); LCTsigma_5__65->SetBinContent(7,2.210401); LCTsigma_5__65->SetBinContent(8,1.300472); LCTsigma_5__65->SetBinContent(9,0.7853251); LCTsigma_5__65->SetBinContent(10,0.4762223); LCTsigma_5__65->SetBinContent(11,0.3008438); LCTsigma_5__65->SetBinContent(12,0.2038183); LCTsigma_5__65->SetBinContent(13,0.155485); LCTsigma_5__65->SetBinContent(14,0.1113172); LCTsigma_5__65->SetBinContent(15,0.08804834); LCTsigma_5__65->SetBinContent(16,0.07706025); LCTsigma_5__65->SetBinContent(17,0.06657488); LCTsigma_5__65->SetBinContent(18,0.0543659); LCTsigma_5__65->SetBinContent(19,0.04675324); LCTsigma_5__65->SetBinContent(20,0.0400742); LCTsigma_5__65->SetBinContent(21,0.03777604); LCTsigma_5__65->SetBinContent(22,0.0343288); LCTsigma_5__65->SetBinContent(23,0.03224609); LCTsigma_5__65->SetBinContent(24,0.02930157); LCTsigma_5__65->SetBinContent(25,0.02556705); LCTsigma_5__65->SetBinContent(26,0.02420252); LCTsigma_5__65->SetBinContent(27,0.01989347); LCTsigma_5__65->SetBinContent(28,0.0216889); LCTsigma_5__65->SetBinContent(29,0.01824166); LCTsigma_5__65->SetBinContent(30,0.01831348); LCTsigma_5__65->SetBinContent(31,0.01522532); LCTsigma_5__65->SetBinContent(32,0.01500987); LCTsigma_5__65->SetBinContent(33,0.01386079); LCTsigma_5__65->SetBinContent(34,0.01601532); LCTsigma_5__65->SetBinContent(35,0.01421988); LCTsigma_5__65->SetBinContent(36,0.01292716); LCTsigma_5__65->SetBinContent(37,0.01278353); LCTsigma_5__65->SetBinContent(38,0.01364534); LCTsigma_5__65->SetBinContent(39,0.01235262); LCTsigma_5__65->SetBinContent(40,0.01041355); LCTsigma_5__65->SetBinContent(41,0.01070082); LCTsigma_5__65->SetBinContent(42,0.010629); LCTsigma_5__65->SetBinContent(43,0.01005446); LCTsigma_5__65->SetBinContent(44,0.009839007); LCTsigma_5__65->SetBinContent(45,0.01026991); LCTsigma_5__65->SetBinContent(46,0.008761743); LCTsigma_5__65->SetBinContent(47,0.00768448); LCTsigma_5__65->SetBinContent(48,0.007540844); LCTsigma_5__65->SetBinContent(49,0.006966304); LCTsigma_5__65->SetBinContent(50,0.008330838); LCTsigma_5__65->SetBinContent(51,0.007756297); LCTsigma_5__65->SetBinContent(52,0.007325392); LCTsigma_5__65->SetBinContent(53,0.007325392); LCTsigma_5__65->SetBinContent(54,0.007469027); LCTsigma_5__65->SetBinContent(55,0.006822669); LCTsigma_5__65->SetBinContent(56,0.006966304); LCTsigma_5__65->SetBinContent(57,0.007397209); LCTsigma_5__65->SetBinContent(58,0.00560177); LCTsigma_5__65->SetBinContent(59,0.005745405); LCTsigma_5__65->SetBinContent(60,0.00588904); LCTsigma_5__65->SetBinContent(61,0.005960858); LCTsigma_5__65->SetBinContent(62,0.006966304); LCTsigma_5__65->SetBinContent(63,0.004955412); LCTsigma_5__65->SetBinContent(64,0.006319946); LCTsigma_5__65->SetBinContent(65,0.005960858); LCTsigma_5__65->SetBinContent(66,0.006319946); LCTsigma_5__65->SetBinContent(67,0.003519061); LCTsigma_5__65->SetBinContent(68,0.004668142); LCTsigma_5__65->SetBinContent(69,0.003878149); LCTsigma_5__65->SetBinContent(70,0.003734513); LCTsigma_5__65->SetBinContent(71,0.003806331); LCTsigma_5__65->SetBinContent(72,0.004596324); LCTsigma_5__65->SetBinContent(73,0.003949966); LCTsigma_5__65->SetBinContent(74,0.004380872); LCTsigma_5__65->SetBinContent(75,0.004165419); LCTsigma_5__65->SetBinContent(76,0.004668142); LCTsigma_5__65->SetBinContent(77,0.003088155); LCTsigma_5__65->SetBinContent(78,0.003016338); LCTsigma_5__65->SetBinContent(79,0.003159973); LCTsigma_5__65->SetBinContent(80,0.003519061); LCTsigma_5__65->SetBinContent(81,0.003303608); LCTsigma_5__65->SetBinContent(82,0.003016338); LCTsigma_5__65->SetBinContent(83,0.00265725); LCTsigma_5__65->SetBinContent(84,0.004021784); LCTsigma_5__65->SetBinContent(85,0.003088155); LCTsigma_5__65->SetBinContent(86,0.003375426); LCTsigma_5__65->SetBinContent(87,0.002872703); LCTsigma_5__65->SetBinContent(88,0.002226345); LCTsigma_5__65->SetBinContent(89,0.002800885); LCTsigma_5__65->SetBinContent(90,0.002082709); LCTsigma_5__65->SetBinContent(91,0.002298162); LCTsigma_5__65->SetBinContent(92,0.00265725); LCTsigma_5__65->SetBinContent(93,0.002298162); LCTsigma_5__65->SetBinContent(94,0.001436351); LCTsigma_5__65->SetBinContent(95,0.002154527); LCTsigma_5__65->SetBinContent(96,0.00236998); LCTsigma_5__65->SetBinContent(97,0.00323179); LCTsigma_5__65->SetBinContent(98,0.001579986); LCTsigma_5__65->SetBinContent(99,0.002082709); LCTsigma_5__65->SetBinContent(100,0.001220899); LCTsigma_5__65->SetBinContent(101,0.1642468); LCTsigma_5__65->SetEntries(1394704); LCTsigma_5__65->SetStats(0); ci = TColor::GetColor("#00ff00"); LCTsigma_5__65->SetLineColor(ci); ci = TColor::GetColor("#00ff00"); LCTsigma_5__65->SetMarkerColor(ci); LCTsigma_5__65->GetXaxis()->SetTitle("cm"); LCTsigma_5__65->GetYaxis()->SetTitle("scaled number of entries"); LCTsigma_5__65->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("LCTsigma_1","ME11A: mean:2.4cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_2","ME11B: mean:2.1cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_3","ME12+13: mean:1.5cm;RMS:2.4cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_4","ME2: mean:1.4cm;RMS:2.2cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_5","ME3: mean:1.3cm;RMS:1.6cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_6","ME4: mean:1.3cm;RMS:1.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TH1D *LCTsigma_6__66 = new TH1D("LCTsigma_6__66","LCTsigma",100,0,40); LCTsigma_6__66->SetBinContent(1,2.735295); LCTsigma_6__66->SetBinContent(2,7.040362); LCTsigma_6__66->SetBinContent(3,65.03355); LCTsigma_6__66->SetBinContent(4,8.19953); LCTsigma_6__66->SetBinContent(5,6.22415); LCTsigma_6__66->SetBinContent(6,4.127459); LCTsigma_6__66->SetBinContent(7,2.484321); LCTsigma_6__66->SetBinContent(8,1.427667); LCTsigma_6__66->SetBinContent(9,0.797961); LCTsigma_6__66->SetBinContent(10,0.467717); LCTsigma_6__66->SetBinContent(11,0.2812113); LCTsigma_6__66->SetBinContent(12,0.1845988); LCTsigma_6__66->SetBinContent(13,0.1348398); LCTsigma_6__66->SetBinContent(14,0.1036042); LCTsigma_6__66->SetBinContent(15,0.08035906); LCTsigma_6__66->SetBinContent(16,0.06601247); LCTsigma_6__66->SetBinContent(17,0.05965639); LCTsigma_6__66->SetBinContent(18,0.04467419); LCTsigma_6__66->SetBinContent(19,0.04113294); LCTsigma_6__66->SetBinContent(20,0.03641128); LCTsigma_6__66->SetBinContent(21,0.02878398); LCTsigma_6__66->SetBinContent(22,0.02887478); LCTsigma_6__66->SetBinContent(23,0.02351751); LCTsigma_6__66->SetBinContent(24,0.02106588); LCTsigma_6__66->SetBinContent(25,0.01870505); LCTsigma_6__66->SetBinContent(26,0.01616261); LCTsigma_6__66->SetBinContent(27,0.01634422); LCTsigma_6__66->SetBinContent(28,0.01398339); LCTsigma_6__66->SetBinContent(29,0.01262137); LCTsigma_6__66->SetBinContent(30,0.01116855); LCTsigma_6__66->SetBinContent(31,0.009534126); LCTsigma_6__66->SetBinContent(32,0.006719289); LCTsigma_6__66->SetBinContent(33,0.01026054); LCTsigma_6__66->SetBinContent(34,0.009261723); LCTsigma_6__66->SetBinContent(35,0.007718102); LCTsigma_6__66->SetBinContent(36,0.007173295); LCTsigma_6__66->SetBinContent(37,0.007264096); LCTsigma_6__66->SetBinContent(38,0.007173295); LCTsigma_6__66->SetBinContent(39,0.005992879); LCTsigma_6__66->SetBinContent(40,0.005720476); LCTsigma_6__66->SetBinContent(41,0.004358458); LCTsigma_6__66->SetBinContent(42,0.005902078); LCTsigma_6__66->SetBinContent(43,0.005992879); LCTsigma_6__66->SetBinContent(44,0.006265283); LCTsigma_6__66->SetBinContent(45,0.005992879); LCTsigma_6__66->SetBinContent(46,0.005448072); LCTsigma_6__66->SetBinContent(47,0.003813651); LCTsigma_6__66->SetBinContent(48,0.004358458); LCTsigma_6__66->SetBinContent(49,0.003087241); LCTsigma_6__66->SetBinContent(50,0.004994066); LCTsigma_6__66->SetBinContent(51,0.005629675); LCTsigma_6__66->SetBinContent(52,0.004086054); LCTsigma_6__66->SetBinContent(53,0.002814837); LCTsigma_6__66->SetBinContent(54,0.003632048); LCTsigma_6__66->SetBinContent(55,0.003632048); LCTsigma_6__66->SetBinContent(56,0.003995253); LCTsigma_6__66->SetBinContent(57,0.004086054); LCTsigma_6__66->SetBinContent(58,0.00299644); LCTsigma_6__66->SetBinContent(59,0.003541247); LCTsigma_6__66->SetBinContent(60,0.003087241); LCTsigma_6__66->SetBinContent(61,0.003722849); LCTsigma_6__66->SetBinContent(62,0.003087241); LCTsigma_6__66->SetBinContent(63,0.002905638); LCTsigma_6__66->SetBinContent(64,0.002451632); LCTsigma_6__66->SetBinContent(65,0.00227003); LCTsigma_6__66->SetBinContent(66,0.002451632); LCTsigma_6__66->SetBinContent(67,0.002179229); LCTsigma_6__66->SetBinContent(68,0.002451632); LCTsigma_6__66->SetBinContent(69,0.002088428); LCTsigma_6__66->SetBinContent(70,0.002451632); LCTsigma_6__66->SetBinContent(71,0.002905638); LCTsigma_6__66->SetBinContent(72,0.002542434); LCTsigma_6__66->SetBinContent(73,0.001634422); LCTsigma_6__66->SetBinContent(74,0.001816024); LCTsigma_6__66->SetBinContent(75,0.00227003); LCTsigma_6__66->SetBinContent(76,0.002088428); LCTsigma_6__66->SetBinContent(77,0.00154362); LCTsigma_6__66->SetBinContent(78,0.001906825); LCTsigma_6__66->SetBinContent(79,0.001634422); LCTsigma_6__66->SetBinContent(80,0.001725223); LCTsigma_6__66->SetBinContent(81,0.001997626); LCTsigma_6__66->SetBinContent(82,0.001271217); LCTsigma_6__66->SetBinContent(83,0.001906825); LCTsigma_6__66->SetBinContent(84,0.001362018); LCTsigma_6__66->SetBinContent(85,0.00154362); LCTsigma_6__66->SetBinContent(86,0.000908012); LCTsigma_6__66->SetBinContent(87,0.001816024); LCTsigma_6__66->SetBinContent(88,0.001725223); LCTsigma_6__66->SetBinContent(89,0.0009988132); LCTsigma_6__66->SetBinContent(90,0.001816024); LCTsigma_6__66->SetBinContent(91,0.001089614); LCTsigma_6__66->SetBinContent(92,0.0009988132); LCTsigma_6__66->SetBinContent(93,0.001997626); LCTsigma_6__66->SetBinContent(94,0.000908012); LCTsigma_6__66->SetBinContent(95,0.0009988132); LCTsigma_6__66->SetBinContent(96,0.000908012); LCTsigma_6__66->SetBinContent(97,0.001180416); LCTsigma_6__66->SetBinContent(98,0.001089614); LCTsigma_6__66->SetBinContent(99,0.00154362); LCTsigma_6__66->SetBinContent(100,0.00154362); LCTsigma_6__66->SetBinContent(101,0.08925758); LCTsigma_6__66->SetEntries(1102290); LCTsigma_6__66->SetStats(0); ci = TColor::GetColor("#0000ff"); LCTsigma_6__66->SetLineColor(ci); ci = TColor::GetColor("#0000ff"); LCTsigma_6__66->SetMarkerColor(ci); LCTsigma_6__66->GetXaxis()->SetTitle("cm"); LCTsigma_6__66->GetYaxis()->SetTitle("scaled number of entries"); LCTsigma_6__66->Draw("H,same"); leg = new TLegend(0.5,0.7,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetTextFont(62); leg->SetTextSize(0.02); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("LCTsigma_1","ME11A: mean:2.4cm;RMS:4.7cm","l"); ci = TColor::GetColor("#ff00ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_2","ME11B: mean:2.1cm;RMS:4.0cm","l"); ci = TColor::GetColor("#ff9999"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_3","ME12+13: mean:1.5cm;RMS:2.4cm","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_4","ME2: mean:1.4cm;RMS:2.2cm","l"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_5","ME3: mean:1.3cm;RMS:1.6cm","l"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); entry=leg->AddEntry("LCTsigma_6","ME4: mean:1.3cm;RMS:1.3cm","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(62); leg->Draw(); TPaveText *pt = new TPaveText(0.01,0.9390678,0.2437097,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(1); pt->SetFillColor(0); TText *AText = pt->AddText("LCTsigma"); pt->Draw(); LCTsigma->Modified(); LCTsigma->cd(); LCTsigma->SetSelected(LCTsigma); }
void geugd_riordan() { gROOT->SetStyle("HALLA"); TCanvas *cn = new TCanvas("cn"); cn->Draw(); cn->UseCurrentStyle(); TH1F *frm = new TH1F("frm","",100,0.,12.); frm->GetXaxis()->SetTitle("Q^{2} [GeV^{2}]"); frm->GetXaxis()->CenterTitle(); frm->GetYaxis()->SetTitle("G_{E}^{u}/G_{D}"); frm->GetYaxis()->CenterTitle(); frm->SetMinimum(.40); frm->SetMaximum(2.4); //frm->SetMaximum(0.3); frm->UseCurrentStyle(); frm->Draw(); frm->SetAxisRange(0.10,12.,"X"); TF1* galster = new TF1("galster", "x/(4.*0.938*.938)*1.91/(1.+x/.71)^2/(1.+5.6*x/(4.*.938*.938))", 0.,4.); galster->SetLineColor(kBlack); galster->SetLineStyle(kBlack); galster->SetLineWidth(2); TF1* gen0 = new TF1("gen0", f1dugen0, 0.,12.); gen0->SetLineColor(kBlack); gen0->SetLineStyle(kBlack); gen0->SetLineWidth(1); TF1 *genf = new TF1("genf",genff,1.,10.,1); genf->SetLineColor(kBlue); genf->SetLineStyle(1); genf->SetParameter(0,1.); // match to Madey point just below 1.5 // genf->SetParameter(0,.0411/genf->Eval(1.45)); // genf->SetParameter(0,-0.558645); genf->SetParameter(0,-0.182645); TF1 *roberts_curve = new TF1("roberts",roberts_gen,0.035,12.344,1); roberts_curve->SetLineColor(kRed); roberts_curve->SetLineStyle(9); TF1 *ourfit = new TF1("ourfit",gen_ourfit,0.,10.,0); ourfit->SetLineColor(kBlue); ourfit->SetLineStyle(0); /* TF1 *bbba05 = new TF1("BBBA05",gen_bbba05,0.,10.,0); bbba05->SetLineColor(kGreen); bbba05->SetLineStyle(3); */ // TF1 *lomon = new TF1("Lomon",Lomon_GEn,0.,10.,0); // lomon->SetLineColor(7); // lomon->SetLineStyle(4); TMultiGraph* mgrDta = new TMultiGraph("Data","G_{E}^{n}"); //TLegend *legDta = new TLegend(.3448,.6123,.6810,.9110,"","brNDC"); TLegend *legDta = new TLegend(.6020,.4004,.9382,.9089,"","brNDC"); TMultiGraph* wgr = mgrDta; TLegend *wlg = legDta; // the data legDta->SetBorderSize(0); // turn off border legDta->SetFillStyle(0); datafile_t *f = datafiles; TGraph* gr=0; TGraph* ogr=0; while ( f && f->filename ) { ogr=OneGraph(f); if (ogr) { gr = fromGEntransform(ogr); gr->SetLineStyle(0); if (f->lnpt) { mgrDta->Add(gr,f->lnpt); if( f->label[0] != 'x' ) legDta->AddEntry(gr,f->label,f->lnpt); } mgrDta->Add(gr,"p"); if( f->label[0] != 'x' ) legDta->AddEntry(gr,f->label,"p"); /* else if (gr->GetMarkerStyle()>=20) { mgrDta->Add(gr,"p"); if( f->label[0] != 'x' ) legDta->AddEntry(gr,f->label,"p"); } else { mgrDta->Add(gr,"l"); if( f->label[0] != 'x' ) legDta->AddEntry(gr,f->label,"l"); } */ } f++; } mgrDta->Draw("p"); legDta->Draw(); TMultiGraph* mgrThry = new TMultiGraph("Theory","G_{E}^{n}"); // TLegend *legThry = new TLegend(.546,.6208,.8822,.9195,"","brNDC"); // TLegend *legThry = new TLegend(.2055,.7013,.6020,.8893,"","brNDC"); TLegend *legThry = new TLegend(.4267,.8453,.6236,.8962,"","brNDC"); wgr = mgrThry; wlg = legThry; // the theory wlg->SetBorderSize(0); // turn off border wlg->SetFillStyle(0); f = theoryfiles1; gr=0; Bool_t isfill; while ( f && f->filename ) { gr=OneGraph(f); gr->SetLineWidth(2); isfill = kFALSE; if (gr) { TGraphAsymmErrors *egr = dynamic_cast<TGraphAsymmErrors*>(gr); if (egr && egr->GetN()>1 && egr->GetEYhigh() && egr->GetEYhigh()[1]>0) { gr = toerror_band(egr); gr->SetFillStyle(3000+f->style); gr->SetFillStyle(1); gr->SetFillColor(gr->GetLineColor()); isfill = kTRUE; } if (f->lnpt) { wgr->Add(gr,f->lnpt); if( f->label[0] != 'x' ) wlg->AddEntry(gr,f->label,f->lnpt); } else if (gr->GetMarkerStyle()>=20) { wgr->Add(gr,"p"); if( f->label[0] != 'x' ) wlg->AddEntry(gr,f->label,"p"); } else { if( isfill ){ gr->SetLineStyle(0); wgr->Add(gr,"f"); // wgr->Add( new TGraph(*egr),"l"); if( f->label[0] != 'x' ) wlg->AddEntry(gr,f->label,"lf"); } else { wgr->Add(gr,"l"); if( f->label[0] != 'x' ) wlg->AddEntry(gr,f->label,"l"); } } } f++; } TPaveLabel *prelim = new TPaveLabel( 0.3204, 0.1886, 0.9310, 0.4643, "PRELIMINARY", "NDC" ); prelim->SetTextAngle(0); TColor *pink = new TColor(300, 1.0, 0.7, 0.7, "pink"); prelim->SetTextColor(300); prelim->SetFillStyle(0); prelim->SetBorderSize(0); #ifdef FAKE_SCHIAVILLA TGraph *schiagraph = draw_schiavilla(); schiagraph->Draw("F"); schiagraph = draw_schiavilla(1); schiagraph->Draw("C"); legThry->AddEntry(schiagraph, "d(e,e'd) T_{20} - Schiavilla & Sick", "LF"); #endif #ifdef PRELIMINARY prelim->Draw("same"); #endif TPaveLabel *nofsilab = new TPaveLabel( 0.4569, 0.1674, 0.7514, 0.2415, "No FSI Corrections", "NDC" ); nofsilab->SetFillStyle(0); nofsilab->SetBorderSize(0); nofsilab->SetTextColor(kRed); #ifdef NOFSI // nofsilab->Draw("same"); #endif #ifdef PQCD genf->Draw("same"); #endif mgrThry->Draw("c"); #ifdef GALSTER galster->Draw("same"); #endif // gen0->Draw("same"); #ifdef NEW_ROBERTS roberts_curve->Draw("same"); #endif // ourfit->Draw("same"); // bbba05->Draw("same"); //lomon->Draw("same"); // bandi->Draw("same"); #ifdef PQCD legThry->AddEntry(genf,"F_{2}/F_{1} #propto ln^{2}(Q^{2}/#Lambda^{2})/Q^{2}","l"); #endif #ifdef GALSTER legThry->AddEntry(galster,"Galster fit (1971)","l"); #endif // legThry->AddEntry(gen0,"G_{E}^{n} = 0","l"); #ifdef NEW_ROBERTS legThry->AddEntry(roberts_curve,"q(qq) Faddeev - I. Cloet, ANL","l"); #endif // legThry->AddEntry(bbba05,"BBBA05","l"); // legThry->AddEntry(lomon, "Lomon", "l"); // legThry->AddEntry(ourfit, "Our Fit", "l"); legThry->Draw(); legDta->Draw(); mgrDta->Draw("p"); legDta->Draw(); TEllipse *cir1 = new TEllipse(1.31, 0.0, 0.17, 0.0065); TEllipse *cir2 = new TEllipse(2.4, 0.0, 0.17, 0.0065); cir1->SetFillStyle(0); cir2->SetFillStyle(0); #ifdef PLOTKIN1 cir1->Draw("same"); // cir2->Draw("same"); // TPaveLabel *exacc = new TPaveLabel( 0.3779, 0.2691, 0.5963, 0.3114, "Expected Accuracy", "NDC"); TPaveLabel *exacc = new TPaveLabel( 0.2716, 0.2733, 0.4899, 0.3136, "Expected Accuracy", "NDC"); exacc->SetFillStyle(0); exacc->SetBorderSize(0); exacc->Draw("same"); #endif // draw a line at 1 cn->Modified(); cn->Update(); cn->SaveAs(Form("%s.pdf",psfile)); cn->SaveAs(Form("%s.eps",psfile)); // cn->SaveAs(Form("%s.root",psfile)); // gSystem->Exec(Form("./replace_symbols.pl %s.eps",psfile)); // cn->SaveAs("bogdan_gen.eps"); return; // LEAVING HERE // now an overlay, hopefully matching dimensions // remove everything but the graph cn->Update(); TList *clist = cn->GetListOfPrimitives(); TFrame* frame = cn->GetFrame(); for (int i=0; i<clist->GetSize(); ) { if (clist->At(i) != frame) { clist->RemoveAt(i); } else i++; } // draw markers in the corners TMarker *mkr = new TMarker(frame->GetX1(),frame->GetY1(),2); mkr->Draw(); mkr = new TMarker(frame->GetX2(),frame->GetY1(),2); mkr->Draw(); mkr = new TMarker(frame->GetX1(),frame->GetY2(),2); mkr->Draw(); mkr = new TMarker(frame->GetX2(),frame->GetY2(),2); mkr->Draw(); frame->SetLineColor(10); cn->Update(); datafile_t miller = { "figure_input/Miller/lattice.GEn.rtf","Miller", "[0]","[1]","[1]-[3]","[2]-[1]",0,0,1,3,"F" }; gr = OneGraph(&miller); TGraphAsymmErrors* egr = dynamic_cast<TGraphAsymmErrors*>(gr); if (egr && egr->GetEYhigh() && egr->GetEYhigh()[egr->GetN()/2]>0) { gr = toerror_band(egr); gr->SetLineStyle(1); gr->SetFillColor(gr->GetLineColor()); gr->SetFillStyle(3000+miller.style); } gr->Draw("F"); cn->Update(); cn->SaveAs("gen_Miller_Overlay.pdf"); cn->SaveAs("gen_Miller_Overlay.root"); }
void comparePlots(std::string fname="elec10", int mom=10, bool save=false) { gStyle->SetCanvasBorderMode(0); gStyle->SetCanvasColor(kWhite); gStyle->SetPadColor(kWhite); gStyle->SetFillColor(kWhite); gStyle->SetOptTitle(0); gStyle->SetOptStat(1100); gStyle->SetOptFit(0); std::string tags[2] = {"Old", "New"}; int color[2] = {2,4}; int marker[2] = {20,21}; int style[2] = {1,2}; int rebin[16] = {20,20,20,20, 2, 2, 2, 2, 2, 2,10,10,10,10,10,10}; int type[16] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; int edgex[16] = { 0, 0, 0, 0, 1, 1, 1, 1, 1, 1, 0, 0, 0, 0, 0, 0}; std::string name1[16] = {"Etot0", "Etot1", "EtotG0", "EtotG1", "r1by250", "r1by251", "r1by90", "r1by91", "r9by250", "r9by251", "sEtaEta0", "sEtaEta1", "sEtaPhi0", "sEtaPhi1", "sPhiPhi0", "sPhiPhi1"}; char name[100]; TFile *file[2]; for (int i=0; i<2; ++i) { sprintf (name, "%s%d%s.root", fname.c_str(), mom, tags[i].c_str()); file[i] = new TFile(name); } for (int k=0; k<16; ++k) { TH1D* hist[2]; sprintf (name, "%s", name1[k].c_str()); for (int i=0; i<2; ++i) { hist[i] = (TH1D*)file[i]->FindObjectAny(name); if (hist[i] != 0) { if (rebin[k] > 1) hist[i]->Rebin(rebin[k]); hist[i]->GetXaxis()->SetLabelOffset(0.005); hist[i]->GetXaxis()->SetTitleOffset(1.40); hist[i]->GetYaxis()->SetLabelOffset(0.005); hist[i]->GetYaxis()->SetTitleOffset(1.40); hist[i]->SetMarkerStyle(marker[i]); hist[i]->SetMarkerColor(color[i]); hist[i]->SetLineColor(color[i]); hist[i]->SetLineStyle(style[i]); hist[i]->SetLineWidth(2); } } if (hist[0] != 0 && hist[1] != 0) { double xmin = (edgex[k] == 0) ? 0.65 : 0.11; TLegend *legend = new TLegend(xmin, 0.70, xmin+0.25, 0.79); legend->SetFillColor(kWhite); sprintf (name, "c_%sE%d", name1[k].c_str(),mom); TCanvas *pad = new TCanvas(name, name, 700, 500); pad->SetRightMargin(0.10); pad->SetTopMargin(0.10); if (type[k] != 0) pad->SetLogy(); double ytop(0.90), dy(0.05); for (int i=0; i<2; ++i) { if (i == 0) hist[i]->Draw("hist"); else hist[i]->Draw("sameshist"); pad->Update(); sprintf (name, "%d GeV Electron (%s)", mom, tags[i].c_str()); legend->AddEntry(hist[i],name,"lp"); TPaveStats* st1 = (TPaveStats*)hist[i]->GetListOfFunctions()->FindObject("stats"); if (st1 != NULL) { st1->SetLineColor(color[i]); st1->SetTextColor(color[i]); st1->SetY1NDC(ytop-dy); st1->SetY2NDC(ytop); st1->SetX1NDC(xmin); st1->SetX2NDC(xmin+0.25); ytop -= dy; } pad->Modified(); pad->Update(); } legend->Draw("same"); pad->Update(); if (save) { sprintf (name, "%s.pdf", pad->GetName()); pad->Print(name); } } } }
void q4gmn_jan2009() { gROOT->SetStyle("HALLA"); TCanvas *cn = new TCanvas("cn"); cn->Draw(); // TH1F *frm = new TH1F("frm","",100,0.,5.5); TH1F *frm = new TH1F("frm","",100,0.,20.); frm->GetXaxis()->SetTitle("Q^{2} [GeV^{2}]"); frm->GetXaxis()->CenterTitle(); frm->GetYaxis()->SetTitle("Q^{4} G_{M}^{n}/#mu_{n}"); frm->GetYaxis()->CenterTitle(); frm->SetMinimum(0.0); frm->SetMaximum(0.6); frm->UseCurrentStyle(); frm->Draw(); TMultiGraph* mgrDta = new TMultiGraph("Data","G_{M}^{n}/#mu_{n}G_{D}"); TLegend *legDta = new TLegend(0.5029,.2076,.9095,.3877,"","brNDC"); TMultiGraph* wgr = mgrDta; TLegend *wlg = legDta; // the data legDta->SetBorderSize(0); // turn off border legDta->SetFillStyle(0); datafile_t *f = datafiles; TGraph* gr=0; TGraph* ogr=0; while ( f && f->filename ) { ogr=OneGraph(f); if (ogr) { gr = fromGMnGDtoQ4GMn(ogr); if (f->lnpt) { mgrDta->Add(gr,f->lnpt); legDta->AddEntry(gr,f->label,f->lnpt); } else if (gr->GetMarkerStyle()>=20) { mgrDta->Add(gr,"p"); legDta->AddEntry(gr,f->label,"p"); } else { mgrDta->Add(gr,"l"); legDta->AddEntry(gr,f->label,"l"); } } f++; } mgrDta->Draw("p"); legDta->Draw(); // don't draw the data legend TMultiGraph* mgrThry = new TMultiGraph("Theory",""); TLegend *legThry = new TLegend(0.1868,.1949,.5287,.3432,"","brNDC"); wgr = mgrThry; wlg = legThry; // the theory wlg->SetBorderSize(0); // turn off border wlg->SetFillStyle(0); f = theoryfiles1; ogr=0; while ( f && f->filename ) { ogr=OneGraph(f); if (ogr) { gr = fromGMnGDtoQ4GMn(ogr); TGraphAsymmErrors *egr = dynamic_cast<TGraphAsymmErrors*>(gr); if (egr && egr->GetEYhigh() && egr->GetEYhigh()[0]>0) { gr = toerror_band(egr); gr->SetFillStyle(3000+f->style); } gr->SetLineWidth(2); if (f->lnpt) { wgr->Add(gr,f->lnpt); wlg->AddEntry(gr,f->label,f->lnpt); } else if (gr->GetMarkerStyle()>=20) { wgr->Add(gr,"p"); wlg->AddEntry(gr,f->label,"p"); } else { wgr->Add(gr,"l"); wlg->AddEntry(gr,f->label,"l"); } } f++; } mgrThry->Draw("c"); legThry->Draw(); // draw a line at 1 cn->Modified(); cn->Update(); TFrame* frame = gPad->GetFrame(); TLine *line1 = new TLine(frame->GetX1(),1.,frame->GetX2(),1.); line1->SetLineStyle(1); line1->Draw(); cn->Update(); cn->SaveAs(Form("%s.eps",psfile)); cn->SaveAs(Form("%s.root",psfile)); gSystem->Exec(Form("./replace_symbols.pl %s.eps",psfile)); return; // remove everything but the graph cn->Update(); TList *clist = cn->GetListOfPrimitives(); frame = cn->GetFrame(); for (int i=0; i<clist->GetSize(); ) { if (clist->At(i) != frame) { clist->RemoveAt(i); } else i++; } // draw markers in the corners TMarker *mkr = new TMarker(frame->GetX1(),frame->GetY1(),2); mkr->Draw(); mkr = new TMarker(frame->GetX2(),frame->GetY1(),2); mkr->Draw(); mkr = new TMarker(frame->GetX1(),frame->GetY2(),2); mkr->Draw(); mkr = new TMarker(frame->GetX2(),frame->GetY2(),2); mkr->Draw(); frame->SetLineColor(10); cn->Update(); { datafile_t miller = { "figure_input/Miller/lattice.GMn.rtf","Miller", "[0]","[1]/(-1.91)*(1+[0]/.71)*(1+[0]/.71)", "([3]-[1])/(-1.91)*(1+[0]/.71)*(1+[0]/.71)", "([1]-[2])/(-1.91)*(1+[0]/.71)*(1+[0]/.71)", 0,0,1,3,"F" }; gr = OneGraph(&miller); TGraphAsymmErrors* egr = dynamic_cast<TGraphAsymmErrors*>(gr); if (egr && egr->GetEYhigh() && egr->GetEYhigh()[egr->GetN()/2]>0) { gr = toerror_band(egr); gr->SetLineStyle(1); gr->SetFillColor(gr->GetLineColor()); gr->SetFillStyle(3000+miller.style); } gr->Draw("F"); cn->Update(); cn->SaveAs("gmngd_Miller_Overlay.eps"); cn->SaveAs("gmngd_Miller_Overlay.root"); clist->Remove(gr); } { datafile_t miller_spl = { "figure_input/Miller/lattice.GMn.spl3","Miller", "[0]","[1]/(-1.91)*(1+[0]/.71)*(1+[0]/.71)", "([3]-[1])/(-1.91)*(1+[0]/.71)*(1+[0]/.71)", "([1]-[2])/(-1.91)*(1+[0]/.71)*(1+[0]/.71)", 0,0,1,3,"F" }; gr = OneGraph(&miller_spl); TGraphAsymmErrors* egr = dynamic_cast<TGraphAsymmErrors*>(gr); if (egr && egr->GetEYhigh() && egr->GetEYhigh()[egr->GetN()/2]>0) { gr = toerror_band(egr); gr->SetLineStyle(1); gr->SetFillColor(gr->GetLineColor()); gr->SetFillStyle(3000+miller_spl.style); } gr->Draw("F"); cn->Update(); cn->SaveAs("gmngd_Miller_Overlay_spl.eps"); cn->SaveAs("gmngd_Miller_Overlay_spl.root"); clist->Remove(gr); } }
void integral(Bool_t up = kTRUE, Bool_t draw=kTRUE) { // make integral distribution plot // look for a histogram Int_t start = FindFirstHisto(); if (start < 0) return; if (gStack[gPadNr][gMaxProcess-1] == 0) { printf("ERR: no data histo\n"); return; } TH1D * mc = gStack[gPadNr][start]; TH1D * hintmc = (TH1D *) mc->Clone(); hintmc->Reset(); hintmc->SetName("hintmc"); TH1D * data = gStack[gPadNr][gMaxProcess-1]; TH1D * hintdata = (TH1D *) data->Clone(); hintdata->Reset(); hintdata->SetName("hintdata"); Double_t summc = 0; Double_t sumdata = 0; Double_t maximum = 0; // make integral if (up) { // loop over all bins including over- and underflow for (Int_t bin = 0; bin <= hintmc->GetNbinsX()+1; bin++) { summc += mc->GetBinContent(bin); hintmc->SetBinContent(bin, summc); sumdata += data->GetBinContent(bin); hintdata->SetBinContent(bin, sumdata); } maximum = TMath::Max(hintmc->GetBinContent(hintmc->GetNbinsX()+1), hintdata->GetBinContent(hintdata->GetNbinsX()+1)); maximum += TMath::Sqrt(maximum); } else { // loop over all bins including over- and underflow for (Int_t bin = hintmc->GetNbinsX()+1; bin >= 0; bin--) { summc += mc->GetBinContent(bin); hintmc->SetBinContent(bin, summc); sumdata += data->GetBinContent(bin); hintdata->SetBinContent(bin, sumdata); } maximum = TMath::Max(hintmc->GetBinContent(0), hintdata->GetBinContent(0)); maximum += TMath::Sqrt(maximum); } hintmc->SetMaximum(maximum); hintdata->SetMaximum(maximum); // draw if (draw) { TCanvas * integ = new TCanvas("integ", "integral distribution", 10,10, (Int_t) (600*TMath::Sqrt(2.)), 600); setopt(integ); hintmc->Draw(); hintdata->Draw("epsame"); integ->Modified(); integ->Update(); } cd(gPadNr+1); }
void DarkSusy_mH_125_mGammaD_2000_cT_10_LHE_nD_M() { //=========Macro generated from canvas: cnv/cnv //========= (Sun May 24 15:17:51 2015) by ROOT version6.02/05 TCanvas *cnv = new TCanvas("cnv", "cnv",1,1,904,904); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); cnv->SetHighLightColor(2); cnv->Range(-0.375,-0.26,2.125,1.74); cnv->SetFillColor(0); cnv->SetBorderMode(0); cnv->SetBorderSize(2); cnv->SetTickx(1); cnv->SetTicky(1); cnv->SetLeftMargin(0.17); cnv->SetRightMargin(0.03); cnv->SetTopMargin(0.07); cnv->SetBottomMargin(0.13); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); TH1F *h_nD_1_M_dummy49 = new TH1F("h_nD_1_M_dummy49","h_nD_1_M_dummy",20,0.05,2.05); h_nD_1_M_dummy49->SetMaximum(1.6); h_nD_1_M_dummy49->SetLineStyle(0); h_nD_1_M_dummy49->SetMarkerStyle(20); h_nD_1_M_dummy49->GetXaxis()->SetTitle("Mass of n_{D} [GeV]"); h_nD_1_M_dummy49->GetXaxis()->SetLabelFont(42); h_nD_1_M_dummy49->GetXaxis()->SetLabelOffset(0.007); h_nD_1_M_dummy49->GetXaxis()->SetTitleSize(0.06); h_nD_1_M_dummy49->GetXaxis()->SetTitleOffset(0.95); h_nD_1_M_dummy49->GetXaxis()->SetTitleFont(42); h_nD_1_M_dummy49->GetYaxis()->SetTitle("Fraction of events / 0.1 GeV"); h_nD_1_M_dummy49->GetYaxis()->SetLabelFont(42); h_nD_1_M_dummy49->GetYaxis()->SetLabelOffset(0.007); h_nD_1_M_dummy49->GetYaxis()->SetTitleSize(0.06); h_nD_1_M_dummy49->GetYaxis()->SetTitleOffset(1.35); h_nD_1_M_dummy49->GetYaxis()->SetTitleFont(42); h_nD_1_M_dummy49->GetZaxis()->SetLabelFont(42); h_nD_1_M_dummy49->GetZaxis()->SetLabelOffset(0.007); h_nD_1_M_dummy49->GetZaxis()->SetTitleSize(0.06); h_nD_1_M_dummy49->GetZaxis()->SetTitleFont(42); h_nD_1_M_dummy49->Draw(""); TH1F *h_nD_1_M50 = new TH1F("h_nD_1_M50","h_nD_1_M",20,0.05,2.05); h_nD_1_M50->SetBinContent(10,1); h_nD_1_M50->SetBinError(10,0.002500016); h_nD_1_M50->SetEntries(159998); h_nD_1_M50->SetDirectory(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); h_nD_1_M50->SetLineColor(ci); h_nD_1_M50->SetLineWidth(2); h_nD_1_M50->SetMarkerStyle(20); h_nD_1_M50->GetXaxis()->SetLabelFont(42); h_nD_1_M50->GetXaxis()->SetLabelOffset(0.007); h_nD_1_M50->GetXaxis()->SetTitleSize(0.06); h_nD_1_M50->GetXaxis()->SetTitleOffset(0.95); h_nD_1_M50->GetXaxis()->SetTitleFont(42); h_nD_1_M50->GetYaxis()->SetLabelFont(42); h_nD_1_M50->GetYaxis()->SetLabelOffset(0.007); h_nD_1_M50->GetYaxis()->SetTitleSize(0.06); h_nD_1_M50->GetYaxis()->SetTitleOffset(1.3); h_nD_1_M50->GetYaxis()->SetTitleFont(42); h_nD_1_M50->GetZaxis()->SetLabelFont(42); h_nD_1_M50->GetZaxis()->SetLabelOffset(0.007); h_nD_1_M50->GetZaxis()->SetTitleSize(0.06); h_nD_1_M50->GetZaxis()->SetTitleFont(42); h_nD_1_M50->Draw("SAMEHIST"); TLegend *leg = new TLegend(0.4566667,0.82,0.7822222,0.9066667,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("NULL","#splitline{pp #rightarrow h #rightarrow 2n_{1} #rightarrow 2n_{D} + 2 #gamma_{D} #rightarrow 2n_{D} + 4#mu}{#splitline{m_{h} = 125 GeV, m_{n_{1}} = 50 GeV, m_{n_{D}} = 1 GeV}{m_{#gamma_{D}} = 20 GeV, c#tau_{#gamma_{D}} = 10 mm}}","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","CMS Simulation (LHE) 14 TeV","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); cnv->Modified(); cnv->cd(); cnv->SetSelected(cnv); }
void mass4Chan(){ //=========Macro generated from canvas: ccc/ //========= (Thu Mar 7 22:11:11 2013) by ROOT version5.34/03 TCanvas *ccc = new TCanvas("ccc", "",0,0,600,600); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); ccc->Range(86.5625,-1.875,92.8125,10.625); ccc->SetFillColor(0); ccc->SetBorderMode(0); ccc->SetBorderSize(2); ccc->SetLeftMargin(0.15); ccc->SetRightMargin(0.05); ccc->SetTopMargin(0.05); ccc->SetBottomMargin(0.15); ccc->SetFrameFillStyle(0); ccc->SetFrameBorderMode(0); ccc->SetFrameFillStyle(0); ccc->SetFrameBorderMode(0); TH2F *hframe = new TH2F("hframe","",100,85,96,100,0,10); hframe->SetLineStyle(0); hframe->SetMarkerStyle(20); hframe->GetXaxis()->SetTitle(" m_{Z} (GeV)"); hframe->GetXaxis()->SetNdivisions(510); hframe->GetXaxis()->SetLabelFont(42); hframe->GetXaxis()->SetLabelOffset(0.01); hframe->GetXaxis()->SetLabelSize(0.05); hframe->GetXaxis()->SetTitleSize(0.05); hframe->GetXaxis()->SetTitleOffset(1.15); hframe->GetXaxis()->SetTitleFont(42); hframe->GetYaxis()->SetTitle(" -2#Delta ln L"); hframe->GetYaxis()->SetLabelFont(42); hframe->GetYaxis()->SetLabelOffset(0.01); hframe->GetYaxis()->SetLabelSize(0.05); hframe->GetYaxis()->SetTitleSize(0.05); hframe->GetYaxis()->SetTitleOffset(1.4); hframe->GetYaxis()->SetTitleFont(42); hframe->GetZaxis()->SetLabelFont(42); hframe->GetZaxis()->SetLabelOffset(0.007); hframe->GetZaxis()->SetLabelSize(0.045); hframe->GetZaxis()->SetTitleSize(0.05); hframe->GetZaxis()->SetTitleFont(42); hframe->Draw(""); //4e TGraph *graph = new TGraph(211); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetLineColor(kGreen+1); graph->SetLineWidth(3); graph->SetMarkerStyle(20); graph->SetPoint(0,88.01999664,24.17581367); graph->SetPoint(1,88.05999756,23.87920761); graph->SetPoint(2,88.09999847,23.58337593); graph->SetPoint(3,88.13999939,23.28834534); graph->SetPoint(4,88.18000031,22.99414253); graph->SetPoint(5,88.22000122,22.70079803); graph->SetPoint(6,88.26000214,22.40833855); graph->SetPoint(7,88.30000305,22.11679268); graph->SetPoint(8,88.33999634,21.82618904); graph->SetPoint(9,88.37999725,21.53655434); graph->SetPoint(10,88.41999817,21.24791718); graph->SetPoint(11,88.45999908,20.96030426); graph->SetPoint(12,88.5,20.6737442); graph->SetPoint(13,88.54000092,20.3882618); graph->SetPoint(14,88.58000183,20.10388756); graph->SetPoint(15,88.62000275,19.82064438); graph->SetPoint(16,88.66000366,19.53856277); graph->SetPoint(17,88.69999695,19.25766563); graph->SetPoint(18,88.73999786,18.97797966); graph->SetPoint(19,88.77999878,18.69953346); graph->SetPoint(20,88.81999969,18.42235184); graph->SetPoint(21,88.81999969,18.42235184); graph->SetPoint(22,88.86000061,18.14645958); graph->SetPoint(23,88.90000153,17.87188148); graph->SetPoint(24,88.94000244,17.59864616); graph->SetPoint(25,88.98000336,17.3267765); graph->SetPoint(26,89.01999664,17.05629921); graph->SetPoint(27,89.05999756,16.78723907); graph->SetPoint(28,89.09999847,16.51961899); graph->SetPoint(29,89.13999939,16.25346756); graph->SetPoint(30,89.18000031,15.98880577); graph->SetPoint(31,89.22000122,15.72565937); graph->SetPoint(32,89.26000214,15.46405411); graph->SetPoint(33,89.30000305,15.20401192); graph->SetPoint(34,89.33999634,14.94555759); graph->SetPoint(35,89.37999725,14.68871498); graph->SetPoint(36,89.41999817,14.43350792); graph->SetPoint(37,89.45999908,14.1799593); graph->SetPoint(38,89.5,13.92809296); graph->SetPoint(39,89.54000092,13.67793083); graph->SetPoint(40,89.58000183,13.42949772); graph->SetPoint(41,89.62000275,13.1828146); graph->SetPoint(42,89.62000275,13.1828146); graph->SetPoint(43,89.66000366,12.93790436); graph->SetPoint(44,89.69999695,12.69478893); graph->SetPoint(45,89.73999786,12.45349026); graph->SetPoint(46,89.77999878,12.21403122); graph->SetPoint(47,89.81999969,11.9764328); graph->SetPoint(48,89.86000061,11.74071598); graph->SetPoint(49,89.90000153,11.50690174); graph->SetPoint(50,89.94000244,11.27501011); graph->SetPoint(51,89.98000336,11.04506397); graph->SetPoint(52,90.01999664,10.81708145); graph->SetPoint(53,90.05999756,10.59108353); graph->SetPoint(54,90.09999847,10.36709023); graph->SetPoint(55,90.13999939,10.14511967); graph->SetPoint(56,90.18000031,9.925192833); graph->SetPoint(57,90.22000122,9.707327843); graph->SetPoint(58,90.26000214,9.49154377); graph->SetPoint(59,90.30000305,9.27785778); graph->SetPoint(60,90.33999634,9.066288948); graph->SetPoint(61,90.37999725,8.856854439); graph->SetPoint(62,90.41999817,8.649573326); graph->SetPoint(63,90.41999817,8.649573326); graph->SetPoint(64,90.45999908,8.444460869); graph->SetPoint(65,90.5,8.241534233); graph->SetPoint(66,90.54000092,8.040810585); graph->SetPoint(67,90.58000183,7.84230566); graph->SetPoint(68,90.62000275,7.646035671); graph->SetPoint(69,90.66000366,7.452015877); graph->SetPoint(70,90.69999695,7.260261536); graph->SetPoint(71,90.73999786,7.07078743); graph->SetPoint(72,90.77999878,6.883607864); graph->SetPoint(73,90.81999969,6.698737621); graph->SetPoint(74,90.86000061,6.516190529); graph->SetPoint(75,90.90000153,6.335978985); graph->SetPoint(76,90.94000244,6.158116817); graph->SetPoint(77,90.98000336,5.982616901); graph->SetPoint(78,91.01999664,5.809491634); graph->SetPoint(79,91.05999756,5.638751984); graph->SetPoint(80,91.09999847,5.470410824); graph->SetPoint(81,91.13999939,5.304479122); graph->SetPoint(82,91.18000031,5.140967369); graph->SetPoint(83,91.22000122,4.979886055); graph->SetPoint(84,91.22000122,4.979886055); graph->SetPoint(85,91.26000214,4.821246147); graph->SetPoint(86,91.30000305,4.665056705); graph->SetPoint(87,91.33999634,4.511327267); graph->SetPoint(88,91.37999725,4.360067368); graph->SetPoint(89,91.41999817,4.211285114); graph->SetPoint(90,91.45999908,4.064989567); graph->SetPoint(91,91.5,3.921188593); graph->SetPoint(92,91.54000092,3.77989006); graph->SetPoint(93,91.58000183,3.641101122); graph->SetPoint(94,91.62000275,3.504829168); graph->SetPoint(95,91.66000366,3.371080875); graph->SetPoint(96,91.69999695,3.239862919); graph->SetPoint(97,91.73999786,3.111181259); graph->SetPoint(98,91.77999878,2.985042334); graph->SetPoint(99,91.81999969,2.861451626); graph->SetPoint(100,91.86000061,2.740414619); graph->SetPoint(101,91.90000153,2.62193656); graph->SetPoint(102,91.94000244,2.506022453); graph->SetPoint(103,91.98000336,2.392677069); graph->SetPoint(104,92.01999664,2.281905413); graph->SetPoint(105,92.01999664,2.281905413); graph->SetPoint(106,92.05999756,2.173711538); graph->SetPoint(107,92.09999847,2.068099499); graph->SetPoint(108,92.13999939,1.965073943); graph->SetPoint(109,92.18000031,1.864638567); graph->SetPoint(110,92.22000122,1.766797066); graph->SetPoint(111,92.26000214,1.671553373); graph->SetPoint(112,92.30000305,1.578910828); graph->SetPoint(113,92.33999634,1.488873124); graph->SetPoint(114,92.37999725,1.401443481); graph->SetPoint(115,92.41999817,1.316625237); graph->SetPoint(116,92.45999908,1.234421849); graph->SetPoint(117,92.5,1.154836297); graph->SetPoint(118,92.54000092,1.077871799); graph->SetPoint(119,92.58000183,1.003531575); graph->SetPoint(120,92.62000275,0.9318185449); graph->SetPoint(121,92.66000366,0.8627359867); graph->SetPoint(122,92.69999695,0.796286881); graph->SetPoint(123,92.73999786,0.7324743271); graph->SetPoint(124,92.77999878,0.6713014841); graph->SetPoint(125,92.81999969,0.6127713919); graph->SetPoint(126,92.81999969,0.6127713919); graph->SetPoint(127,92.86000061,0.556887269); graph->SetPoint(128,92.90000153,0.5036522746); graph->SetPoint(129,92.94000244,0.4530695975); graph->SetPoint(130,92.98000336,0.4051425755); graph->SetPoint(131,93.01999664,0.3598744869); graph->SetPoint(132,93.05999756,0.3172687292); graph->SetPoint(133,93.09999847,0.2773286998); graph->SetPoint(134,93.13999939,0.2400579304); graph->SetPoint(135,93.18000031,0.2054599077); graph->SetPoint(136,93.22000122,0.1735383123); graph->SetPoint(137,93.26000214,0.1442967504); graph->SetPoint(138,93.30000305,0.1177390069); graph->SetPoint(139,93.33999634,0.09386885911); graph->SetPoint(140,93.37999725,0.07269018143); graph->SetPoint(141,93.41999817,0.05420689285); graph->SetPoint(142,93.45999908,0.03842297941); graph->SetPoint(143,93.5,0.02534246817); graph->SetPoint(144,93.54000092,0.01496945601); graph->SetPoint(145,93.58000183,0.007308077533); graph->SetPoint(146,93.62000275,0.002362518338); graph->SetPoint(147,93.62000275,0.002362518338); graph->SetPoint(148,93.66000366,0.0001370045647); graph->SetPoint(149,93.6727066,0); graph->SetPoint(150,93.6727066,0); graph->SetPoint(151,93.6727066,0); graph->SetPoint(152,93.6727066,0); graph->SetPoint(153,93.6727066,0); graph->SetPoint(154,93.6727066,0); graph->SetPoint(155,93.6727066,0); graph->SetPoint(156,93.90000153,0.04414568096); graph->SetPoint(157,93.94000244,0.06108137593); graph->SetPoint(158,93.98000336,0.08077188581); graph->SetPoint(159,94.01999664,0.1032215655); graph->SetPoint(160,94.05999756,0.1284348369); graph->SetPoint(161,94.09999847,0.1564160585); graph->SetPoint(162,94.13999939,0.1871695817); graph->SetPoint(163,94.18000031,0.2206996977); graph->SetPoint(164,94.22000122,0.2570107281); graph->SetPoint(165,94.26000214,0.2961069047); graph->SetPoint(166,94.30000305,0.3379923999); graph->SetPoint(167,94.33999634,0.3826714158); graph->SetPoint(168,94.37999725,0.4301479757); graph->SetPoint(169,94.41999817,0.4804261029); graph->SetPoint(170,94.41999817,0.4804261029); graph->SetPoint(171,94.45999908,0.5335097313); graph->SetPoint(172,94.5,0.589402616); graph->SetPoint(173,94.54000092,0.6481084824); graph->SetPoint(174,94.58000183,0.7096309662); graph->SetPoint(175,94.62000275,0.7739735246); graph->SetPoint(176,94.66000366,0.8411393762); graph->SetPoint(177,94.69999695,0.9111317396); graph->SetPoint(178,94.73999786,0.9839535356); graph->SetPoint(179,94.77999878,1.059607625); graph->SetPoint(180,94.81999969,1.138096452); graph->SetPoint(181,94.86000061,1.21942234); graph->SetPoint(182,94.90000153,1.303587556); graph->SetPoint(183,94.94000244,1.390593767); graph->SetPoint(184,94.98000336,1.480442762); graph->SetPoint(185,95.01999664,1.573135614); graph->SetPoint(186,95.05999756,1.668673396); graph->SetPoint(187,95.09999847,1.767056823); graph->SetPoint(188,95.13999939,1.868286133); graph->SetPoint(189,95.18000031,1.972361326); graph->SetPoint(190,95.22000122,2.079282045); graph->SetPoint(191,95.22000122,2.079282045); graph->SetPoint(192,95.26000214,2.189047575); graph->SetPoint(193,95.30000305,2.301656485); graph->SetPoint(194,95.33999634,2.417107344); graph->SetPoint(195,95.37999725,2.535398245); graph->SetPoint(196,95.41999817,2.656526327); graph->SetPoint(197,95.45999908,2.780489206); graph->SetPoint(198,95.5,2.907283306); graph->SetPoint(199,95.54000092,3.036904335); graph->SetPoint(200,95.58000183,3.169348717); graph->SetPoint(201,95.62000275,3.304610968); graph->SetPoint(202,95.66000366,3.442685843); graph->SetPoint(203,95.69999695,3.583567619); graph->SetPoint(204,95.73999786,3.727249861); graph->SetPoint(205,95.77999878,3.873725414); graph->SetPoint(206,95.81999969,4.022986889); graph->SetPoint(207,95.86000061,4.175026417); graph->SetPoint(208,95.90000153,4.329834938); graph->SetPoint(209,95.94000244,4.487403393); graph->SetPoint(210,95.98000336,4.647722244); graph->Sort(); cout << "4e: " << graph->Eval(91.1876) << endl; //2e2mu TGraph *graph1 = new TGraph(211); graph1->SetName("Graph1"); graph1->SetTitle("Graph1"); graph1->SetFillColor(1); graph1->SetLineWidth(3); graph1->SetLineColor(kBlue); graph1->SetMarkerStyle(20); graph1->SetPoint(0,88.01999664,42.53228378); graph1->SetPoint(1,88.05999756,41.62067032); graph1->SetPoint(2,88.09999847,40.71479416); graph1->SetPoint(3,88.13999939,39.81480408); graph1->SetPoint(4,88.18000031,38.92084122); graph1->SetPoint(5,88.22000122,38.03306198); graph1->SetPoint(6,88.26000214,37.15161514); graph1->SetPoint(7,88.30000305,36.27664185); graph1->SetPoint(8,88.33999634,35.40829468); graph1->SetPoint(9,88.37999725,34.54672241); graph1->SetPoint(10,88.41999817,33.69207764); graph1->SetPoint(11,88.45999908,32.84450531); graph1->SetPoint(12,88.5,32.00415421); graph1->SetPoint(13,88.54000092,31.17118073); graph1->SetPoint(14,88.58000183,30.34573174); graph1->SetPoint(15,88.62000275,29.52795982); graph1->SetPoint(16,88.66000366,28.71801567); graph1->SetPoint(17,88.69999695,27.91605186); graph1->SetPoint(18,88.73999786,27.12222099); graph1->SetPoint(19,88.77999878,26.33667755); graph1->SetPoint(20,88.81999969,25.55957413); graph1->SetPoint(21,88.81999969,25.55957413); graph1->SetPoint(22,88.86000061,24.79106331); graph1->SetPoint(23,88.90000153,24.03130341); graph1->SetPoint(24,88.94000244,23.28044701); graph1->SetPoint(25,88.98000336,22.53864861); graph1->SetPoint(26,89.01999664,21.80606842); graph1->SetPoint(27,89.05999756,21.08285904); graph1->SetPoint(28,89.09999847,20.36917686); graph1->SetPoint(29,89.13999939,19.66518211); graph1->SetPoint(30,89.18000031,18.97103119); graph1->SetPoint(31,89.22000122,18.28688049); graph1->SetPoint(32,89.26000214,17.61288834); graph1->SetPoint(33,89.30000305,16.94921303); graph1->SetPoint(34,89.33999634,16.29601097); graph1->SetPoint(35,89.37999725,15.65344238); graph1->SetPoint(36,89.41999817,15.02166271); graph1->SetPoint(37,89.45999908,14.40083027); graph1->SetPoint(38,89.5,13.79110146); graph1->SetPoint(39,89.54000092,13.19263268); graph1->SetPoint(40,89.58000183,12.60557842); graph1->SetPoint(41,89.62000275,12.03009319); graph1->SetPoint(42,89.62000275,12.03009319); graph1->SetPoint(43,89.66000366,11.46633053); graph1->SetPoint(44,89.69999695,10.91444302); graph1->SetPoint(45,89.73999786,10.37458038); graph1->SetPoint(46,89.77999878,9.846892357); graph1->SetPoint(47,89.81999969,9.331525803); graph1->SetPoint(48,89.86000061,8.828626633); graph1->SetPoint(49,89.90000153,8.338338852); graph1->SetPoint(50,89.94000244,7.860803127); graph1->SetPoint(51,89.98000336,7.396159172); graph1->SetPoint(52,90.01999664,6.944543839); graph1->SetPoint(53,90.05999756,6.506091118); graph1->SetPoint(54,90.09999847,6.080932617); graph1->SetPoint(55,90.13999939,5.669197083); graph1->SetPoint(56,90.18000031,5.271010399); graph1->SetPoint(57,90.22000122,4.886495113); graph1->SetPoint(58,90.26000214,4.515771389); graph1->SetPoint(59,90.30000305,4.15895462); graph1->SetPoint(60,90.33999634,3.816158772); graph1->SetPoint(61,90.37999725,3.487493038); graph1->SetPoint(62,90.41999817,3.17306304); graph1->SetPoint(63,90.41999817,3.17306304); graph1->SetPoint(64,90.45999908,2.872971296); graph1->SetPoint(65,90.5,2.587316275); graph1->SetPoint(66,90.54000092,2.316192389); graph1->SetPoint(67,90.58000183,2.059690237); graph1->SetPoint(68,90.62000275,1.817896128); graph1->SetPoint(69,90.66000366,1.590892553); graph1->SetPoint(70,90.69999695,1.378757238); graph1->SetPoint(71,90.73999786,1.181563854); graph1->SetPoint(72,90.77999878,0.999381721); graph1->SetPoint(73,90.81999969,0.832275331); graph1->SetPoint(74,90.86000061,0.6803047061); graph1->SetPoint(75,90.90000153,0.5435250998); graph1->SetPoint(76,90.94000244,0.4219872355); graph1->SetPoint(77,90.98000336,0.315736711); graph1->SetPoint(78,91.01999664,0.2248144299); graph1->SetPoint(79,91.05999756,0.149256289); graph1->SetPoint(80,91.09999847,0.08909317851); graph1->SetPoint(81,91.13999939,0.04435096309); graph1->SetPoint(82,91.18000031,0.01505037863); graph1->SetPoint(83,91.22000122,0.00120701245); graph1->SetPoint(84,91.22000122,0.00120701245); graph1->SetPoint(85,91.2358017,0); graph1->SetPoint(86,91.2358017,0); graph1->SetPoint(87,91.2358017,0); graph1->SetPoint(88,91.2358017,0); graph1->SetPoint(89,91.2358017,0); graph1->SetPoint(90,91.2358017,0); graph1->SetPoint(91,91.2358017,0); graph1->SetPoint(92,91.45999908,0.2429630756); graph1->SetPoint(93,91.5,0.337316364); graph1->SetPoint(94,91.54000092,0.4470618963); graph1->SetPoint(95,91.58000183,0.5721673965); graph1->SetPoint(96,91.62000275,0.7125952244); graph1->SetPoint(97,91.66000366,0.8683020473); graph1->SetPoint(98,91.69999695,1.039239407); graph1->SetPoint(99,91.73999786,1.225353122); graph1->SetPoint(100,91.77999878,1.426583886); graph1->SetPoint(101,91.81999969,1.642866492); graph1->SetPoint(102,91.86000061,1.874130487); graph1->SetPoint(103,91.90000153,2.120300293); graph1->SetPoint(104,91.94000244,2.381294727); graph1->SetPoint(105,91.98000336,2.657027245); graph1->SetPoint(106,92.01999664,2.947405815); graph1->SetPoint(107,92.01999664,2.947405815); graph1->SetPoint(108,92.05999756,3.252333403); graph1->SetPoint(109,92.09999847,3.571707726); graph1->SetPoint(110,92.13999939,3.905421734); graph1->SetPoint(111,92.18000031,4.253362656); graph1->SetPoint(112,92.22000122,4.615413189); graph1->SetPoint(113,92.26000214,4.991451263); graph1->SetPoint(114,92.30000305,5.381349564); graph1->SetPoint(115,92.33999634,5.784977436); graph1->SetPoint(116,92.37999725,6.202198505); graph1->SetPoint(117,92.41999817,6.632872105); graph1->SetPoint(118,92.45999908,7.076854706); graph1->SetPoint(119,92.5,7.533997059); graph1->SetPoint(120,92.54000092,8.00414753); graph1->SetPoint(121,92.58000183,8.487151146); graph1->SetPoint(122,92.62000275,8.982847214); graph1->SetPoint(123,92.66000366,9.491073608); graph1->SetPoint(124,92.69999695,10.0116663); graph1->SetPoint(125,92.73999786,10.54445553); graph1->SetPoint(126,92.77999878,11.08927155); graph1->SetPoint(127,92.81999969,11.64594078); graph1->SetPoint(128,92.81999969,11.64594078); graph1->SetPoint(129,92.86000061,12.21428871); graph1->SetPoint(130,92.90000153,12.79413795); graph1->SetPoint(131,92.94000244,13.38531017); graph1->SetPoint(132,92.98000336,13.98762512); graph1->SetPoint(133,93.01999664,14.6009016); graph1->SetPoint(134,93.05999756,15.22495747); graph1->SetPoint(135,93.09999847,15.85961056); graph1->SetPoint(136,93.13999939,16.50467491); graph1->SetPoint(137,93.18000031,17.15996933); graph1->SetPoint(138,93.22000122,17.82530975); graph1->SetPoint(139,93.26000214,18.50051117); graph1->SetPoint(140,93.30000305,19.18539047); graph1->SetPoint(141,93.33999634,19.87976265); graph1->SetPoint(142,93.37999725,20.5834465); graph1->SetPoint(143,93.41999817,21.29626083); graph1->SetPoint(144,93.45999908,22.01802063); graph1->SetPoint(145,93.5,22.74854851); graph1->SetPoint(146,93.54000092,23.48766518); graph1->SetPoint(147,93.58000183,24.23518753); graph1->SetPoint(148,93.62000275,24.99094391); graph1->SetPoint(149,93.62000275,24.99094391); graph1->SetPoint(150,93.66000366,25.75475311); graph1->SetPoint(151,93.69999695,26.52644157); graph1->SetPoint(152,93.73999786,27.30583763); graph1->SetPoint(153,93.77999878,28.09276581); graph1->SetPoint(154,93.81999969,28.88705635); graph1->SetPoint(155,93.86000061,29.68853951); graph1->SetPoint(156,93.90000153,30.49704552); graph1->SetPoint(157,93.94000244,31.31240845); graph1->SetPoint(158,93.98000336,32.13446045); graph1->SetPoint(159,94.01999664,32.9630394); graph1->SetPoint(160,94.05999756,33.79798508); graph1->SetPoint(161,94.09999847,34.63912964); graph1->SetPoint(162,94.13999939,35.4863205); graph1->SetPoint(163,94.18000031,36.3393898); graph1->SetPoint(164,94.22000122,37.19818878); graph1->SetPoint(165,94.26000214,38.06255722); graph1->SetPoint(166,94.30000305,38.93234253); graph1->SetPoint(167,94.33999634,39.80738831); graph1->SetPoint(168,94.37999725,40.68754959); graph1->SetPoint(169,94.41999817,41.5726738); graph1->SetPoint(170,94.41999817,41.5726738); graph1->SetPoint(171,94.45999908,42.46260834); graph1->SetPoint(172,94.5,43.35721588); graph1->SetPoint(173,94.54000092,44.25634003); graph1->SetPoint(174,94.58000183,45.15984726); graph1->SetPoint(175,94.62000275,46.06758881); graph1->SetPoint(176,94.66000366,46.97943115); graph1->SetPoint(177,94.69999695,47.89522934); graph1->SetPoint(178,94.73999786,48.81485367); graph1->SetPoint(179,94.77999878,49.73816299); graph1->SetPoint(180,94.81999969,50.66502762); graph1->SetPoint(181,94.86000061,51.59532166); graph1->SetPoint(182,94.90000153,52.52890778); graph1->SetPoint(183,94.94000244,53.46566772); graph1->SetPoint(184,94.98000336,54.40546799); graph1->SetPoint(185,95.01999664,55.34819412); graph1->SetPoint(186,95.05999756,56.29372406); graph1->SetPoint(187,95.09999847,57.24193954); graph1->SetPoint(188,95.13999939,58.19272232); graph1->SetPoint(189,95.18000031,59.14596176); graph1->SetPoint(190,95.22000122,60.10154724); graph1->SetPoint(191,95.22000122,60.10154724); graph1->SetPoint(192,95.26000214,61.05936813); graph1->SetPoint(193,95.30000305,62.01932144); graph1->SetPoint(194,95.33999634,62.98130035); graph1->SetPoint(195,95.37999725,63.94520569); graph1->SetPoint(196,95.41999817,64.91093445); graph1->SetPoint(197,95.45999908,65.87839508); graph1->SetPoint(198,95.5,66.84749603); graph1->SetPoint(199,95.54000092,67.81813049); graph1->SetPoint(200,95.58000183,68.79022217); graph1->SetPoint(201,95.62000275,69.7636795); graph1->SetPoint(202,95.66000366,70.73841858); graph1->SetPoint(203,95.69999695,71.71435547); graph1->SetPoint(204,95.73999786,72.69141388); graph1->SetPoint(205,95.77999878,73.66950226); graph1->SetPoint(206,95.81999969,74.64855194); graph1->SetPoint(207,95.86000061,75.62849426); graph1->SetPoint(208,95.90000153,76.6092453); graph1->SetPoint(209,95.94000244,77.59073639); graph1->SetPoint(210,95.98000336,78.57290649); cout<< "2e2mu: " << graph1->Eval(91.1876) << endl; //4mu TGraph *graph2 = new TGraph(211); graph2->SetName("Graph2"); graph2->SetTitle("Graph2"); graph2->SetFillColor(1); graph2->SetLineWidth(3); graph2->SetLineColor(kRed); graph2->SetMarkerStyle(20); graph2->SetPoint(0,88.01999664,106.7364273); graph2->SetPoint(1,88.05999756,104.3517303); graph2->SetPoint(2,88.09999847,101.9809418); graph2->SetPoint(3,88.13999939,99.62443542); graph2->SetPoint(4,88.18000031,97.2826004); graph2->SetPoint(5,88.22000122,94.95583344); graph2->SetPoint(6,88.26000214,92.64452362); graph2->SetPoint(7,88.30000305,90.34907532); graph2->SetPoint(8,88.33999634,88.06989288); graph2->SetPoint(9,88.37999725,85.80740356); graph2->SetPoint(10,88.41999817,83.56202698); graph2->SetPoint(11,88.45999908,81.33418274); graph2->SetPoint(12,88.5,79.12432098); graph2->SetPoint(13,88.54000092,76.93287659); graph2->SetPoint(14,88.58000183,74.76031494); graph2->SetPoint(15,88.62000275,72.60709381); graph2->SetPoint(16,88.66000366,70.47368622); graph2->SetPoint(17,88.69999695,68.36057281); graph2->SetPoint(18,88.73999786,66.26824951); graph2->SetPoint(19,88.77999878,64.19721985); graph2->SetPoint(20,88.81999969,62.14799881); graph2->SetPoint(21,88.81999969,62.14799881); graph2->SetPoint(22,88.86000061,60.12110519); graph2->SetPoint(23,88.90000153,58.11707306); graph2->SetPoint(24,88.94000244,56.13645554); graph2->SetPoint(25,88.98000336,54.17980194); graph2->SetPoint(26,89.01999664,52.24768448); graph2->SetPoint(27,89.05999756,50.34067917); graph2->SetPoint(28,89.09999847,48.45937347); graph2->SetPoint(29,89.13999939,46.6043663); graph2->SetPoint(30,89.18000031,44.77626038); graph2->SetPoint(31,89.22000122,42.97567749); graph2->SetPoint(32,89.26000214,41.20323181); graph2->SetPoint(33,89.30000305,39.45955276); graph2->SetPoint(34,89.33999634,37.74528122); graph2->SetPoint(35,89.37999725,36.06105423); graph2->SetPoint(36,89.41999817,34.40750885); graph2->SetPoint(37,89.45999908,32.78529739); graph2->SetPoint(38,89.5,31.19506073); graph2->SetPoint(39,89.54000092,29.63745117); graph2->SetPoint(40,89.58000183,28.11310959); graph2->SetPoint(41,89.62000275,26.62268066); graph2->SetPoint(42,89.62000275,26.62268066); graph2->SetPoint(43,89.66000366,25.16680336); graph2->SetPoint(44,89.69999695,23.74611092); graph2->SetPoint(45,89.73999786,22.36123466); graph2->SetPoint(46,89.77999878,21.01279449); graph2->SetPoint(47,89.81999969,19.70140076); graph2->SetPoint(48,89.86000061,18.42765999); graph2->SetPoint(49,89.90000153,17.19216156); graph2->SetPoint(50,89.94000244,15.99549007); graph2->SetPoint(51,89.98000336,14.83821201); graph2->SetPoint(52,90.01999664,13.72088242); graph2->SetPoint(53,90.05999756,12.64404106); graph2->SetPoint(54,90.09999847,11.60821342); graph2->SetPoint(55,90.13999939,10.61390781); graph2->SetPoint(56,90.18000031,9.661615372); graph2->SetPoint(57,90.22000122,8.75180912); graph2->SetPoint(58,90.26000214,7.884942055); graph2->SetPoint(59,90.30000305,7.061448574); graph2->SetPoint(60,90.33999634,6.281741619); graph2->SetPoint(61,90.37999725,5.546211243); graph2->SetPoint(62,90.41999817,4.855226517); graph2->SetPoint(63,90.41999817,4.855226517); graph2->SetPoint(64,90.45999908,4.209132195); graph2->SetPoint(65,90.5,3.608248472); graph2->SetPoint(66,90.54000092,3.052870989); graph2->SetPoint(67,90.58000183,2.543269396); graph2->SetPoint(68,90.62000275,2.079686403); graph2->SetPoint(69,90.66000366,1.662337065); graph2->SetPoint(70,90.69999695,1.29140842); graph2->SetPoint(71,90.73999786,0.9670585394); graph2->SetPoint(72,90.77999878,0.6894162893); graph2->SetPoint(73,90.81999969,0.4585802257); graph2->SetPoint(74,90.86000061,0.2746185958); graph2->SetPoint(75,90.90000153,0.1375684142); graph2->SetPoint(76,90.94000244,0.04743507132); graph2->SetPoint(77,90.98000336,0.004192293622); graph2->SetPoint(78,90.99692535,0); graph2->SetPoint(79,90.99692535,0); graph2->SetPoint(80,90.99692535,0); graph2->SetPoint(81,90.99692535,0); graph2->SetPoint(82,90.99692535,0); graph2->SetPoint(83,90.99692535,0); graph2->SetPoint(84,90.99692535,0); graph2->SetPoint(85,91.22000122,0.7239263654); graph2->SetPoint(86,91.22000122,0.7239263654); graph2->SetPoint(87,91.26000214,1.005486846); graph2->SetPoint(88,91.30000305,1.332574487); graph2->SetPoint(89,91.33999634,1.704877257); graph2->SetPoint(90,91.37999725,2.122053623); graph2->SetPoint(91,91.41999817,2.583733082); graph2->SetPoint(92,91.45999908,3.089517355); graph2->SetPoint(93,91.5,3.638980389); graph2->SetPoint(94,91.54000092,4.23167181); graph2->SetPoint(95,91.58000183,4.867115498); graph2->SetPoint(96,91.62000275,5.544812679); graph2->SetPoint(97,91.66000366,6.264243603); graph2->SetPoint(98,91.69999695,7.024868488); graph2->SetPoint(99,91.73999786,7.826128483); graph2->SetPoint(100,91.77999878,8.667448044); graph2->SetPoint(101,91.81999969,9.548238754); graph2->SetPoint(102,91.86000061,10.46789742); graph2->SetPoint(103,91.90000153,11.42580891); graph2->SetPoint(104,91.94000244,12.42135048); graph2->SetPoint(105,91.98000336,13.4538908); graph2->SetPoint(106,92.01999664,14.52279377); graph2->SetPoint(107,92.01999664,14.52279377); graph2->SetPoint(108,92.05999756,15.62741661); graph2->SetPoint(109,92.09999847,16.76711464); graph2->SetPoint(110,92.13999939,17.94124603); graph2->SetPoint(111,92.18000031,19.14916039); graph2->SetPoint(112,92.22000122,20.39021873); graph2->SetPoint(113,92.26000214,21.66377449); graph2->SetPoint(114,92.30000305,22.9691925); graph2->SetPoint(115,92.33999634,24.30584145); graph2->SetPoint(116,92.37999725,25.67308617); graph2->SetPoint(117,92.41999817,27.07030869); graph2->SetPoint(118,92.45999908,28.49688721); graph2->SetPoint(119,92.5,29.95221329); graph2->SetPoint(120,92.54000092,31.43568039); graph2->SetPoint(121,92.58000183,32.94668579); graph2->SetPoint(122,92.62000275,34.48464584); graph2->SetPoint(123,92.66000366,36.04896164); graph2->SetPoint(124,92.69999695,37.63905716); graph2->SetPoint(125,92.73999786,39.2543602); graph2->SetPoint(126,92.77999878,40.89429092); graph2->SetPoint(127,92.81999969,42.55828857); graph2->SetPoint(128,92.81999969,42.55828857); graph2->SetPoint(129,92.86000061,44.24579239); graph2->SetPoint(130,92.90000153,45.95624161); graph2->SetPoint(131,92.94000244,47.6890831); graph2->SetPoint(132,92.98000336,49.44376755); graph2->SetPoint(133,93.01999664,51.21974564); graph2->SetPoint(134,93.05999756,53.01646805); graph2->SetPoint(135,93.09999847,54.83339691); graph2->SetPoint(136,93.13999939,56.66999054); graph2->SetPoint(137,93.18000031,58.52570724); graph2->SetPoint(138,93.22000122,60.40001678); graph2->SetPoint(139,93.26000214,62.29237747); graph2->SetPoint(140,93.30000305,64.20226288); graph2->SetPoint(141,93.33999634,66.12913513); graph2->SetPoint(142,93.37999725,68.07247162); graph2->SetPoint(143,93.41999817,70.03173828); graph2->SetPoint(144,93.45999908,72.00642395); graph2->SetPoint(145,93.5,73.99599457); graph2->SetPoint(146,93.54000092,75.99994659); graph2->SetPoint(147,93.58000183,78.0177536); graph2->SetPoint(148,93.62000275,80.04890442); graph2->SetPoint(149,93.62000275,80.04890442); graph2->SetPoint(150,93.66000366,82.09291077); graph2->SetPoint(151,93.69999695,84.14925385); graph2->SetPoint(152,93.73999786,86.21744537); graph2->SetPoint(153,93.77999878,88.29699707); graph2->SetPoint(154,93.81999969,90.38742828); graph2->SetPoint(155,93.86000061,92.48825836); graph2->SetPoint(156,93.90000153,94.59902954); graph2->SetPoint(157,93.94000244,96.71927643); graph2->SetPoint(158,93.98000336,98.84854889); graph2->SetPoint(159,94.01999664,100.9864197); graph2->SetPoint(160,94.05999756,103.1324387); graph2->SetPoint(161,94.09999847,105.2862015); graph2->SetPoint(162,94.13999939,107.4473038); graph2->SetPoint(163,94.18000031,109.6153336); graph2->SetPoint(164,94.22000122,111.7899246); graph2->SetPoint(165,94.26000214,113.9706879); graph2->SetPoint(166,94.30000305,116.15728); graph2->SetPoint(167,94.33999634,118.3493423); graph2->SetPoint(168,94.37999725,120.5465469); graph2->SetPoint(169,94.41999817,122.7485733); graph2->SetPoint(170,94.41999817,122.7485733); graph2->SetPoint(171,94.45999908,124.9551163); graph2->SetPoint(172,94.5,127.1658707); graph2->SetPoint(173,94.54000092,129.3805542); graph2->SetPoint(174,94.58000183,131.5989227); graph2->SetPoint(175,94.62000275,133.820694); graph2->SetPoint(176,94.66000366,136.0456238); graph2->SetPoint(177,94.69999695,138.2734833); graph2->SetPoint(178,94.73999786,140.5040436); graph2->SetPoint(179,94.77999878,142.7371216); graph2->SetPoint(180,94.81999969,144.9724884); graph2->SetPoint(181,94.86000061,147.2099609); graph2->SetPoint(182,94.90000153,149.4493713); graph2->SetPoint(183,94.94000244,151.6905365); graph2->SetPoint(184,94.98000336,153.9332886); graph2->SetPoint(185,95.01999664,156.1782074); graph2->SetPoint(186,95.05999756,158.4309082); graph2->SetPoint(187,95.09999847,160.6924896); graph2->SetPoint(188,95.13999939,162.962677); graph2->SetPoint(189,95.18000031,165.2412262); graph2->SetPoint(190,95.22000122,167.5278778); graph2->SetPoint(191,95.22000122,167.5278778); graph2->SetPoint(192,95.26000214,169.8223724); graph2->SetPoint(193,95.30000305,172.1244812); graph2->SetPoint(194,95.33999634,174.43396); graph2->SetPoint(195,95.37999725,176.7505646); graph2->SetPoint(196,95.41999817,179.0740356); graph2->SetPoint(197,95.45999908,181.4041595); graph2->SetPoint(198,95.5,183.7407074); graph2->SetPoint(199,95.54000092,186.0834351); graph2->SetPoint(200,95.58000183,188.4321594); graph2->SetPoint(201,95.62000275,190.7866364); graph2->SetPoint(202,95.66000366,193.1466827); graph2->SetPoint(203,95.69999695,195.512085); graph2->SetPoint(204,95.73999786,197.8826752); graph2->SetPoint(205,95.77999878,200.2582397); graph2->SetPoint(206,95.81999969,202.6385651); graph2->SetPoint(207,95.86000061,205.023468); graph2->SetPoint(208,95.90000153,207.4127502); graph2->SetPoint(209,95.94000244,209.8062286); graph2->SetPoint(210,95.98000336,212.2036896); cout<< "4mu: " << graph2->Eval(91.1876) << endl; //4l TGraph *graph3 = new TGraph(212); graph3->SetName("Graph3"); graph3->SetTitle("Graph3"); graph3->SetFillColor(1); graph3->SetLineWidth(3); graph3->SetMarkerStyle(20); graph3->SetPoint(0,88.01999664,157.330307); graph3->SetPoint(1,88.05999756,153.9913483); graph3->SetPoint(2,88.09999847,150.6700134); graph3->SetPoint(3,88.13999939,147.3667908); graph3->SetPoint(4,88.18000031,144.0821991); graph3->SetPoint(5,88.22000122,140.8167419); graph3->SetPoint(6,88.26000214,137.5709686); graph3->SetPoint(7,88.30000305,134.3454132); graph3->SetPoint(8,88.33999634,131.1406097); graph3->SetPoint(9,88.37999725,127.9571304); graph3->SetPoint(10,88.41999817,124.7955246); graph3->SetPoint(11,88.45999908,121.6563721); graph3->SetPoint(12,88.5,118.5402679); graph3->SetPoint(13,88.54000092,115.4477997); graph3->SetPoint(14,88.58000183,112.3795853); graph3->SetPoint(15,88.62000275,109.3362427); graph3->SetPoint(16,88.66000366,106.3183975); graph3->SetPoint(17,88.69999695,103.3267059); graph3->SetPoint(18,88.73999786,100.3618164); graph3->SetPoint(19,88.77999878,97.42440796); graph3->SetPoint(20,88.81999969,94.51515961); graph3->SetPoint(21,88.81999969,94.51515961); graph3->SetPoint(22,88.86000061,91.63476562); graph3->SetPoint(23,88.90000153,88.78394318); graph3->SetPoint(24,88.94000244,85.96340942); graph3->SetPoint(25,88.98000336,83.17390442); graph3->SetPoint(26,89.01999664,80.41617584); graph3->SetPoint(27,89.05999756,77.690979); graph3->SetPoint(28,89.09999847,74.99910736); graph3->SetPoint(29,89.13999939,72.34132385); graph3->SetPoint(30,89.18000031,69.71843719); graph3->SetPoint(31,89.22000122,67.1312561); graph3->SetPoint(32,89.26000214,64.58059692); graph3->SetPoint(33,89.30000305,62.06728745); graph3->SetPoint(34,89.33999634,59.59215164); graph3->SetPoint(35,89.37999725,57.15603638); graph3->SetPoint(36,89.41999817,54.75978088); graph3->SetPoint(37,89.45999908,52.40423203); graph3->SetPoint(38,89.5,50.09024048); graph3->SetPoint(39,89.54000092,47.81865311); graph3->SetPoint(40,89.58000183,45.59031677); graph3->SetPoint(41,89.62000275,43.40607834); graph3->SetPoint(42,89.62000275,43.40607834); graph3->SetPoint(43,89.66000366,41.26677322); graph3->SetPoint(44,89.69999695,39.17324066); graph3->SetPoint(45,89.73999786,37.12630463); graph3->SetPoint(46,89.77999878,35.12678528); graph3->SetPoint(47,89.81999969,33.17548752); graph3->SetPoint(48,89.86000061,31.27321053); graph3->SetPoint(49,89.90000153,29.42073631); graph3->SetPoint(50,89.94000244,27.61883545); graph3->SetPoint(51,89.98000336,25.86825943); graph3->SetPoint(52,90.01999664,24.16974449); graph3->SetPoint(53,90.05999756,22.52401161); graph3->SetPoint(54,90.09999847,20.9317627); graph3->SetPoint(55,90.13999939,19.39367294); graph3->SetPoint(56,90.18000031,17.91040421); graph3->SetPoint(57,90.22000122,16.48259354); graph3->SetPoint(58,90.26000214,15.1108532); graph3->SetPoint(59,90.30000305,13.79577255); graph3->SetPoint(60,90.33999634,12.53791523); graph3->SetPoint(61,90.37999725,11.33781815); graph3->SetPoint(62,90.41999817,10.19599247); graph3->SetPoint(63,90.41999817,10.19599247); graph3->SetPoint(64,90.45999908,9.112918854); graph3->SetPoint(65,90.5,8.089050293); graph3->SetPoint(66,90.54000092,7.124809742); graph3->SetPoint(67,90.58000183,6.220586777); graph3->SetPoint(68,90.62000275,5.376740932); graph3->SetPoint(69,90.66000366,4.593597889); graph3->SetPoint(70,90.69999695,3.871450424); graph3->SetPoint(71,90.73999786,3.210555792); graph3->SetPoint(72,90.77999878,2.611136436); graph3->SetPoint(73,90.81999969,2.073378563); graph3->SetPoint(74,90.86000061,1.597431421); graph3->SetPoint(75,90.90000153,1.183406949); graph3->SetPoint(76,90.94000244,0.8313789964); graph3->SetPoint(77,90.98000336,0.5413833261); graph3->SetPoint(78,91.01999664,0.3134166598); graph3->SetPoint(79,91.05999756,0.1474360079); graph3->SetPoint(80,91.09999847,0.04335928336); graph3->SetPoint(81,91.13999939,0.001064706827); graph3->SetPoint(82,91.14743805,0); graph3->SetPoint(83,91.14743805,0); graph3->SetPoint(84,91.14743805,0); graph3->SetPoint(85,91.14743805,0); graph3->SetPoint(86,91.14743805,0); graph3->SetPoint(87,91.14743805,0); graph3->SetPoint(88,91.14743805,0); graph3->SetPoint(89,91.30000305,0.4458756745); graph3->SetPoint(90,91.33999634,0.7092721462); graph3->SetPoint(91,91.37999725,1.032887816); graph3->SetPoint(92,91.41999817,1.416327119); graph3->SetPoint(93,91.45999908,1.859157085); graph3->SetPoint(94,91.5,2.360908747); graph3->SetPoint(95,91.54000092,2.921078444); graph3->SetPoint(96,91.58000183,3.539128542); graph3->SetPoint(97,91.62000275,4.214489937); graph3->SetPoint(98,91.66000366,4.946561337); graph3->SetPoint(99,91.69999695,5.734714508); graph3->SetPoint(100,91.73999786,6.578292847); graph3->SetPoint(101,91.77999878,7.476614475); graph3->SetPoint(102,91.81999969,8.428975105); graph3->SetPoint(103,91.86000061,9.434648514); graph3->SetPoint(104,91.90000153,10.49289227); graph3->SetPoint(105,91.94000244,11.60294342); graph3->SetPoint(106,91.98000336,12.76402855); graph3->SetPoint(107,92.01999664,13.97536087); graph3->SetPoint(108,92.01999664,13.97536087); graph3->SetPoint(109,92.05999756,15.23614311); graph3->SetPoint(110,92.09999847,16.54557228); graph3->SetPoint(111,92.13999939,17.90283775); graph3->SetPoint(112,92.18000031,19.30713081); graph3->SetPoint(113,92.22000122,20.75763512); graph3->SetPoint(114,92.26000214,22.25354004); graph3->SetPoint(115,92.30000305,23.79403305); graph3->SetPoint(116,92.33999634,25.37830734); graph3->SetPoint(117,92.37999725,27.00556183); graph3->SetPoint(118,92.41999817,28.67499733); graph3->SetPoint(119,92.45999908,30.38582802); graph3->SetPoint(120,92.5,32.13726807); graph3->SetPoint(121,92.54000092,33.92854309); graph3->SetPoint(122,92.58000183,35.75888824); graph3->SetPoint(123,92.62000275,37.6275444); graph3->SetPoint(124,92.66000366,39.53376007); graph3->SetPoint(125,92.69999695,41.47679138); graph3->SetPoint(126,92.73999786,43.45590591); graph3->SetPoint(127,92.77999878,45.47037888); graph3->SetPoint(128,92.81999969,47.51948166); graph3->SetPoint(129,92.81999969,47.51948166); graph3->SetPoint(130,92.86000061,49.60250854); graph3->SetPoint(131,92.90000153,51.71874619); graph3->SetPoint(132,92.94000244,53.86748886); graph3->SetPoint(133,92.98000336,56.04804611); graph3->SetPoint(134,93.01999664,58.25971603); graph3->SetPoint(135,93.05999756,60.50180817); graph3->SetPoint(136,93.09999847,62.77363968); graph3->SetPoint(137,93.13999939,65.07452393); graph3->SetPoint(138,93.18000031,67.40378571); graph3->SetPoint(139,93.22000122,69.76073456); graph3->SetPoint(140,93.26000214,72.14469147); graph3->SetPoint(141,93.30000305,74.55499268); graph3->SetPoint(142,93.33999634,76.99095917); graph3->SetPoint(143,93.37999725,79.45191956); graph3->SetPoint(144,93.41999817,81.93720245); graph3->SetPoint(145,93.45999908,84.4461441); graph3->SetPoint(146,93.5,86.97807312); graph3->SetPoint(147,93.54000092,89.53233337); graph3->SetPoint(148,93.58000183,92.10826874); graph3->SetPoint(149,93.62000275,94.70523071); graph3->SetPoint(150,93.62000275,94.70523071); graph3->SetPoint(151,93.66000366,97.32256317); graph3->SetPoint(152,93.69999695,99.95962524); graph3->SetPoint(153,93.73999786,102.6157837); graph3->SetPoint(154,93.77999878,105.2904053); graph3->SetPoint(155,93.81999969,107.982872); graph3->SetPoint(156,93.86000061,110.6925735); graph3->SetPoint(157,93.90000153,113.4188995); graph3->SetPoint(158,93.94000244,116.1612625); graph3->SetPoint(159,93.98000336,118.9190826); graph3->SetPoint(160,94.01999664,121.6917801); graph3->SetPoint(161,94.05999756,124.4788055); graph3->SetPoint(162,94.09999847,127.2796173); graph3->SetPoint(163,94.13999939,130.0936737); graph3->SetPoint(164,94.18000031,132.9204712); graph3->SetPoint(165,94.22000122,135.7595062); graph3->SetPoint(166,94.26000214,138.6103058); graph3->SetPoint(167,94.30000305,141.4723816); graph3->SetPoint(168,94.33999634,144.3453064); graph3->SetPoint(169,94.37999725,147.2286224); graph3->SetPoint(170,94.41999817,150.121933); graph3->SetPoint(171,94.41999817,150.121933); graph3->SetPoint(172,94.45999908,153.0248108); graph3->SetPoint(173,94.5,155.9368896); graph3->SetPoint(174,94.54000092,158.8578033); graph3->SetPoint(175,94.58000183,161.7871857); graph3->SetPoint(176,94.62000275,164.7247162); graph3->SetPoint(177,94.66000366,167.6700592); graph3->SetPoint(178,94.69999695,170.6229095); graph3->SetPoint(179,94.73999786,173.5829926); graph3->SetPoint(180,94.77999878,176.5500183); graph3->SetPoint(181,94.81999969,179.5243683); graph3->SetPoint(182,94.86000061,182.5137939); graph3->SetPoint(183,94.90000153,185.5203857); graph3->SetPoint(184,94.94000244,188.5437469); graph3->SetPoint(185,94.98000336,191.5835266); graph3->SetPoint(186,95.01999664,194.6393738); graph3->SetPoint(187,95.05999756,197.7109222); graph3->SetPoint(188,95.09999847,200.797821); graph3->SetPoint(189,95.13999939,203.899704); graph3->SetPoint(190,95.18000031,207.0162354); graph3->SetPoint(191,95.22000122,210.1470642); graph3->SetPoint(192,95.22000122,210.1470642); graph3->SetPoint(193,95.26000214,213.2918396); graph3->SetPoint(194,95.30000305,216.4502106); graph3->SetPoint(195,95.33999634,219.6218414); graph3->SetPoint(196,95.37999725,222.8063965); graph3->SetPoint(197,95.41999817,226.00354); graph3->SetPoint(198,95.45999908,229.2129364); graph3->SetPoint(199,95.5,232.4342499); graph3->SetPoint(200,95.54000092,235.66716); graph3->SetPoint(201,95.58000183,238.9113312); graph3->SetPoint(202,95.62000275,242.1664581); graph3->SetPoint(203,95.66000366,245.4322052); graph3->SetPoint(204,95.69999695,248.708252); graph3->SetPoint(205,95.73999786,251.9943085); graph3->SetPoint(206,95.77999878,255.2900238); graph3->SetPoint(207,95.81999969,258.5951233); graph3->SetPoint(208,95.86000061,261.9092712); graph3->SetPoint(209,95.90000153,265.2321777); graph3->SetPoint(210,95.94000244,268.5635376); graph3->SetPoint(211,95.98000336,271.9030457); TH1F *Graph_Graph1 = new TH1F("Graph_Graph1","Graph",212,84.03,95.97); Graph_Graph1->SetMinimum(0); Graph_Graph1->SetMaximum(57.47094); Graph_Graph1->SetDirectory(0); Graph_Graph1->SetStats(0); Graph_Graph1->SetLineStyle(0); Graph_Graph1->SetMarkerStyle(20); Graph_Graph1->GetXaxis()->SetLabelFont(42); Graph_Graph1->GetXaxis()->SetLabelOffset(0.01); Graph_Graph1->GetXaxis()->SetLabelSize(0.045); Graph_Graph1->GetXaxis()->SetTitleSize(0.055); Graph_Graph1->GetXaxis()->SetTitleOffset(0.9); Graph_Graph1->GetXaxis()->SetTitleFont(42); Graph_Graph1->GetYaxis()->SetLabelFont(42); Graph_Graph1->GetYaxis()->SetLabelOffset(0.01); Graph_Graph1->GetYaxis()->SetLabelSize(0.045); Graph_Graph1->GetYaxis()->SetTitleSize(0.055); Graph_Graph1->GetYaxis()->SetTitleOffset(1.25); Graph_Graph1->GetYaxis()->SetTitleFont(42); Graph_Graph1->GetZaxis()->SetLabelFont(42); Graph_Graph1->GetZaxis()->SetLabelOffset(0.01); Graph_Graph1->GetZaxis()->SetLabelSize(0.045); Graph_Graph1->GetZaxis()->SetTitleSize(0.055); Graph_Graph1->GetZaxis()->SetTitleFont(42); Graph_Graph1->GetXaxis()->SetNdivisions(510); graph->SetHistogram(Graph_Graph1); graph->Draw("cx"); graph1->Draw("cx"); graph2->Draw("cx"); graph3->Draw("cx"); TPaveText *pt = new TPaveText(0.1577181,0.95,0.9580537,0.99,"brNDC"); pt->SetBorderSize(0); pt->SetFillStyle(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.03); TText *text = pt->AddText(0.01,0.5,"CMS Preliminary"); text = pt->AddText(0.3,0.6,"#sqrt{s} = 7 TeV, L = 5.1 fb^{-1} #sqrt{s} = 8 TeV, L = 19.7 fb^{-1}"); pt->Draw(); TLegend *leg = new TLegend(0.73,0.77,0.94,0.94); leg->SetTextSize(0.035); leg->SetTextFont(42); leg->SetFillColor(kWhite); //leg->SetBorderSize(0); //leg->SetFillStyle(0); leg->AddEntry(graph3,"Combined","L"); leg->AddEntry(graph,"Z#rightarrow 4e","L"); leg->AddEntry(graph2,"Z#rightarrow 4#mu","L"); leg->AddEntry(graph1,"Z#rightarrow 2e2#mu","L"); double yLow = 0.5; pt = new TPaveText(0.11,yLow,0.4,yLow+0.04,"brNDC"); pt->SetBorderSize(0); pt->SetFillStyle(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.03); pt->SetTextColor(kBlue); text = pt->AddText(0.2,0.2,"m_{2e2#mu} = 91.24 #pm 0.46 GeV"); //text = pt->AddText(0.2,0.2,"m_{2e2#mu} = 91.24 #pm 0.40 #pm 0.16 GeV"); //stat 91.4315 +0.405948-0.397679 cout << "Syst 2e2mu: " << findSystErr(0.43,0.40) << endl; //pt->Draw(); pt = new TPaveText(0.11,yLow+0.06,0.4,yLow+0.1,"brNDC"); pt->SetBorderSize(0); pt->SetFillStyle(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.03); pt->SetTextColor(kRed); text = pt->AddText(0.2,0.2,"m_{4#mu} = 91.00 #pm 0.26 GeV"); //text = pt->AddText(0.2,0.2,"m_{4#mu} = 91.00 #pm 0.25 #pm 0.09 GeV"); //stat 91.0078 +0.255715-0.25533 cout << "Syst 4mu: " << findSystErr(0.27,0.255) << endl; //pt->Draw(); pt = new TPaveText(0.11,yLow+0.12,0.4,yLow+0.16,"brNDC"); pt->SetBorderSize(0); pt->SetFillStyle(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.03); pt->SetTextColor(kGreen+1); text = pt->AddText(0.2,0.2,"m_{4e} = 93.67 #pm 1.08 GeV"); //text = pt->AddText(0.2,0.2,"m_{4e} = 9 #pm 0.74 #pm 0.30 GeV"); //stat 91.8026 +0.745333-0.740755 cout << "Syst 4e: " << findSystErr(0.8,0.74) << endl; //pt->Draw(); pt = new TPaveText(0.11,yLow+0.18,0.4,yLow+0.22,"brNDC"); pt->SetBorderSize(0); pt->SetFillStyle(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.03); text = pt->AddText(0.2,0.2,"m_{4l} = 91.15 #pm 0.23 GeV"); //text = pt->AddText(0.2,0.2,"m_{4l} = 91.17 #pm 0.18 #pm 0.13 GeV"); //stat 91.1724 +0.168014-0.204439 cout << "Syst 4l: " << findSystErr(0.22,0.18) << endl; //pt->Draw(); pt = new TPaveText(0.18,yLow+0.24,0.4,yLow+0.28,"brNDC"); pt->SetBorderSize(0); pt->SetFillStyle(0); pt->SetTextAlign(12); pt->SetTextFont(42); pt->SetTextSize(0.035); text = pt->AddText(0.2,0.2,"#chi^{2}/ndof = 1.38/3"); //pt->Draw(); gPad->SetTicks(1,1); TLine *line95 = new TLine(88,3.84,96,3.84); line95->SetLineColor(kRed); line95->SetLineWidth(2); line95->Draw(); TLine *line68 = new TLine(88,1,96,1); line68->SetLineColor(kRed); line68->SetLineWidth(3); line68->Draw(); TLine *lineZ = new TLine(91.1876,0,91.1876,10); lineZ->SetLineColor(kGray+2); lineZ->SetLineStyle(7); lineZ->Draw(); leg->Draw(); hframe->GetXaxis()->SetRangeUser(88,96); ccc->Modified(); ccc->cd(); ccc->SetSelected(ccc); ccc->SaveAs("massZ4lScan_MZ2gt4_Legacy_split.eps"); ccc->SaveAs("massZ4lScan_MZ2gt4_Legacy_split.png"); }
void multiHistoDraw(const char *file, const char *histname1, const char *desc1, const char *histname2, const char *desc2, const char *histtitle, const char *xtitle, const char *ytitle, const char *outfile, const char *histname3 = "none", const char *desc3 = "none", const char *histname4 = "none", const char *desc4 = "none", const char *sbox = "True"){ Int_t ci; // for color index setting TColor *color; // for color definition with alpha Int_t line1 = 1; Int_t fill1 = 18; Int_t line2 = 2; Int_t fill2 = 0; Int_t line3 = 4; Int_t fill3 = 0; Int_t line4 = 32; Int_t fill4 = 0; bool drawSBox = true; if(strcmp(sbox,"True")){ gStyle->SetOptStat(0); drawSBox = false; } int filenum = 2; if(strcmp(histname3,"none")&&strcmp(desc3,"none")){ filenum = 3; } if(strcmp(histname4,"none")&&strcmp(desc4,"none")){ filenum = 4; } TCanvas *c = new TCanvas(); c->SetLogy(); c->SetGridx(); c->SetGridy(); TFile *f1 = new TFile(file); if(f1->IsZombie()){ cout << "Root file: " << file << " not found!" << endl; return; } TH1F *h1 = (TH1F*)f1->Get(histname1); TH1F *h2 = (TH1F*)f1->Get(histname2); TH1F *h3; TH1F *h4; if(filenum >= 3){ h3 = (TH1F*)f1->Get(histname3); } if(filenum >= 4){ h4 = (TH1F*)f1->Get(histname4); } int start1 = h1->FindFirstBinAbove(0.00005); int start2 = h2->FindFirstBinAbove(0.00005); int start3; int start4; int startplot = (start1 < start2 ? start1 : start2); if(filenum >= 3){ start3 = h3->FindFirstBinAbove(0.00005); startplot = (startplot < start3 ? startplot : start3); } if(filenum >= 4){ start4 = h4->FindFirstBinAbove(0.00005); startplot = (startplot < start4 ? startplot : start4); } int end1 = h1->FindLastBinAbove(0.00005); int end2 = h2->FindLastBinAbove(0.00005); int end3; int end4; int endplot = (end1 > end2 ? end1 : end2); if(filenum >= 3){ end3 = h3->FindLastBinAbove(0.00005); endplot = (endplot > end3 ? endplot : end3); } if(filenum >= 4){ end4 = h4->FindFirstBinAbove(0.00005); endplot = (endplot > end4 ? endplot : end4); } int plotspace = (endplot - startplot) / 4; //cout << "Start Bin: " << startplot << " End Bin : " << endplot << endl; startplot = (startplot - plotspace > 0 ? startplot - plotspace : 1); endplot = endplot + plotspace; //cout << "Start Bin: " << startplot << " End Bin : " << endplot << endl; float yrange; if(h1->GetBinContent(h1->GetMaximumBin()) > h2->GetBinContent(h2->GetMaximumBin())){ yrange = h1->GetBinContent(h1->GetMaximumBin()); }else{ yrange = h2->GetBinContent(h2->GetMaximumBin()); } if(filenum >= 3) yrange = (yrange > h3->GetBinContent(h3->GetMaximumBin()) ? yrange : h3->GetBinContent(h3->GetMaximumBin())); if(filenum >= 4) yrange = (yrange > h4->GetBinContent(h4->GetMaximumBin()) ? yrange : h4->GetBinContent(h4->GetMaximumBin())); //Start Drawing h1->SetName(desc1); h1->SetTitle(histtitle); h1->SetMaximum(yrange*1.3); ci = TColor::GetColor("#ccccff"); h1->SetFillColor(fill1); ci = TColor::GetColor("#000099"); h1->SetLineColor(line1); h1->SetLineWidth(2); h1->GetXaxis()->SetTitle(xtitle); h1->GetXaxis()->SetLabelFont(42); h1->GetXaxis()->SetLabelSize(0.035); h1->GetXaxis()->SetTitleSize(0.045); h1->GetXaxis()->SetTitleFont(42); h1->GetYaxis()->SetTitle(ytitle); h1->GetYaxis()->SetLabelFont(42); h1->GetYaxis()->SetLabelSize(0.035); h1->GetYaxis()->SetTitleSize(0.045); h1->GetYaxis()->SetTitleFont(42); h1->GetXaxis()->SetRange(startplot,endplot); h1->GetZaxis()->SetLabelFont(42); h1->GetZaxis()->SetLabelSize(0.035); h1->GetZaxis()->SetTitleSize(0.035); h1->GetZaxis()->SetTitleFont(42); h1->Draw(""); TPaveStats *st1; TPaveStats *st2; TPaveStats *st3; TPaveStats *st4; gPad->Update(); if(drawSBox){ st1 = (TPaveStats*)h1->FindObject("stats"); if(!st1){ cout << "Failed to load statbox!" << endl; return; } } float y1 = st1->GetY1NDC(); float y2 = st1->GetY2NDC(); float stHeight = y2 - y1; float stSpacing = stHeight / 6; h2->SetName(desc2); ci = TColor::GetColor("#ffcccc"); h2->SetFillColor(fill2); h2->SetFillStyle(3001); h2->SetLineColor(line2); h2->SetLineWidth(3); h2->GetXaxis()->SetLabelFont(42); h2->GetXaxis()->SetLabelSize(0.035); h2->GetXaxis()->SetTitleSize(0.035); h2->GetXaxis()->SetTitleFont(42); h2->GetYaxis()->SetLabelFont(42); h2->GetYaxis()->SetLabelSize(0.035); h2->GetYaxis()->SetTitleSize(0.035); h2->GetYaxis()->SetTitleFont(42); h2->GetZaxis()->SetLabelFont(42); h2->GetZaxis()->SetLabelSize(0.035); h2->GetZaxis()->SetTitleSize(0.035); h2->GetZaxis()->SetTitleFont(42); h2->Draw("sames"); gPad->Update(); if(drawSBox){ st2 = (TPaveStats*)h2->FindObject("stats"); st2->SetY1NDC(y1-stSpacing-stHeight); st2->SetY2NDC(y1-stSpacing); st3; st4; } if(filenum >= 3){ if(drawSBox){ y1 = st2->GetY1NDC(); y2 = st2->GetY2NDC(); } stHeight = y2 - y1; stSpacing = stHeight / 6; h3->SetName(desc3); ci = TColor::GetColor("#ffcccc"); h3->SetFillColor(fill3); h3->SetFillStyle(3001); h3->SetLineColor(line3); h3->SetLineWidth(2); h3->GetXaxis()->SetLabelFont(42); h3->GetXaxis()->SetLabelSize(0.035); h3->GetXaxis()->SetTitleSize(0.035); h3->GetXaxis()->SetTitleFont(42); h3->GetYaxis()->SetLabelFont(42); h3->GetYaxis()->SetLabelSize(0.035); h3->GetYaxis()->SetTitleSize(0.035); h3->GetYaxis()->SetTitleFont(42); h3->GetZaxis()->SetLabelFont(42); h3->GetZaxis()->SetLabelSize(0.035); h3->GetZaxis()->SetTitleSize(0.035); h3->GetZaxis()->SetTitleFont(42); h3->Draw("sames"); gPad->Update(); if(drawSBox){ st3 = (TPaveStats*)h3->FindObject("stats"); st3->SetY1NDC(y1-stSpacing-stHeight); st3->SetY2NDC(y1-stSpacing); } } if(filenum >= 4){ if(drawSBox){ y1 = st3->GetY1NDC(); y2 = st3->GetY2NDC(); stHeight = y2 - y1; stSpacing = stHeight / 6; } h4->SetName(desc4); ci = TColor::GetColor("#ffcccc"); h4->SetFillColor(fill4); h4->SetFillStyle(3001); h4->SetLineColor(line4); h4->SetLineWidth(2); h4->GetXaxis()->SetLabelFont(42); h4->GetXaxis()->SetLabelSize(0.035); h4->GetXaxis()->SetTitleSize(0.035); h4->GetXaxis()->SetTitleFont(42); h4->GetYaxis()->SetLabelFont(42); h4->GetYaxis()->SetLabelSize(0.035); h4->GetYaxis()->SetTitleSize(0.035); h4->GetYaxis()->SetTitleFont(42); h4->GetZaxis()->SetLabelFont(42); h4->GetZaxis()->SetLabelSize(0.035); h4->GetZaxis()->SetTitleSize(0.035); h4->GetZaxis()->SetTitleFont(42); h4->Draw("sames"); gPad->Update(); if(drawSBox){ st4 = (TPaveStats*)h4->FindObject("stats"); st4->SetY1NDC(y1-stSpacing-stHeight); st4->SetY2NDC(y1-stSpacing); } } TLegend *leg = new TLegend(0.3913858,0.6656347,0.7696629,0.876161,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); //TLegendEntry *entry=leg->AddEntry("NULL","Datasets","h"); //entry->SetLineColor(1); //entry->SetLineStyle(1); //entry->SetLineWidth(1); //entry->SetMarkerColor(1); //entry->SetMarkerStyle(21); //entry->SetMarkerSize(1); //entry->SetTextFont(42); TLegendEntry *entry=leg->AddEntry(desc1,desc1,"lpf"); ci = TColor::GetColor("#ccccff"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#000099"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(1); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry(desc2,desc2,"lpf"); ci = TColor::GetColor("#ffcccc"); entry->SetFillColor(ci); entry->SetFillStyle(3001); entry->SetLineColor(2); entry->SetLineStyle(2); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(1); entry->SetMarkerSize(1); entry->SetTextFont(42); if(filenum >= 3){ entry=leg->AddEntry(desc3,desc3,"lpf"); ci = TColor::GetColor("#ffcccc"); entry->SetFillColor(ci); entry->SetFillStyle(3001); entry->SetLineColor(2); entry->SetLineStyle(2); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(1); entry->SetMarkerSize(1); entry->SetTextFont(42); } if(filenum >=4){ entry=leg->AddEntry(desc4,desc4,"lpf"); ci = TColor::GetColor("#ffcccc"); entry->SetFillColor(ci); entry->SetFillStyle(3001); entry->SetLineColor(2); entry->SetLineStyle(2); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(1); entry->SetMarkerSize(1); entry->SetTextFont(42); } leg->Draw(); c->Modified(); c->cd(); c->SetSelected(c); TImage *img = TImage::Create(); img->FromPad(c); img->WriteImage(outfile); }
void initial_z_diff() { //=========Macro generated from canvas: c/ //========= (Fri Jul 24 10:47:18 2015) by ROOT version6.04/00 TCanvas *c = new TCanvas("c", "",0,45,600,500); c->SetHighLightColor(2); c->Range(-187.5,-3568.557,187.5,32117.01); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *hist__1 = new TH1D("hist__1","Difference in PMT-constructed position and mc-truth start position",100,-150,150); hist__1->SetBinContent(0,49); hist__1->SetBinContent(1,12); hist__1->SetBinContent(2,7); hist__1->SetBinContent(3,9); hist__1->SetBinContent(4,12); hist__1->SetBinContent(5,21); hist__1->SetBinContent(6,30); hist__1->SetBinContent(7,36); hist__1->SetBinContent(8,47); hist__1->SetBinContent(9,67); hist__1->SetBinContent(10,70); hist__1->SetBinContent(11,90); hist__1->SetBinContent(12,140); hist__1->SetBinContent(13,162); hist__1->SetBinContent(14,208); hist__1->SetBinContent(15,208); hist__1->SetBinContent(16,317); hist__1->SetBinContent(17,367); hist__1->SetBinContent(18,460); hist__1->SetBinContent(19,581); hist__1->SetBinContent(20,685); hist__1->SetBinContent(21,838); hist__1->SetBinContent(22,963); hist__1->SetBinContent(23,1079); hist__1->SetBinContent(24,1231); hist__1->SetBinContent(25,1281); hist__1->SetBinContent(26,1264); hist__1->SetBinContent(27,1318); hist__1->SetBinContent(28,1318); hist__1->SetBinContent(29,1265); hist__1->SetBinContent(30,1282); hist__1->SetBinContent(31,1235); hist__1->SetBinContent(32,1315); hist__1->SetBinContent(33,1290); hist__1->SetBinContent(34,1399); hist__1->SetBinContent(35,1363); hist__1->SetBinContent(36,1528); hist__1->SetBinContent(37,1700); hist__1->SetBinContent(38,1822); hist__1->SetBinContent(39,2053); hist__1->SetBinContent(40,2441); hist__1->SetBinContent(41,2903); hist__1->SetBinContent(42,3359); hist__1->SetBinContent(43,4326); hist__1->SetBinContent(44,5618); hist__1->SetBinContent(45,7284); hist__1->SetBinContent(46,9575); hist__1->SetBinContent(47,12857); hist__1->SetBinContent(48,16804); hist__1->SetBinContent(49,21562); hist__1->SetBinContent(50,27189); hist__1->SetBinContent(51,26947); hist__1->SetBinContent(52,21828); hist__1->SetBinContent(53,17254); hist__1->SetBinContent(54,13388); hist__1->SetBinContent(55,10171); hist__1->SetBinContent(56,7452); hist__1->SetBinContent(57,5752); hist__1->SetBinContent(58,4452); hist__1->SetBinContent(59,3522); hist__1->SetBinContent(60,2826); hist__1->SetBinContent(61,2449); hist__1->SetBinContent(62,2170); hist__1->SetBinContent(63,1855); hist__1->SetBinContent(64,1635); hist__1->SetBinContent(65,1515); hist__1->SetBinContent(66,1393); hist__1->SetBinContent(67,1344); hist__1->SetBinContent(68,1279); hist__1->SetBinContent(69,1232); hist__1->SetBinContent(70,1248); hist__1->SetBinContent(71,1277); hist__1->SetBinContent(72,1226); hist__1->SetBinContent(73,1247); hist__1->SetBinContent(74,1229); hist__1->SetBinContent(75,1187); hist__1->SetBinContent(76,1265); hist__1->SetBinContent(77,1253); hist__1->SetBinContent(78,1269); hist__1->SetBinContent(79,1210); hist__1->SetBinContent(80,1055); hist__1->SetBinContent(81,914); hist__1->SetBinContent(82,761); hist__1->SetBinContent(83,632); hist__1->SetBinContent(84,515); hist__1->SetBinContent(85,450); hist__1->SetBinContent(86,356); hist__1->SetBinContent(87,264); hist__1->SetBinContent(88,227); hist__1->SetBinContent(89,176); hist__1->SetBinContent(90,127); hist__1->SetBinContent(91,134); hist__1->SetBinContent(92,85); hist__1->SetBinContent(93,60); hist__1->SetBinContent(94,47); hist__1->SetBinContent(95,29); hist__1->SetBinContent(96,31); hist__1->SetBinContent(97,18); hist__1->SetBinContent(98,14); hist__1->SetBinContent(99,12); hist__1->SetBinContent(100,12); hist__1->SetBinContent(101,63); hist__1->SetEntries(289897); TPaveStats *ptstats = new TPaveStats(0.78,0.775,0.98,0.935,"brNDC"); ptstats->SetName("stats"); ptstats->SetBorderSize(1); ptstats->SetFillColor(0); ptstats->SetTextAlign(12); ptstats->SetTextFont(42); TText *AText = ptstats->AddText("hist"); AText->SetTextSize(0.0368); AText = ptstats->AddText("Entries = 289897 "); AText = ptstats->AddText("Mean = 0.6888"); AText = ptstats->AddText("Std Dev = 33.12"); ptstats->SetOptStat(1111); ptstats->SetOptFit(0); ptstats->Draw(); hist__1->GetListOfFunctions()->Add(ptstats); ptstats->SetParent(hist__1); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#000099"); hist__1->SetLineColor(ci); hist__1->GetXaxis()->SetTitle("#DeltaZ [cm]"); hist__1->GetXaxis()->SetLabelFont(42); hist__1->GetXaxis()->SetLabelSize(0.035); hist__1->GetXaxis()->SetTitleSize(0.035); hist__1->GetXaxis()->SetTitleFont(42); hist__1->GetYaxis()->SetLabelFont(42); hist__1->GetYaxis()->SetLabelSize(0.035); hist__1->GetYaxis()->SetTitleSize(0.035); hist__1->GetYaxis()->SetTitleFont(42); hist__1->GetZaxis()->SetLabelFont(42); hist__1->GetZaxis()->SetLabelSize(0.035); hist__1->GetZaxis()->SetTitleSize(0.035); hist__1->GetZaxis()->SetTitleFont(42); hist__1->Draw(""); TPaveText *pt = new TPaveText(0.15,0.9368947,0.85,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText("Difference in PMT-constructed position and mc-truth start position"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }
void DarkSusy_mH_125_mGammaD_2000_cT_100_LHE_muon_eta() { //=========Macro generated from canvas: cnv/cnv //========= (Sun May 24 15:18:27 2015) by ROOT version6.02/05 TCanvas *cnv = new TCanvas("cnv", "cnv",1,1,904,904); gStyle->SetOptFit(1); gStyle->SetOptStat(0); gStyle->SetOptTitle(0); cnv->SetHighLightColor(2); cnv->Range(-7.125,-0.006771967,5.375,0.04532009); cnv->SetFillColor(0); cnv->SetBorderMode(0); cnv->SetBorderSize(2); cnv->SetTickx(1); cnv->SetTicky(1); cnv->SetLeftMargin(0.17); cnv->SetRightMargin(0.03); cnv->SetTopMargin(0.07); cnv->SetBottomMargin(0.13); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); cnv->SetFrameFillStyle(0); cnv->SetFrameBorderMode(0); TH1F *h_muon_eta_dummy108 = new TH1F("h_muon_eta_dummy108","h_muon_eta_dummy",100,-5,5); h_muon_eta_dummy108->SetMaximum(0.04167365); h_muon_eta_dummy108->SetLineStyle(0); h_muon_eta_dummy108->SetMarkerStyle(20); h_muon_eta_dummy108->GetXaxis()->SetTitle("#eta of #mu"); h_muon_eta_dummy108->GetXaxis()->SetLabelFont(42); h_muon_eta_dummy108->GetXaxis()->SetLabelOffset(0.007); h_muon_eta_dummy108->GetXaxis()->SetTitleSize(0.06); h_muon_eta_dummy108->GetXaxis()->SetTitleOffset(0.95); h_muon_eta_dummy108->GetXaxis()->SetTitleFont(42); h_muon_eta_dummy108->GetYaxis()->SetTitle("Fraction of events / 0.1"); h_muon_eta_dummy108->GetYaxis()->SetNdivisions(508); h_muon_eta_dummy108->GetYaxis()->SetLabelFont(42); h_muon_eta_dummy108->GetYaxis()->SetLabelOffset(0.007); h_muon_eta_dummy108->GetYaxis()->SetTitleSize(0.06); h_muon_eta_dummy108->GetYaxis()->SetTitleOffset(1.35); h_muon_eta_dummy108->GetYaxis()->SetTitleFont(42); h_muon_eta_dummy108->GetZaxis()->SetLabelFont(42); h_muon_eta_dummy108->GetZaxis()->SetLabelOffset(0.007); h_muon_eta_dummy108->GetZaxis()->SetTitleSize(0.06); h_muon_eta_dummy108->GetZaxis()->SetTitleFont(42); h_muon_eta_dummy108->Draw(""); TH1F *h_muon_eta_0109 = new TH1F("h_muon_eta_0109","h_muon_eta_0",100,-5,5); h_muon_eta_0109->SetBinContent(0,5.000438e-05); h_muon_eta_0109->SetBinContent(1,2.500219e-05); h_muon_eta_0109->SetBinContent(2,7.500657e-05); h_muon_eta_0109->SetBinContent(3,6.250547e-05); h_muon_eta_0109->SetBinContent(4,8.750766e-05); h_muon_eta_0109->SetBinContent(5,0.0001875164); h_muon_eta_0109->SetBinContent(6,0.0003125274); h_muon_eta_0109->SetBinContent(7,0.0003000263); h_muon_eta_0109->SetBinContent(8,0.0004375383); h_muon_eta_0109->SetBinContent(9,0.0004875427); h_muon_eta_0109->SetBinContent(10,0.0006500569); h_muon_eta_0109->SetBinContent(11,0.0009500831); h_muon_eta_0109->SetBinContent(12,0.001087595); h_muon_eta_0109->SetBinContent(13,0.001575138); h_muon_eta_0109->SetBinContent(14,0.001737652); h_muon_eta_0109->SetBinContent(15,0.002112685); h_muon_eta_0109->SetBinContent(16,0.002475217); h_muon_eta_0109->SetBinContent(17,0.002987762); h_muon_eta_0109->SetBinContent(18,0.003650319); h_muon_eta_0109->SetBinContent(19,0.003962847); h_muon_eta_0109->SetBinContent(20,0.004850424); h_muon_eta_0109->SetBinContent(21,0.005525483); h_muon_eta_0109->SetBinContent(22,0.006188042); h_muon_eta_0109->SetBinContent(23,0.00731314); h_muon_eta_0109->SetBinContent(24,0.007613166); h_muon_eta_0109->SetBinContent(25,0.007838186); h_muon_eta_0109->SetBinContent(26,0.008813271); h_muon_eta_0109->SetBinContent(27,0.01046342); h_muon_eta_0109->SetBinContent(28,0.01128849); h_muon_eta_0109->SetBinContent(29,0.01118848); h_muon_eta_0109->SetBinContent(30,0.01295113); h_muon_eta_0109->SetBinContent(31,0.01315115); h_muon_eta_0109->SetBinContent(32,0.01377621); h_muon_eta_0109->SetBinContent(33,0.01478879); h_muon_eta_0109->SetBinContent(34,0.01515133); h_muon_eta_0109->SetBinContent(35,0.01686398); h_muon_eta_0109->SetBinContent(36,0.01761404); h_muon_eta_0109->SetBinContent(37,0.01693898); h_muon_eta_0109->SetBinContent(38,0.01801408); h_muon_eta_0109->SetBinContent(39,0.0183266); h_muon_eta_0109->SetBinContent(40,0.0194017); h_muon_eta_0109->SetBinContent(41,0.02008926); h_muon_eta_0109->SetBinContent(42,0.02018927); h_muon_eta_0109->SetBinContent(43,0.02188941); h_muon_eta_0109->SetBinContent(44,0.02117685); h_muon_eta_0109->SetBinContent(45,0.02232695); h_muon_eta_0109->SetBinContent(46,0.02231445); h_muon_eta_0109->SetBinContent(47,0.02263948); h_muon_eta_0109->SetBinContent(48,0.02142688); h_muon_eta_0109->SetBinContent(49,0.02315203); h_muon_eta_0109->SetBinContent(50,0.02206443); h_muon_eta_0109->SetBinContent(51,0.02230195); h_muon_eta_0109->SetBinContent(52,0.02196442); h_muon_eta_0109->SetBinContent(53,0.02233945); h_muon_eta_0109->SetBinContent(54,0.02152688); h_muon_eta_0109->SetBinContent(55,0.02253947); h_muon_eta_0109->SetBinContent(56,0.02201443); h_muon_eta_0109->SetBinContent(57,0.02143938); h_muon_eta_0109->SetBinContent(58,0.0217144); h_muon_eta_0109->SetBinContent(59,0.01977673); h_muon_eta_0109->SetBinContent(60,0.01966422); h_muon_eta_0109->SetBinContent(61,0.0194892); h_muon_eta_0109->SetBinContent(62,0.01986424); h_muon_eta_0109->SetBinContent(63,0.01801408); h_muon_eta_0109->SetBinContent(64,0.01751403); h_muon_eta_0109->SetBinContent(65,0.01721401); h_muon_eta_0109->SetBinContent(66,0.01708899); h_muon_eta_0109->SetBinContent(67,0.01633893); h_muon_eta_0109->SetBinContent(68,0.01465128); h_muon_eta_0109->SetBinContent(69,0.01443876); h_muon_eta_0109->SetBinContent(70,0.01385121); h_muon_eta_0109->SetBinContent(71,0.01276362); h_muon_eta_0109->SetBinContent(72,0.01178853); h_muon_eta_0109->SetBinContent(73,0.01082595); h_muon_eta_0109->SetBinContent(74,0.0103384); h_muon_eta_0109->SetBinContent(75,0.009075794); h_muon_eta_0109->SetBinContent(76,0.008325729); h_muon_eta_0109->SetBinContent(77,0.007100621); h_muon_eta_0109->SetBinContent(78,0.0068631); h_muon_eta_0109->SetBinContent(79,0.006275549); h_muon_eta_0109->SetBinContent(80,0.005400472); h_muon_eta_0109->SetBinContent(81,0.005000438); h_muon_eta_0109->SetBinContent(82,0.00446289); h_muon_eta_0109->SetBinContent(83,0.003562812); h_muon_eta_0109->SetBinContent(84,0.00273774); h_muon_eta_0109->SetBinContent(85,0.002887753); h_muon_eta_0109->SetBinContent(86,0.002075182); h_muon_eta_0109->SetBinContent(87,0.001662645); h_muon_eta_0109->SetBinContent(88,0.001575138); h_muon_eta_0109->SetBinContent(89,0.001400123); h_muon_eta_0109->SetBinContent(90,0.00102509); h_muon_eta_0109->SetBinContent(91,0.0007000613); h_muon_eta_0109->SetBinContent(92,0.000525046); h_muon_eta_0109->SetBinContent(93,0.0004375383); h_muon_eta_0109->SetBinContent(94,0.000400035); h_muon_eta_0109->SetBinContent(95,0.0001125098); h_muon_eta_0109->SetBinContent(96,0.0001625142); h_muon_eta_0109->SetBinContent(97,0.000137512); h_muon_eta_0109->SetBinContent(98,3.750328e-05); h_muon_eta_0109->SetBinContent(99,5.000438e-05); h_muon_eta_0109->SetBinContent(100,5.000438e-05); h_muon_eta_0109->SetBinContent(101,2.500219e-05); h_muon_eta_0109->SetBinError(0,2.500219e-05); h_muon_eta_0109->SetBinError(1,1.767922e-05); h_muon_eta_0109->SetBinError(2,3.06213e-05); h_muon_eta_0109->SetBinError(3,2.79533e-05); h_muon_eta_0109->SetBinError(4,3.307479e-05); h_muon_eta_0109->SetBinError(5,4.841653e-05); h_muon_eta_0109->SetBinError(6,6.250547e-05); h_muon_eta_0109->SetBinError(7,6.12426e-05); h_muon_eta_0109->SetBinError(8,7.395747e-05); h_muon_eta_0109->SetBinError(9,7.806931e-05); h_muon_eta_0109->SetBinError(10,9.014667e-05); h_muon_eta_0109->SetBinError(11,0.000108982); h_muon_eta_0109->SetBinError(12,0.0001166024); h_muon_eta_0109->SetBinError(13,0.0001403244); h_muon_eta_0109->SetBinError(14,0.0001473857); h_muon_eta_0109->SetBinError(15,0.0001625142); h_muon_eta_0109->SetBinError(16,0.000175906); h_muon_eta_0109->SetBinError(17,0.0001932622); h_muon_eta_0109->SetBinError(18,0.0002136188); h_muon_eta_0109->SetBinError(19,0.0002225756); h_muon_eta_0109->SetBinError(20,0.000246243); h_muon_eta_0109->SetBinError(21,0.0002628204); h_muon_eta_0109->SetBinError(22,0.0002781318); h_muon_eta_0109->SetBinError(23,0.0003023611); h_muon_eta_0109->SetBinError(24,0.0003085011); h_muon_eta_0109->SetBinError(25,0.000313027); h_muon_eta_0109->SetBinError(26,0.000331927); h_muon_eta_0109->SetBinError(27,0.0003616685); h_muon_eta_0109->SetBinError(28,0.0003756574); h_muon_eta_0109->SetBinError(29,0.0003739896); h_muon_eta_0109->SetBinError(30,0.0004023721); h_muon_eta_0109->SetBinError(31,0.0004054673); h_muon_eta_0109->SetBinError(32,0.0004149911); h_muon_eta_0109->SetBinError(33,0.0004299722); h_muon_eta_0109->SetBinError(34,0.0004352105); h_muon_eta_0109->SetBinError(35,0.0004591494); h_muon_eta_0109->SetBinError(36,0.0004692492); h_muon_eta_0109->SetBinError(37,0.0004601693); h_muon_eta_0109->SetBinError(38,0.0004745478); h_muon_eta_0109->SetBinError(39,0.0004786466); h_muon_eta_0109->SetBinError(40,0.000492486); h_muon_eta_0109->SetBinError(41,0.0005011364); h_muon_eta_0109->SetBinError(42,0.0005023822); h_muon_eta_0109->SetBinError(43,0.0005231077); h_muon_eta_0109->SetBinError(44,0.0005145229); h_muon_eta_0109->SetBinError(45,0.0005283099); h_muon_eta_0109->SetBinError(46,0.000528162); h_muon_eta_0109->SetBinError(47,0.0005319946); h_muon_eta_0109->SetBinError(48,0.0005175513); h_muon_eta_0109->SetBinError(49,0.0005379829); h_muon_eta_0109->SetBinError(50,0.0005251947); h_muon_eta_0109->SetBinError(51,0.000528014); h_muon_eta_0109->SetBinError(52,0.0005240031); h_muon_eta_0109->SetBinError(53,0.0005284578); h_muon_eta_0109->SetBinError(54,0.0005187577); h_muon_eta_0109->SetBinError(55,0.0005308183); h_muon_eta_0109->SetBinError(56,0.0005245993); h_muon_eta_0109->SetBinError(57,0.0005177023); h_muon_eta_0109->SetBinError(58,0.0005210122); h_muon_eta_0109->SetBinError(59,0.0004972231); h_muon_eta_0109->SetBinError(60,0.0004958067); h_muon_eta_0109->SetBinError(61,0.0004935954); h_muon_eta_0109->SetBinError(62,0.0004983219); h_muon_eta_0109->SetBinError(63,0.0004745478); h_muon_eta_0109->SetBinError(64,0.0004679151); h_muon_eta_0109->SetBinError(65,0.00046389); h_muon_eta_0109->SetBinError(66,0.0004622025); h_muon_eta_0109->SetBinError(67,0.0004519452); h_muon_eta_0109->SetBinError(68,0.0004279685); h_muon_eta_0109->SetBinError(69,0.0004248533); h_muon_eta_0109->SetBinError(70,0.0004161193); h_muon_eta_0109->SetBinError(71,0.0003994486); h_muon_eta_0109->SetBinError(72,0.0003838874); h_muon_eta_0109->SetBinError(73,0.0003678807); h_muon_eta_0109->SetBinError(74,0.0003595016); h_muon_eta_0109->SetBinError(75,0.0003368343); h_muon_eta_0109->SetBinError(76,0.0003226154); h_muon_eta_0109->SetBinError(77,0.0002979355); h_muon_eta_0109->SetBinError(78,0.00029291); h_muon_eta_0109->SetBinError(79,0.0002800915); h_muon_eta_0109->SetBinError(80,0.0002598304); h_muon_eta_0109->SetBinError(81,0.0002500219); h_muon_eta_0109->SetBinError(82,0.0002362012); h_muon_eta_0109->SetBinError(83,0.0002110428); h_muon_eta_0109->SetBinError(84,0.0001849993); h_muon_eta_0109->SetBinError(85,0.0001900002); h_muon_eta_0109->SetBinError(86,0.0001610653); h_muon_eta_0109->SetBinError(87,0.0001441696); h_muon_eta_0109->SetBinError(88,0.0001403244); h_muon_eta_0109->SetBinError(89,0.0001322991); h_muon_eta_0109->SetBinError(90,0.0001132022); h_muon_eta_0109->SetBinError(91,9.354962e-05); h_muon_eta_0109->SetBinError(92,8.101635e-05); h_muon_eta_0109->SetBinError(93,7.395747e-05); h_muon_eta_0109->SetBinError(94,7.071687e-05); h_muon_eta_0109->SetBinError(95,3.750328e-05); h_muon_eta_0109->SetBinError(96,4.507333e-05); h_muon_eta_0109->SetBinError(97,4.146144e-05); h_muon_eta_0109->SetBinError(98,2.165253e-05); h_muon_eta_0109->SetBinError(99,2.500219e-05); h_muon_eta_0109->SetBinError(100,2.500219e-05); h_muon_eta_0109->SetBinError(101,1.767922e-05); h_muon_eta_0109->SetEntries(79999); h_muon_eta_0109->SetDirectory(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#0000ff"); h_muon_eta_0109->SetLineColor(ci); h_muon_eta_0109->SetLineWidth(2); h_muon_eta_0109->SetMarkerStyle(20); h_muon_eta_0109->GetXaxis()->SetLabelFont(42); h_muon_eta_0109->GetXaxis()->SetLabelOffset(0.007); h_muon_eta_0109->GetXaxis()->SetTitleSize(0.06); h_muon_eta_0109->GetXaxis()->SetTitleOffset(0.95); h_muon_eta_0109->GetXaxis()->SetTitleFont(42); h_muon_eta_0109->GetYaxis()->SetLabelFont(42); h_muon_eta_0109->GetYaxis()->SetLabelOffset(0.007); h_muon_eta_0109->GetYaxis()->SetTitleSize(0.06); h_muon_eta_0109->GetYaxis()->SetTitleOffset(1.3); h_muon_eta_0109->GetYaxis()->SetTitleFont(42); h_muon_eta_0109->GetZaxis()->SetLabelFont(42); h_muon_eta_0109->GetZaxis()->SetLabelOffset(0.007); h_muon_eta_0109->GetZaxis()->SetTitleSize(0.06); h_muon_eta_0109->GetZaxis()->SetTitleFont(42); h_muon_eta_0109->Draw("SAMEHIST"); TH1F *h_muon_eta_1110 = new TH1F("h_muon_eta_1110","h_muon_eta_1",100,-5,5); h_muon_eta_1110->SetBinContent(0,0.0003001426); h_muon_eta_1110->SetBinContent(1,0.0001250594); h_muon_eta_1110->SetBinContent(2,0.0001375653); h_muon_eta_1110->SetBinContent(3,0.0001250594); h_muon_eta_1110->SetBinContent(4,0.0002376129); h_muon_eta_1110->SetBinContent(5,0.0003376604); h_muon_eta_1110->SetBinContent(6,0.0003626723); h_muon_eta_1110->SetBinContent(7,0.0004752257); h_muon_eta_1110->SetBinContent(8,0.0005252495); h_muon_eta_1110->SetBinContent(9,0.0009504515); h_muon_eta_1110->SetBinContent(10,0.001125535); h_muon_eta_1110->SetBinContent(11,0.001375653); h_muon_eta_1110->SetBinContent(12,0.001388159); h_muon_eta_1110->SetBinContent(13,0.001475701); h_muon_eta_1110->SetBinContent(14,0.002326105); h_muon_eta_1110->SetBinContent(15,0.002688777); h_muon_eta_1110->SetBinContent(16,0.00305145); h_muon_eta_1110->SetBinContent(17,0.003339086); h_muon_eta_1110->SetBinContent(18,0.0037893); h_muon_eta_1110->SetBinContent(19,0.004427103); h_muon_eta_1110->SetBinContent(20,0.0050524); h_muon_eta_1110->SetBinContent(21,0.006177934); h_muon_eta_1110->SetBinContent(22,0.006703184); h_muon_eta_1110->SetBinContent(23,0.00717841); h_muon_eta_1110->SetBinContent(24,0.007553588); h_muon_eta_1110->SetBinContent(25,0.008454015); h_muon_eta_1110->SetBinContent(26,0.009379455); h_muon_eta_1110->SetBinContent(27,0.009742128); h_muon_eta_1110->SetBinContent(28,0.01118031); h_muon_eta_1110->SetBinContent(29,0.0117931); h_muon_eta_1110->SetBinContent(30,0.01124284); h_muon_eta_1110->SetBinContent(31,0.01328131); h_muon_eta_1110->SetBinContent(32,0.01399415); h_muon_eta_1110->SetBinContent(33,0.01445687); h_muon_eta_1110->SetBinContent(34,0.01528226); h_muon_eta_1110->SetBinContent(35,0.0151572); h_muon_eta_1110->SetBinContent(36,0.01709562); h_muon_eta_1110->SetBinContent(37,0.01720817); h_muon_eta_1110->SetBinContent(38,0.01867137); h_muon_eta_1110->SetBinContent(39,0.0195718); h_muon_eta_1110->SetBinContent(40,0.02048473); h_muon_eta_1110->SetBinContent(41,0.01897151); h_muon_eta_1110->SetBinContent(42,0.02010955); h_muon_eta_1110->SetBinContent(43,0.02169781); h_muon_eta_1110->SetBinContent(44,0.02049724); h_muon_eta_1110->SetBinContent(45,0.02027213); h_muon_eta_1110->SetBinContent(46,0.02172282); h_muon_eta_1110->SetBinContent(47,0.0212601); h_muon_eta_1110->SetBinContent(48,0.02128511); h_muon_eta_1110->SetBinContent(49,0.0231485); h_muon_eta_1110->SetBinContent(50,0.02241064); h_muon_eta_1110->SetBinContent(51,0.0223231); h_muon_eta_1110->SetBinContent(52,0.02162277); h_muon_eta_1110->SetBinContent(53,0.02133513); h_muon_eta_1110->SetBinContent(54,0.02167279); h_muon_eta_1110->SetBinContent(55,0.02142267); h_muon_eta_1110->SetBinContent(56,0.02030965); h_muon_eta_1110->SetBinContent(57,0.02025962); h_muon_eta_1110->SetBinContent(58,0.02123509); h_muon_eta_1110->SetBinContent(59,0.01984693); h_muon_eta_1110->SetBinContent(60,0.0193592); h_muon_eta_1110->SetBinContent(61,0.01980941); h_muon_eta_1110->SetBinContent(62,0.01928416); h_muon_eta_1110->SetBinContent(63,0.0185213); h_muon_eta_1110->SetBinContent(64,0.01763338); h_muon_eta_1110->SetBinContent(65,0.01715815); h_muon_eta_1110->SetBinContent(66,0.01530727); h_muon_eta_1110->SetBinContent(67,0.01533228); h_muon_eta_1110->SetBinContent(68,0.01530727); h_muon_eta_1110->SetBinContent(69,0.01371902); h_muon_eta_1110->SetBinContent(70,0.01375653); h_muon_eta_1110->SetBinContent(71,0.01246842); h_muon_eta_1110->SetBinContent(72,0.01156799); h_muon_eta_1110->SetBinContent(73,0.01126785); h_muon_eta_1110->SetBinContent(74,0.01019234); h_muon_eta_1110->SetBinContent(75,0.009279408); h_muon_eta_1110->SetBinContent(76,0.008328957); h_muon_eta_1110->SetBinContent(77,0.007491058); h_muon_eta_1110->SetBinContent(78,0.007215927); h_muon_eta_1110->SetBinContent(79,0.006703184); h_muon_eta_1110->SetBinContent(80,0.00597784); h_muon_eta_1110->SetBinContent(81,0.005265001); h_muon_eta_1110->SetBinContent(82,0.004502139); h_muon_eta_1110->SetBinContent(83,0.003926865); h_muon_eta_1110->SetBinContent(84,0.003739276); h_muon_eta_1110->SetBinContent(85,0.003164003); h_muon_eta_1110->SetBinContent(86,0.002601236); h_muon_eta_1110->SetBinContent(87,0.002138516); h_muon_eta_1110->SetBinContent(88,0.001950927); h_muon_eta_1110->SetBinContent(89,0.00166329); h_muon_eta_1110->SetBinContent(90,0.001188064); h_muon_eta_1110->SetBinContent(91,0.001150546); h_muon_eta_1110->SetBinContent(92,0.0009004277); h_muon_eta_1110->SetBinContent(93,0.0006002851); h_muon_eta_1110->SetBinContent(94,0.0005377554); h_muon_eta_1110->SetBinContent(95,0.0004627198); h_muon_eta_1110->SetBinContent(96,0.0003626723); h_muon_eta_1110->SetBinContent(97,0.0003376604); h_muon_eta_1110->SetBinContent(98,0.000212601); h_muon_eta_1110->SetBinContent(99,0.000212601); h_muon_eta_1110->SetBinContent(100,7.503564e-05); h_muon_eta_1110->SetBinContent(101,0.0001625772); h_muon_eta_1110->SetBinError(0,6.126635e-05); h_muon_eta_1110->SetBinError(1,3.954726e-05); h_muon_eta_1110->SetBinError(2,4.147751e-05); h_muon_eta_1110->SetBinError(3,3.954726e-05); h_muon_eta_1110->SetBinError(4,5.451213e-05); h_muon_eta_1110->SetBinError(5,6.498277e-05); h_muon_eta_1110->SetBinError(6,6.734655e-05); h_muon_eta_1110->SetBinError(7,7.709179e-05); h_muon_eta_1110->SetBinError(8,8.104776e-05); h_muon_eta_1110->SetBinError(9,0.0001090243); h_muon_eta_1110->SetBinError(10,0.0001186418); h_muon_eta_1110->SetBinError(11,0.0001311634); h_muon_eta_1110->SetBinError(12,0.0001317583); h_muon_eta_1110->SetBinError(13,0.0001358493); h_muon_eta_1110->SetBinError(14,0.0001705583); h_muon_eta_1110->SetBinError(15,0.0001833731); h_muon_eta_1110->SetBinError(16,0.000195349); h_muon_eta_1110->SetBinError(17,0.0002043487); h_muon_eta_1110->SetBinError(18,0.0002176896); h_muon_eta_1110->SetBinError(19,0.0002352979); h_muon_eta_1110->SetBinError(20,0.0002513663); h_muon_eta_1110->SetBinError(21,0.0002779584); h_muon_eta_1110->SetBinError(22,0.0002895335); h_muon_eta_1110->SetBinError(23,0.000299621); h_muon_eta_1110->SetBinError(24,0.0003073511); h_muon_eta_1110->SetBinError(25,0.0003251544); h_muon_eta_1110->SetBinError(26,0.0003424893); h_muon_eta_1110->SetBinError(27,0.0003490479); h_muon_eta_1110->SetBinError(28,0.0003739255); h_muon_eta_1110->SetBinError(29,0.0003840362); h_muon_eta_1110->SetBinError(30,0.0003749697); h_muon_eta_1110->SetBinError(31,0.0004075479); h_muon_eta_1110->SetBinError(32,0.0004183419); h_muon_eta_1110->SetBinError(33,0.000425202); h_muon_eta_1110->SetBinError(34,0.0004371716); h_muon_eta_1110->SetBinError(35,0.0004353792); h_muon_eta_1110->SetBinError(36,0.0004623817); h_muon_eta_1110->SetBinError(37,0.0004639013); h_muon_eta_1110->SetBinError(38,0.0004832215); h_muon_eta_1110->SetBinError(39,0.000494736); h_muon_eta_1110->SetBinError(40,0.0005061431); h_muon_eta_1110->SetBinError(41,0.0004870899); h_muon_eta_1110->SetBinError(42,0.0005014866); h_muon_eta_1110->SetBinError(43,0.0005209141); h_muon_eta_1110->SetBinError(44,0.0005062976); h_muon_eta_1110->SetBinError(45,0.0005035097); h_muon_eta_1110->SetBinError(46,0.0005212142); h_muon_eta_1110->SetBinError(47,0.0005156331); h_muon_eta_1110->SetBinError(48,0.0005159364); h_muon_eta_1110->SetBinError(49,0.0005380462); h_muon_eta_1110->SetBinError(50,0.0005294017); h_muon_eta_1110->SetBinError(51,0.0005283667); h_muon_eta_1110->SetBinError(52,0.0005200126); h_muon_eta_1110->SetBinError(53,0.0005165423); h_muon_eta_1110->SetBinError(54,0.0005206137); h_muon_eta_1110->SetBinError(55,0.0005176009); h_muon_eta_1110->SetBinError(56,0.0005039754); h_muon_eta_1110->SetBinError(57,0.0005033544); h_muon_eta_1110->SetBinError(58,0.0005153297); h_muon_eta_1110->SetBinError(59,0.0004982013); h_muon_eta_1110->SetBinError(60,0.0004920416); h_muon_eta_1110->SetBinError(61,0.0004977301); h_muon_eta_1110->SetBinError(62,0.0004910871); h_muon_eta_1110->SetBinError(63,0.0004812756); h_muon_eta_1110->SetBinError(64,0.0004695976); h_muon_eta_1110->SetBinError(65,0.0004632265); h_muon_eta_1110->SetBinError(66,0.0004375292); h_muon_eta_1110->SetBinError(67,0.0004378865); h_muon_eta_1110->SetBinError(68,0.0004375292); h_muon_eta_1110->SetBinError(69,0.0004142091); h_muon_eta_1110->SetBinError(70,0.0004147751); h_muon_eta_1110->SetBinError(71,0.0003948789); h_muon_eta_1110->SetBinError(72,0.0003803533); h_muon_eta_1110->SetBinError(73,0.0003753866); h_muon_eta_1110->SetBinError(74,0.0003570221); h_muon_eta_1110->SetBinError(75,0.0003406578); h_muon_eta_1110->SetBinError(76,0.0003227405); h_muon_eta_1110->SetBinError(77,0.0003060763); h_muon_eta_1110->SetBinError(78,0.000300403); h_muon_eta_1110->SetBinError(79,0.0002895335); h_muon_eta_1110->SetBinError(80,0.00027342); h_muon_eta_1110->SetBinError(81,0.0002566004); h_muon_eta_1110->SetBinError(82,0.0002372835); h_muon_eta_1110->SetBinError(83,0.0002216058); h_muon_eta_1110->SetBinError(84,0.0002162479); h_muon_eta_1110->SetBinError(85,0.0001989192); h_muon_eta_1110->SetBinError(86,0.0001803632); h_muon_eta_1110->SetBinError(87,0.0001635364); h_muon_eta_1110->SetBinError(88,0.0001561991); h_muon_eta_1110->SetBinError(89,0.0001442255); h_muon_eta_1110->SetBinError(90,0.0001218928); h_muon_eta_1110->SetBinError(91,0.0001199528); h_muon_eta_1110->SetBinError(92,0.0001061164); h_muon_eta_1110->SetBinError(93,8.66437e-05); h_muon_eta_1110->SetBinError(94,8.200693e-05); h_muon_eta_1110->SetBinError(95,7.607067e-05); h_muon_eta_1110->SetBinError(96,6.734655e-05); h_muon_eta_1110->SetBinError(97,6.498277e-05); h_muon_eta_1110->SetBinError(98,5.156331e-05); h_muon_eta_1110->SetBinError(99,5.156331e-05); h_muon_eta_1110->SetBinError(100,3.063317e-05); h_muon_eta_1110->SetBinError(101,4.509081e-05); h_muon_eta_1110->SetEntries(79999); h_muon_eta_1110->SetDirectory(0); ci = TColor::GetColor("#00ff00"); h_muon_eta_1110->SetLineColor(ci); h_muon_eta_1110->SetLineStyle(2); h_muon_eta_1110->SetLineWidth(2); h_muon_eta_1110->SetMarkerStyle(20); h_muon_eta_1110->GetXaxis()->SetLabelFont(42); h_muon_eta_1110->GetXaxis()->SetLabelOffset(0.007); h_muon_eta_1110->GetXaxis()->SetTitleSize(0.06); h_muon_eta_1110->GetXaxis()->SetTitleOffset(0.95); h_muon_eta_1110->GetXaxis()->SetTitleFont(42); h_muon_eta_1110->GetYaxis()->SetLabelFont(42); h_muon_eta_1110->GetYaxis()->SetLabelOffset(0.007); h_muon_eta_1110->GetYaxis()->SetTitleSize(0.06); h_muon_eta_1110->GetYaxis()->SetTitleOffset(1.3); h_muon_eta_1110->GetYaxis()->SetTitleFont(42); h_muon_eta_1110->GetZaxis()->SetLabelFont(42); h_muon_eta_1110->GetZaxis()->SetLabelOffset(0.007); h_muon_eta_1110->GetZaxis()->SetTitleSize(0.06); h_muon_eta_1110->GetZaxis()->SetTitleFont(42); h_muon_eta_1110->Draw("SAMEHIST"); TH1F *h_muon_eta_2111 = new TH1F("h_muon_eta_2111","h_muon_eta_2",100,-5,5); h_muon_eta_2111->SetBinContent(0,0.0008012118); h_muon_eta_2111->SetBinContent(1,0.000200303); h_muon_eta_2111->SetBinContent(2,0.0003630491); h_muon_eta_2111->SetBinContent(3,0.0004632006); h_muon_eta_2111->SetBinContent(4,0.0004632006); h_muon_eta_2111->SetBinContent(5,0.0006384657); h_muon_eta_2111->SetBinContent(6,0.0006259467); h_muon_eta_2111->SetBinContent(7,0.0006134278); h_muon_eta_2111->SetBinContent(8,0.001139223); h_muon_eta_2111->SetBinContent(9,0.001226856); h_muon_eta_2111->SetBinContent(10,0.001589905); h_muon_eta_2111->SetBinContent(11,0.001502272); h_muon_eta_2111->SetBinContent(12,0.001815246); h_muon_eta_2111->SetBinContent(13,0.002278446); h_muon_eta_2111->SetBinContent(14,0.002578901); h_muon_eta_2111->SetBinContent(15,0.00316729); h_muon_eta_2111->SetBinContent(16,0.003743161); h_muon_eta_2111->SetBinContent(17,0.003430188); h_muon_eta_2111->SetBinContent(18,0.004556892); h_muon_eta_2111->SetBinContent(19,0.004944979); h_muon_eta_2111->SetBinContent(20,0.004794752); h_muon_eta_2111->SetBinContent(21,0.006159316); h_muon_eta_2111->SetBinContent(22,0.006797782); h_muon_eta_2111->SetBinContent(23,0.007736702); h_muon_eta_2111->SetBinContent(24,0.008037156); h_muon_eta_2111->SetBinContent(25,0.00857547); h_muon_eta_2111->SetBinContent(26,0.00940172); h_muon_eta_2111->SetBinContent(27,0.009839883); h_muon_eta_2111->SetBinContent(28,0.01086644); h_muon_eta_2111->SetBinContent(29,0.01160505); h_muon_eta_2111->SetBinContent(30,0.01241878); h_muon_eta_2111->SetBinContent(31,0.01338274); h_muon_eta_2111->SetBinContent(32,0.01380839); h_muon_eta_2111->SetBinContent(33,0.01453448); h_muon_eta_2111->SetBinContent(34,0.01554852); h_muon_eta_2111->SetBinContent(35,0.01609935); h_muon_eta_2111->SetBinContent(36,0.01760162); h_muon_eta_2111->SetBinContent(37,0.01730117); h_muon_eta_2111->SetBinContent(38,0.01773933); h_muon_eta_2111->SetBinContent(39,0.01882848); h_muon_eta_2111->SetBinContent(40,0.01807734); h_muon_eta_2111->SetBinContent(41,0.01891611); h_muon_eta_2111->SetBinContent(42,0.01939183); h_muon_eta_2111->SetBinContent(43,0.01919153); h_muon_eta_2111->SetBinContent(44,0.02013045); h_muon_eta_2111->SetBinContent(45,0.02058113); h_muon_eta_2111->SetBinContent(46,0.0209567); h_muon_eta_2111->SetBinContent(47,0.02111944); h_muon_eta_2111->SetBinContent(48,0.02060617); h_muon_eta_2111->SetBinContent(49,0.02088158); h_muon_eta_2111->SetBinContent(50,0.02075639); h_muon_eta_2111->SetBinContent(51,0.02056861); h_muon_eta_2111->SetBinContent(52,0.02130723); h_muon_eta_2111->SetBinContent(53,0.02126967); h_muon_eta_2111->SetBinContent(54,0.02071884); h_muon_eta_2111->SetBinContent(55,0.02074387); h_muon_eta_2111->SetBinContent(56,0.02125715); h_muon_eta_2111->SetBinContent(57,0.01980495); h_muon_eta_2111->SetBinContent(58,0.0202306); h_muon_eta_2111->SetBinContent(59,0.02030571); h_muon_eta_2111->SetBinContent(60,0.0181149); h_muon_eta_2111->SetBinContent(61,0.02015549); h_muon_eta_2111->SetBinContent(62,0.01860314); h_muon_eta_2111->SetBinContent(63,0.01801475); h_muon_eta_2111->SetBinContent(64,0.01733872); h_muon_eta_2111->SetBinContent(65,0.01661263); h_muon_eta_2111->SetBinContent(66,0.01538577); h_muon_eta_2111->SetBinContent(67,0.01542333); h_muon_eta_2111->SetBinContent(68,0.01437174); h_muon_eta_2111->SetBinContent(69,0.01393357); h_muon_eta_2111->SetBinContent(70,0.01284443); h_muon_eta_2111->SetBinContent(71,0.012231); h_muon_eta_2111->SetBinContent(72,0.01188047); h_muon_eta_2111->SetBinContent(73,0.01121697); h_muon_eta_2111->SetBinContent(74,0.01074125); h_muon_eta_2111->SetBinContent(75,0.009551947); h_muon_eta_2111->SetBinContent(76,0.009301568); h_muon_eta_2111->SetBinContent(77,0.008149827); h_muon_eta_2111->SetBinContent(78,0.007373652); h_muon_eta_2111->SetBinContent(79,0.00752388); h_muon_eta_2111->SetBinContent(80,0.006071683); h_muon_eta_2111->SetBinContent(81,0.005395661); h_muon_eta_2111->SetBinContent(82,0.004919942); h_muon_eta_2111->SetBinContent(83,0.00458193); h_muon_eta_2111->SetBinContent(84,0.004093692); h_muon_eta_2111->SetBinContent(85,0.003492783); h_muon_eta_2111->SetBinContent(86,0.002929431); h_muon_eta_2111->SetBinContent(87,0.002741647); h_muon_eta_2111->SetBinContent(88,0.002316003); h_muon_eta_2111->SetBinContent(89,0.002215852); h_muon_eta_2111->SetBinContent(90,0.001690056); h_muon_eta_2111->SetBinContent(91,0.001577386); h_muon_eta_2111->SetBinContent(92,0.001314488); h_muon_eta_2111->SetBinContent(93,0.001164261); h_muon_eta_2111->SetBinContent(94,0.0007886929); h_muon_eta_2111->SetBinContent(95,0.0008387686); h_muon_eta_2111->SetBinContent(96,0.0006635035); h_muon_eta_2111->SetBinContent(97,0.0003129734); h_muon_eta_2111->SetBinContent(98,0.0004256438); h_muon_eta_2111->SetBinContent(99,0.0001752651); h_muon_eta_2111->SetBinContent(100,0.0002879355); h_muon_eta_2111->SetBinContent(101,0.0007010603); h_muon_eta_2111->SetBinError(0,0.0001001515); h_muon_eta_2111->SetBinError(1,5.007574e-05); h_muon_eta_2111->SetBinError(2,6.741653e-05); h_muon_eta_2111->SetBinError(3,7.614971e-05); h_muon_eta_2111->SetBinError(4,7.614971e-05); h_muon_eta_2111->SetBinError(5,8.940308e-05); h_muon_eta_2111->SetBinError(6,8.852224e-05); h_muon_eta_2111->SetBinError(7,8.763254e-05); h_muon_eta_2111->SetBinError(8,0.000119423); h_muon_eta_2111->SetBinError(9,0.0001239311); h_muon_eta_2111->SetBinError(10,0.0001410812); h_muon_eta_2111->SetBinError(11,0.0001371381); h_muon_eta_2111->SetBinError(12,0.0001507479); h_muon_eta_2111->SetBinError(13,0.0001688897); h_muon_eta_2111->SetBinError(14,0.0001796805); h_muon_eta_2111->SetBinError(15,0.0001991258); h_muon_eta_2111->SetBinError(16,0.0002164726); h_muon_eta_2111->SetBinError(17,0.0002072252); h_muon_eta_2111->SetBinError(18,0.0002388461); h_muon_eta_2111->SetBinError(19,0.0002488089); h_muon_eta_2111->SetBinError(20,0.0002450004); h_muon_eta_2111->SetBinError(21,0.0002776834); h_muon_eta_2111->SetBinError(22,0.0002917207); h_muon_eta_2111->SetBinError(23,0.0003112158); h_muon_eta_2111->SetBinError(24,0.0003172013); h_muon_eta_2111->SetBinError(25,0.0003276519); h_muon_eta_2111->SetBinError(26,0.0003430736); h_muon_eta_2111->SetBinError(27,0.000350977); h_muon_eta_2111->SetBinError(28,0.0003688309); h_muon_eta_2111->SetBinError(29,0.0003811599); h_muon_eta_2111->SetBinError(30,0.0003942968); h_muon_eta_2111->SetBinError(31,0.0004093137); h_muon_eta_2111->SetBinError(32,0.0004157719); h_muon_eta_2111->SetBinError(33,0.0004265633); h_muon_eta_2111->SetBinError(34,0.0004411926); h_muon_eta_2111->SetBinError(35,0.0004489395); h_muon_eta_2111->SetBinError(36,0.0004694183); h_muon_eta_2111->SetBinError(37,0.0004653947); h_muon_eta_2111->SetBinError(38,0.000471251); h_muon_eta_2111->SetBinError(39,0.0004855023); h_muon_eta_2111->SetBinError(40,0.0004757195); h_muon_eta_2111->SetBinError(41,0.0004866308); h_muon_eta_2111->SetBinError(42,0.0004927119); h_muon_eta_2111->SetBinError(43,0.0004901607); h_muon_eta_2111->SetBinError(44,0.0005020077); h_muon_eta_2111->SetBinError(45,0.0005075961); h_muon_eta_2111->SetBinError(46,0.0005122065); h_muon_eta_2111->SetBinError(47,0.0005141915); h_muon_eta_2111->SetBinError(48,0.0005079048); h_muon_eta_2111->SetBinError(49,0.0005112878); h_muon_eta_2111->SetBinError(50,0.0005097528); h_muon_eta_2111->SetBinError(51,0.0005074417); h_muon_eta_2111->SetBinError(52,0.0005164724); h_muon_eta_2111->SetBinError(53,0.0005160171); h_muon_eta_2111->SetBinError(54,0.0005092914); h_muon_eta_2111->SetBinError(55,0.0005095991); h_muon_eta_2111->SetBinError(56,0.0005158652); h_muon_eta_2111->SetBinError(57,0.0004979327); h_muon_eta_2111->SetBinError(58,0.000503255); h_muon_eta_2111->SetBinError(59,0.0005041883); h_muon_eta_2111->SetBinError(60,0.0004762134); h_muon_eta_2111->SetBinError(61,0.0005023198); h_muon_eta_2111->SetBinError(62,0.0004825883); h_muon_eta_2111->SetBinError(63,0.0004748952); h_muon_eta_2111->SetBinError(64,0.0004658995); h_muon_eta_2111->SetBinError(65,0.0004560399); h_muon_eta_2111->SetBinError(66,0.0004388775); h_muon_eta_2111->SetBinError(67,0.0004394128); h_muon_eta_2111->SetBinError(68,0.0004241684); h_muon_eta_2111->SetBinError(69,0.0004176524); h_muon_eta_2111->SetBinError(70,0.0004009969); h_muon_eta_2111->SetBinError(71,0.0003913043); h_muon_eta_2111->SetBinError(72,0.0003856564); h_muon_eta_2111->SetBinError(73,0.0003747325); h_muon_eta_2111->SetBinError(74,0.0003667001); h_muon_eta_2111->SetBinError(75,0.0003458037); h_muon_eta_2111->SetBinError(76,0.0003412415); h_muon_eta_2111->SetBinError(77,0.0003194169); h_muon_eta_2111->SetBinError(78,0.0003038261); h_muon_eta_2111->SetBinError(79,0.0003069055); h_muon_eta_2111->SetBinError(80,0.0002757009); h_muon_eta_2111->SetBinError(81,0.0002598998); h_muon_eta_2111->SetBinError(82,0.0002481782); h_muon_eta_2111->SetBinError(83,0.0002395013); h_muon_eta_2111->SetBinError(84,0.0002263817); h_muon_eta_2111->SetBinError(85,0.0002091074); h_muon_eta_2111->SetBinError(86,0.0001915029); h_muon_eta_2111->SetBinError(87,0.0001852633); h_muon_eta_2111->SetBinError(88,0.0001702759); h_muon_eta_2111->SetBinError(89,0.0001665536); h_muon_eta_2111->SetBinError(90,0.0001454569); h_muon_eta_2111->SetBinError(91,0.0001405247); h_muon_eta_2111->SetBinError(92,0.0001282809); h_muon_eta_2111->SetBinError(93,0.0001207282); h_muon_eta_2111->SetBinError(94,9.936597e-05); h_muon_eta_2111->SetBinError(95,0.0001024719); h_muon_eta_2111->SetBinError(96,9.113922e-05); h_muon_eta_2111->SetBinError(97,6.259467e-05); h_muon_eta_2111->SetBinError(98,7.299731e-05); h_muon_eta_2111->SetBinError(99,4.684157e-05); h_muon_eta_2111->SetBinError(100,6.00387e-05); h_muon_eta_2111->SetBinError(101,9.368313e-05); h_muon_eta_2111->SetEntries(79999); h_muon_eta_2111->SetDirectory(0); ci = TColor::GetColor("#ff0000"); h_muon_eta_2111->SetLineColor(ci); h_muon_eta_2111->SetLineStyle(3); h_muon_eta_2111->SetLineWidth(2); h_muon_eta_2111->SetMarkerStyle(20); h_muon_eta_2111->GetXaxis()->SetLabelFont(42); h_muon_eta_2111->GetXaxis()->SetLabelOffset(0.007); h_muon_eta_2111->GetXaxis()->SetTitleSize(0.06); h_muon_eta_2111->GetXaxis()->SetTitleOffset(0.95); h_muon_eta_2111->GetXaxis()->SetTitleFont(42); h_muon_eta_2111->GetYaxis()->SetLabelFont(42); h_muon_eta_2111->GetYaxis()->SetLabelOffset(0.007); h_muon_eta_2111->GetYaxis()->SetTitleSize(0.06); h_muon_eta_2111->GetYaxis()->SetTitleOffset(1.3); h_muon_eta_2111->GetYaxis()->SetTitleFont(42); h_muon_eta_2111->GetZaxis()->SetLabelFont(42); h_muon_eta_2111->GetZaxis()->SetLabelOffset(0.007); h_muon_eta_2111->GetZaxis()->SetTitleSize(0.06); h_muon_eta_2111->GetZaxis()->SetTitleFont(42); h_muon_eta_2111->Draw("SAMEHIST"); TH1F *h_muon_eta_3112 = new TH1F("h_muon_eta_3112","h_muon_eta_3",100,-5,5); h_muon_eta_3112->SetBinContent(0,0.004339489); h_muon_eta_3112->SetBinContent(1,0.0006055101); h_muon_eta_3112->SetBinContent(2,0.0008830357); h_muon_eta_3112->SetBinContent(3,0.001135331); h_muon_eta_3112->SetBinContent(4,0.001539005); h_muon_eta_3112->SetBinContent(5,0.001627309); h_muon_eta_3112->SetBinContent(6,0.001425472); h_muon_eta_3112->SetBinContent(7,0.002068826); h_muon_eta_3112->SetBinContent(8,0.001854375); h_muon_eta_3112->SetBinContent(9,0.002119286); h_muon_eta_3112->SetBinContent(10,0.002977092); h_muon_eta_3112->SetBinContent(11,0.003254617); h_muon_eta_3112->SetBinContent(12,0.003607831); h_muon_eta_3112->SetBinContent(13,0.003948431); h_muon_eta_3112->SetBinContent(14,0.00428903); h_muon_eta_3112->SetBinContent(15,0.004276415); h_muon_eta_3112->SetBinContent(16,0.004869311); h_muon_eta_3112->SetBinContent(17,0.005260369); h_muon_eta_3112->SetBinContent(18,0.006042487); h_muon_eta_3112->SetBinContent(19,0.006219094); h_muon_eta_3112->SetBinContent(20,0.00702644); h_muon_eta_3112->SetBinContent(21,0.007379655); h_muon_eta_3112->SetBinContent(22,0.007594106); h_muon_eta_3112->SetBinContent(23,0.00826269); h_muon_eta_3112->SetBinContent(24,0.008906045); h_muon_eta_3112->SetBinContent(25,0.008931275); h_muon_eta_3112->SetBinContent(26,0.009965688); h_muon_eta_3112->SetBinContent(27,0.01043244); h_muon_eta_3112->SetBinContent(28,0.01096226); h_muon_eta_3112->SetBinContent(29,0.01163084); h_muon_eta_3112->SetBinContent(30,0.01214805); h_muon_eta_3112->SetBinContent(31,0.01323292); h_muon_eta_3112->SetBinContent(32,0.01387627); h_muon_eta_3112->SetBinContent(33,0.01397719); h_muon_eta_3112->SetBinContent(34,0.01320769); h_muon_eta_3112->SetBinContent(35,0.01496115); h_muon_eta_3112->SetBinContent(36,0.01549097); h_muon_eta_3112->SetBinContent(37,0.01613432); h_muon_eta_3112->SetBinContent(38,0.01685337); h_muon_eta_3112->SetBinContent(39,0.01629831); h_muon_eta_3112->SetBinContent(40,0.016374); h_muon_eta_3112->SetBinContent(41,0.01716874); h_muon_eta_3112->SetBinContent(42,0.01748411); h_muon_eta_3112->SetBinContent(43,0.018077); h_muon_eta_3112->SetBinContent(44,0.01937632); h_muon_eta_3112->SetBinContent(45,0.01928802); h_muon_eta_3112->SetBinContent(46,0.01795085); h_muon_eta_3112->SetBinContent(47,0.01932587); h_muon_eta_3112->SetBinContent(48,0.01843021); h_muon_eta_3112->SetBinContent(49,0.01937632); h_muon_eta_3112->SetBinContent(50,0.01899788); h_muon_eta_3112->SetBinContent(51,0.01911141); h_muon_eta_3112->SetBinContent(52,0.01993138); h_muon_eta_3112->SetBinContent(53,0.02030982); h_muon_eta_3112->SetBinContent(54,0.01927541); h_muon_eta_3112->SetBinContent(55,0.01890958); h_muon_eta_3112->SetBinContent(56,0.01829145); h_muon_eta_3112->SetBinContent(57,0.0184176); h_muon_eta_3112->SetBinContent(58,0.01879604); h_muon_eta_3112->SetBinContent(59,0.0185059); h_muon_eta_3112->SetBinContent(60,0.01762287); h_muon_eta_3112->SetBinContent(61,0.01733273); h_muon_eta_3112->SetBinContent(62,0.01636139); h_muon_eta_3112->SetBinContent(63,0.0166263); h_muon_eta_3112->SetBinContent(64,0.01581895); h_muon_eta_3112->SetBinContent(65,0.01565496); h_muon_eta_3112->SetBinContent(66,0.01533959); h_muon_eta_3112->SetBinContent(67,0.01482238); h_muon_eta_3112->SetBinContent(68,0.01391412); h_muon_eta_3112->SetBinContent(69,0.01275356); h_muon_eta_3112->SetBinContent(70,0.01264002); h_muon_eta_3112->SetBinContent(71,0.0122742); h_muon_eta_3112->SetBinContent(72,0.01182006); h_muon_eta_3112->SetBinContent(73,0.01067212); h_muon_eta_3112->SetBinContent(74,0.01102533); h_muon_eta_3112->SetBinContent(75,0.01036936); h_muon_eta_3112->SetBinContent(76,0.0095494); h_muon_eta_3112->SetBinContent(77,0.00891866); h_muon_eta_3112->SetBinContent(78,0.008035624); h_muon_eta_3112->SetBinContent(79,0.008212231); h_muon_eta_3112->SetBinContent(80,0.006950752); h_muon_eta_3112->SetBinContent(81,0.007253507); h_muon_eta_3112->SetBinContent(82,0.006320012); h_muon_eta_3112->SetBinContent(83,0.005361288); h_muon_eta_3112->SetBinContent(84,0.005714502); h_muon_eta_3112->SetBinContent(85,0.004957614); h_muon_eta_3112->SetBinContent(86,0.004831466); h_muon_eta_3112->SetBinContent(87,0.003860127); h_muon_eta_3112->SetBinContent(88,0.003317691); h_muon_eta_3112->SetBinContent(89,0.003431224); h_muon_eta_3112->SetBinContent(90,0.002901403); h_muon_eta_3112->SetBinContent(91,0.0024725); h_muon_eta_3112->SetBinContent(92,0.00244727); h_muon_eta_3112->SetBinContent(93,0.002258048); h_muon_eta_3112->SetBinContent(94,0.001904834); h_muon_eta_3112->SetBinContent(95,0.001942678); h_muon_eta_3112->SetBinContent(96,0.001261479); h_muon_eta_3112->SetBinContent(97,0.001513775); h_muon_eta_3112->SetBinContent(98,0.001059643); h_muon_eta_3112->SetBinContent(99,0.0008704208); h_muon_eta_3112->SetBinContent(100,0.0009334948); h_muon_eta_3112->SetBinContent(101,0.004831466); h_muon_eta_3112->SetBinError(0,0.0002339696); h_muon_eta_3112->SetBinError(1,8.739786e-05); h_muon_eta_3112->SetBinError(2,0.0001055429); h_muon_eta_3112->SetBinError(3,0.0001196744); h_muon_eta_3112->SetBinError(4,0.000139335); h_muon_eta_3112->SetBinError(5,0.0001432765); h_muon_eta_3112->SetBinError(6,0.0001340971); h_muon_eta_3112->SetBinError(7,0.0001615482); h_muon_eta_3112->SetBinError(8,0.0001529463); h_muon_eta_3112->SetBinError(9,0.0001635064); h_muon_eta_3112->SetBinError(10,0.0001937922); h_muon_eta_3112->SetBinError(11,0.0002026236); h_muon_eta_3112->SetBinError(12,0.0002133355); h_muon_eta_3112->SetBinError(13,0.0002231785); h_muon_eta_3112->SetBinError(14,0.0002326053); h_muon_eta_3112->SetBinError(15,0.000232263); h_muon_eta_3112->SetBinError(16,0.0002478414); h_muon_eta_3112->SetBinError(17,0.0002576014); h_muon_eta_3112->SetBinError(18,0.0002760883); h_muon_eta_3112->SetBinError(19,0.0002800939); h_muon_eta_3112->SetBinError(20,0.0002977198); h_muon_eta_3112->SetBinError(21,0.0003051112); h_muon_eta_3112->SetBinError(22,0.0003095127); h_muon_eta_3112->SetBinError(23,0.00032285); h_muon_eta_3112->SetBinError(24,0.0003351834); h_muon_eta_3112->SetBinError(25,0.0003356579); h_muon_eta_3112->SetBinError(26,0.0003545633); h_muon_eta_3112->SetBinError(27,0.0003627713); h_muon_eta_3112->SetBinError(28,0.0003718691); h_muon_eta_3112->SetBinError(29,0.0003830413); h_muon_eta_3112->SetBinError(30,0.0003914654); h_muon_eta_3112->SetBinError(31,0.0004085714); h_muon_eta_3112->SetBinError(32,0.0004183854); h_muon_eta_3112->SetBinError(33,0.0004199041); h_muon_eta_3112->SetBinError(34,0.0004081817); h_muon_eta_3112->SetBinError(35,0.0004344327); h_muon_eta_3112->SetBinError(36,0.0004420581); h_muon_eta_3112->SetBinError(37,0.0004511443); h_muon_eta_3112->SetBinError(38,0.0004610876); h_muon_eta_3112->SetBinError(39,0.0004534312); h_muon_eta_3112->SetBinError(40,0.0004544829); h_muon_eta_3112->SetBinError(41,0.0004653816); h_muon_eta_3112->SetBinError(42,0.0004696365); h_muon_eta_3112->SetBinError(43,0.0004775329); h_muon_eta_3112->SetBinError(44,0.000494397); h_muon_eta_3112->SetBinError(45,0.0004932691); h_muon_eta_3112->SetBinError(46,0.0004758638); h_muon_eta_3112->SetBinError(47,0.0004937528); h_muon_eta_3112->SetBinError(48,0.0004821757); h_muon_eta_3112->SetBinError(49,0.000494397); h_muon_eta_3112->SetBinError(50,0.0004895451); h_muon_eta_3112->SetBinError(51,0.0004910057); h_muon_eta_3112->SetBinError(52,0.0005014282); h_muon_eta_3112->SetBinError(53,0.0005061662); h_muon_eta_3112->SetBinError(54,0.0004931078); h_muon_eta_3112->SetBinError(55,0.000488406); h_muon_eta_3112->SetBinError(56,0.0004803571); h_muon_eta_3112->SetBinError(57,0.0004820106); h_muon_eta_3112->SetBinError(58,0.0004869376); h_muon_eta_3112->SetBinError(59,0.0004831647); h_muon_eta_3112->SetBinError(60,0.0004714964); h_muon_eta_3112->SetBinError(61,0.000467599); h_muon_eta_3112->SetBinError(62,0.0004543078); h_muon_eta_3112->SetBinError(63,0.0004579709); h_muon_eta_3112->SetBinError(64,0.0004467134); h_muon_eta_3112->SetBinError(65,0.0004443918); h_muon_eta_3112->SetBinError(66,0.0004398929); h_muon_eta_3112->SetBinError(67,0.0004324134); h_muon_eta_3112->SetBinError(68,0.0004189555); h_muon_eta_3112->SetBinError(69,0.0004011029); h_muon_eta_3112->SetBinError(70,0.0003993135); h_muon_eta_3112->SetBinError(71,0.0003934926); h_muon_eta_3112->SetBinError(72,0.0003861446); h_muon_eta_3112->SetBinError(73,0.0003669149); h_muon_eta_3112->SetBinError(74,0.0003729374); h_muon_eta_3112->SetBinError(75,0.000361673); h_muon_eta_3112->SetBinError(76,0.0003470788); h_muon_eta_3112->SetBinError(77,0.0003354207); h_muon_eta_3112->SetBinError(78,0.000318383); h_muon_eta_3112->SetBinError(79,0.0003218627); h_muon_eta_3112->SetBinError(80,0.000296112); h_muon_eta_3112->SetBinError(81,0.0003024921); h_muon_eta_3112->SetBinError(82,0.0002823573); h_muon_eta_3112->SetBinError(83,0.0002600607); h_muon_eta_3112->SetBinError(84,0.0002684907); h_muon_eta_3112->SetBinError(85,0.0002500786); h_muon_eta_3112->SetBinError(86,0.0002468764); h_muon_eta_3112->SetBinError(87,0.0002206688); h_muon_eta_3112->SetBinError(88,0.0002045776); h_muon_eta_3112->SetBinError(89,0.0002080485); h_muon_eta_3112->SetBinError(90,0.0001913128); h_muon_eta_3112->SetBinError(91,0.0001766071); h_muon_eta_3112->SetBinError(92,0.0001757038); h_muon_eta_3112->SetBinError(93,0.0001687744); h_muon_eta_3112->SetBinError(94,0.0001550132); h_muon_eta_3112->SetBinError(95,0.0001565455); h_muon_eta_3112->SetBinError(96,0.0001261479); h_muon_eta_3112->SetBinError(97,0.0001381882); h_muon_eta_3112->SetBinError(98,0.0001156165); h_muon_eta_3112->SetBinError(99,0.0001047864); h_muon_eta_3112->SetBinError(100,0.0001085166); h_muon_eta_3112->SetBinError(101,0.0002468764); h_muon_eta_3112->SetEntries(79999); h_muon_eta_3112->SetDirectory(0); h_muon_eta_3112->SetLineStyle(4); h_muon_eta_3112->SetLineWidth(2); h_muon_eta_3112->SetMarkerStyle(20); h_muon_eta_3112->GetXaxis()->SetLabelFont(42); h_muon_eta_3112->GetXaxis()->SetLabelOffset(0.007); h_muon_eta_3112->GetXaxis()->SetTitleSize(0.06); h_muon_eta_3112->GetXaxis()->SetTitleOffset(0.95); h_muon_eta_3112->GetXaxis()->SetTitleFont(42); h_muon_eta_3112->GetYaxis()->SetLabelFont(42); h_muon_eta_3112->GetYaxis()->SetLabelOffset(0.007); h_muon_eta_3112->GetYaxis()->SetTitleSize(0.06); h_muon_eta_3112->GetYaxis()->SetTitleOffset(1.3); h_muon_eta_3112->GetYaxis()->SetTitleFont(42); h_muon_eta_3112->GetZaxis()->SetLabelFont(42); h_muon_eta_3112->GetZaxis()->SetLabelOffset(0.007); h_muon_eta_3112->GetZaxis()->SetTitleSize(0.06); h_muon_eta_3112->GetZaxis()->SetTitleFont(42); h_muon_eta_3112->Draw("SAMEHIST"); TLegend *leg = new TLegend(0.6175166,0.6730435,0.9429047,0.7626087,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); TLegendEntry *entry=leg->AddEntry("h_muon_eta_0","1st muon (leading p_{T})","L"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_muon_eta_1","2nd muon","L"); ci = TColor::GetColor("#00ff00"); entry->SetLineColor(ci); entry->SetLineStyle(2); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_muon_eta_2","3rd muon","L"); ci = TColor::GetColor("#ff0000"); entry->SetLineColor(ci); entry->SetLineStyle(3); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_muon_eta_3","4th muon","L"); entry->SetLineColor(1); entry->SetLineStyle(4); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.4566667,0.82,0.7822222,0.9066667,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.02777778); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","#splitline{pp #rightarrow h #rightarrow 2n_{1} #rightarrow 2n_{D} + 2 #gamma_{D} #rightarrow 2n_{D} + 4#mu}{#splitline{m_{h} = 125 GeV, m_{n_{1}} = 50 GeV, m_{n_{D}} = 1 GeV}{m_{#gamma_{D}} = 20 GeV, c#tau_{#gamma_{D}} = 100 mm}}","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.17,0.935,0.97,1,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextAlign(22); leg->SetTextSize(0.045); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(0); entry=leg->AddEntry("NULL","CMS Simulation (LHE) 14 TeV","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); cnv->Modified(); cnv->cd(); cnv->SetSelected(cnv); }
void Final_av_Lambda_VarCoupling_40Percent() { //=========Macro generated from canvas: c/c //========= (Mon Feb 22 19:41:13 2016) by ROOT version6.04/06 TCanvas *c = new TCanvas("c", "c",0,0,800,700); c->SetHighLightColor(2); c->Range(-0.4813593,1.111111,3.148656,8.518519); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetLogx(); c->SetLogy(); c->SetTickx(1); c->SetTicky(1); c->SetLeftMargin(0.12); c->SetRightMargin(0.04); c->SetTopMargin(0.07); c->SetBottomMargin(0.12); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TMultiGraph *multigraph = new TMultiGraph(); multigraph->SetName(""); multigraph->SetTitle(""); Double_t Graph_fx1[12] = { 1, 10, 100, 400, 700, 1000, 1000, 700, 400, 100, 10, 1}; Double_t Graph_fy1[12] = { 881.525, 896.549, 871.907, 667.806, 471.744, 308.777, 382.832, 584.437, 826.374, 1079.16, 1110.85, 1092.23}; TGraph *graph = new TGraph(12,Graph_fx1,Graph_fy1); graph->SetName("Graph"); graph->SetTitle(""); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#ffcc00"); graph->SetFillColor(ci); ci = TColor::GetColor("#ff6666"); graph->SetLineColor(ci); graph->SetLineWidth(3); TH1F *Graph_Graph1 = new TH1F("Graph_Graph1","",100,0.9,1099.9); Graph_Graph1->SetMinimum(228.5697); Graph_Graph1->SetMaximum(1191.057); Graph_Graph1->SetDirectory(0); Graph_Graph1->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph1->SetLineColor(ci); Graph_Graph1->GetXaxis()->SetLabelFont(42); Graph_Graph1->GetXaxis()->SetLabelSize(0.035); Graph_Graph1->GetXaxis()->SetTitleSize(0.035); Graph_Graph1->GetXaxis()->SetTitleFont(42); Graph_Graph1->GetYaxis()->SetLabelFont(42); Graph_Graph1->GetYaxis()->SetLabelSize(0.035); Graph_Graph1->GetYaxis()->SetTitleSize(0.035); Graph_Graph1->GetYaxis()->SetTitleFont(42); Graph_Graph1->GetZaxis()->SetLabelFont(42); Graph_Graph1->GetZaxis()->SetLabelSize(0.035); Graph_Graph1->GetZaxis()->SetTitleSize(0.035); Graph_Graph1->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph1); multigraph->Add(graph,""); multigraph->Draw("af"); multigraph->GetXaxis()->SetTitle("M_{#chi} (GeV)"); multigraph->GetXaxis()->SetRange(0,96); multigraph->GetXaxis()->SetLabelFont(42); multigraph->GetXaxis()->SetTitleSize(0.05); multigraph->GetXaxis()->SetTitleOffset(1.1); multigraph->GetXaxis()->SetTitleFont(42); multigraph->GetYaxis()->SetTitle("#Lambda (GeV)"); multigraph->GetYaxis()->SetLabelFont(42); multigraph->GetYaxis()->SetTitleSize(0.05); multigraph->GetYaxis()->SetTitleOffset(1.05); multigraph->GetYaxis()->SetTitleFont(42); multigraph = new TMultiGraph(); multigraph->SetName(""); multigraph->SetTitle(""); Double_t Graph_fx2[6] = { 1, 10, 100, 400, 700, 1000}; Double_t Graph_fy2[6] = { 1092.23, 1110.85, 1079.16, 826.374, 584.437, 382.832}; graph = new TGraph(6,Graph_fx2,Graph_fy2); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#ff6666"); graph->SetLineColor(ci); TH1F *Graph_Graph2 = new TH1F("Graph_Graph2","Graph",100,0.9,1099.9); Graph_Graph2->SetMinimum(310.0302); Graph_Graph2->SetMaximum(1183.652); Graph_Graph2->SetDirectory(0); Graph_Graph2->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph2->SetLineColor(ci); Graph_Graph2->GetXaxis()->SetLabelFont(42); Graph_Graph2->GetXaxis()->SetLabelSize(0.035); Graph_Graph2->GetXaxis()->SetTitleSize(0.035); Graph_Graph2->GetXaxis()->SetTitleFont(42); Graph_Graph2->GetYaxis()->SetLabelFont(42); Graph_Graph2->GetYaxis()->SetLabelSize(0.035); Graph_Graph2->GetYaxis()->SetTitleSize(0.035); Graph_Graph2->GetYaxis()->SetTitleFont(42); Graph_Graph2->GetZaxis()->SetLabelFont(42); Graph_Graph2->GetZaxis()->SetLabelSize(0.035); Graph_Graph2->GetZaxis()->SetTitleSize(0.035); Graph_Graph2->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph2); multigraph->Add(graph,""); Double_t Graph_fx3[6] = { 1, 10, 100, 400, 700, 1000}; Double_t Graph_fy3[6] = { 980.038, 996.742, 968.943, 742.067, 524.44, 343.371}; graph = new TGraph(6,Graph_fx3,Graph_fy3); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#ff6666"); graph->SetLineColor(ci); graph->SetLineWidth(3); TH1F *Graph_Graph3 = new TH1F("Graph_Graph3","Graph",100,0.9,1099.9); Graph_Graph3->SetMinimum(278.0339); Graph_Graph3->SetMaximum(1062.079); Graph_Graph3->SetDirectory(0); Graph_Graph3->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph3->SetLineColor(ci); Graph_Graph3->GetXaxis()->SetLabelFont(42); Graph_Graph3->GetXaxis()->SetLabelSize(0.035); Graph_Graph3->GetXaxis()->SetTitleSize(0.035); Graph_Graph3->GetXaxis()->SetTitleFont(42); Graph_Graph3->GetYaxis()->SetLabelFont(42); Graph_Graph3->GetYaxis()->SetLabelSize(0.035); Graph_Graph3->GetYaxis()->SetTitleSize(0.035); Graph_Graph3->GetYaxis()->SetTitleFont(42); Graph_Graph3->GetZaxis()->SetLabelFont(42); Graph_Graph3->GetZaxis()->SetLabelSize(0.035); Graph_Graph3->GetZaxis()->SetTitleSize(0.035); Graph_Graph3->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph3); multigraph->Add(graph,""); Double_t Graph_fx4[6] = { 1, 10, 100, 400, 700, 1000}; Double_t Graph_fy4[6] = { 881.525, 896.549, 871.907, 667.806, 471.744, 308.777}; graph = new TGraph(6,Graph_fx4,Graph_fy4); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#ff6666"); graph->SetLineColor(ci); TH1F *Graph_Graph4 = new TH1F("Graph_Graph4","Graph",100,0.9,1099.9); Graph_Graph4->SetMinimum(249.9998); Graph_Graph4->SetMaximum(955.3262); Graph_Graph4->SetDirectory(0); Graph_Graph4->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph4->SetLineColor(ci); Graph_Graph4->GetXaxis()->SetLabelFont(42); Graph_Graph4->GetXaxis()->SetLabelSize(0.035); Graph_Graph4->GetXaxis()->SetTitleSize(0.035); Graph_Graph4->GetXaxis()->SetTitleFont(42); Graph_Graph4->GetYaxis()->SetLabelFont(42); Graph_Graph4->GetYaxis()->SetLabelSize(0.035); Graph_Graph4->GetYaxis()->SetTitleSize(0.035); Graph_Graph4->GetYaxis()->SetTitleFont(42); Graph_Graph4->GetZaxis()->SetLabelFont(42); Graph_Graph4->GetZaxis()->SetLabelSize(0.035); Graph_Graph4->GetZaxis()->SetTitleSize(0.035); Graph_Graph4->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph4); multigraph->Add(graph,""); Double_t Graph_fx5[6] = { 1, 10, 100, 400, 700, 1000}; Double_t Graph_fy5[6] = { 1028.6, 1012.32, 1016.7, 751.989, 524.44, 360.443}; graph = new TGraph(6,Graph_fx5,Graph_fy5); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#0000ff"); graph->SetLineColor(ci); graph->SetLineWidth(3); TH1F *Graph_Graph5 = new TH1F("Graph_Graph5","Graph",100,0.9,1099.9); Graph_Graph5->SetMinimum(293.6273); Graph_Graph5->SetMaximum(1095.416); Graph_Graph5->SetDirectory(0); Graph_Graph5->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph5->SetLineColor(ci); Graph_Graph5->GetXaxis()->SetLabelFont(42); Graph_Graph5->GetXaxis()->SetLabelSize(0.035); Graph_Graph5->GetXaxis()->SetTitleSize(0.035); Graph_Graph5->GetXaxis()->SetTitleFont(42); Graph_Graph5->GetYaxis()->SetLabelFont(42); Graph_Graph5->GetYaxis()->SetLabelSize(0.035); Graph_Graph5->GetYaxis()->SetTitleSize(0.035); Graph_Graph5->GetYaxis()->SetTitleFont(42); Graph_Graph5->GetZaxis()->SetLabelFont(42); Graph_Graph5->GetZaxis()->SetLabelSize(0.035); Graph_Graph5->GetZaxis()->SetTitleSize(0.035); Graph_Graph5->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph5); multigraph->Add(graph,""); Double_t Graph_fx6[35] = { 3.981, 4.365, 4.786, 5.248, 5.754, 6.31, 6.918, 7.586, 8.318, 9.12, 10, 10.965, 12.023, 13.183, 14.454, 15.849, 17.378, 19.055, 20.893, 22.909, 25.119, 31.623, 39.811, 50.119, 63.096, 79.433, 100, 125.893, 158.489, 199.526, 251.189, 316.228, 1000, 3162.278, 10000}; Double_t Graph_fy6[35] = { 19.76533, 32.58338, 47.96959, 63.10164, 79.00995, 95.55754, 111.9766, 129.0118, 146.2376, 163.5577, 179.3658, 194.9584, 209.5672, 223.2999, 236.0683, 247.7404, 258.366, 268.0662, 277.1383, 285.1146, 292.3901, 306.3527, 314.441, 317.1059, 314.8684, 308.9039, 300.2537, 289.8022, 278.2241, 266.1082, 253.7422, 241.4337, 184.6404, 139.2985, 104.656}; graph = new TGraph(35,Graph_fx6,Graph_fy6); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#6666ff"); graph->SetLineColor(ci); graph->SetLineStyle(6); graph->SetLineWidth(3); TH1F *Graph_Graph6 = new TH1F("Graph_Graph6","Graph",100,3.5829,10999.6); Graph_Graph6->SetMinimum(17.78879); Graph_Graph6->SetMaximum(346.84); Graph_Graph6->SetDirectory(0); Graph_Graph6->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph6->SetLineColor(ci); Graph_Graph6->GetXaxis()->SetLabelFont(42); Graph_Graph6->GetXaxis()->SetLabelSize(0.035); Graph_Graph6->GetXaxis()->SetTitleSize(0.035); Graph_Graph6->GetXaxis()->SetTitleFont(42); Graph_Graph6->GetYaxis()->SetLabelFont(42); Graph_Graph6->GetYaxis()->SetLabelSize(0.035); Graph_Graph6->GetYaxis()->SetTitleSize(0.035); Graph_Graph6->GetYaxis()->SetTitleFont(42); Graph_Graph6->GetZaxis()->SetLabelFont(42); Graph_Graph6->GetZaxis()->SetLabelSize(0.035); Graph_Graph6->GetZaxis()->SetTitleSize(0.035); Graph_Graph6->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph6); multigraph->Add(graph,""); Double_t Graph_fx7[33] = { 5.050109, 5.570498, 6.092375, 6.79836, 7.629504, 8.933253, 10.64203, 12.05014, 13.68495, 14.93901, 17.1131, 19.54765, 22.0792, 25.65551, 29.39341, 34.84152, 41.41884, 48.68491, 59.2071, 75.34994, 97.26741, 131.0246, 163.9459, 202.8261, 243.2248, 309.5828, 383.0166, 473.8718, 622.2993, 833.6, 1028.448, 1283.339, 2026.806}; Double_t Graph_fy7[33] = { 71.77067, 88.82209, 110.1401, 130.7052, 154.2557, 185.7482, 213.1504, 232.735, 248.5277, 258.1632, 268.4587, 280.1818, 286.5229, 293.3758, 296.7995, 299.6924, 299.6947, 297.0875, 293.2892, 285.6511, 275.8293, 262.4571, 252.7364, 243.3346, 234.001, 222.0121, 212.1495, 202.5032, 189.9106, 177.908, 168.9168, 159.7122, 142.9221}; graph = new TGraph(33,Graph_fx7,Graph_fy7); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#ff9900"); graph->SetLineColor(ci); graph->SetLineStyle(2); graph->SetLineWidth(3); TH1F *Graph_Graph7 = new TH1F("Graph_Graph7","Graph",100,4.545098,2228.982); Graph_Graph7->SetMinimum(48.97827); Graph_Graph7->SetMaximum(322.4871); Graph_Graph7->SetDirectory(0); Graph_Graph7->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph7->SetLineColor(ci); Graph_Graph7->GetXaxis()->SetLabelFont(42); Graph_Graph7->GetXaxis()->SetLabelSize(0.035); Graph_Graph7->GetXaxis()->SetTitleSize(0.035); Graph_Graph7->GetXaxis()->SetTitleFont(42); Graph_Graph7->GetYaxis()->SetLabelFont(42); Graph_Graph7->GetYaxis()->SetLabelSize(0.035); Graph_Graph7->GetYaxis()->SetTitleSize(0.035); Graph_Graph7->GetYaxis()->SetTitleFont(42); Graph_Graph7->GetZaxis()->SetLabelFont(42); Graph_Graph7->GetZaxis()->SetLabelSize(0.035); Graph_Graph7->GetZaxis()->SetTitleSize(0.035); Graph_Graph7->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph7); multigraph->Add(graph,""); Double_t Graph_fx8[90] = { 18.74425, 19.90368, 20.73627, 21.82644, 23.00752, 24.07546, 25.0827, 25.71454, 26.71212, 27.99356, 28.53122, 29.59491, 30.69819, 31.93543, 33.71249, 35.53626, 36.69926, 39.48566, 41.74415, 44.52103, 47.27444, 49.54151, 51.99283, 54.56543, 56.59926, 59.57426, 61.97591, 64.94736, 67.7638, 72.165, 77.52983, 78.67276, 79.25885, 79.50015, 79.8577, 79.98559, 80.10781, 80.93361, 82.97299, 85.0636, 87.3346, 89.6657, 93.68976, 97.60831, 101.0972, 103.4923, 107.3498, 111.0254, 114.4909, 118.2376, 120.3333, 131.3772, 140.9375, 145.9754, 148.1289, 150.9739, 154.3249, 158.6761, 165.3121, 170.7206, 172.2259, 173.4824, 174.2374, 175.2489, 175.7591, 179.6599, 186.3538, 196.4347, 207.6675, 217.3037, 228.0541, 241.4457, 256.7473, 271.0309, 292.4573, 319.2919, 352.6953, 387.3116, 421.6106, 459.6163, 505.4719, 563.2603, 635.9718, 692.2802, 745.897, 789.6904, 831.1771, 886.4295, 950.901, 983.4362}; Double_t Graph_fy8[90] = { 190.042, 192.3104, 192.9376, 195.179, 197.2136, 198.0799, 199.3876, 199.4802, 201.01, 204.4632, 204.529, 206.7971, 208.8441, 208.9712, 209.8662, 210.2649, 211.3333, 212.7612, 214.3898, 216.0449, 217.1898, 218.8107, 219.1693, 219.524, 220.873, 221.9988, 223.3628, 223.7069, 225.3419, 225.4478, 225.5616, 225.584, 239.8787, 256.2561, 271.2293, 293.7999, 304.8973, 307.0445, 308.5203, 309.6434, 310.7722, 310.8221, 310.5429, 310.2559, 309.9569, 309.996, 311.8566, 313.3588, 314.1336, 315.2763, 316.7668, 317.2607, 317.3559, 317.4016, 319.264, 319.2881, 319.6855, 319.7195, 318.6591, 318.3273, 317.9688, 309.2591, 300.7849, 289.5104, 286.1793, 286.2011, 285.5743, 285.6238, 285.3433, 284.0635, 283.1184, 281.2031, 278.656, 277.7288, 275.8579, 273.0541, 270.9095, 265.6796, 261.7535, 256.9895, 253.7797, 247.4406, 240.1473, 234.4071, 229.3303, 226.7081, 224.3734, 220.2731, 215.7486, 213.7682}; graph = new TGraph(90,Graph_fx8,Graph_fy8); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#cc33ff"); graph->SetLineColor(ci); graph->SetLineStyle(6); graph->SetLineWidth(3); TH1F *Graph_Graph8 = new TH1F("Graph_Graph8","Graph",100,16.86982,1079.905); Graph_Graph8->SetMinimum(177.0742); Graph_Graph8->SetMaximum(332.6873); Graph_Graph8->SetDirectory(0); Graph_Graph8->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph8->SetLineColor(ci); Graph_Graph8->GetXaxis()->SetLabelFont(42); Graph_Graph8->GetXaxis()->SetLabelSize(0.035); Graph_Graph8->GetXaxis()->SetTitleSize(0.035); Graph_Graph8->GetXaxis()->SetTitleFont(42); Graph_Graph8->GetYaxis()->SetLabelFont(42); Graph_Graph8->GetYaxis()->SetLabelSize(0.035); Graph_Graph8->GetYaxis()->SetTitleSize(0.035); Graph_Graph8->GetYaxis()->SetTitleFont(42); Graph_Graph8->GetZaxis()->SetLabelFont(42); Graph_Graph8->GetZaxis()->SetLabelSize(0.035); Graph_Graph8->GetZaxis()->SetTitleSize(0.035); Graph_Graph8->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph8); multigraph->Add(graph,""); Double_t Graph_fx9[5] = { 250, 500, 1000, 3000, 5000}; Double_t Graph_fy9[5] = { 597.2217, 587.5585, 450.4588, 245.3363, 177.6733}; graph = new TGraph(5,Graph_fx9,Graph_fy9); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#3399ff"); graph->SetLineColor(ci); graph->SetLineStyle(4); graph->SetLineWidth(3); TH1F *Graph_Graph9 = new TH1F("Graph_Graph9","Graph",100,225,5475); Graph_Graph9->SetMinimum(135.7185); Graph_Graph9->SetMaximum(639.1765); Graph_Graph9->SetDirectory(0); Graph_Graph9->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph9->SetLineColor(ci); Graph_Graph9->GetXaxis()->SetLabelFont(42); Graph_Graph9->GetXaxis()->SetLabelSize(0.035); Graph_Graph9->GetXaxis()->SetTitleSize(0.035); Graph_Graph9->GetXaxis()->SetTitleFont(42); Graph_Graph9->GetYaxis()->SetLabelFont(42); Graph_Graph9->GetYaxis()->SetLabelSize(0.035); Graph_Graph9->GetYaxis()->SetTitleSize(0.035); Graph_Graph9->GetYaxis()->SetTitleFont(42); Graph_Graph9->GetZaxis()->SetLabelFont(42); Graph_Graph9->GetZaxis()->SetLabelSize(0.035); Graph_Graph9->GetZaxis()->SetTitleSize(0.035); Graph_Graph9->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph9); multigraph->Add(graph,""); Double_t Graph_fx10[518] = { 6.04, 6.04, 6.04, 6.04, 6.05, 6.08, 6.11, 6.12, 6.12, 6.13, 6.16, 6.16, 6.16, 6.19, 6.2, 6.2, 6.2, 6.21, 6.24, 6.27, 6.28, 6.28, 6.28, 6.28, 6.28, 6.29, 6.34, 6.37, 6.37, 6.37, 6.37, 6.37, 6.38, 6.43, 6.45, 6.45, 6.45, 6.45, 6.45, 6.45, 6.46, 6.53, 6.54, 6.54, 6.54, 6.54, 6.54, 6.54, 6.62, 6.62, 6.62, 6.62, 6.62, 6.62, 6.64, 6.69, 6.71, 6.71, 6.71, 6.71, 6.71, 6.72, 6.78, 6.8, 6.8, 6.8, 6.8, 6.8, 6.81, 6.87, 6.89, 6.89, 6.89, 6.89, 6.89, 6.91, 6.94, 6.97, 6.98, 6.98, 7, 7.05, 7.08, 7.09, 7.15, 7.17, 7.19, 7.24, 7.27, 7.28, 7.34, 7.37, 7.37, 7.45, 7.46, 7.47, 7.55, 7.56, 7.57, 7.65, 7.66, 7.67, 7.76, 7.77, 7.77, 7.86, 7.88, 7.95, 7.99, 8.05, 8.1, 8.15, 8.19, 8.24, 8.27, 8.31, 8.38, 8.43, 8.48, 8.52, 8.58, 8.61, 8.65, 8.71, 8.75, 8.81, 8.84, 8.88, 8.93, 8.97, 9, 9.05, 9.12, 9.17, 9.24, 9.29, 9.36, 9.42, 9.49, 9.54, 9.62, 9.67, 9.74, 9.8, 9.87, 9.93, 10, 10.2, 10.3, 10.5, 10.6, 10.8, 10.9, 10.9, 11, 11.2, 11.2, 11.3, 11.5, 11.6, 11.8, 11.9, 12.1, 12.2, 12.4, 12.6, 12.7, 12.9, 13.1, 13.3, 13.5, 13.5, 13.6, 13.8, 14, 14.2, 14.4, 14.5, 14.5, 14.8, 15, 15.2, 15.3, 15.3, 15.6, 15.8, 15.9, 16, 16.2, 16.5, 16.6, 16.9, 17.2, 17.3, 17.6, 17.9, 18, 18.3, 18.6, 18.7, 19, 19.3, 19.4, 19.5, 19.8, 20.6, 21.4, 21.8, 22, 22.2, 22.6, 22.9, 23.2, 23.5, 23.8, 24.1, 24.5, 24.8, 25.1, 25.5, 25.8, 26.1, 26.5, 26.8, 27.2, 27.6, 28.1, 28.7, 29.1, 29.4, 29.8, 30.8, 31.7, 32.4, 32.9, 34.2, 35.3, 35.8, 36.4, 36.9, 37.4, 38.3, 38.9, 39.4, 40.4, 41, 41.6, 42.6, 43.2, 43.8, 44.4, 45, 45.6, 46.2, 46.8, 47.5, 48.1, 48.7, 49.4, 50.1, 50.7, 51.4, 52.1, 53.3, 54.8, 55.7, 56.4, 57.2, 57.9, 58.7, 59.5, 60.3, 61.1, 61.9, 62.7, 63.5, 64.4, 65.3, 66.3, 67.6, 68.8, 69.7, 70.7, 71.6, 72.8, 74.2, 75.5, 76.5, 77.5, 78.8, 80.3, 81.8, 82.8, 84, 85.1, 86.4, 88.2, 89.7, 90.9, 92.1, 93.6, 95.5, 97.1, 98.4, 100, 102, 104, 105, 108, 110, 112, 114, 115, 118, 120, 122, 124, 127, 130, 132, 134, 137, 139, 142, 145, 147, 150, 152, 155, 157, 161, 164, 167, 170, 173, 176, 179, 182, 187, 190, 194, 197, 200, 205, 208, 213, 216, 222, 225, 231, 234, 240, 244, 253, 262, 267, 272, 278, 283, 289, 295, 301, 307, 312, 317, 323, 329, 334, 341, 347, 353, 358, 367, 374, 381, 387, 395, 403, 411, 419, 427, 436, 445, 454, 463, 475, 485, 494, 504, 514, 528, 545, 564, 583, 603, 615, 628, 639, 649, 662, 675, 689, 701, 712, 726, 741, 756, 771, 786, 802, 818, 833, 846, 863, 878, 892, 910, 935, 964, 992, 1030, 1050, 1070, 1090, 1110, 1150, 1190, 1210, 1230, 1260, 1280, 1310, 1340, 1370, 1400, 1430, 1460, 1490, 1520, 1550, 1600, 1650, 1690, 1720, 1750, 1790, 1850, 1910, 1950, 1990, 2030, 2070, 2130, 2170, 2210, 2260, 2300, 2370, 2410, 2460, 2540, 2630, 2680, 2730, 2820, 2920, 3020, 3120, 3190, 3240, 3320, 3370, 3490, 3610, 3690, 3750, 3880, 4020, 4100, 4180, 4270, 4350, 4440, 4530, 4620, 4690, 4810, 4880, 5000, 5080, 5200, 5310, 5420, 5520, 5640, 5750, 5860, 5980, 6100, 6220, 6330, 6440, 6560, 6700, 6830, 7050, 7300, 7450, 7590, 7840, 8110, 8380, 8670, 8850, 8990, 9210, 9390, 9610}; Double_t Graph_fy10[518] = { 10.38676, 10.50231, 10.59957, 10.7015, 10.89364, 11.07546, 11.20647, 11.30821, 11.41342, 11.62109, 11.82995, 11.96215, 12.07818, 12.17911, 12.30743, 12.414, 12.52534, 12.76538, 12.97118, 13.12865, 13.25128, 13.37442, 13.49524, 13.62174, 13.74534, 13.99711, 14.24146, 14.40622, 14.54013, 14.67427, 14.8083, 14.94868, 15.22224, 15.47959, 15.6669, 15.80805, 15.95581, 16.10083, 16.2527, 16.40114, 16.65049, 17.00656, 17.18103, 17.34867, 17.50979, 17.663, 17.82315, 18.09534, 18.48112, 18.68225, 18.85134, 19.02836, 19.21403, 19.38419, 19.72512, 20.07365, 20.32073, 20.51337, 20.68111, 20.89181, 21.0759, 21.47197, 21.82747, 22.10836, 22.30316, 22.50687, 22.72023, 22.88709, 23.32871, 23.73763, 24.00677, 24.23435, 24.45738, 24.68282, 24.91041, 25.36578, 25.78503, 26.09729, 26.34398, 26.58842, 27.06598, 27.53896, 27.86668, 28.37133, 28.86478, 29.20029, 29.71859, 30.24769, 30.60227, 31.15273, 31.68307, 32.06927, 32.5362, 33.23597, 33.60661, 34.0793, 34.82676, 35.19988, 35.69491, 36.46783, 36.87798, 37.44003, 38.20997, 38.65276, 39.20006, 40.07932, 40.8414, 41.55343, 42.4036, 43.14178, 44.02907, 44.76045, 45.25133, 46.05417, 46.59723, 47.07559, 47.84267, 48.80958, 49.64402, 50.16063, 51.06094, 51.65136, 52.17979, 52.98822, 53.58735, 54.51024, 55.15295, 55.7454, 56.61769, 57.29215, 57.83828, 58.59123, 59.58957, 60.25911, 61.2608, 61.9507, 63.01658, 63.72388, 64.8542, 65.56339, 66.64773, 67.45883, 68.57788, 69.38042, 70.52167, 71.44279, 73.10832, 74.86664, 76.70132, 78.48531, 80.39639, 82.27539, 83.96915, 84.81317, 86.19446, 88.02168, 88.90821, 90.11315, 92.12023, 94.32802, 96.50886, 98.84577, 100.8332, 102.8086, 104.7116, 106.793, 108.8109, 110.7898, 112.9515, 115.1677, 117.0762, 118.1521, 119.1161, 120.7506, 122.937, 125.5722, 127.4196, 128.5312, 129.6638, 131.542, 134.0308, 136.1693, 137.3979, 138.4952, 140.691, 142.7079, 144.0108, 145.2215, 146.8251, 149.5702, 150.7827, 152.4733, 155.2857, 156.5944, 158.387, 161.2726, 162.6707, 164.4505, 167.5191, 168.8856, 170.7937, 172.6887, 174.1507, 175.4199, 177.3078, 182.9573, 187.7626, 189.8365, 190.4369, 191.0454, 193.294, 195.0114, 196.8028, 198.6746, 200.6337, 202.4317, 204.8624, 205.4538, 206.0518, 208.4005, 210.5569, 212.4997, 214.5452, 216.3183, 218.547, 220.4993, 222.5493, 224.7033, 226.9325, 229.2592, 231.2259, 233.3437, 236.0739, 236.692, 237.8515, 240.2765, 242.669, 242.8986, 243.7, 244.4396, 245.1237, 245.324, 246.1552, 246.9239, 247.738, 248.6028, 249.34, 250.183, 251.0113, 251.7779, 252.4054, 252.4402, 252.4741, 252.5072, 252.5394, 252.576, 252.6065, 251.8236, 251.565, 251.5977, 251.9175, 252.7618, 252.7922, 253.0667, 254.0334, 254.1442, 254.1704, 254.1995, 254.2243, 254.2519, 254.2788, 254.305, 254.3305, 254.3554, 254.3796, 254.4032, 254.4291, 254.4543, 254.2526, 253.4561, 253.3367, 253.3588, 252.5675, 252.295, 252.1031, 251.2675, 251.223, 250.3929, 250.0624, 249.8782, 249.0786, 249.0366, 248.174, 247.9263, 247.944, 247.6981, 246.9351, 246.8915, 246.9084, 246.0196, 245.5296, 244.7362, 244.6935, 243.8445, 243.6187, 242.4377, 241.8683, 241.295, 240.1783, 239.0772, 238.001, 237.4805, 236.957, 236.4553, 236.9969, 237.012, 234.4527, 232.994, 232.0529, 231.124, 230.6725, 229.7764, 228.8918, 227.5962, 226.7575, 226.3463, 225.53, 224.7235, 224.3345, 223.5489, 222.4, 221.6514, 220.9151, 220.5568, 219.4781, 218.4252, 218.4349, 217.4066, 216.4078, 215.7535, 214.7888, 214.4764, 213.537, 212.6227, 211.7229, 210.5545, 209.6973, 208.5851, 207.767, 206.7044, 205.9222, 204.9054, 204.1581, 202.7048, 200.6119, 199.4946, 198.6241, 197.7734, 196.9394, 195.9209, 195.126, 194.1531, 193.393, 192.6467, 192.2811, 191.5566, 190.8456, 190.4965, 189.8054, 189.1259, 188.7928, 187.9657, 186.9986, 186.3681, 185.748, 185.29, 184.688, 183.8008, 183.0782, 182.0883, 181.3984, 180.4531, 179.6626, 178.8891, 178.132, 176.4223, 175.5989, 174.7941, 174.0077, 173.2387, 171.644, 170.3208, 168.5686, 167.267, 165.4898, 164.7208, 163.9695, 163.8889, 163.1556, 162.5181, 161.6606, 160.976, 160.9779, 160.2332, 159.5059, 158.7245, 158.0995, 157.2843, 156.6211, 155.8431, 155.2095, 155.1483, 154.4668, 153.8004, 153.7418, 153.0319, 152.3957, 150.9962, 149.8166, 148.4291, 146.8649, 146.1595, 145.5618, 144.8424, 144.2273, 143.077, 141.5716, 140.9059, 140.2935, 139.6204, 138.999, 138.3208, 137.7278, 136.5779, 135.9239, 135.2852, 134.6612, 134.0513, 133.455, 132.8717, 131.7421, 130.3946, 129.6185, 129.1138, 128.6188, 127.8935, 126.9576, 125.6149, 124.9697, 124.5488, 123.9302, 123.3267, 122.1621, 121.6, 121.0507, 120.5136, 119.9882, 118.9705, 118.3154, 117.8359, 116.905, 115.7187, 115.1476, 114.5904, 113.7792, 112.4881, 111.6267, 110.4508, 109.8856, 109.4437, 108.7971, 108.3764, 107.6595, 106.4832, 106.0117, 105.4593, 104.657, 103.6329, 103.0581, 102.6571, 102.1086, 101.7257, 101.2013, 100.7625, 100.2622, 99.77413, 99.29779, 98.89833, 98.37802, 97.9966, 97.43805, 97.13459, 96.65859, 96.25151, 95.79658, 95.35219, 94.91791, 94.49337, 94.02686, 93.6217, 93.27425, 93.07861, 92.78892, 92.31587, 91.94598, 91.2278, 90.24254, 89.78968, 89.42747, 88.72436, 87.79184, 87.11485, 86.19591, 85.77034, 85.35504, 84.91885, 84.61402, 84.25532}; graph = new TGraph(518,Graph_fx10,Graph_fy10); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#66ccff"); graph->SetLineColor(ci); graph->SetLineStyle(5); graph->SetLineWidth(3); TH1F *Graph_Graph10 = new TH1F("Graph_Graph10","Graph",518,5.436,10570.4); Graph_Graph10->SetMinimum(9.348083); Graph_Graph10->SetMaximum(278.861); Graph_Graph10->SetDirectory(0); Graph_Graph10->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph10->SetLineColor(ci); Graph_Graph10->GetXaxis()->SetLabelFont(42); Graph_Graph10->GetXaxis()->SetLabelSize(0.035); Graph_Graph10->GetXaxis()->SetTitleSize(0.035); Graph_Graph10->GetXaxis()->SetTitleFont(42); Graph_Graph10->GetYaxis()->SetLabelFont(42); Graph_Graph10->GetYaxis()->SetLabelSize(0.035); Graph_Graph10->GetYaxis()->SetTitleSize(0.035); Graph_Graph10->GetYaxis()->SetTitleFont(42); Graph_Graph10->GetZaxis()->SetLabelFont(42); Graph_Graph10->GetZaxis()->SetLabelSize(0.035); Graph_Graph10->GetZaxis()->SetTitleSize(0.035); Graph_Graph10->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph10); multigraph->Add(graph,""); Double_t Graph_fx11[35] = { 3.98, 4.37, 4.79, 5.25, 5.75, 6.31, 6.92, 7.59, 8.32, 9.12, 10, 10.96, 12.02, 13.18, 14.45, 15.85, 17.38, 19.05, 20.89, 22.91, 25.12, 31.62, 39.81, 50.12, 63.1, 79.43, 100, 125.89, 158.49, 199.53, 251.19, 316.23, 1000, 3162.3, 10000}; Double_t Graph_fy11[35] = { 64.47703, 92.96188, 120.9916, 144.7661, 171.1873, 194.8983, 219.9867, 244.5213, 267.5613, 289.6608, 311.7509, 330.2783, 345.9273, 362.605, 376.5173, 387.5872, 398.0475, 406.9399, 414.3522, 421.5604, 426.3119, 433.1181, 435.0014, 429.503, 421.4079, 411.5566, 398.3919, 383.7713, 369.2768, 352.1727, 335.9504, 319.8066, 245.9105, 185.1913, 139.1868}; graph = new TGraph(35,Graph_fx11,Graph_fy11); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#66cc66"); graph->SetLineColor(ci); graph->SetLineStyle(2); graph->SetLineWidth(3); TH1F *Graph_Graph11 = new TH1F("Graph_Graph11","Graph",100,3.582,10999.6); Graph_Graph11->SetMinimum(27.4246); Graph_Graph11->SetMaximum(472.0538); Graph_Graph11->SetDirectory(0); Graph_Graph11->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph11->SetLineColor(ci); Graph_Graph11->GetXaxis()->SetLabelFont(42); Graph_Graph11->GetXaxis()->SetLabelSize(0.035); Graph_Graph11->GetXaxis()->SetTitleSize(0.035); Graph_Graph11->GetXaxis()->SetTitleFont(42); Graph_Graph11->GetYaxis()->SetLabelFont(42); Graph_Graph11->GetYaxis()->SetLabelSize(0.035); Graph_Graph11->GetYaxis()->SetTitleSize(0.035); Graph_Graph11->GetYaxis()->SetTitleFont(42); Graph_Graph11->GetZaxis()->SetLabelFont(42); Graph_Graph11->GetZaxis()->SetLabelSize(0.035); Graph_Graph11->GetZaxis()->SetTitleSize(0.035); Graph_Graph11->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph11); multigraph->Add(graph,""); Double_t Graph_fx12[35] = { 4, 5, 6, 7, 8, 9, 10, 12, 14, 16, 18, 20, 24, 28, 32, 36, 40, 44, 48, 52, 56, 60, 65, 70, 75, 80, 85, 90, 95, 100, 150, 200, 300, 400, 500}; Double_t Graph_fy12[35] = { 91.75045, 115.9467, 132.4599, 144.0692, 152.856, 159.9043, 165.4462, 172.653, 177.2831, 179.5654, 180.8904, 181.5836, 181.5776, 181.2419, 178.737, 176.8406, 175.2212, 173.4303, 171.2294, 169.3498, 167.5194, 165.3283, 163.1921, 161.2337, 159.198, 157.2876, 155.7156, 153.813, 152.3262, 150.9621, 138.5165, 129.9907, 118.4184, 110.7202, 104.9163}; graph = new TGraph(35,Graph_fx12,Graph_fy12); graph->SetName("Graph"); graph->SetTitle("Graph"); graph->SetFillColor(1); ci = TColor::GetColor("#333399"); graph->SetLineColor(ci); graph->SetLineStyle(2); graph->SetLineWidth(3); TH1F *Graph_Graph12 = new TH1F("Graph_Graph12","Graph",100,3.6,549.6); Graph_Graph12->SetMinimum(82.76714); Graph_Graph12->SetMaximum(190.5669); Graph_Graph12->SetDirectory(0); Graph_Graph12->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph12->SetLineColor(ci); Graph_Graph12->GetXaxis()->SetLabelFont(42); Graph_Graph12->GetXaxis()->SetLabelSize(0.035); Graph_Graph12->GetXaxis()->SetTitleSize(0.035); Graph_Graph12->GetXaxis()->SetTitleFont(42); Graph_Graph12->GetYaxis()->SetLabelFont(42); Graph_Graph12->GetYaxis()->SetLabelSize(0.035); Graph_Graph12->GetYaxis()->SetTitleSize(0.035); Graph_Graph12->GetYaxis()->SetTitleFont(42); Graph_Graph12->GetZaxis()->SetLabelFont(42); Graph_Graph12->GetZaxis()->SetLabelSize(0.035); Graph_Graph12->GetZaxis()->SetTitleSize(0.035); Graph_Graph12->GetZaxis()->SetTitleFont(42); graph->SetHistogram(Graph_Graph12); multigraph->Add(graph,""); multigraph->Draw("L"); TLegend *leg = new TLegend(0.185,0.5,0.59,0.79,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.03); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("NULL","Razor-0#mu 90% CL limit: AV EFT operator","h"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(1); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","Expected limit, with uncertainty","lf"); ci = TColor::GetColor("#ffcc00"); entry->SetFillColor(ci); entry->SetFillStyle(1001); ci = TColor::GetColor("#ff6666"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","Observed limit","l"); ci = TColor::GetColor("#0000ff"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); leg = new TLegend(0.7,0.5,0.95,0.79,NULL,"brNDC"); leg->SetBorderSize(0); leg->SetTextSize(0.03); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); entry=leg->AddEntry("Graph","IceCube W^{+}W^{-}","l"); ci = TColor::GetColor("#3399ff"); entry->SetLineColor(ci); entry->SetLineStyle(4); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","COUPP 2012","l"); ci = TColor::GetColor("#6666ff"); entry->SetLineColor(ci); entry->SetLineStyle(6); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","SIMPLE 2012","l"); ci = TColor::GetColor("#ff9900"); entry->SetLineColor(ci); entry->SetLineStyle(2); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","Super-K W^{+}W^{-}","l"); ci = TColor::GetColor("#cc33ff"); entry->SetLineColor(ci); entry->SetLineStyle(6); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","XENON 100","l"); ci = TColor::GetColor("#66ccff"); entry->SetLineColor(ci); entry->SetLineStyle(5); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","PICO","l"); ci = TColor::GetColor("#66cc66"); entry->SetLineColor(ci); entry->SetLineStyle(2); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("Graph","PICASSO","l"); ci = TColor::GetColor("#333399"); entry->SetLineColor(ci); entry->SetLineStyle(2); entry->SetLineWidth(3); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TLatex * tex = new TLatex(0.955,0.945,"18.8 fb^{-1} (8 TeV)"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(42); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.27,0.867,"CMS"); tex->SetNDC(); tex->SetTextAlign(31); tex->SetTextFont(61); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); TH1F *_copy__1 = new TH1F("_copy__1","",100,0.9,1049.95); _copy__1->SetMinimum(100); _copy__1->SetMaximum(1e+08); _copy__1->SetDirectory(0); _copy__1->SetStats(0); ci = TColor::GetColor("#000099"); _copy__1->SetLineColor(ci); _copy__1->GetXaxis()->SetTitle("M_{#chi} (GeV)"); _copy__1->GetXaxis()->SetRange(0,96); _copy__1->GetXaxis()->SetLabelFont(42); _copy__1->GetXaxis()->SetTitleSize(0.05); _copy__1->GetXaxis()->SetTitleOffset(1.1); _copy__1->GetXaxis()->SetTitleFont(42); _copy__1->GetYaxis()->SetTitle("#Lambda (GeV)"); _copy__1->GetYaxis()->SetLabelFont(42); _copy__1->GetYaxis()->SetTitleSize(0.05); _copy__1->GetYaxis()->SetTitleOffset(1.05); _copy__1->GetYaxis()->SetTitleFont(42); _copy__1->GetZaxis()->SetLabelFont(42); _copy__1->GetZaxis()->SetLabelSize(0.035); _copy__1->GetZaxis()->SetTitleSize(0.035); _copy__1->GetZaxis()->SetTitleFont(42); _copy__1->Draw("sameaxis"); c->Modified(); c->cd(); c->SetSelected(c); }