void RatesPerCell_Removing_noisy_cells_run_6805_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:12:08 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11549.31,67.5,103943.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6805",60,0,60); h_SL3L168->SetBinContent(1,2485.961); h_SL3L168->SetBinContent(2,1843.219); h_SL3L168->SetBinContent(4,3006.375); h_SL3L168->SetBinContent(5,2977.348); h_SL3L168->SetBinContent(6,3103.823); h_SL3L168->SetBinContent(7,3012.595); h_SL3L168->SetBinContent(8,3222.005); h_SL3L168->SetBinContent(9,3068.576); h_SL3L168->SetBinContent(10,2923.441); h_SL3L168->SetBinContent(11,2902.707); h_SL3L168->SetBinContent(12,2850.873); h_SL3L168->SetBinContent(13,3081.016); h_SL3L168->SetBinContent(14,3027.109); h_SL3L168->SetBinContent(15,3282.132); h_SL3L168->SetBinContent(16,3192.978); h_SL3L168->SetBinContent(17,3246.885); h_SL3L168->SetBinContent(18,3331.893); h_SL3L168->SetBinContent(19,3477.028); h_SL3L168->SetBinContent(20,3657.411); h_SL3L168->SetBinContent(21,3663.631); h_SL3L168->SetBinContent(22,4034.763); h_SL3L168->SetBinContent(23,3941.461); h_SL3L168->SetBinContent(24,4142.578); h_SL3L168->SetBinContent(25,4486.755); h_SL3L168->SetBinContent(26,4486.755); h_SL3L168->SetBinContent(27,4459.802); h_SL3L168->SetBinContent(28,4526.149); h_SL3L168->SetBinContent(29,4833.007); h_SL3L168->SetBinContent(30,5361.714); h_SL3L168->SetBinContent(31,5815.781); h_SL3L168->SetBinContent(32,7159.319); h_SL3L168->SetBinContent(33,11326.78); h_SL3L168->SetBinContent(34,40326.89); h_SL3L168->SetBinContent(35,57921.45); h_SL3L168->SetBinContent(36,62858.12); h_SL3L168->SetBinContent(37,68393.99); h_SL3L168->SetBinContent(38,69864.01); h_SL3L168->SetBinContent(39,64545.84); h_SL3L168->SetBinContent(40,41425.77); h_SL3L168->SetBinContent(41,11351.66); h_SL3L168->SetBinContent(42,7003.817); h_SL3L168->SetBinContent(43,5508.923); h_SL3L168->SetBinContent(44,5137.792); h_SL3L168->SetBinContent(45,4922.162); h_SL3L168->SetBinContent(46,4538.59); h_SL3L168->SetBinContent(47,4310.52); h_SL3L168->SetBinContent(48,4103.184); h_SL3L168->SetBinContent(49,4146.724); h_SL3L168->SetBinContent(50,3794.253); h_SL3L168->SetBinContent(51,3644.971); h_SL3L168->SetBinContent(52,3767.299); h_SL3L168->SetBinContent(53,3572.403); h_SL3L168->SetBinContent(54,3338.113); h_SL3L168->SetBinContent(55,3408.607); h_SL3L168->SetBinContent(56,3226.151); h_SL3L168->SetBinContent(57,3118.337); h_SL3L168->SetBinContent(58,2709.884); h_SL3L168->SetBinContent(59,2498.401); h_SL3L168->SetMaximum(92394.45); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,2409.247); h_SL3L269->SetBinContent(2,1832.852); h_SL3L269->SetBinContent(4,2409.247); h_SL3L269->SetBinContent(5,2761.718); h_SL3L269->SetBinContent(6,2987.715); h_SL3L269->SetBinContent(7,2908.927); h_SL3L269->SetBinContent(8,2985.641); h_SL3L269->SetBinContent(9,3087.236); h_SL3L269->SetBinContent(10,2935.881); h_SL3L269->SetBinContent(11,2687.077); h_SL3L269->SetBinContent(12,2792.819); h_SL3L269->SetBinContent(13,2879.9); h_SL3L269->SetBinContent(14,3035.402); h_SL3L269->SetBinContent(15,3014.668); h_SL3L269->SetBinContent(16,3105.896); h_SL3L269->SetBinContent(17,3039.549); h_SL3L269->SetBinContent(18,3134.924); h_SL3L269->SetBinContent(19,3207.491); h_SL3L269->SetBinContent(20,3510.202); h_SL3L269->SetBinContent(21,3452.148); h_SL3L269->SetBinContent(22,3557.889); h_SL3L269->SetBinContent(23,3732.052); h_SL3L269->SetBinContent(24,3939.388); h_SL3L269->SetBinContent(25,4144.651); h_SL3L269->SetBinContent(26,4291.859); h_SL3L269->SetBinContent(27,4246.246); h_SL3L269->SetBinContent(28,4374.794); h_SL3L269->SetBinContent(29,4490.902); h_SL3L269->SetBinContent(30,4918.015); h_SL3L269->SetBinContent(31,5519.29); h_SL3L269->SetBinContent(32,5931.889); h_SL3L269->SetBinContent(33,8971.438); h_SL3L269->SetBinContent(34,21146.22); h_SL3L269->SetBinContent(35,52879.03); h_SL3L269->SetBinContent(36,61037.71); h_SL3L269->SetBinContent(37,65402.13); h_SL3L269->SetBinContent(38,69658.75); h_SL3L269->SetBinContent(39,68474.86); h_SL3L269->SetBinContent(40,56596.57); h_SL3L269->SetBinContent(41,21276.84); h_SL3L269->SetBinContent(42,9106.206); h_SL3L269->SetBinContent(43,6006.53); h_SL3L269->SetBinContent(44,5102.544); h_SL3L269->SetBinContent(45,4760.439); h_SL3L269->SetBinContent(46,4349.914); h_SL3L269->SetBinContent(47,4202.705); h_SL3L269->SetBinContent(48,4082.45); h_SL3L269->SetBinContent(49,4101.11); h_SL3L269->SetBinContent(50,3806.693); h_SL3L269->SetBinContent(51,3802.546); h_SL3L269->SetBinContent(52,3584.843); h_SL3L269->SetBinContent(53,3543.376); h_SL3L269->SetBinContent(54,3352.626); h_SL3L269->SetBinContent(55,3211.638); h_SL3L269->SetBinContent(56,3242.738); h_SL3L269->SetBinContent(57,2975.275); h_SL3L269->SetBinContent(58,2857.093); h_SL3L269->SetBinContent(59,2496.328); h_SL3L269->SetMaximum(80343.61); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,2110.683); h_SL3L370->SetBinContent(2,1739.551); h_SL3L370->SetBinContent(3,1980.061); h_SL3L370->SetBinContent(4,2726.471); h_SL3L370->SetBinContent(5,2869.533); h_SL3L370->SetBinContent(6,2904.78); h_SL3L370->SetBinContent(7,2884.047); h_SL3L370->SetBinContent(8,2867.46); h_SL3L370->SetBinContent(9,2767.938); h_SL3L370->SetBinContent(10,2629.023); h_SL3L370->SetBinContent(11,2653.904); h_SL3L370->SetBinContent(12,2653.904); h_SL3L370->SetBinContent(13,2923.441); h_SL3L370->SetBinContent(14,2875.753); h_SL3L370->SetBinContent(15,2966.981); h_SL3L370->SetBinContent(16,2908.927); h_SL3L370->SetBinContent(17,3041.622); h_SL3L370->SetBinContent(18,2921.367); h_SL3L370->SetBinContent(19,3199.198); h_SL3L370->SetBinContent(20,3302.866); h_SL3L370->SetBinContent(21,3329.82); h_SL3L370->SetBinContent(22,3624.237); h_SL3L370->SetBinContent(23,3576.55); h_SL3L370->SetBinContent(24,3763.152); h_SL3L370->SetBinContent(25,3947.681); h_SL3L370->SetBinContent(26,4370.647); h_SL3L370->SetBinContent(27,4061.716); h_SL3L370->SetBinContent(28,4235.879); h_SL3L370->SetBinContent(29,4673.358); h_SL3L370->SetBinContent(30,5220.726); h_SL3L370->SetBinContent(31,5533.804); h_SL3L370->SetBinContent(32,6821.361); h_SL3L370->SetBinContent(33,11059.31); h_SL3L370->SetBinContent(34,39997.23); h_SL3L370->SetBinContent(35,57886.2); h_SL3L370->SetBinContent(36,62949.35); h_SL3L370->SetBinContent(37,68290.33); h_SL3L370->SetBinContent(38,69683.62); h_SL3L370->SetBinContent(39,64097.99); h_SL3L370->SetBinContent(40,41218.44); h_SL3L370->SetBinContent(41,11013.7); h_SL3L370->SetBinContent(42,6701.106); h_SL3L370->SetBinContent(43,5260.12); h_SL3L370->SetBinContent(44,4903.501); h_SL3L370->SetBinContent(45,159.6489); h_SL3L370->SetBinContent(46,4304.3); h_SL3L370->SetBinContent(47,4018.176); h_SL3L370->SetBinContent(48,3914.508); h_SL3L370->SetBinContent(49,3742.419); h_SL3L370->SetBinContent(50,3572.403); h_SL3L370->SetBinContent(51,3443.854); h_SL3L370->SetBinContent(52,3472.882); h_SL3L370->SetBinContent(53,3400.314); h_SL3L370->SetBinContent(54,3209.564); h_SL3L370->SetBinContent(55,3147.364); h_SL3L370->SetBinContent(56,2908.927); h_SL3L370->SetBinContent(57,3039.549); h_SL3L370->SetBinContent(58,2510.842); h_SL3L370->SetBinContent(59,2307.652); h_SL3L370->SetMaximum(80343.61); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,1762.358); h_SL3L471->SetBinContent(3,1820.412); h_SL3L471->SetBinContent(4,2282.772); h_SL3L471->SetBinContent(5,2626.95); h_SL3L471->SetBinContent(6,2699.518); h_SL3L471->SetBinContent(7,2865.386); h_SL3L471->SetBinContent(8,2720.251); h_SL3L471->SetBinContent(9,2840.506); h_SL3L471->SetBinContent(10,2573.042); h_SL3L471->SetBinContent(11,2309.725); h_SL3L471->SetBinContent(12,2573.042); h_SL3L471->SetBinContent(13,2568.896); h_SL3L471->SetBinContent(14,2823.919); h_SL3L471->SetBinContent(15,2836.359); h_SL3L471->SetBinContent(16,2838.433); h_SL3L471->SetBinContent(17,2778.305); h_SL3L471->SetBinContent(18,2844.653); h_SL3L471->SetBinContent(19,2898.56); h_SL3L471->SetBinContent(20,3186.758); h_SL3L471->SetBinContent(21,3178.464); h_SL3L471->SetBinContent(22,3373.36); h_SL3L471->SetBinContent(23,3613.87); h_SL3L471->SetBinContent(24,3464.588); h_SL3L471->SetBinContent(25,3777.666); h_SL3L471->SetBinContent(26,3908.288); h_SL3L471->SetBinContent(27,4188.191); h_SL3L471->SetBinContent(28,4082.45); h_SL3L471->SetBinContent(29,4258.686); h_SL3L471->SetBinContent(30,4526.149); h_SL3L471->SetBinContent(31,5148.158); h_SL3L471->SetBinContent(32,5649.912); h_SL3L471->SetBinContent(33,8643.847); h_SL3L471->SetBinContent(34,21059.14); h_SL3L471->SetBinContent(35,53105.02); h_SL3L471->SetBinContent(36,61097.84); h_SL3L471->SetBinContent(37,65122.23); h_SL3L471->SetBinContent(38,69592.4); h_SL3L471->SetBinContent(39,68006.27); h_SL3L471->SetBinContent(40,56445.21); h_SL3L471->SetBinContent(41,21150.37); h_SL3L471->SetBinContent(42,8797.275); h_SL3L471->SetBinContent(43,5629.178); h_SL3L471->SetBinContent(44,5011.316); h_SL3L471->SetBinContent(45,4422.481); h_SL3L471->SetBinContent(46,4310.52); h_SL3L471->SetBinContent(47,4157.091); h_SL3L471->SetBinContent(48,4074.156); h_SL3L471->SetBinContent(49,3864.747); h_SL3L471->SetBinContent(50,3537.156); h_SL3L471->SetBinContent(51,3392.021); h_SL3L471->SetBinContent(52,3547.522); h_SL3L471->SetBinContent(53,3307.012); h_SL3L471->SetBinContent(54,3211.638); h_SL3L471->SetBinContent(55,2884.047); h_SL3L471->SetBinContent(56,2969.054); h_SL3L471->SetBinContent(57,2811.479); h_SL3L471->SetBinContent(58,2722.324); h_SL3L471->SetBinContent(59,2303.505); h_SL3L471->SetMaximum(80343.61); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 6805"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }