void RatesPerCell_Removing_noisy_cells_run_5387_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:43:40 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-4040.094,67.5,36360.84); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5387",60,0,60); h_SL1L160->SetBinContent(1,1675.074); h_SL1L160->SetBinContent(2,1390.289); h_SL1L160->SetBinContent(3,2350.037); h_SL1L160->SetBinContent(4,2693.125); h_SL1L160->SetBinContent(5,2944.274); h_SL1L160->SetBinContent(6,2877.001); h_SL1L160->SetBinContent(7,3033.97); h_SL1L160->SetBinContent(8,3278.392); h_SL1L160->SetBinContent(9,3347.906); h_SL1L160->SetBinContent(10,3511.601); h_SL1L160->SetBinContent(11,3874.87); h_SL1L160->SetBinContent(12,4318.866); h_SL1L160->SetBinContent(13,4561.045); h_SL1L160->SetBinContent(14,5119.403); h_SL1L160->SetBinContent(15,5453.521); h_SL1L160->SetBinContent(16,5231.523); h_SL1L160->SetBinContent(17,6074.667); h_SL1L160->SetBinContent(18,6334.785); h_SL1L160->SetBinContent(19,6895.386); h_SL1L160->SetBinContent(20,7628.651); h_SL1L160->SetBinContent(21,8178.04); h_SL1L160->SetBinContent(22,8906.82); h_SL1L160->SetBinContent(23,9848.629); h_SL1L160->SetBinContent(24,10884.62); h_SL1L160->SetBinContent(25,11602.19); h_SL1L160->SetBinContent(26,13127.02); h_SL1L160->SetBinContent(27,13490.29); h_SL1L160->SetBinContent(28,14196.65); h_SL1L160->SetBinContent(29,15450.15); h_SL1L160->SetBinContent(30,17910.06); h_SL1L160->SetBinContent(31,21457.54); h_SL1L160->SetBinContent(32,24092.37); h_SL1L160->SetBinContent(33,22989.1); h_SL1L160->SetBinContent(34,20991.12); h_SL1L160->SetBinContent(35,19412.47); h_SL1L160->SetBinContent(36,17488.49); h_SL1L160->SetBinContent(37,15784.27); h_SL1L160->SetBinContent(38,14698.94); h_SL1L160->SetBinContent(39,13304.17); h_SL1L160->SetBinContent(40,11940.79); h_SL1L160->SetBinContent(41,10673.83); h_SL1L160->SetBinContent(42,10200.69); h_SL1L160->SetBinContent(43,9209.544); h_SL1L160->SetBinContent(44,8382.098); h_SL1L160->SetBinContent(45,8552.521); h_SL1L160->SetBinContent(46,8969.607); h_SL1L160->SetBinContent(47,7399.926); h_SL1L160->SetBinContent(48,6168.848); h_SL1L160->SetBinContent(49,4816.679); h_SL1L160->SetBinContent(50,4816.679); h_SL1L160->SetBinContent(51,5989.455); h_SL1L160->SetBinContent(52,5635.156); h_SL1L160->SetBinContent(53,5532.005); h_SL1L160->SetBinContent(54,5242.735); h_SL1L160->SetBinContent(55,5274.129); h_SL1L160->SetBinContent(56,5242.735); h_SL1L160->SetBinContent(57,5363.825); h_SL1L160->SetBinContent(58,4675.408); h_SL1L160->SetBinContent(59,2080.949); h_SL1L160->SetMaximum(32320.75); 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,1881.375); h_SL1L261->SetBinContent(2,1287.139); h_SL1L261->SetBinContent(3,1823.073); h_SL1L261->SetBinContent(4,2486.824); h_SL1L261->SetBinContent(5,2823.184); h_SL1L261->SetBinContent(6,2811.972); h_SL1L261->SetBinContent(7,2912.88); h_SL1L261->SetBinContent(8,3177.483); h_SL1L261->SetBinContent(9,3184.211); h_SL1L261->SetBinContent(10,3457.784); h_SL1L261->SetBinContent(11,3549.722); h_SL1L261->SetBinContent(12,3989.233); h_SL1L261->SetBinContent(13,4430.986); h_SL1L261->SetBinContent(14,4740.438); h_SL1L261->SetBinContent(15,5280.856); h_SL1L261->SetBinContent(16,5244.978); h_SL1L261->SetBinContent(17,5668.792); h_SL1L261->SetBinContent(18,6146.423); h_SL1L261->SetBinContent(19,6460.36); h_SL1L261->SetBinContent(20,7258.655); h_SL1L261->SetBinContent(21,7834.952); h_SL1L261->SetBinContent(22,8610.823); h_SL1L261->SetBinContent(23,9276.816); h_SL1L261->SetBinContent(24,10339.71); h_SL1L261->SetBinContent(25,10828.56); h_SL1L261->SetBinContent(26,12313.03); h_SL1L261->SetBinContent(27,13131.5); h_SL1L261->SetBinContent(28,13914.1); h_SL1L261->SetBinContent(29,14878.34); h_SL1L261->SetBinContent(30,16277.59); h_SL1L261->SetBinContent(31,19627.74); h_SL1L261->SetBinContent(32,23475.71); h_SL1L261->SetBinContent(33,24069.94); h_SL1L261->SetBinContent(34,21997.96); h_SL1L261->SetBinContent(35,20450.71); h_SL1L261->SetBinContent(36,18125.33); h_SL1L261->SetBinContent(37,16856.13); h_SL1L261->SetBinContent(38,15089.12); h_SL1L261->SetBinContent(39,13927.56); h_SL1L261->SetBinContent(40,12757.02); h_SL1L261->SetBinContent(41,11436.25); h_SL1L261->SetBinContent(42,10220.87); h_SL1L261->SetBinContent(43,9541.42); h_SL1L261->SetBinContent(44,8832.821); h_SL1L261->SetBinContent(45,8245.312); h_SL1L261->SetBinContent(46,8505.43); h_SL1L261->SetBinContent(47,8996.517); h_SL1L261->SetBinContent(48,5940.123); h_SL1L261->SetBinContent(49,6240.604); h_SL1L261->SetBinContent(50,3511.601); h_SL1L261->SetBinContent(51,5969.274); h_SL1L261->SetBinContent(52,5895.274); h_SL1L261->SetBinContent(53,5455.764); h_SL1L261->SetBinContent(54,5399.704); h_SL1L261->SetBinContent(55,5188.918); h_SL1L261->SetBinContent(56,5215.827); h_SL1L261->SetBinContent(57,5312.25); h_SL1L261->SetBinContent(58,5094.737); h_SL1L261->SetBinContent(59,3112.454); h_SL1L261->SetMaximum(28105.93); 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,1580.893); h_SL1L362->SetBinContent(2,1246.775); h_SL1L362->SetBinContent(3,2244.644); h_SL1L362->SetBinContent(4,2650.519); h_SL1L362->SetBinContent(5,2903.91); h_SL1L362->SetBinContent(6,2798.518); h_SL1L362->SetBinContent(7,3000.334); h_SL1L362->SetBinContent(8,3202.15); h_SL1L362->SetBinContent(9,3381.542); h_SL1L362->SetBinContent(10,3468.996); h_SL1L362->SetBinContent(11,3814.325); h_SL1L362->SetBinContent(12,4179.837); h_SL1L362->SetBinContent(13,4570.015); h_SL1L362->SetBinContent(14,4987.102); h_SL1L362->SetBinContent(15,5332.432); h_SL1L362->SetBinContent(16,5285.341); h_SL1L362->SetBinContent(17,6141.938); h_SL1L362->SetBinContent(18,6148.666); h_SL1L362->SetBinContent(19,6758.599); h_SL1L362->SetBinContent(20,7695.923); h_SL1L362->SetBinContent(21,17950.43); h_SL1L362->SetBinContent(22,8729.67); h_SL1L362->SetBinContent(23,9823.963); h_SL1L362->SetBinContent(24,10711.95); h_SL1L362->SetBinContent(25,11611.16); h_SL1L362->SetBinContent(26,12815.33); h_SL1L362->SetBinContent(27,13562.05); h_SL1L362->SetBinContent(28,14396.22); h_SL1L362->SetBinContent(29,15506.21); h_SL1L362->SetBinContent(30,17883.15); h_SL1L362->SetBinContent(31,21666.09); h_SL1L362->SetBinContent(32,24439.94); h_SL1L362->SetBinContent(33,23282.86); h_SL1L362->SetBinContent(34,20903.67); h_SL1L362->SetBinContent(35,19638.96); h_SL1L362->SetBinContent(36,17672.37); h_SL1L362->SetBinContent(37,15968.14); h_SL1L362->SetBinContent(38,14622.7); h_SL1L362->SetBinContent(39,13438.71); h_SL1L362->SetBinContent(40,11999.09); h_SL1L362->SetBinContent(41,10711.95); h_SL1L362->SetBinContent(42,10045.96); h_SL1L362->SetBinContent(43,9220.757); h_SL1L362->SetBinContent(44,8352.947); h_SL1L362->SetBinContent(45,8431.431); h_SL1L362->SetBinContent(46,8909.062); h_SL1L362->SetBinContent(47,7399.926); h_SL1L362->SetBinContent(48,6110.545); h_SL1L362->SetBinContent(49,4854.8); h_SL1L362->SetBinContent(50,4753.892); h_SL1L362->SetBinContent(51,6027.576); h_SL1L362->SetBinContent(52,5592.55); h_SL1L362->SetBinContent(53,5590.308); h_SL1L362->SetBinContent(54,5240.493); h_SL1L362->SetBinContent(55,5283.099); h_SL1L362->SetBinContent(56,5269.645); h_SL1L362->SetBinContent(57,5352.613); h_SL1L362->SetBinContent(58,4641.772); h_SL1L362->SetBinContent(59,2022.646); h_SL1L362->SetMaximum(28105.93); 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,1210.897); h_SL1L463->SetBinContent(3,1737.861); h_SL1L463->SetBinContent(4,2462.157); h_SL1L463->SetBinContent(5,2753.669); h_SL1L463->SetBinContent(6,2776.094); h_SL1L463->SetBinContent(7,2959.97); h_SL1L463->SetBinContent(8,3181.968); h_SL1L463->SetBinContent(9,3204.392); h_SL1L463->SetBinContent(10,3446.572); h_SL1L463->SetBinContent(11,3475.723); h_SL1L463->SetBinContent(12,4007.172); h_SL1L463->SetBinContent(13,4350.26); h_SL1L463->SetBinContent(14,4758.376); h_SL1L463->SetBinContent(15,5195.645); h_SL1L463->SetBinContent(16,5278.614); h_SL1L463->SetBinContent(17,5758.488); h_SL1L463->SetBinContent(18,6242.847); h_SL1L463->SetBinContent(19,6415.512); h_SL1L463->SetBinContent(20,7334.896); h_SL1L463->SetBinContent(21,7857.376); h_SL1L463->SetBinContent(22,8532.339); h_SL1L463->SetBinContent(23,9231.969); h_SL1L463->SetBinContent(24,10530.32); h_SL1L463->SetBinContent(25,10716.44); h_SL1L463->SetBinContent(26,12391.51); h_SL1L463->SetBinContent(27,13160.66); h_SL1L463->SetBinContent(28,13835.62); h_SL1L463->SetBinContent(29,15111.55); h_SL1L463->SetBinContent(30,16387.47); h_SL1L463->SetBinContent(31,19645.68); h_SL1L463->SetBinContent(32,23677.52); h_SL1L463->SetBinContent(33,24031.82); h_SL1L463->SetBinContent(34,22392.62); h_SL1L463->SetBinContent(35,20771.37); h_SL1L463->SetBinContent(36,18264.36); h_SL1L463->SetBinContent(37,16981.71); h_SL1L463->SetBinContent(38,15089.12); h_SL1L463->SetBinContent(39,14147.31); h_SL1L463->SetBinContent(40,12839.99); h_SL1L463->SetBinContent(41,11362.25); h_SL1L463->SetBinContent(42,10411.47); h_SL1L463->SetBinContent(43,9554.874); h_SL1L463->SetBinContent(44,9005.485); h_SL1L463->SetBinContent(45,8258.766); h_SL1L463->SetBinContent(46,8599.611); h_SL1L463->SetBinContent(47,9092.939); h_SL1L463->SetBinContent(48,5987.213); h_SL1L463->SetBinContent(49,6171.09); h_SL1L463->SetBinContent(50,3511.601); h_SL1L463->SetBinContent(51,5870.608); h_SL1L463->SetBinContent(52,5908.729); h_SL1L463->SetBinContent(53,5440.067); h_SL1L463->SetBinContent(54,5415.4); h_SL1L463->SetBinContent(56,5260.675); h_SL1L463->SetBinContent(57,5341.401); h_SL1L463->SetBinContent(58,5101.464); h_SL1L463->SetBinContent(59,3179.726); h_SL1L463->SetMaximum(28105.93); 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 5387"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }