void RatesPerCell_Removing_noisy_cells_run_7243_SL2() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 21:59:06 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-24848.77,67.5,223638.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7243",60,0,60); h_SL2L164->SetBinContent(1,16460.71); h_SL2L164->SetBinContent(2,19960.71); h_SL2L164->SetBinContent(3,24907.14); h_SL2L164->SetBinContent(4,25389.29); h_SL2L164->SetBinContent(5,24382.14); h_SL2L164->SetBinContent(6,23164.29); h_SL2L164->SetBinContent(7,22025); h_SL2L164->SetBinContent(8,20517.86); h_SL2L164->SetBinContent(9,22839.29); h_SL2L164->SetBinContent(10,24003.57); h_SL2L164->SetBinContent(11,26007.14); h_SL2L164->SetBinContent(12,26332.14); h_SL2L164->SetBinContent(13,26960.71); h_SL2L164->SetBinContent(14,26485.71); h_SL2L164->SetBinContent(15,26546.43); h_SL2L164->SetBinContent(16,26346.43); h_SL2L164->SetBinContent(17,25750); h_SL2L164->SetBinContent(18,24732.14); h_SL2L164->SetBinContent(19,23532.14); h_SL2L164->SetBinContent(20,20367.86); h_SL2L164->SetBinContent(21,17621.43); h_SL2L164->SetBinContent(22,18535.71); h_SL2L164->SetBinContent(23,18232.14); h_SL2L164->SetBinContent(24,17428.57); h_SL2L164->SetBinContent(25,21035.71); h_SL2L164->SetBinContent(26,38089.29); h_SL2L164->SetBinContent(27,62335.71); h_SL2L164->SetBinContent(28,77414.28); h_SL2L164->SetBinContent(29,80082.14); h_SL2L164->SetBinContent(30,71039.28); h_SL2L164->SetBinContent(31,52953.57); h_SL2L164->SetBinContent(32,47678.57); h_SL2L164->SetBinContent(33,45382.14); h_SL2L164->SetBinContent(34,31175); h_SL2L164->SetBinContent(36,12950); h_SL2L164->SetBinContent(37,20310.71); h_SL2L164->SetBinContent(38,15600); h_SL2L164->SetBinContent(39,15835.71); h_SL2L164->SetBinContent(40,64178.57); h_SL2L164->SetBinContent(41,85671.43); h_SL2L164->SetBinContent(42,19253.57); h_SL2L164->SetBinContent(43,19414.29); h_SL2L164->SetBinContent(44,19135.71); h_SL2L164->SetBinContent(45,7921.429); h_SL2L164->SetBinContent(46,7682.143); h_SL2L164->SetBinContent(47,7925); h_SL2L164->SetBinContent(48,7771.429); h_SL2L164->SetBinContent(49,6967.857); h_SL2L164->SetBinContent(50,6982.143); h_SL2L164->SetBinContent(51,7457.143); h_SL2L164->SetBinContent(52,8117.857); h_SL2L164->SetBinContent(53,9332.143); h_SL2L164->SetBinContent(54,10928.57); h_SL2L164->SetBinContent(55,11214.29); h_SL2L164->SetBinContent(56,10014.29); h_SL2L164->SetBinContent(57,9089.285); h_SL2L164->SetMaximum(198790.1); 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,14110.71); h_SL2L265->SetBinContent(2,19982.14); h_SL2L265->SetBinContent(3,21525); h_SL2L265->SetBinContent(4,24792.86); h_SL2L265->SetBinContent(5,24025); h_SL2L265->SetBinContent(6,23439.29); h_SL2L265->SetBinContent(7,22757.14); h_SL2L265->SetBinContent(8,19378.57); h_SL2L265->SetBinContent(9,21075); h_SL2L265->SetBinContent(10,22467.86); h_SL2L265->SetBinContent(11,24285.71); h_SL2L265->SetBinContent(12,26332.14); h_SL2L265->SetBinContent(13,25742.86); h_SL2L265->SetBinContent(14,26039.29); h_SL2L265->SetBinContent(15,25928.57); h_SL2L265->SetBinContent(16,26067.86); h_SL2L265->SetBinContent(17,25135.71); h_SL2L265->SetBinContent(18,24092.86); h_SL2L265->SetBinContent(19,23400); h_SL2L265->SetBinContent(20,21739.29); h_SL2L265->SetBinContent(21,17500); h_SL2L265->SetBinContent(22,17350); h_SL2L265->SetBinContent(23,17053.57); h_SL2L265->SetBinContent(24,17057.14); h_SL2L265->SetBinContent(25,17496.43); h_SL2L265->SetBinContent(26,27817.86); h_SL2L265->SetBinContent(27,49835.71); h_SL2L265->SetBinContent(28,71196.43); h_SL2L265->SetBinContent(29,78807.14); h_SL2L265->SetBinContent(30,77075); h_SL2L265->SetBinContent(31,60125); h_SL2L265->SetBinContent(32,48707.14); h_SL2L265->SetBinContent(33,45589.29); h_SL2L265->SetBinContent(34,40964.29); h_SL2L265->SetBinContent(35,21039.29); h_SL2L265->SetBinContent(36,13735.71); h_SL2L265->SetBinContent(37,11803.57); h_SL2L265->SetBinContent(38,10882.14); h_SL2L265->SetBinContent(39,11296.43); h_SL2L265->SetBinContent(40,12617.86); h_SL2L265->SetBinContent(41,11960.71); h_SL2L265->SetBinContent(42,10760.71); h_SL2L265->SetBinContent(43,8617.857); h_SL2L265->SetBinContent(44,9682.143); h_SL2L265->SetBinContent(45,7960.714); h_SL2L265->SetBinContent(46,7678.571); h_SL2L265->SetBinContent(47,7135.714); h_SL2L265->SetBinContent(48,7146.429); h_SL2L265->SetBinContent(49,7603.571); h_SL2L265->SetBinContent(50,7235.714); h_SL2L265->SetBinContent(51,6942.857); h_SL2L265->SetBinContent(52,7221.429); h_SL2L265->SetBinContent(53,8042.857); h_SL2L265->SetBinContent(54,9528.571); h_SL2L265->SetBinContent(55,10646.43); h_SL2L265->SetBinContent(56,10096.43); h_SL2L265->SetBinContent(57,9553.571); h_SL2L265->SetMaximum(172861.4); 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,16353.57); h_SL2L366->SetBinContent(2,18953.57); h_SL2L366->SetBinContent(3,22975); h_SL2L366->SetBinContent(4,22950); h_SL2L366->SetBinContent(5,22510.71); h_SL2L366->SetBinContent(6,21439.29); h_SL2L366->SetBinContent(7,20082.14); h_SL2L366->SetBinContent(8,19303.57); h_SL2L366->SetBinContent(9,21157.14); h_SL2L366->SetBinContent(10,22382.14); h_SL2L366->SetBinContent(11,24582.14); h_SL2L366->SetBinContent(12,24792.86); h_SL2L366->SetBinContent(13,24785.71); h_SL2L366->SetBinContent(14,24892.86); h_SL2L366->SetBinContent(15,25357.14); h_SL2L366->SetBinContent(16,23992.86); h_SL2L366->SetBinContent(17,24335.71); h_SL2L366->SetBinContent(18,22817.86); h_SL2L366->SetBinContent(19,21925); h_SL2L366->SetBinContent(20,18696.43); h_SL2L366->SetBinContent(21,16900); h_SL2L366->SetBinContent(22,17689.29); h_SL2L366->SetBinContent(23,16453.57); h_SL2L366->SetBinContent(24,16217.86); h_SL2L366->SetBinContent(25,20217.86); h_SL2L366->SetBinContent(26,37728.57); h_SL2L366->SetBinContent(27,62053.57); h_SL2L366->SetBinContent(28,76371.43); h_SL2L366->SetBinContent(29,78253.57); h_SL2L366->SetBinContent(30,70000); h_SL2L366->SetBinContent(31,52128.57); h_SL2L366->SetBinContent(32,46628.57); h_SL2L366->SetBinContent(33,44296.43); h_SL2L366->SetBinContent(34,30550); h_SL2L366->SetBinContent(35,15628.57); h_SL2L366->SetBinContent(36,12003.57); h_SL2L366->SetBinContent(37,11071.43); h_SL2L366->SetBinContent(38,10096.43); h_SL2L366->SetBinContent(39,9478.571); h_SL2L366->SetBinContent(40,9867.857); h_SL2L366->SetBinContent(41,9060.714); h_SL2L366->SetBinContent(42,8082.143); h_SL2L366->SetBinContent(43,8007.143); h_SL2L366->SetBinContent(44,7785.714); h_SL2L366->SetBinContent(45,7746.429); h_SL2L366->SetBinContent(46,7025); h_SL2L366->SetBinContent(47,7550); h_SL2L366->SetBinContent(48,6921.429); h_SL2L366->SetBinContent(49,6825); h_SL2L366->SetBinContent(50,6346.429); h_SL2L366->SetBinContent(51,6642.857); h_SL2L366->SetBinContent(52,7157.143); h_SL2L366->SetBinContent(53,8196.429); h_SL2L366->SetBinContent(54,9378.571); h_SL2L366->SetBinContent(55,10489.29); h_SL2L366->SetBinContent(56,9325); h_SL2L366->SetBinContent(57,8907.143); h_SL2L366->SetMaximum(172861.4); 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,18471.43); h_SL2L467->SetBinContent(3,20425); h_SL2L467->SetBinContent(4,150314.3); h_SL2L467->SetBinContent(5,22232.14); h_SL2L467->SetBinContent(6,20760.71); h_SL2L467->SetBinContent(7,20835.71); h_SL2L467->SetBinContent(8,17642.86); h_SL2L467->SetBinContent(9,20532.14); h_SL2L467->SetBinContent(10,21385.71); h_SL2L467->SetBinContent(11,22700); h_SL2L467->SetBinContent(12,23864.29); h_SL2L467->SetBinContent(13,24239.29); h_SL2L467->SetBinContent(14,24357.14); h_SL2L467->SetBinContent(15,24214.29); h_SL2L467->SetBinContent(16,23653.57); h_SL2L467->SetBinContent(17,23239.29); h_SL2L467->SetBinContent(18,22600); h_SL2L467->SetBinContent(19,21407.14); h_SL2L467->SetBinContent(20,19821.43); h_SL2L467->SetBinContent(21,16725); h_SL2L467->SetBinContent(22,16314.29); h_SL2L467->SetBinContent(23,16464.29); h_SL2L467->SetBinContent(24,15853.57); h_SL2L467->SetBinContent(25,16703.57); h_SL2L467->SetBinContent(26,26785.71); h_SL2L467->SetBinContent(27,49442.86); h_SL2L467->SetBinContent(28,70167.86); h_SL2L467->SetBinContent(29,78710.71); h_SL2L467->SetBinContent(30,76953.57); h_SL2L467->SetBinContent(31,59150); h_SL2L467->SetBinContent(32,47896.43); h_SL2L467->SetBinContent(33,45114.29); h_SL2L467->SetBinContent(34,40200); h_SL2L467->SetBinContent(35,20735.71); h_SL2L467->SetBinContent(36,13139.29); h_SL2L467->SetBinContent(37,11125); h_SL2L467->SetBinContent(38,10014.29); h_SL2L467->SetBinContent(39,9785.714); h_SL2L467->SetBinContent(40,8692.857); h_SL2L467->SetBinContent(41,8235.714); h_SL2L467->SetBinContent(42,8714.285); h_SL2L467->SetBinContent(43,7660.714); h_SL2L467->SetBinContent(44,7510.714); h_SL2L467->SetBinContent(45,7450); h_SL2L467->SetBinContent(46,7217.857); h_SL2L467->SetBinContent(47,7282.143); h_SL2L467->SetBinContent(48,6482.143); h_SL2L467->SetBinContent(49,6703.571); h_SL2L467->SetBinContent(50,6442.857); h_SL2L467->SetBinContent(51,6171.429); h_SL2L467->SetBinContent(52,6389.286); h_SL2L467->SetBinContent(53,7560.714); h_SL2L467->SetBinContent(54,8978.571); h_SL2L467->SetBinContent(55,9857.143); h_SL2L467->SetBinContent(56,9178.571); h_SL2L467->SetBinContent(57,9032.143); h_SL2L467->SetMaximum(172861.4); 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 7243"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }