void RatesPerCell_Removing_noisy_cells_run_7476_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:39:05 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-28365.18,67.5,255286.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7476",60,0,60); h_SL1L160->SetBinContent(1,96214.28); h_SL1L160->SetBinContent(2,95921.43); h_SL1L160->SetBinContent(3,94271.43); h_SL1L160->SetBinContent(4,87771.43); h_SL1L160->SetBinContent(5,75121.43); h_SL1L160->SetBinContent(6,79107.14); h_SL1L160->SetBinContent(7,68107.14); h_SL1L160->SetBinContent(8,71378.57); h_SL1L160->SetBinContent(9,67607.14); h_SL1L160->SetBinContent(10,68735.71); h_SL1L160->SetBinContent(11,68950); h_SL1L160->SetBinContent(12,66621.43); h_SL1L160->SetBinContent(13,107678.6); h_SL1L160->SetBinContent(14,124521.4); h_SL1L160->SetBinContent(15,121550); h_SL1L160->SetBinContent(16,63271.43); h_SL1L160->SetBinContent(17,67321.43); h_SL1L160->SetBinContent(18,73721.43); h_SL1L160->SetBinContent(19,73650); h_SL1L160->SetBinContent(20,71314.28); h_SL1L160->SetBinContent(21,65464.29); h_SL1L160->SetBinContent(22,62828.57); h_SL1L160->SetBinContent(23,58107.14); h_SL1L160->SetBinContent(24,51571.43); h_SL1L160->SetBinContent(25,50014.29); h_SL1L160->SetBinContent(26,52378.57); h_SL1L160->SetBinContent(27,49914.29); h_SL1L160->SetBinContent(28,51900); h_SL1L160->SetBinContent(29,52235.71); h_SL1L160->SetBinContent(30,51535.71); h_SL1L160->SetBinContent(31,57528.57); h_SL1L160->SetBinContent(32,53357.14); h_SL1L160->SetBinContent(33,124528.6); h_SL1L160->SetBinContent(34,130685.7); h_SL1L160->SetBinContent(35,126007.1); h_SL1L160->SetBinContent(36,130000); h_SL1L160->SetBinContent(37,122250); h_SL1L160->SetBinContent(38,123314.3); h_SL1L160->SetBinContent(39,120007.1); h_SL1L160->SetBinContent(40,7.142857); h_SL1L160->SetBinContent(41,48764.29); h_SL1L160->SetBinContent(42,49607.14); h_SL1L160->SetBinContent(43,49721.43); h_SL1L160->SetBinContent(44,47421.43); h_SL1L160->SetBinContent(45,45107.14); h_SL1L160->SetBinContent(46,42171.43); h_SL1L160->SetBinContent(47,43607.14); h_SL1L160->SetBinContent(48,43928.57); h_SL1L160->SetBinContent(49,47457.14); h_SL1L160->SetBinContent(50,50878.57); h_SL1L160->SetBinContent(51,49028.57); h_SL1L160->SetBinContent(52,50242.86); h_SL1L160->SetBinContent(53,48864.29); h_SL1L160->SetBinContent(54,50014.29); h_SL1L160->SetBinContent(55,51435.71); h_SL1L160->SetBinContent(56,57407.14); h_SL1L160->SetMaximum(226921.4); 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,111350); h_SL1L261->SetBinContent(2,111428.6); h_SL1L261->SetBinContent(3,114735.7); h_SL1L261->SetBinContent(4,117392.9); h_SL1L261->SetBinContent(5,117100); h_SL1L261->SetBinContent(6,118835.7); h_SL1L261->SetBinContent(7,110150); h_SL1L261->SetBinContent(8,115428.6); h_SL1L261->SetBinContent(9,114635.7); h_SL1L261->SetBinContent(10,110778.6); h_SL1L261->SetBinContent(11,115150); h_SL1L261->SetBinContent(12,116171.4); h_SL1L261->SetBinContent(13,116021.4); h_SL1L261->SetBinContent(14,122485.7); h_SL1L261->SetBinContent(15,127592.9); h_SL1L261->SetBinContent(16,115671.4); h_SL1L261->SetBinContent(17,125007.1); h_SL1L261->SetBinContent(18,133021.4); h_SL1L261->SetBinContent(19,134421.4); h_SL1L261->SetBinContent(20,134550); h_SL1L261->SetBinContent(21,126235.7); h_SL1L261->SetBinContent(22,122450); h_SL1L261->SetBinContent(23,118228.6); h_SL1L261->SetBinContent(24,117728.6); h_SL1L261->SetBinContent(25,115607.1); h_SL1L261->SetBinContent(26,107535.7); h_SL1L261->SetBinContent(27,109007.1); h_SL1L261->SetBinContent(28,117900); h_SL1L261->SetBinContent(29,122485.7); h_SL1L261->SetBinContent(30,121542.9); h_SL1L261->SetBinContent(31,126592.9); h_SL1L261->SetBinContent(32,124885.7); h_SL1L261->SetBinContent(33,119728.6); h_SL1L261->SetBinContent(34,122500); h_SL1L261->SetBinContent(35,121235.7); h_SL1L261->SetBinContent(36,122092.9); h_SL1L261->SetBinContent(37,118300); h_SL1L261->SetBinContent(38,120085.7); h_SL1L261->SetBinContent(39,118057.1); h_SL1L261->SetBinContent(40,118800); h_SL1L261->SetBinContent(41,118957.1); h_SL1L261->SetBinContent(42,121378.6); h_SL1L261->SetBinContent(43,119807.1); h_SL1L261->SetBinContent(44,113671.4); h_SL1L261->SetBinContent(45,115100); h_SL1L261->SetBinContent(46,115664.3); h_SL1L261->SetBinContent(47,118571.4); h_SL1L261->SetBinContent(48,120464.3); h_SL1L261->SetBinContent(49,129207.1); h_SL1L261->SetBinContent(50,128385.7); h_SL1L261->SetBinContent(51,126985.7); h_SL1L261->SetBinContent(52,124450); h_SL1L261->SetBinContent(53,121457.1); h_SL1L261->SetBinContent(54,118907.1); h_SL1L261->SetBinContent(55,122671.4); h_SL1L261->SetBinContent(56,121628.6); h_SL1L261->SetMaximum(197323.6); 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,107292.9); h_SL1L362->SetBinContent(2,110278.6); h_SL1L362->SetBinContent(3,111514.3); h_SL1L362->SetBinContent(4,111157.1); h_SL1L362->SetBinContent(5,114414.3); h_SL1L362->SetBinContent(6,112657.1); h_SL1L362->SetBinContent(7,110135.7); h_SL1L362->SetBinContent(8,113128.6); h_SL1L362->SetBinContent(9,107942.9); h_SL1L362->SetBinContent(10,110464.3); h_SL1L362->SetBinContent(11,114900); h_SL1L362->SetBinContent(12,114164.3); h_SL1L362->SetBinContent(13,109935.7); h_SL1L362->SetBinContent(14,125464.3); h_SL1L362->SetBinContent(15,151557.1); h_SL1L362->SetBinContent(16,116114.3); h_SL1L362->SetBinContent(17,124614.3); h_SL1L362->SetBinContent(18,132200); h_SL1L362->SetBinContent(19,130300); h_SL1L362->SetBinContent(20,132957.1); h_SL1L362->SetBinContent(21,120414.3); h_SL1L362->SetBinContent(22,115907.1); h_SL1L362->SetBinContent(23,115000); h_SL1L362->SetBinContent(24,112335.7); h_SL1L362->SetBinContent(25,108814.3); h_SL1L362->SetBinContent(26,102978.6); h_SL1L362->SetBinContent(27,109207.1); h_SL1L362->SetBinContent(28,118335.7); h_SL1L362->SetBinContent(29,119150); h_SL1L362->SetBinContent(30,116607.1); h_SL1L362->SetBinContent(31,122892.9); h_SL1L362->SetBinContent(32,116971.4); h_SL1L362->SetBinContent(33,118907.1); h_SL1L362->SetBinContent(34,119592.9); h_SL1L362->SetBinContent(35,115957.1); h_SL1L362->SetBinContent(36,120035.7); h_SL1L362->SetBinContent(37,116564.3); h_SL1L362->SetBinContent(38,116414.3); h_SL1L362->SetBinContent(39,115035.7); h_SL1L362->SetBinContent(40,114078.6); h_SL1L362->SetBinContent(41,115128.6); h_SL1L362->SetBinContent(42,119028.6); h_SL1L362->SetBinContent(43,113528.6); h_SL1L362->SetBinContent(44,109192.9); h_SL1L362->SetBinContent(45,112521.4); h_SL1L362->SetBinContent(46,114321.4); h_SL1L362->SetBinContent(47,117335.7); h_SL1L362->SetBinContent(48,118692.9); h_SL1L362->SetBinContent(49,124421.4); h_SL1L362->SetBinContent(50,124371.4); h_SL1L362->SetBinContent(51,121128.6); h_SL1L362->SetBinContent(52,122014.3); h_SL1L362->SetBinContent(53,116478.6); h_SL1L362->SetBinContent(54,115914.3); h_SL1L362->SetBinContent(55,116428.6); h_SL1L362->SetBinContent(56,115492.9); h_SL1L362->SetMaximum(197323.6); 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,79228.57); h_SL1L463->SetBinContent(3,73114.28); h_SL1L463->SetBinContent(4,70214.28); h_SL1L463->SetBinContent(5,64207.14); h_SL1L463->SetBinContent(6,64407.14); h_SL1L463->SetBinContent(7,61178.57); h_SL1L463->SetBinContent(8,66571.43); h_SL1L463->SetBinContent(9,68607.14); h_SL1L463->SetBinContent(10,73857.14); h_SL1L463->SetBinContent(11,81207.14); h_SL1L463->SetBinContent(12,81571.43); h_SL1L463->SetBinContent(13,85657.14); h_SL1L463->SetBinContent(14,171585.7); h_SL1L463->SetBinContent(15,144585.7); h_SL1L463->SetBinContent(16,139764.3); h_SL1L463->SetBinContent(17,75500); h_SL1L463->SetBinContent(18,80114.28); h_SL1L463->SetBinContent(19,77542.86); h_SL1L463->SetBinContent(20,77385.71); h_SL1L463->SetBinContent(21,72607.14); h_SL1L463->SetBinContent(22,67528.57); h_SL1L463->SetBinContent(23,63607.14); h_SL1L463->SetBinContent(24,63150); h_SL1L463->SetBinContent(25,55235.71); h_SL1L463->SetBinContent(26,56578.57); h_SL1L463->SetBinContent(27,56442.86); h_SL1L463->SetBinContent(28,57778.57); h_SL1L463->SetBinContent(29,56350); h_SL1L463->SetBinContent(30,59292.86); h_SL1L463->SetBinContent(31,61628.57); h_SL1L463->SetBinContent(32,54492.86); h_SL1L463->SetBinContent(33,49785.71); h_SL1L463->SetBinContent(34,60485.71); h_SL1L463->SetBinContent(35,64785.71); h_SL1L463->SetBinContent(36,52421.43); h_SL1L463->SetBinContent(37,6178.571); h_SL1L463->SetBinContent(38,21.42857); h_SL1L463->SetBinContent(39,7.142857); h_SL1L463->SetBinContent(40,7.142857); h_SL1L463->SetBinContent(41,43542.86); h_SL1L463->SetBinContent(42,47771.43); h_SL1L463->SetBinContent(43,50007.14); h_SL1L463->SetBinContent(44,45128.57); h_SL1L463->SetBinContent(45,42750); h_SL1L463->SetBinContent(46,44800); h_SL1L463->SetBinContent(47,42164.29); h_SL1L463->SetBinContent(48,40892.86); h_SL1L463->SetBinContent(49,41107.14); h_SL1L463->SetBinContent(50,44957.14); h_SL1L463->SetBinContent(51,42785.71); h_SL1L463->SetBinContent(52,45007.14); h_SL1L463->SetBinContent(53,43642.86); h_SL1L463->SetBinContent(54,42585.71); h_SL1L463->SetBinContent(55,21.42857); h_SL1L463->SetBinContent(56,49092.86); h_SL1L463->SetMaximum(197323.6); 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 7476"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }