void RatesPerCell_Removing_noisy_cells_run_6815_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:59 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13823.14,67.5,124408.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6815",60,0,60); h_SL1L160->SetBinContent(1,18004.76); h_SL1L160->SetBinContent(2,18180.95); h_SL1L160->SetBinContent(3,18235.71); h_SL1L160->SetBinContent(4,17292.86); h_SL1L160->SetBinContent(5,17211.9); h_SL1L160->SetBinContent(6,18147.62); h_SL1L160->SetBinContent(7,17309.52); h_SL1L160->SetBinContent(8,17626.19); h_SL1L160->SetBinContent(9,16411.9); h_SL1L160->SetBinContent(10,15066.67); h_SL1L160->SetBinContent(11,14873.81); h_SL1L160->SetBinContent(12,15300); h_SL1L160->SetBinContent(13,16150); h_SL1L160->SetBinContent(14,15942.86); h_SL1L160->SetBinContent(15,15785.71); h_SL1L160->SetBinContent(16,15050); h_SL1L160->SetBinContent(17,15190.48); h_SL1L160->SetBinContent(18,16302.38); h_SL1L160->SetBinContent(19,17073.81); h_SL1L160->SetBinContent(20,16880.95); h_SL1L160->SetBinContent(21,17721.43); h_SL1L160->SetBinContent(22,17907.14); h_SL1L160->SetBinContent(23,18078.57); h_SL1L160->SetBinContent(24,17211.9); h_SL1L160->SetBinContent(25,17252.38); h_SL1L160->SetBinContent(26,17071.43); h_SL1L160->SetBinContent(27,16895.24); h_SL1L160->SetBinContent(28,17888.1); h_SL1L160->SetBinContent(29,16866.67); h_SL1L160->SetBinContent(30,17897.62); h_SL1L160->SetBinContent(31,17359.52); h_SL1L160->SetBinContent(32,18638.1); h_SL1L160->SetBinContent(33,40073.81); h_SL1L160->SetBinContent(34,55695.24); h_SL1L160->SetBinContent(35,59328.57); h_SL1L160->SetBinContent(36,60216.67); h_SL1L160->SetBinContent(37,65438.09); h_SL1L160->SetBinContent(38,62395.24); h_SL1L160->SetBinContent(39,43021.43); h_SL1L160->SetBinContent(40,19271.43); h_SL1L160->SetBinContent(41,16321.43); h_SL1L160->SetBinContent(42,15764.29); h_SL1L160->SetBinContent(43,15026.19); h_SL1L160->SetBinContent(44,15057.14); h_SL1L160->SetBinContent(45,14235.71); h_SL1L160->SetBinContent(46,13861.9); h_SL1L160->SetBinContent(47,13445.24); h_SL1L160->SetBinContent(48,12495.24); h_SL1L160->SetBinContent(49,12690.48); h_SL1L160->SetBinContent(50,12650); h_SL1L160->SetBinContent(51,12450); h_SL1L160->SetBinContent(52,12142.86); h_SL1L160->SetBinContent(53,12583.33); h_SL1L160->SetBinContent(54,11828.57); h_SL1L160->SetBinContent(55,12366.67); h_SL1L160->SetBinContent(56,12654.76); h_SL1L160->SetBinContent(57,12942.86); h_SL1L160->SetBinContent(58,12783.33); h_SL1L160->SetBinContent(59,14007.14); h_SL1L160->SetMaximum(110585.1); 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,19140.48); h_SL1L261->SetBinContent(2,18380.95); h_SL1L261->SetBinContent(3,18280.95); h_SL1L261->SetBinContent(4,18395.24); h_SL1L261->SetBinContent(5,18130.95); h_SL1L261->SetBinContent(6,19630.95); h_SL1L261->SetBinContent(7,19242.86); h_SL1L261->SetBinContent(8,19276.19); h_SL1L261->SetBinContent(9,18440.48); h_SL1L261->SetBinContent(10,16916.67); h_SL1L261->SetBinContent(11,16161.9); h_SL1L261->SetBinContent(12,16933.33); h_SL1L261->SetBinContent(13,17307.14); h_SL1L261->SetBinContent(14,18195.24); h_SL1L261->SetBinContent(15,17745.24); h_SL1L261->SetBinContent(16,17728.57); h_SL1L261->SetBinContent(17,17297.62); h_SL1L261->SetBinContent(18,18235.71); h_SL1L261->SetBinContent(19,19240.48); h_SL1L261->SetBinContent(20,19357.14); h_SL1L261->SetBinContent(21,19685.71); h_SL1L261->SetBinContent(22,20614.29); h_SL1L261->SetBinContent(23,20614.29); h_SL1L261->SetBinContent(24,20892.86); h_SL1L261->SetBinContent(25,21123.81); h_SL1L261->SetBinContent(26,20235.71); h_SL1L261->SetBinContent(27,19645.24); h_SL1L261->SetBinContent(28,21004.76); h_SL1L261->SetBinContent(29,21473.81); h_SL1L261->SetBinContent(30,21383.33); h_SL1L261->SetBinContent(31,21440.48); h_SL1L261->SetBinContent(32,22842.86); h_SL1L261->SetBinContent(33,35190.48); h_SL1L261->SetBinContent(34,66242.86); h_SL1L261->SetBinContent(35,75335.71); h_SL1L261->SetBinContent(36,79573.81); h_SL1L261->SetBinContent(37,83619.05); h_SL1L261->SetBinContent(38,81061.91); h_SL1L261->SetBinContent(39,68861.91); h_SL1L261->SetBinContent(40,33657.14); h_SL1L261->SetBinContent(41,22469.05); h_SL1L261->SetBinContent(42,19092.86); h_SL1L261->SetBinContent(43,18040.48); h_SL1L261->SetBinContent(44,17578.57); h_SL1L261->SetBinContent(45,17497.62); h_SL1L261->SetBinContent(46,17714.29); h_SL1L261->SetBinContent(47,17288.1); h_SL1L261->SetBinContent(48,16942.86); h_SL1L261->SetBinContent(49,23014.29); h_SL1L261->SetBinContent(50,16221.43); h_SL1L261->SetBinContent(51,15285.71); h_SL1L261->SetBinContent(52,15326.19); h_SL1L261->SetBinContent(53,15900); h_SL1L261->SetBinContent(54,15235.71); h_SL1L261->SetBinContent(55,15488.09); h_SL1L261->SetBinContent(56,16919.05); h_SL1L261->SetBinContent(57,15221.43); h_SL1L261->SetBinContent(58,14280.95); h_SL1L261->SetBinContent(59,14166.67); h_SL1L261->SetMaximum(96161.9); 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,18057.14); h_SL1L362->SetBinContent(2,17766.67); h_SL1L362->SetBinContent(3,18109.52); h_SL1L362->SetBinContent(4,17280.95); h_SL1L362->SetBinContent(5,18530.95); h_SL1L362->SetBinContent(6,18761.9); h_SL1L362->SetBinContent(7,18123.81); h_SL1L362->SetBinContent(8,18045.24); h_SL1L362->SetBinContent(9,16988.1); h_SL1L362->SetBinContent(10,15704.76); h_SL1L362->SetBinContent(11,15433.33); h_SL1L362->SetBinContent(12,16530.95); h_SL1L362->SetBinContent(13,17080.95); h_SL1L362->SetBinContent(14,17257.14); h_SL1L362->SetBinContent(15,17583.33); h_SL1L362->SetBinContent(16,16680.95); h_SL1L362->SetBinContent(17,17069.05); h_SL1L362->SetBinContent(18,17914.29); h_SL1L362->SetBinContent(19,18457.14); h_SL1L362->SetBinContent(20,18590.48); h_SL1L362->SetBinContent(21,20080.95); h_SL1L362->SetBinContent(22,20085.71); h_SL1L362->SetBinContent(23,20211.9); h_SL1L362->SetBinContent(24,20511.9); h_SL1L362->SetBinContent(25,20197.62); h_SL1L362->SetBinContent(26,18911.9); h_SL1L362->SetBinContent(27,19497.62); h_SL1L362->SetBinContent(28,19959.52); h_SL1L362->SetBinContent(29,20461.9); h_SL1L362->SetBinContent(30,20690.48); h_SL1L362->SetBinContent(31,21533.33); h_SL1L362->SetBinContent(32,24116.67); h_SL1L362->SetBinContent(33,53714.29); h_SL1L362->SetBinContent(34,72476.19); h_SL1L362->SetBinContent(35,76785.71); h_SL1L362->SetBinContent(36,81769.05); h_SL1L362->SetBinContent(37,83528.57); h_SL1L362->SetBinContent(38,76133.34); h_SL1L362->SetBinContent(39,53459.52); h_SL1L362->SetBinContent(40,24073.81); h_SL1L362->SetBinContent(41,19178.57); h_SL1L362->SetBinContent(42,17921.43); h_SL1L362->SetBinContent(43,17780.95); h_SL1L362->SetBinContent(44,17278.57); h_SL1L362->SetBinContent(45,16933.33); h_SL1L362->SetBinContent(46,17033.33); h_SL1L362->SetBinContent(47,16514.29); h_SL1L362->SetBinContent(48,15885.71); h_SL1L362->SetBinContent(49,15750); h_SL1L362->SetBinContent(50,15328.57); h_SL1L362->SetBinContent(51,14761.9); h_SL1L362->SetBinContent(52,14547.62); h_SL1L362->SetBinContent(53,16211.9); h_SL1L362->SetBinContent(54,14807.14); h_SL1L362->SetBinContent(55,14926.19); h_SL1L362->SetBinContent(56,17147.62); h_SL1L362->SetBinContent(57,14866.67); h_SL1L362->SetBinContent(58,13804.76); h_SL1L362->SetBinContent(59,13959.52); h_SL1L362->SetMaximum(96161.9); 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,16373.81); h_SL1L463->SetBinContent(3,16421.43); h_SL1L463->SetBinContent(4,16319.05); h_SL1L463->SetBinContent(5,15926.19); h_SL1L463->SetBinContent(6,16828.57); h_SL1L463->SetBinContent(7,16364.29); h_SL1L463->SetBinContent(8,16828.57); h_SL1L463->SetBinContent(9,16385.71); h_SL1L463->SetBinContent(10,15021.43); h_SL1L463->SetBinContent(11,14621.43); h_SL1L463->SetBinContent(12,15073.81); h_SL1L463->SetBinContent(13,15295.24); h_SL1L463->SetBinContent(14,16292.86); h_SL1L463->SetBinContent(15,16616.67); h_SL1L463->SetBinContent(16,16452.38); h_SL1L463->SetBinContent(17,15076.19); h_SL1L463->SetBinContent(18,15433.33); h_SL1L463->SetBinContent(19,16545.24); h_SL1L463->SetBinContent(20,16500); h_SL1L463->SetBinContent(21,17130.95); h_SL1L463->SetBinContent(22,17266.67); h_SL1L463->SetBinContent(23,17459.52); h_SL1L463->SetBinContent(24,17657.14); h_SL1L463->SetBinContent(25,16840.48); h_SL1L463->SetBinContent(26,16961.9); h_SL1L463->SetBinContent(27,16580.95); h_SL1L463->SetBinContent(28,17126.19); h_SL1L463->SetBinContent(29,17278.57); h_SL1L463->SetBinContent(30,18040.48); h_SL1L463->SetBinContent(31,18371.43); h_SL1L463->SetBinContent(32,18892.86); h_SL1L463->SetBinContent(33,27054.76); h_SL1L463->SetBinContent(34,56095.24); h_SL1L463->SetBinContent(35,65295.24); h_SL1L463->SetBinContent(36,66752.38); h_SL1L463->SetBinContent(37,65626.19); h_SL1L463->SetBinContent(38,66728.57); h_SL1L463->SetBinContent(39,61021.43); h_SL1L463->SetBinContent(40,26921.43); h_SL1L463->SetBinContent(41,17642.86); h_SL1L463->SetBinContent(42,15357.14); h_SL1L463->SetBinContent(43,15088.09); h_SL1L463->SetBinContent(44,14369.05); h_SL1L463->SetBinContent(45,13333.33); h_SL1L463->SetBinContent(46,13902.38); h_SL1L463->SetBinContent(47,12911.9); h_SL1L463->SetBinContent(48,12728.57); h_SL1L463->SetBinContent(49,11904.76); h_SL1L463->SetBinContent(50,11947.62); h_SL1L463->SetBinContent(51,11409.52); h_SL1L463->SetBinContent(52,11507.14); h_SL1L463->SetBinContent(53,11407.14); h_SL1L463->SetBinContent(54,11380.95); h_SL1L463->SetBinContent(56,12023.81); h_SL1L463->SetBinContent(57,11807.14); h_SL1L463->SetBinContent(58,12426.19); h_SL1L463->SetBinContent(59,12414.29); h_SL1L463->SetMaximum(96161.9); 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 6815"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }