void RatesPerCell_Removing_noisy_cells_run_7475_SL1() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:33:18 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19369.88,67.5,174328.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7475",60,0,60); h_SL1L160->SetBinContent(1,64142.86); h_SL1L160->SetBinContent(2,66742.86); h_SL1L160->SetBinContent(3,63842.86); h_SL1L160->SetBinContent(4,60714.29); h_SL1L160->SetBinContent(5,46092.86); h_SL1L160->SetBinContent(6,48571.43); h_SL1L160->SetBinContent(7,47228.57); h_SL1L160->SetBinContent(8,48921.43); h_SL1L160->SetBinContent(9,47271.43); h_SL1L160->SetBinContent(10,46992.86); h_SL1L160->SetBinContent(11,47585.71); h_SL1L160->SetBinContent(12,46385.71); h_SL1L160->SetBinContent(13,76035.71); h_SL1L160->SetBinContent(14,88014.28); h_SL1L160->SetBinContent(15,95150); h_SL1L160->SetBinContent(16,49050); h_SL1L160->SetBinContent(17,48992.86); h_SL1L160->SetBinContent(18,53078.57); h_SL1L160->SetBinContent(19,54028.57); h_SL1L160->SetBinContent(20,51535.71); h_SL1L160->SetBinContent(21,46200); h_SL1L160->SetBinContent(22,43835.71); h_SL1L160->SetBinContent(23,40585.71); h_SL1L160->SetBinContent(24,37178.57); h_SL1L160->SetBinContent(25,34521.43); h_SL1L160->SetBinContent(26,38585.71); h_SL1L160->SetBinContent(27,35935.71); h_SL1L160->SetBinContent(28,38028.57); h_SL1L160->SetBinContent(29,37771.43); h_SL1L160->SetBinContent(30,37171.43); h_SL1L160->SetBinContent(31,41457.14); h_SL1L160->SetBinContent(32,39728.57); h_SL1L160->SetBinContent(33,85107.14); h_SL1L160->SetBinContent(34,88371.43); h_SL1L160->SetBinContent(35,83692.86); h_SL1L160->SetBinContent(36,85957.14); h_SL1L160->SetBinContent(37,79578.57); h_SL1L160->SetBinContent(38,80607.14); h_SL1L160->SetBinContent(39,83521.43); h_SL1L160->SetBinContent(41,34985.71); h_SL1L160->SetBinContent(42,37314.29); h_SL1L160->SetBinContent(43,35042.86); h_SL1L160->SetBinContent(44,34328.57); h_SL1L160->SetBinContent(45,32778.57); h_SL1L160->SetBinContent(46,30064.29); h_SL1L160->SetBinContent(47,31535.71); h_SL1L160->SetBinContent(48,31257.14); h_SL1L160->SetBinContent(49,35100); h_SL1L160->SetBinContent(50,37357.14); h_SL1L160->SetBinContent(51,36242.86); h_SL1L160->SetBinContent(52,36228.57); h_SL1L160->SetBinContent(53,34600); h_SL1L160->SetBinContent(54,36485.71); h_SL1L160->SetBinContent(55,36635.71); h_SL1L160->SetBinContent(56,40414.29); h_SL1L160->SetMaximum(154959); 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,72557.14); h_SL1L261->SetBinContent(2,74800); h_SL1L261->SetBinContent(3,75471.43); h_SL1L261->SetBinContent(4,78300); h_SL1L261->SetBinContent(5,70535.71); h_SL1L261->SetBinContent(6,72500); h_SL1L261->SetBinContent(7,70957.14); h_SL1L261->SetBinContent(8,75371.43); h_SL1L261->SetBinContent(9,76200); h_SL1L261->SetBinContent(10,71150); h_SL1L261->SetBinContent(11,74685.71); h_SL1L261->SetBinContent(12,74864.28); h_SL1L261->SetBinContent(13,76285.71); h_SL1L261->SetBinContent(14,78842.86); h_SL1L261->SetBinContent(15,90992.86); h_SL1L261->SetBinContent(16,82121.43); h_SL1L261->SetBinContent(17,82092.86); h_SL1L261->SetBinContent(18,89057.14); h_SL1L261->SetBinContent(19,89771.43); h_SL1L261->SetBinContent(20,89064.28); h_SL1L261->SetBinContent(21,83300); h_SL1L261->SetBinContent(22,78478.57); h_SL1L261->SetBinContent(23,76307.14); h_SL1L261->SetBinContent(24,76242.86); h_SL1L261->SetBinContent(25,76750); h_SL1L261->SetBinContent(26,69728.57); h_SL1L261->SetBinContent(27,69514.28); h_SL1L261->SetBinContent(28,76792.86); h_SL1L261->SetBinContent(29,80250); h_SL1L261->SetBinContent(30,80892.86); h_SL1L261->SetBinContent(31,85007.14); h_SL1L261->SetBinContent(32,83585.71); h_SL1L261->SetBinContent(33,80207.14); h_SL1L261->SetBinContent(34,83771.43); h_SL1L261->SetBinContent(35,80014.28); h_SL1L261->SetBinContent(36,80464.28); h_SL1L261->SetBinContent(37,77242.86); h_SL1L261->SetBinContent(38,77735.71); h_SL1L261->SetBinContent(39,84271.43); h_SL1L261->SetBinContent(40,83128.57); h_SL1L261->SetBinContent(41,77221.43); h_SL1L261->SetBinContent(42,79421.43); h_SL1L261->SetBinContent(43,78335.71); h_SL1L261->SetBinContent(44,73764.28); h_SL1L261->SetBinContent(45,75378.57); h_SL1L261->SetBinContent(46,75135.71); h_SL1L261->SetBinContent(47,77985.71); h_SL1L261->SetBinContent(48,77307.14); h_SL1L261->SetBinContent(49,88064.28); h_SL1L261->SetBinContent(50,85357.14); h_SL1L261->SetBinContent(51,85078.57); h_SL1L261->SetBinContent(52,82971.43); h_SL1L261->SetBinContent(53,79121.43); h_SL1L261->SetBinContent(54,79342.86); h_SL1L261->SetBinContent(55,79814.28); h_SL1L261->SetBinContent(56,78964.28); h_SL1L261->SetMaximum(134747.1); 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,69700); h_SL1L362->SetBinContent(2,72114.28); h_SL1L362->SetBinContent(3,74464.28); h_SL1L362->SetBinContent(4,74592.86); h_SL1L362->SetBinContent(5,70700); h_SL1L362->SetBinContent(6,69650); h_SL1L362->SetBinContent(7,69992.86); h_SL1L362->SetBinContent(8,73978.57); h_SL1L362->SetBinContent(9,69828.57); h_SL1L362->SetBinContent(10,72457.14); h_SL1L362->SetBinContent(11,72635.71); h_SL1L362->SetBinContent(12,73764.28); h_SL1L362->SetBinContent(13,71271.43); h_SL1L362->SetBinContent(14,82600); h_SL1L362->SetBinContent(15,108742.9); h_SL1L362->SetBinContent(16,83050); h_SL1L362->SetBinContent(17,83692.86); h_SL1L362->SetBinContent(18,86914.28); h_SL1L362->SetBinContent(19,86364.28); h_SL1L362->SetBinContent(20,88742.86); h_SL1L362->SetBinContent(21,78264.28); h_SL1L362->SetBinContent(22,75492.86); h_SL1L362->SetBinContent(23,72828.57); h_SL1L362->SetBinContent(24,75407.14); h_SL1L362->SetBinContent(25,69707.14); h_SL1L362->SetBinContent(26,65842.86); h_SL1L362->SetBinContent(27,70921.43); h_SL1L362->SetBinContent(28,76992.86); h_SL1L362->SetBinContent(29,77728.57); h_SL1L362->SetBinContent(30,76642.86); h_SL1L362->SetBinContent(31,81578.57); h_SL1L362->SetBinContent(32,78478.57); h_SL1L362->SetBinContent(33,80078.57); h_SL1L362->SetBinContent(34,80771.43); h_SL1L362->SetBinContent(35,79257.14); h_SL1L362->SetBinContent(36,81878.57); h_SL1L362->SetBinContent(37,78121.43); h_SL1L362->SetBinContent(38,76935.71); h_SL1L362->SetBinContent(39,81050); h_SL1L362->SetBinContent(40,79600); h_SL1L362->SetBinContent(41,76221.43); h_SL1L362->SetBinContent(42,76007.14); h_SL1L362->SetBinContent(43,72942.86); h_SL1L362->SetBinContent(44,71392.86); h_SL1L362->SetBinContent(45,73057.14); h_SL1L362->SetBinContent(46,74771.43); h_SL1L362->SetBinContent(47,75964.28); h_SL1L362->SetBinContent(48,77135.71); h_SL1L362->SetBinContent(49,82900); h_SL1L362->SetBinContent(50,82864.28); h_SL1L362->SetBinContent(51,81771.43); h_SL1L362->SetBinContent(52,82621.43); h_SL1L362->SetBinContent(53,75435.71); h_SL1L362->SetBinContent(54,75342.86); h_SL1L362->SetBinContent(55,76642.86); h_SL1L362->SetBinContent(56,73657.14); h_SL1L362->SetMaximum(134747.1); 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,54235.71); h_SL1L463->SetBinContent(3,51007.14); h_SL1L463->SetBinContent(4,48657.14); h_SL1L463->SetBinContent(5,43050); h_SL1L463->SetBinContent(6,42735.71); h_SL1L463->SetBinContent(7,43978.57); h_SL1L463->SetBinContent(8,44878.57); h_SL1L463->SetBinContent(9,47300); h_SL1L463->SetBinContent(10,49628.57); h_SL1L463->SetBinContent(11,54642.86); h_SL1L463->SetBinContent(12,54607.14); h_SL1L463->SetBinContent(13,57642.86); h_SL1L463->SetBinContent(14,117171.4); h_SL1L463->SetBinContent(15,104600); h_SL1L463->SetBinContent(16,102657.1); h_SL1L463->SetBinContent(17,54792.86); h_SL1L463->SetBinContent(18,56964.29); h_SL1L463->SetBinContent(19,55221.43); h_SL1L463->SetBinContent(20,55192.86); h_SL1L463->SetBinContent(21,50207.14); h_SL1L463->SetBinContent(22,46707.14); h_SL1L463->SetBinContent(23,43328.57); h_SL1L463->SetBinContent(24,43814.29); h_SL1L463->SetBinContent(25,38621.43); h_SL1L463->SetBinContent(26,38142.86); h_SL1L463->SetBinContent(27,39421.43); h_SL1L463->SetBinContent(28,41471.43); h_SL1L463->SetBinContent(29,39942.86); h_SL1L463->SetBinContent(30,41464.29); h_SL1L463->SetBinContent(31,44357.14); h_SL1L463->SetBinContent(32,41235.71); h_SL1L463->SetBinContent(33,36135.71); h_SL1L463->SetBinContent(34,44250); h_SL1L463->SetBinContent(35,46978.57); h_SL1L463->SetBinContent(36,38357.14); h_SL1L463->SetBinContent(37,9714.285); h_SL1L463->SetBinContent(38,257.1429); h_SL1L463->SetBinContent(39,14.28571); h_SL1L463->SetBinContent(41,32157.14); h_SL1L463->SetBinContent(42,36157.14); h_SL1L463->SetBinContent(43,36185.71); h_SL1L463->SetBinContent(44,34807.14); h_SL1L463->SetBinContent(45,30550); h_SL1L463->SetBinContent(46,32592.86); h_SL1L463->SetBinContent(47,31064.29); h_SL1L463->SetBinContent(48,31507.14); h_SL1L463->SetBinContent(49,31571.43); h_SL1L463->SetBinContent(50,33707.14); h_SL1L463->SetBinContent(51,32492.86); h_SL1L463->SetBinContent(52,33192.86); h_SL1L463->SetBinContent(53,31414.29); h_SL1L463->SetBinContent(54,30442.86); h_SL1L463->SetBinContent(56,34642.86); h_SL1L463->SetMaximum(134747.1); 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 7475"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }