void RatesPerCell_Removing_noisy_cells_run_6721_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:04:12 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19091.3,67.5,171821.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 6721",60,0,60); h_SL1L160->SetBinContent(1,50379.31); h_SL1L160->SetBinContent(2,48234.91); h_SL1L160->SetBinContent(3,49157.95); h_SL1L160->SetBinContent(4,45988.52); h_SL1L160->SetBinContent(5,42872.64); h_SL1L160->SetBinContent(6,44986.45); h_SL1L160->SetBinContent(7,42773.2); h_SL1L160->SetBinContent(8,42479.97); h_SL1L160->SetBinContent(9,39580.83); h_SL1L160->SetBinContent(10,36500.65); h_SL1L160->SetBinContent(11,36217.62); h_SL1L160->SetBinContent(12,35628.61); h_SL1L160->SetBinContent(13,37869.9); h_SL1L160->SetBinContent(14,36225.27); h_SL1L160->SetBinContent(15,35654.11); h_SL1L160->SetBinContent(16,34361.35); h_SL1L160->SetBinContent(17,34575.54); h_SL1L160->SetBinContent(18,35751); h_SL1L160->SetBinContent(19,38221.78); h_SL1L160->SetBinContent(20,36189.57); h_SL1L160->SetBinContent(21,38522.66); h_SL1L160->SetBinContent(22,38599.15); h_SL1L160->SetBinContent(23,38045.84); h_SL1L160->SetBinContent(24,35197.69); h_SL1L160->SetBinContent(25,35195.14); h_SL1L160->SetBinContent(26,34601.04); h_SL1L160->SetBinContent(27,34386.85); h_SL1L160->SetBinContent(28,33647.4); h_SL1L160->SetBinContent(29,32981.9); h_SL1L160->SetBinContent(30,31834.48); h_SL1L160->SetBinContent(31,30439.73); h_SL1L160->SetBinContent(32,29710.48); h_SL1L160->SetBinContent(33,38798.04); h_SL1L160->SetBinContent(34,46490.84); h_SL1L160->SetBinContent(35,48971.81); h_SL1L160->SetBinContent(36,47322.08); h_SL1L160->SetBinContent(37,50394.61); h_SL1L160->SetBinContent(38,50404.81); h_SL1L160->SetBinContent(39,40855.74); h_SL1L160->SetBinContent(40,29103.62); h_SL1L160->SetBinContent(41,28869.04); h_SL1L160->SetBinContent(42,28983.79); h_SL1L160->SetBinContent(43,27675.73); h_SL1L160->SetBinContent(44,27736.92); h_SL1L160->SetBinContent(45,26184.08); h_SL1L160->SetBinContent(46,24292.12); h_SL1L160->SetBinContent(47,23486.38); h_SL1L160->SetBinContent(48,22736.73); h_SL1L160->SetBinContent(49,24019.29); h_SL1L160->SetBinContent(50,24401.76); h_SL1L160->SetBinContent(51,23981.04); h_SL1L160->SetBinContent(52,23239.04); h_SL1L160->SetBinContent(53,24156.98); h_SL1L160->SetBinContent(54,24006.54); h_SL1L160->SetBinContent(55,24215.62); h_SL1L160->SetBinContent(56,26056.59); h_SL1L160->SetBinContent(57,29840.52); h_SL1L160->SetBinContent(58,31582.05); h_SL1L160->SetBinContent(59,33731.55); h_SL1L160->SetMaximum(152730.3); 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,57233.22); h_SL1L261->SetBinContent(2,55739.03); h_SL1L261->SetBinContent(3,55351.46); h_SL1L261->SetBinContent(4,56567.72); h_SL1L261->SetBinContent(5,55137.27); h_SL1L261->SetBinContent(6,59800.89); h_SL1L261->SetBinContent(7,58148.61); h_SL1L261->SetBinContent(8,57735.54); h_SL1L261->SetBinContent(9,54897.59); h_SL1L261->SetBinContent(10,50190.62); h_SL1L261->SetBinContent(11,47854.99); h_SL1L261->SetBinContent(12,49522.57); h_SL1L261->SetBinContent(13,51371.19); h_SL1L261->SetBinContent(14,54089.3); h_SL1L261->SetBinContent(15,54311.13); h_SL1L261->SetBinContent(16,53533.43); h_SL1L261->SetBinContent(17,52419.16); h_SL1L261->SetBinContent(18,53745.07); h_SL1L261->SetBinContent(19,57325.02); h_SL1L261->SetBinContent(20,57569.8); h_SL1L261->SetBinContent(21,58541.28); h_SL1L261->SetBinContent(22,60402.64); h_SL1L261->SetBinContent(23,61221.14); h_SL1L261->SetBinContent(24,61088.55); h_SL1L261->SetBinContent(25,61588.31); h_SL1L261->SetBinContent(26,60407.75); h_SL1L261->SetBinContent(27,56825.25); h_SL1L261->SetBinContent(28,56692.66); h_SL1L261->SetBinContent(29,59209.33); h_SL1L261->SetBinContent(30,59028.29); h_SL1L261->SetBinContent(31,57857.93); h_SL1L261->SetBinContent(32,56519.27); h_SL1L261->SetBinContent(33,67274.41); h_SL1L261->SetBinContent(34,99085.94); h_SL1L261->SetBinContent(35,107138.3); h_SL1L261->SetBinContent(36,111450); h_SL1L261->SetBinContent(37,115486.4); h_SL1L261->SetBinContent(38,111998.2); h_SL1L261->SetBinContent(39,100396.5); h_SL1L261->SetBinContent(40,65293.2); h_SL1L261->SetBinContent(41,52952.07); h_SL1L261->SetBinContent(42,49242.09); h_SL1L261->SetBinContent(43,49066.15); h_SL1L261->SetBinContent(44,47926.38); h_SL1L261->SetBinContent(45,47719.85); h_SL1L261->SetBinContent(46,47819.29); h_SL1L261->SetBinContent(47,49303.29); h_SL1L261->SetBinContent(48,46684.62); h_SL1L261->SetBinContent(49,45241.43); h_SL1L261->SetBinContent(50,45547.4); h_SL1L261->SetBinContent(51,43573.84); h_SL1L261->SetBinContent(52,42599.81); h_SL1L261->SetBinContent(53,44040.46); h_SL1L261->SetBinContent(54,43505); h_SL1L261->SetBinContent(55,43344.36); h_SL1L261->SetBinContent(56,43907.87); h_SL1L261->SetBinContent(57,42408.58); h_SL1L261->SetBinContent(58,41760.92); h_SL1L261->SetBinContent(59,40669.6); h_SL1L261->SetMaximum(132809.3); 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,54344.28); h_SL1L362->SetBinContent(2,53852.16); h_SL1L362->SetBinContent(3,53803.71); h_SL1L362->SetBinContent(4,53293.75); h_SL1L362->SetBinContent(5,56096); h_SL1L362->SetBinContent(6,57230.67); h_SL1L362->SetBinContent(7,55348.91); h_SL1L362->SetBinContent(8,55606.44); h_SL1L362->SetBinContent(9,50975.97); h_SL1L362->SetBinContent(10,46926.86); h_SL1L362->SetBinContent(11,46121.11); h_SL1L362->SetBinContent(12,48931.01); h_SL1L362->SetBinContent(13,51891.35); h_SL1L362->SetBinContent(14,51812.31); h_SL1L362->SetBinContent(15,53048.97); h_SL1L362->SetBinContent(16,50511.9); h_SL1L362->SetBinContent(17,51200.35); h_SL1L362->SetBinContent(18,53852.16); h_SL1L362->SetBinContent(19,54703.8); h_SL1L362->SetBinContent(20,55116.87); h_SL1L362->SetBinContent(21,57919.12); h_SL1L362->SetBinContent(22,58258.25); h_SL1L362->SetBinContent(23,59635.15); h_SL1L362->SetBinContent(24,59117.54); h_SL1L362->SetBinContent(25,59296.02); h_SL1L362->SetBinContent(26,55547.79); h_SL1L362->SetBinContent(27,55815.52); h_SL1L362->SetBinContent(28,56628.91); h_SL1L362->SetBinContent(29,57360.71); h_SL1L362->SetBinContent(30,56575.37); h_SL1L362->SetBinContent(31,54887.39); h_SL1L362->SetBinContent(32,56195.45); h_SL1L362->SetBinContent(33,85444.41); h_SL1L362->SetBinContent(34,103379.8); h_SL1L362->SetBinContent(35,108635); h_SL1L362->SetBinContent(36,112408.7); h_SL1L362->SetBinContent(37,114096.7); h_SL1L362->SetBinContent(38,106717.5); h_SL1L362->SetBinContent(39,83042.48); h_SL1L362->SetBinContent(40,53750.17); h_SL1L362->SetBinContent(41,50032.54); h_SL1L362->SetBinContent(42,47742.8); h_SL1L362->SetBinContent(43,47064.55); h_SL1L362->SetBinContent(44,45906.93); h_SL1L362->SetBinContent(45,45389.32); h_SL1L362->SetBinContent(46,47107.89); h_SL1L362->SetBinContent(47,47153.79); h_SL1L362->SetBinContent(48,44221.5); h_SL1L362->SetBinContent(49,43596.79); h_SL1L362->SetBinContent(50,43303.56); h_SL1L362->SetBinContent(51,41666.58); h_SL1L362->SetBinContent(52,41786.42); h_SL1L362->SetBinContent(53,42497.82); h_SL1L362->SetBinContent(54,41238.21); h_SL1L362->SetBinContent(55,42571.77); h_SL1L362->SetBinContent(56,42117.9); h_SL1L362->SetBinContent(57,41279.01); h_SL1L362->SetBinContent(58,39657.32); h_SL1L362->SetBinContent(59,39180.51); h_SL1L362->SetMaximum(132809.3); 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,28356.53); h_SL1L463->SetBinContent(3,25911.25); h_SL1L463->SetBinContent(4,24139.13); h_SL1L463->SetBinContent(5,22259.91); h_SL1L463->SetBinContent(6,22950.91); h_SL1L463->SetBinContent(7,23205.9); h_SL1L463->SetBinContent(8,24067.73); h_SL1L463->SetBinContent(9,25347.74); h_SL1L463->SetBinContent(10,24381.36); h_SL1L463->SetBinContent(11,25893.4); h_SL1L463->SetBinContent(12,26059.14); h_SL1L463->SetBinContent(13,27981.71); h_SL1L463->SetBinContent(14,28338.68); h_SL1L463->SetBinContent(15,27234.61); h_SL1L463->SetBinContent(16,25737.87); h_SL1L463->SetBinContent(17,23162.55); h_SL1L463->SetBinContent(18,21849.39); h_SL1L463->SetBinContent(19,23177.85); h_SL1L463->SetBinContent(20,21979.43); h_SL1L463->SetBinContent(21,22481.75); h_SL1L463->SetBinContent(22,22825.97); h_SL1L463->SetBinContent(23,22257.36); h_SL1L463->SetBinContent(24,22573.54); h_SL1L463->SetBinContent(25,19975.28); h_SL1L463->SetBinContent(26,21326.68); h_SL1L463->SetBinContent(27,20049.22); h_SL1L463->SetBinContent(28,20079.82); h_SL1L463->SetBinContent(29,19335.27); h_SL1L463->SetBinContent(30,19483.16); h_SL1L463->SetBinContent(31,19197.58); h_SL1L463->SetBinContent(32,17835.98); h_SL1L463->SetBinContent(33,18361.24); h_SL1L463->SetBinContent(34,23657.21); h_SL1L463->SetBinContent(35,27703.78); h_SL1L463->SetBinContent(36,26426.32); h_SL1L463->SetBinContent(37,23149.8); h_SL1L463->SetBinContent(38,23596.02); h_SL1L463->SetBinContent(39,24083.03); h_SL1L463->SetBinContent(40,15413.65); h_SL1L463->SetBinContent(41,14732.85); h_SL1L463->SetBinContent(42,14551.81); h_SL1L463->SetBinContent(43,14931.74); h_SL1L463->SetBinContent(44,14913.89); h_SL1L463->SetBinContent(45,12838.33); h_SL1L463->SetBinContent(46,14276.43); h_SL1L463->SetBinContent(47,13090.77); h_SL1L463->SetBinContent(48,12239.13); h_SL1L463->SetBinContent(49,11785.26); h_SL1L463->SetBinContent(50,12142.23); h_SL1L463->SetBinContent(51,11642.47); h_SL1L463->SetBinContent(52,11568.53); h_SL1L463->SetBinContent(53,11463.98); h_SL1L463->SetBinContent(54,12042.79); h_SL1L463->SetBinContent(56,12685.35); h_SL1L463->SetBinContent(57,13445.19); h_SL1L463->SetBinContent(58,17716.14); h_SL1L463->SetBinContent(59,18702.92); h_SL1L463->SetMaximum(132809.3); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6721"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }