void fluence_RPC_re3_re4() { //=========Macro generated from canvas: c/c //========= (Wed Jan 8 17:41:34 2020) by ROOT version6.08/06 TCanvas *c = new TCanvas("c", "c",95,175,834,600); gStyle->SetOptFit(1); c->Range(248.6464,-1.097179e+11,752.1824,7.899687e+11); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetRightMargin(0.04206731); c->SetBottomMargin(0.1219512); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); Double_t Graph0_fx1001[37] = { 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 605, 615, 625, 635, 645, 655, 665, 675, 685, 695}; Double_t Graph0_fy1001[37] = { 3.58e+11, 3.33e+11, 3.1e+11, 2.65e+11, 2.32e+11, 2.19e+11, 1.96e+11, 1.84e+11, 1.7e+11, 1.58e+11, 1.48e+11, 1.46e+11, 1.44e+11, 1.27e+11, 1.2e+11, 1.16e+11, 1.07e+11, 1.04e+11, 9.88e+10, 9.57e+10, 8.96e+10, 8.87e+10, 8.57e+10, 9.03e+10, 8.81e+10, 8.29e+10, 7.73e+10, 7.91e+10, 8.44e+10, 8.35e+10, 8.24e+10, 8.13e+10, 8.63e+10, 8.78e+10, 8.99e+10, 1.02e+11, 1.34e+11}; Double_t Graph0_fex1001[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph0_fey1001[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; TGraphErrors *gre = new TGraphErrors(37,Graph0_fx1001,Graph0_fy1001,Graph0_fex1001,Graph0_fey1001); gre->SetName("Graph0"); gre->SetTitle(" ; R [cm]; Fluence [cm^{-2}]"); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#990000"); gre->SetFillColor(ci); ci = TColor::GetColor("#990000"); gre->SetLineColor(ci); gre->SetLineWidth(2); ci = TColor::GetColor("#990000"); gre->SetMarkerColor(ci); gre->SetMarkerStyle(20); gre->SetMarkerSize(1.4); TH1F *Graph_Graph_Graph10011001 = new TH1F("Graph_Graph_Graph10011001"," ",100,299,731); Graph_Graph_Graph10011001->SetMinimum(0); Graph_Graph_Graph10011001->SetMaximum(7e+11); Graph_Graph_Graph10011001->SetDirectory(0); Graph_Graph_Graph10011001->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_Graph10011001->SetLineColor(ci); Graph_Graph_Graph10011001->GetXaxis()->SetTitle(" R [cm]"); Graph_Graph_Graph10011001->GetXaxis()->SetLabelFont(42); Graph_Graph_Graph10011001->GetXaxis()->SetLabelSize(0.035); Graph_Graph_Graph10011001->GetXaxis()->SetTitleSize(0.05); Graph_Graph_Graph10011001->GetXaxis()->SetTitleOffset(0.9); Graph_Graph_Graph10011001->GetXaxis()->SetTitleFont(42); Graph_Graph_Graph10011001->GetYaxis()->SetTitle(" Fluence [cm^{-2}]"); Graph_Graph_Graph10011001->GetYaxis()->SetLabelFont(42); Graph_Graph_Graph10011001->GetYaxis()->SetLabelSize(0.035); Graph_Graph_Graph10011001->GetYaxis()->SetTitleSize(0.05); Graph_Graph_Graph10011001->GetYaxis()->SetTitleOffset(0.95); Graph_Graph_Graph10011001->GetYaxis()->SetTitleFont(42); Graph_Graph_Graph10011001->GetZaxis()->SetLabelFont(42); Graph_Graph_Graph10011001->GetZaxis()->SetLabelSize(0.035); Graph_Graph_Graph10011001->GetZaxis()->SetTitleSize(0.035); Graph_Graph_Graph10011001->GetZaxis()->SetTitleFont(42); gre->SetHistogram(Graph_Graph_Graph10011001); gre->Draw("pae"); Double_t Graph1_fx1002[37] = { 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 605, 615, 625, 635, 645, 655, 665, 675, 685, 695}; Double_t Graph1_fy1002[37] = { 2.68e+11, 2.49e+11, 2.33e+11, 1.98e+11, 1.74e+11, 1.64e+11, 1.47e+11, 1.38e+11, 1.28e+11, 1.19e+11, 1.11e+11, 1.1e+11, 1.08e+11, 9.51e+10, 9e+10, 8.7e+10, 8.05e+10, 7.79e+10, 7.41e+10, 7.18e+10, 6.72e+10, 6.66e+10, 6.43e+10, 6.77e+10, 6.61e+10, 6.21e+10, 5.8e+10, 5.93e+10, 6.33e+10, 6.26e+10, 6.18e+10, 6.1e+10, 6.47e+10, 6.58e+10, 6.75e+10, 7.62e+10, 1e+11}; Double_t Graph1_fex1002[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph1_fey1002[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; gre = new TGraphErrors(37,Graph1_fx1002,Graph1_fy1002,Graph1_fex1002,Graph1_fey1002); gre->SetName("Graph1"); gre->SetTitle("Graph"); ci = TColor::GetColor("#000099"); gre->SetFillColor(ci); ci = TColor::GetColor("#000099"); gre->SetLineColor(ci); ci = TColor::GetColor("#000099"); gre->SetMarkerColor(ci); gre->SetMarkerStyle(24); gre->SetMarkerSize(1.4); TH1F *Graph_Graph_Graph10021002 = new TH1F("Graph_Graph_Graph10021002","Graph",100,299,731); Graph_Graph_Graph10021002->SetMinimum(3.7e+10); Graph_Graph_Graph10021002->SetMaximum(2.89e+11); Graph_Graph_Graph10021002->SetDirectory(0); Graph_Graph_Graph10021002->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_Graph10021002->SetLineColor(ci); Graph_Graph_Graph10021002->GetXaxis()->SetLabelFont(42); Graph_Graph_Graph10021002->GetXaxis()->SetLabelSize(0.035); Graph_Graph_Graph10021002->GetXaxis()->SetTitleSize(0.035); Graph_Graph_Graph10021002->GetXaxis()->SetTitleFont(42); Graph_Graph_Graph10021002->GetYaxis()->SetLabelFont(42); Graph_Graph_Graph10021002->GetYaxis()->SetLabelSize(0.035); Graph_Graph_Graph10021002->GetYaxis()->SetTitleSize(0.035); Graph_Graph_Graph10021002->GetYaxis()->SetTitleFont(42); Graph_Graph_Graph10021002->GetZaxis()->SetLabelFont(42); Graph_Graph_Graph10021002->GetZaxis()->SetLabelSize(0.035); Graph_Graph_Graph10021002->GetZaxis()->SetTitleSize(0.035); Graph_Graph_Graph10021002->GetZaxis()->SetTitleFont(42); gre->SetHistogram(Graph_Graph_Graph10021002); gre->Draw("pe"); Double_t Graph2_fx1003[37] = { 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 605, 615, 625, 635, 645, 655, 665, 675, 685, 695}; Double_t Graph2_fy1003[37] = { 5.05e+11, 5.07e+11, 4.76e+11, 4.42e+11, 4.17e+11, 3.89e+11, 3.85e+11, 3.72e+11, 3.52e+11, 3.38e+11, 3.14e+11, 3.04e+11, 2.86e+11, 2.89e+11, 2.77e+11, 2.76e+11, 2.72e+11, 2.68e+11, 2.61e+11, 2.52e+11, 2.61e+11, 2.52e+11, 2.5e+11, 2.6e+11, 2.52e+11, 2.38e+11, 2.39e+11, 2.35e+11, 2.38e+11, 2.38e+11, 2.36e+11, 2.39e+11, 2.38e+11, 2.3e+11, 2.22e+11, 2.3e+11, 2.5e+11}; Double_t Graph2_fex1003[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph2_fey1003[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; gre = new TGraphErrors(37,Graph2_fx1003,Graph2_fy1003,Graph2_fex1003,Graph2_fey1003); gre->SetName("Graph2"); gre->SetTitle("Graph"); ci = TColor::GetColor("#990000"); gre->SetFillColor(ci); ci = TColor::GetColor("#990000"); gre->SetLineColor(ci); ci = TColor::GetColor("#990000"); gre->SetMarkerColor(ci); gre->SetMarkerStyle(21); gre->SetMarkerSize(1.4); TH1F *Graph_Graph_Graph10031003 = new TH1F("Graph_Graph_Graph10031003","Graph",100,299,731); Graph_Graph_Graph10031003->SetMinimum(1.935e+11); Graph_Graph_Graph10031003->SetMaximum(5.355e+11); Graph_Graph_Graph10031003->SetDirectory(0); Graph_Graph_Graph10031003->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_Graph10031003->SetLineColor(ci); Graph_Graph_Graph10031003->GetXaxis()->SetLabelFont(42); Graph_Graph_Graph10031003->GetXaxis()->SetLabelSize(0.035); Graph_Graph_Graph10031003->GetXaxis()->SetTitleSize(0.035); Graph_Graph_Graph10031003->GetXaxis()->SetTitleFont(42); Graph_Graph_Graph10031003->GetYaxis()->SetLabelFont(42); Graph_Graph_Graph10031003->GetYaxis()->SetLabelSize(0.035); Graph_Graph_Graph10031003->GetYaxis()->SetTitleSize(0.035); Graph_Graph_Graph10031003->GetYaxis()->SetTitleFont(42); Graph_Graph_Graph10031003->GetZaxis()->SetLabelFont(42); Graph_Graph_Graph10031003->GetZaxis()->SetLabelSize(0.035); Graph_Graph_Graph10031003->GetZaxis()->SetTitleSize(0.035); Graph_Graph_Graph10031003->GetZaxis()->SetTitleFont(42); gre->SetHistogram(Graph_Graph_Graph10031003); gre->Draw("pe"); Double_t Graph3_fx1004[37] = { 335, 345, 355, 365, 375, 385, 395, 405, 415, 425, 435, 445, 455, 465, 475, 485, 495, 505, 515, 525, 535, 545, 555, 565, 575, 585, 595, 605, 615, 625, 635, 645, 655, 665, 675, 685, 695}; Double_t Graph3_fy1004[37] = { 3.79e+11, 3.8e+11, 3.57e+11, 3.32e+11, 3.13e+11, 2.92e+11, 2.88e+11, 2.79e+11, 2.64e+11, 2.54e+11, 2.35e+11, 2.28e+11, 2.15e+11, 2.17e+11, 2.08e+11, 2.07e+11, 2.04e+11, 2.01e+11, 1.96e+11, 1.89e+11, 1.96e+11, 1.89e+11, 1.88e+11, 1.95e+11, 1.89e+11, 1.79e+11, 1.79e+11, 1.76e+11, 1.79e+11, 1.78e+11, 1.77e+11, 1.79e+11, 1.78e+11, 1.73e+11, 1.66e+11, 1.72e+11, 1.88e+11}; Double_t Graph3_fex1004[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; Double_t Graph3_fey1004[37] = { 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0}; gre = new TGraphErrors(37,Graph3_fx1004,Graph3_fy1004,Graph3_fex1004,Graph3_fey1004); gre->SetName("Graph3"); gre->SetTitle("Graph"); ci = TColor::GetColor("#000099"); gre->SetFillColor(ci); ci = TColor::GetColor("#000099"); gre->SetLineColor(ci); ci = TColor::GetColor("#000099"); gre->SetMarkerColor(ci); gre->SetMarkerStyle(25); gre->SetMarkerSize(1.4); TH1F *Graph_Graph_Graph10041004 = new TH1F("Graph_Graph_Graph10041004","Graph",100,299,731); Graph_Graph_Graph10041004->SetMinimum(1.446e+11); Graph_Graph_Graph10041004->SetMaximum(4.014e+11); Graph_Graph_Graph10041004->SetDirectory(0); Graph_Graph_Graph10041004->SetStats(0); ci = TColor::GetColor("#000099"); Graph_Graph_Graph10041004->SetLineColor(ci); Graph_Graph_Graph10041004->GetXaxis()->SetLabelFont(42); Graph_Graph_Graph10041004->GetXaxis()->SetLabelSize(0.035); Graph_Graph_Graph10041004->GetXaxis()->SetTitleSize(0.035); Graph_Graph_Graph10041004->GetXaxis()->SetTitleFont(42); Graph_Graph_Graph10041004->GetYaxis()->SetLabelFont(42); Graph_Graph_Graph10041004->GetYaxis()->SetLabelSize(0.035); Graph_Graph_Graph10041004->GetYaxis()->SetTitleSize(0.035); Graph_Graph_Graph10041004->GetYaxis()->SetTitleFont(42); Graph_Graph_Graph10041004->GetZaxis()->SetLabelFont(42); Graph_Graph_Graph10041004->GetZaxis()->SetLabelSize(0.035); Graph_Graph_Graph10041004->GetZaxis()->SetTitleSize(0.035); Graph_Graph_Graph10041004->GetZaxis()->SetTitleFont(42); gre->SetHistogram(Graph_Graph_Graph10041004); gre->Draw("pe"); TLegend *leg = new TLegend(0.7079327,0.6062718,0.9567308,0.8797909,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(0); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("NULL","RE3/23 4000 fb^{-1}","lp"); ci = TColor::GetColor("#990000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); ci = TColor::GetColor("#990000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(20); entry->SetMarkerSize(1.4); entry->SetTextFont(42); entry=leg->AddEntry("NULL","RE3/23 3000 fb^{-1}","lp"); ci = TColor::GetColor("#000099"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#000099"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(24); entry->SetMarkerSize(1.4); entry->SetTextFont(42); entry=leg->AddEntry("NULL","RE4/23 4000 fb^{-1}","lp"); ci = TColor::GetColor("#990000"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#990000"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(21); entry->SetMarkerSize(1.4); entry->SetTextFont(42); entry=leg->AddEntry("NULL","RE4/23 3000 fb^{-1}","lp"); ci = TColor::GetColor("#000099"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(1); ci = TColor::GetColor("#000099"); entry->SetMarkerColor(ci); entry->SetMarkerStyle(25); entry->SetMarkerSize(1.4); entry->SetTextFont(42); leg->Draw(); TLatex * tex = new TLatex(0.25,0.83,"CMS-FLUKA Simulation"); tex->SetNDC(); tex->SetTextFont(61); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.25,0.81,"Preliminary"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(52); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.25,0.76,"Phase-2 geometry"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(52); tex->SetTextSize(0.045); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.25,0.925,"RPC, 1-MeV neutron equivalent Si"); tex->SetNDC(); tex->SetTextAlign(15); tex->SetTextFont(42); tex->SetTextSize(0.055); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.1,0.03,"CMS FLUKA Study v.3.7.20.0"); tex->SetNDC(); tex->SetTextAlign(15); tex->SetTextFont(42); tex->SetTextSize(0.038); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.25,0.71,"RE3/2,3: 970 cm < Z < 980 cm"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(52); tex->SetTextSize(0.04181185); tex->SetLineWidth(2); tex->Draw(); tex = new TLatex(0.25,0.6602787,"RE4/2,3: 1060 cm < Z < 1070 cm"); tex->SetNDC(); tex->SetTextAlign(13); tex->SetTextFont(52); tex->SetTextSize(0.04181185); tex->SetTextAngle(359.2188); tex->SetLineWidth(2); tex->Draw(); TPaveText *pt = new TPaveText(0.4821875,0.94,0.5178125,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); AText = pt->AddText(" "); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }