void RatesPerCell_Removing_noisy_cells_run_5861_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:28:41 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1318.188,67.5,11863.69); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5861",60,0,60); h_SL1L160->SetBinContent(1,2373.337); h_SL1L160->SetBinContent(2,3038.771); h_SL1L160->SetBinContent(3,3653.56); h_SL1L160->SetBinContent(4,3967.285); h_SL1L160->SetBinContent(5,4176.904); h_SL1L160->SetBinContent(6,4658.042); h_SL1L160->SetBinContent(7,4469.526); h_SL1L160->SetBinContent(8,4793.099); h_SL1L160->SetBinContent(9,4915.494); h_SL1L160->SetBinContent(10,4855); h_SL1L160->SetBinContent(11,4708.688); h_SL1L160->SetBinContent(12,5004.125); h_SL1L160->SetBinContent(13,5319.256); h_SL1L160->SetBinContent(14,5054.771); h_SL1L160->SetBinContent(15,4555.343); h_SL1L160->SetBinContent(16,4718.537); h_SL1L160->SetBinContent(17,4840.932); h_SL1L160->SetBinContent(18,5260.169); h_SL1L160->SetBinContent(19,4867.661); h_SL1L160->SetBinContent(20,4846.559); h_SL1L160->SetBinContent(21,5170.132); h_SL1L160->SetBinContent(22,5175.759); h_SL1L160->SetBinContent(23,4884.543); h_SL1L160->SetBinContent(24,4763.555); h_SL1L160->SetBinContent(25,4933.783); h_SL1L160->SetBinContent(26,5151.843); h_SL1L160->SetBinContent(27,4928.155); h_SL1L160->SetBinContent(28,4942.224); h_SL1L160->SetBinContent(29,5407.887); h_SL1L160->SetBinContent(30,5506.366); h_SL1L160->SetBinContent(31,4978.802); h_SL1L160->SetBinContent(32,4985.836); h_SL1L160->SetBinContent(33,5185.607); h_SL1L160->SetBinContent(34,5603.438); h_SL1L160->SetBinContent(35,4916.901); h_SL1L160->SetBinContent(36,4885.95); h_SL1L160->SetBinContent(37,5730.053); h_SL1L160->SetBinContent(38,5768.038); h_SL1L160->SetBinContent(39,5077.28); h_SL1L160->SetBinContent(40,4998.498); h_SL1L160->SetBinContent(41,5313.629); h_SL1L160->SetBinContent(42,5485.264); h_SL1L160->SetBinContent(43,4978.802); h_SL1L160->SetBinContent(44,4928.155); h_SL1L160->SetBinContent(45,4808.574); h_SL1L160->SetBinContent(46,5060.398); h_SL1L160->SetBinContent(47,4089.68); h_SL1L160->SetBinContent(48,3643.712); h_SL1L160->SetBinContent(49,4017.931); h_SL1L160->SetBinContent(50,4058.729); h_SL1L160->SetBinContent(51,3552.267); h_SL1L160->SetBinContent(52,3588.845); h_SL1L160->SetBinContent(53,3806.905); h_SL1L160->SetBinContent(54,3521.317); h_SL1L160->SetBinContent(55,2945.92); h_SL1L160->SetBinContent(56,2833.373); h_SL1L160->SetBinContent(57,2826.339); h_SL1L160->SetBinContent(58,2560.446); h_SL1L160->SetBinContent(59,2046.95); h_SL1L160->SetMaximum(10545.5); 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,2903.715); h_SL1L261->SetBinContent(2,3415.804); h_SL1L261->SetBinContent(3,4483.594); h_SL1L261->SetBinContent(4,5149.029); h_SL1L261->SetBinContent(5,5689.255); h_SL1L261->SetBinContent(6,6381.419); h_SL1L261->SetBinContent(7,6391.268); h_SL1L261->SetBinContent(8,6495.374); h_SL1L261->SetBinContent(9,7122.824); h_SL1L261->SetBinContent(10,7141.112); h_SL1L261->SetBinContent(11,6629.023); h_SL1L261->SetBinContent(12,6831.608); h_SL1L261->SetBinContent(13,7219.896); h_SL1L261->SetBinContent(14,7262.101); h_SL1L261->SetBinContent(15,6766.894); h_SL1L261->SetBinContent(16,6799.25); h_SL1L261->SetBinContent(17,6906.17); h_SL1L261->SetBinContent(18,7322.595); h_SL1L261->SetBinContent(19,6762.673); h_SL1L261->SetBinContent(20,6973.699); h_SL1L261->SetBinContent(21,7253.66); h_SL1L261->SetBinContent(22,7442.176); h_SL1L261->SetBinContent(23,6920.239); h_SL1L261->SetBinContent(24,6949.782); h_SL1L261->SetBinContent(25,7276.169); h_SL1L261->SetBinContent(26,7539.248); h_SL1L261->SetBinContent(27,6865.372); h_SL1L261->SetBinContent(28,7737.612); h_SL1L261->SetBinContent(29,7402.784); h_SL1L261->SetBinContent(30,7661.643); h_SL1L261->SetBinContent(31,7639.133); h_SL1L261->SetBinContent(32,7367.613); h_SL1L261->SetBinContent(33,7729.171); h_SL1L261->SetBinContent(34,7933.163); h_SL1L261->SetBinContent(35,7221.302); h_SL1L261->SetBinContent(36,7058.109); h_SL1L261->SetBinContent(37,7471.719); h_SL1L261->SetBinContent(38,7819.208); h_SL1L261->SetBinContent(39,7260.694); h_SL1L261->SetBinContent(40,7000.429); h_SL1L261->SetBinContent(41,7620.844); h_SL1L261->SetBinContent(42,7606.776); h_SL1L261->SetBinContent(43,6948.375); h_SL1L261->SetBinContent(44,6816.133); h_SL1L261->SetBinContent(45,7260.694); h_SL1L261->SetBinContent(46,7466.092); h_SL1L261->SetBinContent(47,6382.827); h_SL1L261->SetBinContent(48,5391.005); h_SL1L261->SetBinContent(49,5488.077); h_SL1L261->SetBinContent(50,5687.848); h_SL1L261->SetBinContent(51,5040.703); h_SL1L261->SetBinContent(52,5009.752); h_SL1L261->SetBinContent(53,5420.549); h_SL1L261->SetBinContent(54,5461.347); h_SL1L261->SetBinContent(55,4734.012); h_SL1L261->SetBinContent(56,4394.963); h_SL1L261->SetBinContent(57,4221.922); h_SL1L261->SetBinContent(58,3702.799); h_SL1L261->SetBinContent(59,2936.072); h_SL1L261->SetMaximum(9170.055); 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,3178.048); h_SL1L362->SetBinContent(2,3939.148); h_SL1L362->SetBinContent(3,7419.667); h_SL1L362->SetBinContent(4,5614.692); h_SL1L362->SetBinContent(5,6240.736); h_SL1L362->SetBinContent(6,6630.43); h_SL1L362->SetBinContent(7,6589.632); h_SL1L362->SetBinContent(8,6979.326); h_SL1L362->SetBinContent(9,7419.667); h_SL1L362->SetBinContent(10,6871); h_SL1L362->SetBinContent(11,6551.647); h_SL1L362->SetBinContent(12,7172.063); h_SL1L362->SetBinContent(13,7421.073); h_SL1L362->SetBinContent(14,6892.102); h_SL1L362->SetBinContent(15,6605.107); h_SL1L362->SetBinContent(16,7131.265); h_SL1L362->SetBinContent(17,7177.69); h_SL1L362->SetBinContent(18,7145.333); h_SL1L362->SetBinContent(19,6816.133); h_SL1L362->SetBinContent(20,7266.321); h_SL1L362->SetBinContent(21,7539.248); h_SL1L362->SetBinContent(22,7190.352); h_SL1L362->SetBinContent(23,6825.98); h_SL1L362->SetBinContent(24,7276.169); h_SL1L362->SetBinContent(25,7565.978); h_SL1L362->SetBinContent(26,7219.896); h_SL1L362->SetBinContent(27,6955.41); h_SL1L362->SetBinContent(28,7498.449); h_SL1L362->SetBinContent(29,7627.878); h_SL1L362->SetBinContent(30,7605.369); h_SL1L362->SetBinContent(31,7370.427); h_SL1L362->SetBinContent(32,7736.205); h_SL1L362->SetBinContent(33,7973.961); h_SL1L362->SetBinContent(34,7623.658); h_SL1L362->SetBinContent(35,7010.276); h_SL1L362->SetBinContent(36,7419.667); h_SL1L362->SetBinContent(37,7926.128); h_SL1L362->SetBinContent(38,7603.962); h_SL1L362->SetBinContent(39,7052.481); h_SL1L362->SetBinContent(40,7488.602); h_SL1L362->SetBinContent(41,7907.839); h_SL1L362->SetBinContent(42,7340.883); h_SL1L362->SetBinContent(43,6942.748); h_SL1L362->SetBinContent(44,7281.796); h_SL1L362->SetBinContent(45,7405.598); h_SL1L362->SetBinContent(46,7339.477); h_SL1L362->SetBinContent(47,5701.917); h_SL1L362->SetBinContent(48,5557.012); h_SL1L362->SetBinContent(49,5730.053); h_SL1L362->SetBinContent(50,5441.651); h_SL1L362->SetBinContent(51,4878.916); h_SL1L362->SetBinContent(52,5392.412); h_SL1L362->SetBinContent(53,5687.848); h_SL1L362->SetBinContent(54,5158.877); h_SL1L362->SetBinContent(55,4691.807); h_SL1L362->SetBinContent(56,4413.252); h_SL1L362->SetBinContent(57,4086.866); h_SL1L362->SetBinContent(58,3422.838); h_SL1L362->SetBinContent(59,2653.297); h_SL1L362->SetMaximum(9170.055); 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,2701.13); h_SL1L463->SetBinContent(3,3420.024); h_SL1L463->SetBinContent(4,3891.315); h_SL1L463->SetBinContent(5,4461.085); h_SL1L463->SetBinContent(6,4863.441); h_SL1L463->SetBinContent(7,4787.472); h_SL1L463->SetBinContent(8,4914.087); h_SL1L463->SetBinContent(9,5618.913); h_SL1L463->SetBinContent(10,5313.629); h_SL1L463->SetBinContent(11,5053.364); h_SL1L463->SetBinContent(12,5468.381); h_SL1L463->SetBinContent(13,5824.312); h_SL1L463->SetBinContent(14,5859.482); h_SL1L463->SetBinContent(15,5337.545); h_SL1L463->SetBinContent(16,5386.785); h_SL1L463->SetBinContent(17,5509.18); h_SL1L463->SetBinContent(18,5412.108); h_SL1L463->SetBinContent(19,5035.075); h_SL1L463->SetBinContent(20,5323.477); h_SL1L463->SetBinContent(21,5488.077); h_SL1L463->SetBinContent(22,5707.544); h_SL1L463->SetBinContent(23,4907.053); h_SL1L463->SetBinContent(24,5213.744); h_SL1L463->SetBinContent(25,5347.393); h_SL1L463->SetBinContent(26,5465.568); h_SL1L463->SetBinContent(27,5150.436); h_SL1L463->SetBinContent(28,5438.838); h_SL1L463->SetBinContent(29,5589.37); h_SL1L463->SetBinContent(30,5568.267); h_SL1L463->SetBinContent(31,5631.575); h_SL1L463->SetBinContent(32,5430.397); h_SL1L463->SetBinContent(33,5694.882); h_SL1L463->SetBinContent(34,5950.927); h_SL1L463->SetBinContent(35,5623.134); h_SL1L463->SetBinContent(36,5748.342); h_SL1L463->SetBinContent(37,5540.13); h_SL1L463->SetBinContent(38,5679.407); h_SL1L463->SetBinContent(39,5666.746); h_SL1L463->SetBinContent(40,4952.072); h_SL1L463->SetBinContent(41,6142.257); h_SL1L463->SetBinContent(42,5820.091); h_SL1L463->SetBinContent(43,5590.776); h_SL1L463->SetBinContent(44,5668.152); h_SL1L463->SetBinContent(45,5576.708); h_SL1L463->SetBinContent(46,5842.601); h_SL1L463->SetBinContent(47,4852.186); h_SL1L463->SetBinContent(48,4231.771); h_SL1L463->SetBinContent(49,4254.28); h_SL1L463->SetBinContent(50,4292.264); h_SL1L463->SetBinContent(51,3780.175); h_SL1L463->SetBinContent(52,3878.654); h_SL1L463->SetBinContent(53,4307.74); h_SL1L463->SetBinContent(54,4233.177); h_SL1L463->SetBinContent(55,1.406839); h_SL1L463->SetBinContent(56,3571.963); h_SL1L463->SetBinContent(57,3165.387); h_SL1L463->SetBinContent(58,3047.212); h_SL1L463->SetBinContent(59,2371.93); h_SL1L463->SetMaximum(9170.055); 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 5861"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }