void RatesPerCell_Removing_noisy_cells_run_7362_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:18:23 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9462.919,67.5,85166.27); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7362",60,0,60); h_SL1L160->SetBinContent(1,38267.86); h_SL1L160->SetBinContent(2,39653.57); h_SL1L160->SetBinContent(3,39182.14); h_SL1L160->SetBinContent(4,37250); h_SL1L160->SetBinContent(5,33003.57); h_SL1L160->SetBinContent(6,33264.29); h_SL1L160->SetBinContent(7,32260.71); h_SL1L160->SetBinContent(8,32910.71); h_SL1L160->SetBinContent(9,32000); h_SL1L160->SetBinContent(10,31307.14); h_SL1L160->SetBinContent(11,30689.29); h_SL1L160->SetBinContent(12,29442.86); h_SL1L160->SetBinContent(13,29721.43); h_SL1L160->SetBinContent(14,45064.29); h_SL1L160->SetBinContent(15,42392.86); h_SL1L160->SetBinContent(16,26839.29); h_SL1L160->SetBinContent(17,25442.86); h_SL1L160->SetBinContent(18,26517.86); h_SL1L160->SetBinContent(19,27082.14); h_SL1L160->SetBinContent(20,26960.71); h_SL1L160->SetBinContent(21,27664.29); h_SL1L160->SetBinContent(22,27003.57); h_SL1L160->SetBinContent(23,25057.14); h_SL1L160->SetBinContent(24,22753.57); h_SL1L160->SetBinContent(25,22660.71); h_SL1L160->SetBinContent(26,22285.71); h_SL1L160->SetBinContent(27,21542.86); h_SL1L160->SetBinContent(28,22314.29); h_SL1L160->SetBinContent(29,22171.43); h_SL1L160->SetBinContent(30,20739.29); h_SL1L160->SetBinContent(31,20735.71); h_SL1L160->SetBinContent(32,20121.43); h_SL1L160->SetBinContent(33,44182.14); h_SL1L160->SetBinContent(34,43960.71); h_SL1L160->SetBinContent(35,43657.14); h_SL1L160->SetBinContent(36,44135.71); h_SL1L160->SetBinContent(37,45271.43); h_SL1L160->SetBinContent(38,45439.29); h_SL1L160->SetBinContent(39,45167.86); h_SL1L160->SetBinContent(41,19646.43); h_SL1L160->SetBinContent(42,18903.57); h_SL1L160->SetBinContent(43,19253.57); h_SL1L160->SetBinContent(44,18996.43); h_SL1L160->SetBinContent(45,18585.71); h_SL1L160->SetBinContent(46,17892.86); h_SL1L160->SetBinContent(47,18210.71); h_SL1L160->SetBinContent(48,17889.29); h_SL1L160->SetBinContent(49,18071.43); h_SL1L160->SetBinContent(50,19332.14); h_SL1L160->SetBinContent(51,20567.86); h_SL1L160->SetBinContent(52,20375); h_SL1L160->SetBinContent(53,20403.57); h_SL1L160->SetBinContent(54,20850); h_SL1L160->SetBinContent(55,21471.43); h_SL1L160->SetBinContent(56,24907.14); h_SL1L160->SetMaximum(75703.35); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,44042.86); h_SL1L261->SetBinContent(2,45810.71); h_SL1L261->SetBinContent(3,46639.29); h_SL1L261->SetBinContent(4,48239.29); h_SL1L261->SetBinContent(5,46007.14); h_SL1L261->SetBinContent(6,47596.43); h_SL1L261->SetBinContent(7,46957.14); h_SL1L261->SetBinContent(8,46600); h_SL1L261->SetBinContent(9,46296.43); h_SL1L261->SetBinContent(10,43717.86); h_SL1L261->SetBinContent(11,44403.57); h_SL1L261->SetBinContent(12,41950); h_SL1L261->SetBinContent(13,42242.86); h_SL1L261->SetBinContent(14,42532.14); h_SL1L261->SetBinContent(15,43253.57); h_SL1L261->SetBinContent(16,41889.29); h_SL1L261->SetBinContent(17,42875); h_SL1L261->SetBinContent(18,44850); h_SL1L261->SetBinContent(19,46278.57); h_SL1L261->SetBinContent(20,46400); h_SL1L261->SetBinContent(21,47310.71); h_SL1L261->SetBinContent(22,48089.29); h_SL1L261->SetBinContent(23,46746.43); h_SL1L261->SetBinContent(24,46450); h_SL1L261->SetBinContent(25,46485.71); h_SL1L261->SetBinContent(26,43271.43); h_SL1L261->SetBinContent(27,41771.43); h_SL1L261->SetBinContent(28,43435.71); h_SL1L261->SetBinContent(29,45085.71); h_SL1L261->SetBinContent(30,45810.71); h_SL1L261->SetBinContent(31,44900); h_SL1L261->SetBinContent(32,43789.29); h_SL1L261->SetBinContent(33,44153.57); h_SL1L261->SetBinContent(34,43821.43); h_SL1L261->SetBinContent(35,43707.14); h_SL1L261->SetBinContent(36,44478.57); h_SL1L261->SetBinContent(37,45800); h_SL1L261->SetBinContent(38,45110.71); h_SL1L261->SetBinContent(39,45250); h_SL1L261->SetBinContent(40,45389.29); h_SL1L261->SetBinContent(41,46021.43); h_SL1L261->SetBinContent(42,46346.43); h_SL1L261->SetBinContent(43,46735.71); h_SL1L261->SetBinContent(44,47235.71); h_SL1L261->SetBinContent(45,47432.14); h_SL1L261->SetBinContent(46,48517.86); h_SL1L261->SetBinContent(47,49314.29); h_SL1L261->SetBinContent(48,49575); h_SL1L261->SetBinContent(49,49535.71); h_SL1L261->SetBinContent(50,49064.29); h_SL1L261->SetBinContent(51,50707.14); h_SL1L261->SetBinContent(52,51892.86); h_SL1L261->SetBinContent(53,52567.86); h_SL1L261->SetBinContent(54,53800); h_SL1L261->SetBinContent(55,55667.86); h_SL1L261->SetBinContent(56,57242.86); h_SL1L261->SetMaximum(65829.28); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,43446.43); h_SL1L362->SetBinContent(2,44778.57); h_SL1L362->SetBinContent(3,46150); h_SL1L362->SetBinContent(4,46725); h_SL1L362->SetBinContent(5,46453.57); h_SL1L362->SetBinContent(6,45353.57); h_SL1L362->SetBinContent(7,44900); h_SL1L362->SetBinContent(8,46317.86); h_SL1L362->SetBinContent(9,42960.71); h_SL1L362->SetBinContent(10,42825); h_SL1L362->SetBinContent(11,42225); h_SL1L362->SetBinContent(12,41160.71); h_SL1L362->SetBinContent(13,42142.86); h_SL1L362->SetBinContent(14,41864.29); h_SL1L362->SetBinContent(15,41542.86); h_SL1L362->SetBinContent(16,40982.14); h_SL1L362->SetBinContent(17,42150); h_SL1L362->SetBinContent(18,44782.14); h_SL1L362->SetBinContent(19,45017.86); h_SL1L362->SetBinContent(20,46178.57); h_SL1L362->SetBinContent(21,46367.86); h_SL1L362->SetBinContent(22,45507.14); h_SL1L362->SetBinContent(23,45239.29); h_SL1L362->SetBinContent(24,45896.43); h_SL1L362->SetBinContent(25,44067.86); h_SL1L362->SetBinContent(26,40992.86); h_SL1L362->SetBinContent(27,42282.14); h_SL1L362->SetBinContent(28,43485.71); h_SL1L362->SetBinContent(29,44164.29); h_SL1L362->SetBinContent(30,44732.14); h_SL1L362->SetBinContent(31,43278.57); h_SL1L362->SetBinContent(32,42464.29); h_SL1L362->SetBinContent(33,43507.14); h_SL1L362->SetBinContent(34,43642.86); h_SL1L362->SetBinContent(35,43300); h_SL1L362->SetBinContent(36,43946.43); h_SL1L362->SetBinContent(37,44335.71); h_SL1L362->SetBinContent(38,43975); h_SL1L362->SetBinContent(39,44800); h_SL1L362->SetBinContent(40,44214.29); h_SL1L362->SetBinContent(41,45832.14); h_SL1L362->SetBinContent(42,46485.71); h_SL1L362->SetBinContent(43,46342.86); h_SL1L362->SetBinContent(44,46250); h_SL1L362->SetBinContent(45,47292.86); h_SL1L362->SetBinContent(46,47867.86); h_SL1L362->SetBinContent(47,49367.86); h_SL1L362->SetBinContent(48,49350); h_SL1L362->SetBinContent(49,48946.43); h_SL1L362->SetBinContent(50,48171.43); h_SL1L362->SetBinContent(51,49217.86); h_SL1L362->SetBinContent(52,51578.57); h_SL1L362->SetBinContent(53,53192.86); h_SL1L362->SetBinContent(54,53478.57); h_SL1L362->SetBinContent(55,55425); h_SL1L362->SetBinContent(56,55489.29); h_SL1L362->SetMaximum(65829.28); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,33092.86); h_SL1L463->SetBinContent(3,31725); h_SL1L463->SetBinContent(4,30410.71); h_SL1L463->SetBinContent(5,26678.57); h_SL1L463->SetBinContent(6,27278.57); h_SL1L463->SetBinContent(7,27517.86); h_SL1L463->SetBinContent(8,28400); h_SL1L463->SetBinContent(9,29746.43); h_SL1L463->SetBinContent(10,30039.29); h_SL1L463->SetBinContent(11,31389.29); h_SL1L463->SetBinContent(12,31332.14); h_SL1L463->SetBinContent(13,31350); h_SL1L463->SetBinContent(14,32542.86); h_SL1L463->SetBinContent(15,56614.29); h_SL1L463->SetBinContent(16,36139.29); h_SL1L463->SetBinContent(17,29028.57); h_SL1L463->SetBinContent(18,29296.43); h_SL1L463->SetBinContent(19,29153.57); h_SL1L463->SetBinContent(20,29407.14); h_SL1L463->SetBinContent(21,29032.14); h_SL1L463->SetBinContent(22,28767.86); h_SL1L463->SetBinContent(23,28053.57); h_SL1L463->SetBinContent(24,28114.29); h_SL1L463->SetBinContent(25,25585.71); h_SL1L463->SetBinContent(26,24853.57); h_SL1L463->SetBinContent(27,22839.29); h_SL1L463->SetBinContent(28,23257.14); h_SL1L463->SetBinContent(29,22500); h_SL1L463->SetBinContent(30,23264.29); h_SL1L463->SetBinContent(31,23010.71); h_SL1L463->SetBinContent(32,21600); h_SL1L463->SetBinContent(33,20807.14); h_SL1L463->SetBinContent(34,22178.57); h_SL1L463->SetBinContent(35,22264.29); h_SL1L463->SetBinContent(36,20967.86); h_SL1L463->SetBinContent(37,132.1429); h_SL1L463->SetBinContent(40,3.571429); h_SL1L463->SetBinContent(41,18650); h_SL1L463->SetBinContent(42,19814.29); h_SL1L463->SetBinContent(43,19510.71); h_SL1L463->SetBinContent(44,19510.71); h_SL1L463->SetBinContent(45,18453.57); h_SL1L463->SetBinContent(46,19182.14); h_SL1L463->SetBinContent(47,17767.86); h_SL1L463->SetBinContent(48,17792.86); h_SL1L463->SetBinContent(49,17532.14); h_SL1L463->SetBinContent(50,17685.71); h_SL1L463->SetBinContent(51,18335.71); h_SL1L463->SetBinContent(52,18632.14); h_SL1L463->SetBinContent(53,18896.43); h_SL1L463->SetBinContent(54,18496.43); h_SL1L463->SetBinContent(55,3.571429); h_SL1L463->SetBinContent(56,21439.29); h_SL1L463->SetMaximum(65829.28); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 7362"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }