void RatesPerCell_Removing_noisy_cells_run_6582_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:34:50 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12799.93,67.5,115199.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6582",60,0,60); h_SL1L160->SetBinContent(1,51152.32); h_SL1L160->SetBinContent(2,48477.71); h_SL1L160->SetBinContent(3,47461.73); h_SL1L160->SetBinContent(4,44073.24); h_SL1L160->SetBinContent(5,38008.71); h_SL1L160->SetBinContent(6,40623.47); h_SL1L160->SetBinContent(7,37823.47); h_SL1L160->SetBinContent(8,37148.05); h_SL1L160->SetBinContent(9,34536.15); h_SL1L160->SetBinContent(10,32204.96); h_SL1L160->SetBinContent(11,31387.04); h_SL1L160->SetBinContent(12,30626.13); h_SL1L160->SetBinContent(13,31570.86); h_SL1L160->SetBinContent(14,30314.07); h_SL1L160->SetBinContent(15,30319.77); h_SL1L160->SetBinContent(16,28773.71); h_SL1L160->SetBinContent(17,28946.13); h_SL1L160->SetBinContent(18,30053.3); h_SL1L160->SetBinContent(19,31934.22); h_SL1L160->SetBinContent(20,29346.54); h_SL1L160->SetBinContent(21,31881.5); h_SL1L160->SetBinContent(22,32237.73); h_SL1L160->SetBinContent(23,30817.07); h_SL1L160->SetBinContent(24,28441.7); h_SL1L160->SetBinContent(25,28307.76); h_SL1L160->SetBinContent(26,29221.14); h_SL1L160->SetBinContent(27,27988.57); h_SL1L160->SetBinContent(28,28076.92); h_SL1L160->SetBinContent(29,26634.88); h_SL1L160->SetBinContent(30,26673.36); h_SL1L160->SetBinContent(31,25680.18); h_SL1L160->SetBinContent(32,23424.51); h_SL1L160->SetBinContent(33,23319.06); h_SL1L160->SetBinContent(34,24524.56); h_SL1L160->SetBinContent(35,24843.74); h_SL1L160->SetBinContent(36,23286.29); h_SL1L160->SetBinContent(37,24544.51); h_SL1L160->SetBinContent(38,24856.57); h_SL1L160->SetBinContent(39,23474.38); h_SL1L160->SetBinContent(40,22630.82); h_SL1L160->SetBinContent(41,22562.42); h_SL1L160->SetBinContent(42,22390); h_SL1L160->SetBinContent(43,23075.4); h_SL1L160->SetBinContent(44,22485.47); h_SL1L160->SetBinContent(45,20598.86); h_SL1L160->SetBinContent(46,19260.85); h_SL1L160->SetBinContent(47,18924.56); h_SL1L160->SetBinContent(48,17770.36); h_SL1L160->SetBinContent(49,18745.02); h_SL1L160->SetBinContent(50,19428.99); h_SL1L160->SetBinContent(51,18613.93); h_SL1L160->SetBinContent(52,18029.7); h_SL1L160->SetBinContent(53,18823.39); h_SL1L160->SetBinContent(54,18864.71); h_SL1L160->SetBinContent(55,19659.83); h_SL1L160->SetBinContent(56,21932.6); h_SL1L160->SetBinContent(57,25891.07); h_SL1L160->SetBinContent(58,28356.21); h_SL1L160->SetBinContent(59,31284.45); h_SL1L160->SetMaximum(102399.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,73657.74); h_SL1L261->SetBinContent(2,70631.18); h_SL1L261->SetBinContent(3,70304.87); h_SL1L261->SetBinContent(4,70604.1); h_SL1L261->SetBinContent(5,69740.59); h_SL1L261->SetBinContent(6,76386.49); h_SL1L261->SetBinContent(7,74033.92); h_SL1L261->SetBinContent(8,73479.62); h_SL1L261->SetBinContent(9,70752.3); h_SL1L261->SetBinContent(10,62486.25); h_SL1L261->SetBinContent(11,60347.42); h_SL1L261->SetBinContent(12,62043.09); h_SL1L261->SetBinContent(13,64739.07); h_SL1L261->SetBinContent(14,68698.97); h_SL1L261->SetBinContent(15,68831.48); h_SL1L261->SetBinContent(16,68527.98); h_SL1L261->SetBinContent(17,66627.11); h_SL1L261->SetBinContent(18,67553.32); h_SL1L261->SetBinContent(19,71905.07); h_SL1L261->SetBinContent(20,72000.54); h_SL1L261->SetBinContent(21,74200.64); h_SL1L261->SetBinContent(22,76534.68); h_SL1L261->SetBinContent(23,76293.87); h_SL1L261->SetBinContent(24,77248.58); h_SL1L261->SetBinContent(25,77429.54); h_SL1L261->SetBinContent(26,74819.06); h_SL1L261->SetBinContent(27,71488.98); h_SL1L261->SetBinContent(28,70153.82); h_SL1L261->SetBinContent(29,73320.03); h_SL1L261->SetBinContent(30,72550.56); h_SL1L261->SetBinContent(31,70681.05); h_SL1L261->SetBinContent(32,67742.84); h_SL1L261->SetBinContent(33,63794.34); h_SL1L261->SetBinContent(34,64344.36); h_SL1L261->SetBinContent(35,65772.15); h_SL1L261->SetBinContent(36,66201.05); h_SL1L261->SetBinContent(37,65619.68); h_SL1L261->SetBinContent(38,63694.59); h_SL1L261->SetBinContent(39,61798); h_SL1L261->SetBinContent(40,60291.85); h_SL1L261->SetBinContent(41,59746.1); h_SL1L261->SetBinContent(42,58891.14); h_SL1L261->SetBinContent(43,57729.82); h_SL1L261->SetBinContent(44,57241.06); h_SL1L261->SetBinContent(45,57062.95); h_SL1L261->SetBinContent(46,57916.48); h_SL1L261->SetBinContent(47,59431.19); h_SL1L261->SetBinContent(48,58935.31); h_SL1L261->SetBinContent(49,55726.36); h_SL1L261->SetBinContent(50,55445.64); h_SL1L261->SetBinContent(51,54955.47); h_SL1L261->SetBinContent(52,51239.24); h_SL1L261->SetBinContent(53,53067.43); h_SL1L261->SetBinContent(54,54062.04); h_SL1L261->SetBinContent(55,54680.45); h_SL1L261->SetBinContent(56,55268.95); h_SL1L261->SetBinContent(57,53517.71); h_SL1L261->SetBinContent(58,51997.3); h_SL1L261->SetBinContent(59,50804.63); h_SL1L261->SetMaximum(89043.97); 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,69568.17); h_SL1L362->SetBinContent(2,67520.55); h_SL1L362->SetBinContent(3,69394.34); h_SL1L362->SetBinContent(4,67269.76); h_SL1L362->SetBinContent(5,71121.35); h_SL1L362->SetBinContent(6,73093.47); h_SL1L362->SetBinContent(7,71131.33); h_SL1L362->SetBinContent(8,70430.26); h_SL1L362->SetBinContent(9,64230.37); h_SL1L362->SetBinContent(10,59302.95); h_SL1L362->SetBinContent(11,58802.79); h_SL1L362->SetBinContent(12,61424.67); h_SL1L362->SetBinContent(13,65063.96); h_SL1L362->SetBinContent(14,66456.12); h_SL1L362->SetBinContent(15,66994.74); h_SL1L362->SetBinContent(16,63562.07); h_SL1L362->SetBinContent(17,65710.88); h_SL1L362->SetBinContent(18,68613.47); h_SL1L362->SetBinContent(19,69251.84); h_SL1L362->SetBinContent(20,70430.26); h_SL1L362->SetBinContent(21,73342.83); h_SL1L362->SetBinContent(22,73015.09); h_SL1L362->SetBinContent(23,74633.82); h_SL1L362->SetBinContent(24,74340.28); h_SL1L362->SetBinContent(25,74841.86); h_SL1L362->SetBinContent(26,69170.62); h_SL1L362->SetBinContent(27,69134.99); h_SL1L362->SetBinContent(28,70339.06); h_SL1L362->SetBinContent(29,70044.1); h_SL1L362->SetBinContent(30,68966.85); h_SL1L362->SetBinContent(31,67576.12); h_SL1L362->SetBinContent(32,63762.99); h_SL1L362->SetBinContent(33,62090.12); h_SL1L362->SetBinContent(34,62486.25); h_SL1L362->SetBinContent(35,64171.95); h_SL1L362->SetBinContent(36,64243.2); h_SL1L362->SetBinContent(37,62343.75); h_SL1L362->SetBinContent(38,60826.2); h_SL1L362->SetBinContent(39,59247.37); h_SL1L362->SetBinContent(40,58047.58); h_SL1L362->SetBinContent(41,57471.9); h_SL1L362->SetBinContent(42,57537.45); h_SL1L362->SetBinContent(43,56210.84); h_SL1L362->SetBinContent(44,55585.29); h_SL1L362->SetBinContent(45,55066.61); h_SL1L362->SetBinContent(46,56132.46); h_SL1L362->SetBinContent(47,57974.91); h_SL1L362->SetBinContent(48,55593.84); h_SL1L362->SetBinContent(49,53266.92); h_SL1L362->SetBinContent(50,54214.5); h_SL1L362->SetBinContent(51,50612.27); h_SL1L362->SetBinContent(52,50174.81); h_SL1L362->SetBinContent(53,52357.81); h_SL1L362->SetBinContent(54,51527.07); h_SL1L362->SetBinContent(55,53539.08); h_SL1L362->SetBinContent(56,52753.94); h_SL1L362->SetBinContent(57,52339.29); h_SL1L362->SetBinContent(58,49899.8); h_SL1L362->SetBinContent(59,49322.7); h_SL1L362->SetMaximum(89043.97); 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,43272.43); h_SL1L463->SetBinContent(3,39315.38); h_SL1L463->SetBinContent(4,36583.78); h_SL1L463->SetBinContent(5,32727.91); h_SL1L463->SetBinContent(6,34550.4); h_SL1L463->SetBinContent(7,34470.6); h_SL1L463->SetBinContent(8,36113.55); h_SL1L463->SetBinContent(9,37576.96); h_SL1L463->SetBinContent(10,36850.24); h_SL1L463->SetBinContent(11,37870.5); h_SL1L463->SetBinContent(12,39215.64); h_SL1L463->SetBinContent(13,40195.99); h_SL1L463->SetBinContent(14,42508.66); h_SL1L463->SetBinContent(15,41532.58); h_SL1L463->SetBinContent(16,38005.87); h_SL1L463->SetBinContent(17,35017.78); h_SL1L463->SetBinContent(18,33124.04); h_SL1L463->SetBinContent(19,33880.68); h_SL1L463->SetBinContent(20,33253.71); h_SL1L463->SetBinContent(21,32850.45); h_SL1L463->SetBinContent(22,33558.64); h_SL1L463->SetBinContent(23,33179.61); h_SL1L463->SetBinContent(24,33733.91); h_SL1L463->SetBinContent(25,29783.99); h_SL1L463->SetBinContent(26,32385.92); h_SL1L463->SetBinContent(27,29929.33); h_SL1L463->SetBinContent(28,29565.98); h_SL1L463->SetBinContent(29,28968.93); h_SL1L463->SetBinContent(30,29296.66); h_SL1L463->SetBinContent(31,28333.41); h_SL1L463->SetBinContent(32,27250.46); h_SL1L463->SetBinContent(33,25888.22); h_SL1L463->SetBinContent(34,27961.5); h_SL1L463->SetBinContent(35,29983.48); h_SL1L463->SetBinContent(36,27375.85); h_SL1L463->SetBinContent(37,24674.17); h_SL1L463->SetBinContent(38,24706.95); h_SL1L463->SetBinContent(39,24930.66); h_SL1L463->SetBinContent(40,22237.54); h_SL1L463->SetBinContent(41,22402.83); h_SL1L463->SetBinContent(42,23571.28); h_SL1L463->SetBinContent(43,23960.28); h_SL1L463->SetBinContent(44,24578.7); h_SL1L463->SetBinContent(45,22875.91); h_SL1L463->SetBinContent(46,24962.01); h_SL1L463->SetBinContent(47,22787.56); h_SL1L463->SetBinContent(48,22697.79); h_SL1L463->SetBinContent(49,20752.75); h_SL1L463->SetBinContent(50,20808.33); h_SL1L463->SetBinContent(51,17838.76); h_SL1L463->SetBinContent(52,17010.87); h_SL1L463->SetBinContent(53,16301.26); h_SL1L463->SetBinContent(54,16998.05); h_SL1L463->SetBinContent(56,18048.23); h_SL1L463->SetBinContent(57,20169.96); h_SL1L463->SetBinContent(58,25858.29); h_SL1L463->SetBinContent(59,28017.07); h_SL1L463->SetMaximum(89043.97); 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 6582"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }