void RatesPerCell_Removing_noisy_cells_run_6735_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:08:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11971.36,67.5,107742.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6735",60,0,60); h_SL2L164->SetBinContent(1,33286.15); h_SL2L164->SetBinContent(2,41118.61); h_SL2L164->SetBinContent(3,50205.92); h_SL2L164->SetBinContent(4,52266.58); h_SL2L164->SetBinContent(5,49528.74); h_SL2L164->SetBinContent(6,46773.91); h_SL2L164->SetBinContent(7,41885.59); h_SL2L164->SetBinContent(8,41329.77); h_SL2L164->SetBinContent(9,45820.03); h_SL2L164->SetBinContent(10,47570.02); h_SL2L164->SetBinContent(11,47570.02); h_SL2L164->SetBinContent(12,46829.73); h_SL2L164->SetBinContent(13,47414.68); h_SL2L164->SetBinContent(14,45919.54); h_SL2L164->SetBinContent(15,44924.41); h_SL2L164->SetBinContent(16,43419.56); h_SL2L164->SetBinContent(17,43036.07); h_SL2L164->SetBinContent(18,41888.02); h_SL2L164->SetBinContent(19,40786.09); h_SL2L164->SetBinContent(20,37645.34); h_SL2L164->SetBinContent(21,34895.36); h_SL2L164->SetBinContent(22,31960.92); h_SL2L164->SetBinContent(23,31528.88); h_SL2L164->SetBinContent(24,29601.71); h_SL2L164->SetBinContent(25,32456.06); h_SL2L164->SetBinContent(26,49244.76); h_SL2L164->SetBinContent(27,61700.97); h_SL2L164->SetBinContent(28,68987.33); h_SL2L164->SetBinContent(29,71244.59); h_SL2L164->SetBinContent(30,68239.76); h_SL2L164->SetBinContent(31,65890.27); h_SL2L164->SetBinContent(32,65450.95); h_SL2L164->SetBinContent(33,64390.27); h_SL2L164->SetBinContent(34,44111.3); h_SL2L164->SetBinContent(36,20839.64); h_SL2L164->SetBinContent(37,21711); h_SL2L164->SetBinContent(38,21174.59); h_SL2L164->SetBinContent(39,21215.85); h_SL2L164->SetBinContent(40,72416.91); h_SL2L164->SetBinContent(41,61065.06); h_SL2L164->SetBinContent(42,22832.35); h_SL2L164->SetBinContent(43,22776.52); h_SL2L164->SetBinContent(44,22208.56); h_SL2L164->SetBinContent(45,16825.11); h_SL2L164->SetBinContent(46,15424.64); h_SL2L164->SetBinContent(47,16230.46); h_SL2L164->SetBinContent(48,16116.38); h_SL2L164->SetBinContent(49,16808.12); h_SL2L164->SetBinContent(50,16740.16); h_SL2L164->SetBinContent(51,17730.44); h_SL2L164->SetBinContent(52,19521.69); h_SL2L164->SetBinContent(53,21606.63); h_SL2L164->SetBinContent(54,22485.26); h_SL2L164->SetBinContent(55,22460.99); h_SL2L164->SetBinContent(56,19480.43); h_SL2L164->SetBinContent(57,23759.52); h_SL2L164->SetMaximum(95770.85); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,27400.27); h_SL2L265->SetBinContent(2,39781.24); h_SL2L265->SetBinContent(3,43436.55); h_SL2L265->SetBinContent(4,49625.82); h_SL2L265->SetBinContent(5,49227.77); h_SL2L265->SetBinContent(6,46453.52); h_SL2L265->SetBinContent(7,42625.88); h_SL2L265->SetBinContent(8,37538.54); h_SL2L265->SetBinContent(9,43465.68); h_SL2L265->SetBinContent(10,44582.18); h_SL2L265->SetBinContent(11,45892.84); h_SL2L265->SetBinContent(12,45312.75); h_SL2L265->SetBinContent(13,44465.67); h_SL2L265->SetBinContent(14,44681.69); h_SL2L265->SetBinContent(15,43895.29); h_SL2L265->SetBinContent(16,43174.42); h_SL2L265->SetBinContent(17,41788.51); h_SL2L265->SetBinContent(18,40895.31); h_SL2L265->SetBinContent(19,40167.16); h_SL2L265->SetBinContent(20,36956.02); h_SL2L265->SetBinContent(21,35324.97); h_SL2L265->SetBinContent(22,32002.18); h_SL2L265->SetBinContent(23,29892.97); h_SL2L265->SetBinContent(24,29436.66); h_SL2L265->SetBinContent(25,28502.21); h_SL2L265->SetBinContent(26,40094.35); h_SL2L265->SetBinContent(27,54866.08); h_SL2L265->SetBinContent(28,65028.62); h_SL2L265->SetBinContent(29,69615.96); h_SL2L265->SetBinContent(30,68870.82); h_SL2L265->SetBinContent(31,65215.51); h_SL2L265->SetBinContent(32,64273.77); h_SL2L265->SetBinContent(33,64720.37); h_SL2L265->SetBinContent(34,56555.38); h_SL2L265->SetBinContent(35,30305.59); h_SL2L265->SetBinContent(36,20917.31); h_SL2L265->SetBinContent(37,19261.99); h_SL2L265->SetBinContent(38,19626.06); h_SL2L265->SetBinContent(39,19657.61); h_SL2L265->SetBinContent(40,20541.1); h_SL2L265->SetBinContent(41,19407.62); h_SL2L265->SetBinContent(42,18876.07); h_SL2L265->SetBinContent(43,17470.74); h_SL2L265->SetBinContent(44,17681.9); h_SL2L265->SetBinContent(45,16232.88); h_SL2L265->SetBinContent(46,15808.13); h_SL2L265->SetBinContent(47,15281.43); h_SL2L265->SetBinContent(48,15725.61); h_SL2L265->SetBinContent(49,16012.01); h_SL2L265->SetBinContent(50,16553.27); h_SL2L265->SetBinContent(51,15565.41); h_SL2L265->SetBinContent(52,17664.91); h_SL2L265->SetBinContent(53,18975.58); h_SL2L265->SetBinContent(54,20524.11); h_SL2L265->SetBinContent(55,21805.65); h_SL2L265->SetBinContent(56,19890.62); h_SL2L265->SetBinContent(57,18601.8); h_SL2L265->SetMaximum(83279.44); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,32223.05); h_SL2L366->SetBinContent(2,38101.64); h_SL2L366->SetBinContent(3,47373.42); h_SL2L366->SetBinContent(4,47955.94); h_SL2L366->SetBinContent(5,46596.72); h_SL2L366->SetBinContent(6,42902.58); h_SL2L366->SetBinContent(7,37895.34); h_SL2L366->SetBinContent(8,38732.71); h_SL2L366->SetBinContent(9,43023.94); h_SL2L366->SetBinContent(10,43193.84); h_SL2L366->SetBinContent(11,43604.03); h_SL2L366->SetBinContent(12,43688.98); h_SL2L366->SetBinContent(13,42863.74); h_SL2L366->SetBinContent(14,42766.66); h_SL2L366->SetBinContent(15,42179.28); h_SL2L366->SetBinContent(16,40550.65); h_SL2L366->SetBinContent(17,39002.12); h_SL2L366->SetBinContent(18,39213.29); h_SL2L366->SetBinContent(19,37152.62); h_SL2L366->SetBinContent(20,35138.07); h_SL2L366->SetBinContent(21,32582.27); h_SL2L366->SetBinContent(22,29363.85); h_SL2L366->SetBinContent(23,28567.74); h_SL2L366->SetBinContent(24,27325.03); h_SL2L366->SetBinContent(25,30312.87); h_SL2L366->SetBinContent(26,47482.64); h_SL2L366->SetBinContent(27,59586.91); h_SL2L366->SetBinContent(28,67414.52); h_SL2L366->SetBinContent(29,68785.87); h_SL2L366->SetBinContent(30,66390.26); h_SL2L366->SetBinContent(31,64091.73); h_SL2L366->SetBinContent(32,63708.24); h_SL2L366->SetBinContent(33,62691.26); h_SL2L366->SetBinContent(34,42269.09); h_SL2L366->SetBinContent(35,22436.72); h_SL2L366->SetBinContent(36,19147.91); h_SL2L366->SetBinContent(37,18740.14); h_SL2L366->SetBinContent(38,18609.08); h_SL2L366->SetBinContent(39,17944.04); h_SL2L366->SetBinContent(40,17795.98); h_SL2L366->SetBinContent(41,17077.54); h_SL2L366->SetBinContent(42,16388.22); h_SL2L366->SetBinContent(43,16160.07); h_SL2L366->SetBinContent(44,16414.92); h_SL2L366->SetBinContent(45,15303.28); h_SL2L366->SetBinContent(46,14786.29); h_SL2L366->SetBinContent(47,15293.57); h_SL2L366->SetBinContent(48,14929.5); h_SL2L366->SetBinContent(49,15745.02); h_SL2L366->SetBinContent(50,15492.6); h_SL2L366->SetBinContent(51,15800.85); h_SL2L366->SetBinContent(52,17359.09); h_SL2L366->SetBinContent(53,19567.81); h_SL2L366->SetBinContent(54,20587.22); h_SL2L366->SetBinContent(55,21393.04); h_SL2L366->SetBinContent(56,17737.72); h_SL2L366->SetBinContent(57,17793.55); h_SL2L366->SetMaximum(83279.44); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,36735.15); h_SL2L467->SetBinContent(3,41489.97); h_SL2L467->SetBinContent(4,45320.04); h_SL2L467->SetBinContent(5,45050.62); h_SL2L467->SetBinContent(6,42827.34); h_SL2L467->SetBinContent(7,39504.55); h_SL2L467->SetBinContent(8,34795.84); h_SL2L467->SetBinContent(9,40339.49); h_SL2L467->SetBinContent(10,42252.1); h_SL2L467->SetBinContent(11,41985.11); h_SL2L467->SetBinContent(12,42065.21); h_SL2L467->SetBinContent(13,41545.79); h_SL2L467->SetBinContent(14,41344.34); h_SL2L467->SetBinContent(15,40931.72); h_SL2L467->SetBinContent(16,39628.33); h_SL2L467->SetBinContent(17,38390.48); h_SL2L467->SetBinContent(18,38096.79); h_SL2L467->SetBinContent(19,37477.86); h_SL2L467->SetBinContent(20,34628.37); h_SL2L467->SetBinContent(21,32628.39); h_SL2L467->SetBinContent(22,29548.31); h_SL2L467->SetBinContent(23,27878.42); h_SL2L467->SetBinContent(24,27096.88); h_SL2L467->SetBinContent(25,26344.46); h_SL2L467->SetBinContent(26,38485.14); h_SL2L467->SetBinContent(27,53453.46); h_SL2L467->SetBinContent(28,63521.35); h_SL2L467->SetBinContent(29,67834.42); h_SL2L467->SetBinContent(30,68477.62); h_SL2L467->SetBinContent(31,64382.99); h_SL2L467->SetBinContent(32,62832.04); h_SL2L467->SetBinContent(33,63327.18); h_SL2L467->SetBinContent(34,54992.29); h_SL2L467->SetBinContent(35,29084.72); h_SL2L467->SetBinContent(36,19300.82); h_SL2L467->SetBinContent(37,18293.55); h_SL2L467->SetBinContent(38,17934.33); h_SL2L467->SetBinContent(39,17402.78); h_SL2L467->SetBinContent(40,16485.31); h_SL2L467->SetBinContent(41,16004.73); h_SL2L467->SetBinContent(42,16630.94); h_SL2L467->SetBinContent(43,15686.77); h_SL2L467->SetBinContent(44,15817.84); h_SL2L467->SetBinContent(45,15152.79); h_SL2L467->SetBinContent(46,14796); h_SL2L467->SetBinContent(47,14650.37); h_SL2L467->SetBinContent(48,14380.96); h_SL2L467->SetBinContent(49,14856.68); h_SL2L467->SetBinContent(50,15329.98); h_SL2L467->SetBinContent(51,14558.14); h_SL2L467->SetBinContent(52,16082.4); h_SL2L467->SetBinContent(53,17461.03); h_SL2L467->SetBinContent(54,19007.13); h_SL2L467->SetBinContent(55,20310.52); h_SL2L467->SetBinContent(56,18351.8); h_SL2L467->SetBinContent(57,16871.23); h_SL2L467->SetMaximum(83279.44); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->Draw("same"); TLegend *leg = new TLegend(0.1,0.83,0.9,0.9,NULL,"brNDC"); leg->SetBorderSize(1); leg->SetLineColor(1); leg->SetLineStyle(1); leg->SetLineWidth(1); leg->SetFillColor(0); leg->SetFillStyle(1001); TLegendEntry *entry=leg->AddEntry("h_SL2L1","Layer 1","l"); entry->SetLineColor(1); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); entry=leg->AddEntry("h_SL2L2","Layer 2","l"); ci = TColor::GetColor("#cc0000"); 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_SL2L3","Layer 3","l"); ci = TColor::GetColor("#009900"); 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_SL2L4","Layer 4","l"); ci = TColor::GetColor("#0000cc"); entry->SetLineColor(ci); entry->SetLineStyle(1); entry->SetLineWidth(2); entry->SetMarkerColor(1); entry->SetMarkerStyle(21); entry->SetMarkerSize(1); entry->SetTextFont(42); leg->Draw(); TPaveText *pt = new TPaveText(0.3719095,0.9362587,0.6280905,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL2, run 6735"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }