void RatesPerCell_Removing_noisy_cells_run_6832_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:07:06 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-22616.48,67.5,203548.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6832",60,0,60); h_SL2L164->SetBinContent(1,47392.86); h_SL2L164->SetBinContent(2,59357.14); h_SL2L164->SetBinContent(3,72397.96); h_SL2L164->SetBinContent(4,73474.49); h_SL2L164->SetBinContent(5,71403.06); h_SL2L164->SetBinContent(6,66494.9); h_SL2L164->SetBinContent(7,59040.82); h_SL2L164->SetBinContent(8,57918.37); h_SL2L164->SetBinContent(9,66397.96); h_SL2L164->SetBinContent(10,67071.43); h_SL2L164->SetBinContent(11,66091.84); h_SL2L164->SetBinContent(12,65316.32); h_SL2L164->SetBinContent(13,65530.61); h_SL2L164->SetBinContent(14,65311.22); h_SL2L164->SetBinContent(15,63989.8); h_SL2L164->SetBinContent(16,60566.32); h_SL2L164->SetBinContent(17,59841.84); h_SL2L164->SetBinContent(18,59035.71); h_SL2L164->SetBinContent(19,55903.06); h_SL2L164->SetBinContent(20,52785.71); h_SL2L164->SetBinContent(21,47938.77); h_SL2L164->SetBinContent(22,44663.27); h_SL2L164->SetBinContent(23,42061.22); h_SL2L164->SetBinContent(24,41250); h_SL2L164->SetBinContent(25,42474.49); h_SL2L164->SetBinContent(26,57571.43); h_SL2L164->SetBinContent(27,71193.88); h_SL2L164->SetBinContent(28,75969.39); h_SL2L164->SetBinContent(29,75933.67); h_SL2L164->SetBinContent(30,73163.27); h_SL2L164->SetBinContent(31,70770.41); h_SL2L164->SetBinContent(32,69765.3); h_SL2L164->SetBinContent(33,68382.66); h_SL2L164->SetBinContent(34,49413.27); h_SL2L164->SetBinContent(36,25693.88); h_SL2L164->SetBinContent(37,26688.78); h_SL2L164->SetBinContent(38,26005.1); h_SL2L164->SetBinContent(39,26489.79); h_SL2L164->SetBinContent(40,66591.84); h_SL2L164->SetBinContent(41,136811.2); h_SL2L164->SetBinContent(42,27668.37); h_SL2L164->SetBinContent(43,27811.22); h_SL2L164->SetBinContent(44,27663.27); h_SL2L164->SetBinContent(45,22142.86); h_SL2L164->SetBinContent(46,21821.43); h_SL2L164->SetBinContent(47,21795.92); h_SL2L164->SetBinContent(48,21964.29); h_SL2L164->SetBinContent(49,22591.84); h_SL2L164->SetBinContent(50,22653.06); h_SL2L164->SetBinContent(51,24561.22); h_SL2L164->SetBinContent(52,26790.82); h_SL2L164->SetBinContent(53,29678.57); h_SL2L164->SetBinContent(54,32469.39); h_SL2L164->SetBinContent(55,32377.55); h_SL2L164->SetBinContent(56,27974.49); h_SL2L164->SetBinContent(57,23846.94); h_SL2L164->SetMaximum(180931.8); 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,38836.73); h_SL2L265->SetBinContent(2,57153.06); h_SL2L265->SetBinContent(3,61892.86); h_SL2L265->SetBinContent(4,71301.02); h_SL2L265->SetBinContent(5,69816.33); h_SL2L265->SetBinContent(6,66066.33); h_SL2L265->SetBinContent(7,60372.45); h_SL2L265->SetBinContent(8,52076.53); h_SL2L265->SetBinContent(9,60551.02); h_SL2L265->SetBinContent(10,63795.92); h_SL2L265->SetBinContent(11,64862.25); h_SL2L265->SetBinContent(12,63244.9); h_SL2L265->SetBinContent(13,63535.71); h_SL2L265->SetBinContent(14,63326.53); h_SL2L265->SetBinContent(15,61525.51); h_SL2L265->SetBinContent(16,60015.3); h_SL2L265->SetBinContent(17,57933.67); h_SL2L265->SetBinContent(18,56224.49); h_SL2L265->SetBinContent(19,57591.84); h_SL2L265->SetBinContent(20,51984.7); h_SL2L265->SetBinContent(21,48693.88); h_SL2L265->SetBinContent(22,43795.92); h_SL2L265->SetBinContent(23,41224.49); h_SL2L265->SetBinContent(24,40545.92); h_SL2L265->SetBinContent(25,39040.82); h_SL2L265->SetBinContent(26,48683.67); h_SL2L265->SetBinContent(27,61887.75); h_SL2L265->SetBinContent(28,72500); h_SL2L265->SetBinContent(29,75025.51); h_SL2L265->SetBinContent(30,74510.2); h_SL2L265->SetBinContent(31,69556.12); h_SL2L265->SetBinContent(32,69392.86); h_SL2L265->SetBinContent(33,68311.23); h_SL2L265->SetBinContent(34,61142.86); h_SL2L265->SetBinContent(35,36724.49); h_SL2L265->SetBinContent(36,26729.59); h_SL2L265->SetBinContent(37,24831.63); h_SL2L265->SetBinContent(38,25913.27); h_SL2L265->SetBinContent(39,24918.37); h_SL2L265->SetBinContent(40,25576.53); h_SL2L265->SetBinContent(41,24632.65); h_SL2L265->SetBinContent(42,23336.73); h_SL2L265->SetBinContent(43,23755.1); h_SL2L265->SetBinContent(44,22821.43); h_SL2L265->SetBinContent(45,22086.73); h_SL2L265->SetBinContent(46,21188.78); h_SL2L265->SetBinContent(47,20892.86); h_SL2L265->SetBinContent(48,20923.47); h_SL2L265->SetBinContent(49,21448.98); h_SL2L265->SetBinContent(50,21821.43); h_SL2L265->SetBinContent(51,20811.22); h_SL2L265->SetBinContent(52,24852.04); h_SL2L265->SetBinContent(53,27173.47); h_SL2L265->SetBinContent(54,28969.39); h_SL2L265->SetBinContent(55,31188.78); h_SL2L265->SetBinContent(56,27795.92); h_SL2L265->SetBinContent(57,26454.08); h_SL2L265->SetMaximum(157332.9); 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,44301.02); h_SL2L366->SetBinContent(2,55250); h_SL2L366->SetBinContent(3,66846.94); h_SL2L366->SetBinContent(4,67484.7); h_SL2L366->SetBinContent(5,65806.12); h_SL2L366->SetBinContent(6,60173.47); h_SL2L366->SetBinContent(7,53515.3); h_SL2L366->SetBinContent(8,55637.75); h_SL2L366->SetBinContent(9,60790.82); h_SL2L366->SetBinContent(10,62923.47); h_SL2L366->SetBinContent(11,62081.63); h_SL2L366->SetBinContent(12,61448.98); h_SL2L366->SetBinContent(13,60882.65); h_SL2L366->SetBinContent(14,60811.22); h_SL2L366->SetBinContent(15,59336.73); h_SL2L366->SetBinContent(16,55954.08); h_SL2L366->SetBinContent(17,54581.63); h_SL2L366->SetBinContent(18,54484.69); h_SL2L366->SetBinContent(19,51714.29); h_SL2L366->SetBinContent(20,48331.63); h_SL2L366->SetBinContent(21,44821.43); h_SL2L366->SetBinContent(22,40433.67); h_SL2L366->SetBinContent(23,40153.06); h_SL2L366->SetBinContent(24,38204.08); h_SL2L366->SetBinContent(25,38627.55); h_SL2L366->SetBinContent(26,54505.1); h_SL2L366->SetBinContent(27,67622.45); h_SL2L366->SetBinContent(28,73617.34); h_SL2L366->SetBinContent(29,74443.88); h_SL2L366->SetBinContent(30,71408.16); h_SL2L366->SetBinContent(31,68683.67); h_SL2L366->SetBinContent(32,68867.34); h_SL2L366->SetBinContent(33,66250); h_SL2L366->SetBinContent(34,46668.37); h_SL2L366->SetBinContent(35,28525.51); h_SL2L366->SetBinContent(36,25102.04); h_SL2L366->SetBinContent(37,23744.9); h_SL2L366->SetBinContent(38,24760.2); h_SL2L366->SetBinContent(39,24438.78); h_SL2L366->SetBinContent(40,23862.24); h_SL2L366->SetBinContent(41,22903.06); h_SL2L366->SetBinContent(42,22357.14); h_SL2L366->SetBinContent(43,21505.1); h_SL2L366->SetBinContent(44,21545.92); h_SL2L366->SetBinContent(45,20545.92); h_SL2L366->SetBinContent(46,20331.63); h_SL2L366->SetBinContent(47,20433.67); h_SL2L366->SetBinContent(48,19948.98); h_SL2L366->SetBinContent(49,21071.43); h_SL2L366->SetBinContent(50,21112.24); h_SL2L366->SetBinContent(51,21627.55); h_SL2L366->SetBinContent(52,24239.79); h_SL2L366->SetBinContent(53,26969.39); h_SL2L366->SetBinContent(54,28852.04); h_SL2L366->SetBinContent(55,30137.75); h_SL2L366->SetBinContent(56,25214.29); h_SL2L366->SetBinContent(57,24785.71); h_SL2L366->SetMaximum(157332.9); 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,53056.12); h_SL2L467->SetBinContent(3,58750); h_SL2L467->SetBinContent(4,64576.53); h_SL2L467->SetBinContent(5,65275.51); h_SL2L467->SetBinContent(6,60566.32); h_SL2L467->SetBinContent(7,55719.39); h_SL2L467->SetBinContent(8,49250); h_SL2L467->SetBinContent(9,57525.51); h_SL2L467->SetBinContent(10,59489.8); h_SL2L467->SetBinContent(11,60413.27); h_SL2L467->SetBinContent(12,59137.75); h_SL2L467->SetBinContent(13,58857.14); h_SL2L467->SetBinContent(14,58147.96); h_SL2L467->SetBinContent(15,57438.77); h_SL2L467->SetBinContent(16,55076.53); h_SL2L467->SetBinContent(17,54066.32); h_SL2L467->SetBinContent(18,52816.32); h_SL2L467->SetBinContent(19,51836.73); h_SL2L467->SetBinContent(20,47984.7); h_SL2L467->SetBinContent(21,45163.27); h_SL2L467->SetBinContent(22,40688.77); h_SL2L467->SetBinContent(23,37806.12); h_SL2L467->SetBinContent(24,36464.29); h_SL2L467->SetBinContent(25,36362.25); h_SL2L467->SetBinContent(26,46005.1); h_SL2L467->SetBinContent(27,60729.59); h_SL2L467->SetBinContent(28,70158.16); h_SL2L467->SetBinContent(29,73714.28); h_SL2L467->SetBinContent(30,72836.73); h_SL2L467->SetBinContent(31,68005.1); h_SL2L467->SetBinContent(32,66755.1); h_SL2L467->SetBinContent(33,66938.77); h_SL2L467->SetBinContent(34,59642.86); h_SL2L467->SetBinContent(35,34423.47); h_SL2L467->SetBinContent(36,25637.75); h_SL2L467->SetBinContent(37,23244.9); h_SL2L467->SetBinContent(38,23688.78); h_SL2L467->SetBinContent(39,23387.75); h_SL2L467->SetBinContent(40,21933.67); h_SL2L467->SetBinContent(41,21923.47); h_SL2L467->SetBinContent(42,22086.73); h_SL2L467->SetBinContent(43,21188.78); h_SL2L467->SetBinContent(44,21239.79); h_SL2L467->SetBinContent(45,20663.27); h_SL2L467->SetBinContent(46,19969.39); h_SL2L467->SetBinContent(47,20301.02); h_SL2L467->SetBinContent(48,20372.45); h_SL2L467->SetBinContent(49,20061.22); h_SL2L467->SetBinContent(50,21010.2); h_SL2L467->SetBinContent(51,19500); h_SL2L467->SetBinContent(52,22709.18); h_SL2L467->SetBinContent(53,24311.22); h_SL2L467->SetBinContent(54,27459.18); h_SL2L467->SetBinContent(55,27423.47); h_SL2L467->SetBinContent(56,26571.43); h_SL2L467->SetBinContent(57,25239.79); h_SL2L467->SetMaximum(157332.9); 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 6832"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }