void RatesPerCell_Removing_noisy_cells_run_6786_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 19:12:44 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-9224.438,67.5,83019.94); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6786",60,0,60); h_SL2L164->SetBinContent(1,4558.789); h_SL2L164->SetBinContent(2,5796.28); h_SL2L164->SetBinContent(3,6576.169); h_SL2L164->SetBinContent(4,6829.572); h_SL2L164->SetBinContent(5,6989.487); h_SL2L164->SetBinContent(6,6445.778); h_SL2L164->SetBinContent(7,5720.013); h_SL2L164->SetBinContent(8,5628.985); h_SL2L164->SetBinContent(9,6573.709); h_SL2L164->SetBinContent(10,6745.925); h_SL2L164->SetBinContent(11,6950.123); h_SL2L164->SetBinContent(12,6844.333); h_SL2L164->SetBinContent(13,7269.952); h_SL2L164->SetBinContent(14,7223.208); h_SL2L164->SetBinContent(15,6977.186); h_SL2L164->SetBinContent(16,6942.743); h_SL2L164->SetBinContent(17,6819.731); h_SL2L164->SetBinContent(18,6836.953); h_SL2L164->SetBinContent(19,6994.407); h_SL2L164->SetBinContent(20,6497.442); h_SL2L164->SetBinContent(21,6403.954); h_SL2L164->SetBinContent(22,6081.665); h_SL2L164->SetBinContent(23,6246.5); h_SL2L164->SetBinContent(24,6802.51); h_SL2L164->SetBinContent(25,11580.26); h_SL2L164->SetBinContent(26,29589.07); h_SL2L164->SetBinContent(27,44190.48); h_SL2L164->SetBinContent(28,52060.73); h_SL2L164->SetBinContent(29,55800.26); h_SL2L164->SetBinContent(30,53696.77); h_SL2L164->SetBinContent(31,51726.14); h_SL2L164->SetBinContent(32,50931.49); h_SL2L164->SetBinContent(33,49821.93); h_SL2L164->SetBinContent(34,29382.41); h_SL2L164->SetBinContent(36,5358.36); h_SL2L164->SetBinContent(37,6039.841); h_SL2L164->SetBinContent(38,5132.02); h_SL2L164->SetBinContent(39,5390.343); h_SL2L164->SetBinContent(40,47959.54); h_SL2L164->SetBinContent(41,42205.08); h_SL2L164->SetBinContent(42,7493.832); h_SL2L164->SetBinContent(43,7210.907); h_SL2L164->SetBinContent(44,7279.792); h_SL2L164->SetBinContent(45,3166.304); h_SL2L164->SetBinContent(46,2910.441); h_SL2L164->SetBinContent(47,3003.929); h_SL2L164->SetBinContent(48,2834.174); h_SL2L164->SetBinContent(49,2693.942); h_SL2L164->SetBinContent(50,2573.391); h_SL2L164->SetBinContent(51,2812.032); h_SL2L164->SetBinContent(52,2947.344); h_SL2L164->SetBinContent(53,3104.798); h_SL2L164->SetBinContent(54,3183.525); h_SL2L164->SetBinContent(55,3195.826); h_SL2L164->SetBinContent(56,2529.107); h_SL2L164->SetBinContent(57,6984.566); h_SL2L164->SetMaximum(73795.5); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,3702.632); h_SL2L265->SetBinContent(2,5449.389); h_SL2L265->SetBinContent(3,5830.723); h_SL2L265->SetBinContent(4,6859.095); h_SL2L265->SetBinContent(5,6531.886); h_SL2L265->SetBinContent(6,6598.312); h_SL2L265->SetBinContent(7,6059.523); h_SL2L265->SetBinContent(8,5407.565); h_SL2L265->SetBinContent(9,6049.683); h_SL2L265->SetBinContent(10,6465.459); h_SL2L265->SetBinContent(11,6642.596); h_SL2L265->SetBinContent(12,6679.499); h_SL2L265->SetBinContent(13,6839.413); h_SL2L265->SetBinContent(14,6718.862); h_SL2L265->SetBinContent(15,6824.652); h_SL2L265->SetBinContent(16,7019.009); h_SL2L265->SetBinContent(17,6551.567); h_SL2L265->SetBinContent(18,6608.152); h_SL2L265->SetBinContent(19,6839.413); h_SL2L265->SetBinContent(20,6116.108); h_SL2L265->SetBinContent(21,6271.102); h_SL2L265->SetBinContent(22,6049.683); h_SL2L265->SetBinContent(23,5970.956); h_SL2L265->SetBinContent(24,6246.5); h_SL2L265->SetBinContent(25,7183.844); h_SL2L265->SetBinContent(26,20198.41); h_SL2L265->SetBinContent(27,37215.76); h_SL2L265->SetBinContent(28,48306.43); h_SL2L265->SetBinContent(29,54373.34); h_SL2L265->SetBinContent(30,54525.87); h_SL2L265->SetBinContent(31,51959.86); h_SL2L265->SetBinContent(32,51064.34); h_SL2L265->SetBinContent(33,50884.74); h_SL2L265->SetBinContent(34,42571.66); h_SL2L265->SetBinContent(35,16279.28); h_SL2L265->SetBinContent(36,6460.539); h_SL2L265->SetBinContent(37,4829.413); h_SL2L265->SetBinContent(38,4295.545); h_SL2L265->SetBinContent(39,4465.3); h_SL2L265->SetBinContent(40,5318.997); h_SL2L265->SetBinContent(41,5102.498); h_SL2L265->SetBinContent(42,4293.085); h_SL2L265->SetBinContent(43,3542.718); h_SL2L265->SetBinContent(44,3894.529); h_SL2L265->SetBinContent(45,2841.555); h_SL2L265->SetBinContent(46,2969.486); h_SL2L265->SetBinContent(47,2871.077); h_SL2L265->SetBinContent(48,2809.572); h_SL2L265->SetBinContent(49,2595.533); h_SL2L265->SetBinContent(50,2472.522); h_SL2L265->SetBinContent(51,2386.414); h_SL2L265->SetBinContent(52,2708.703); h_SL2L265->SetBinContent(53,2930.123); h_SL2L265->SetBinContent(54,2883.378); h_SL2L265->SetBinContent(55,3013.77); h_SL2L265->SetBinContent(56,2566.01); h_SL2L265->SetBinContent(57,2578.311); h_SL2L265->SetMaximum(64170.3); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,4256.182); h_SL2L366->SetBinContent(2,5178.764); h_SL2L366->SetBinContent(3,6423.636); h_SL2L366->SetBinContent(4,6497.442); h_SL2L366->SetBinContent(5,6285.864); h_SL2L366->SetBinContent(6,5806.121); h_SL2L366->SetBinContent(7,5473.991); h_SL2L366->SetBinContent(8,5291.935); h_SL2L366->SetBinContent(9,6239.119); h_SL2L366->SetBinContent(10,6369.511); h_SL2L366->SetBinContent(11,6455.619); h_SL2L366->SetBinContent(12,6485.142); h_SL2L366->SetBinContent(13,6497.442); h_SL2L366->SetBinContent(14,6677.039); h_SL2L366->SetBinContent(15,6669.658); h_SL2L366->SetBinContent(16,6408.875); h_SL2L366->SetBinContent(17,6349.829); h_SL2L366->SetBinContent(18,6416.255); h_SL2L366->SetBinContent(19,6630.294); h_SL2L366->SetBinContent(20,6116.108); h_SL2L366->SetBinContent(21,6089.046); h_SL2L366->SetBinContent(22,5729.854); h_SL2L366->SetBinContent(23,5815.961); h_SL2L366->SetBinContent(24,6374.432); h_SL2L366->SetBinContent(25,11400.66); h_SL2L366->SetBinContent(26,29192.98); h_SL2L366->SetBinContent(27,43750.1); h_SL2L366->SetBinContent(28,51192.27); h_SL2L366->SetBinContent(29,55126.16); h_SL2L366->SetBinContent(30,52707.77); h_SL2L366->SetBinContent(31,51396.47); h_SL2L366->SetBinContent(32,50965.93); h_SL2L366->SetBinContent(33,49388.93); h_SL2L366->SetBinContent(34,29143.77); h_SL2L366->SetBinContent(35,8657.517); h_SL2L366->SetBinContent(36,5117.259); h_SL2L366->SetBinContent(37,4716.243); h_SL2L366->SetBinContent(38,4118.409); h_SL2L366->SetBinContent(39,3783.819); h_SL2L366->SetBinContent(40,4184.835); h_SL2L366->SetBinContent(41,3569.78); h_SL2L366->SetBinContent(42,3200.747); h_SL2L366->SetBinContent(43,3176.145); h_SL2L366->SetBinContent(44,3053.134); h_SL2L366->SetBinContent(45,2816.953); h_SL2L366->SetBinContent(46,2684.101); h_SL2L366->SetBinContent(47,2804.651); h_SL2L366->SetBinContent(48,2484.823); h_SL2L366->SetBinContent(49,2511.885); h_SL2L366->SetBinContent(50,2288.005); h_SL2L366->SetBinContent(51,2657.038); h_SL2L366->SetBinContent(52,2487.283); h_SL2L366->SetBinContent(53,2824.333); h_SL2L366->SetBinContent(54,2873.538); h_SL2L366->SetBinContent(55,3080.196); h_SL2L366->SetBinContent(56,2575.851); h_SL2L366->SetBinContent(57,2617.675); h_SL2L366->SetMaximum(64170.3); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,4917.981); h_SL2L467->SetBinContent(3,5675.729); h_SL2L467->SetBinContent(4,6175.154); h_SL2L467->SetBinContent(5,6042.302); h_SL2L467->SetBinContent(6,5845.484); h_SL2L467->SetBinContent(7,5424.786); h_SL2L467->SetBinContent(8,4942.583); h_SL2L467->SetBinContent(9,5916.831); h_SL2L467->SetBinContent(10,5884.848); h_SL2L467->SetBinContent(11,6310.466); h_SL2L467->SetBinContent(12,6344.909); h_SL2L467->SetBinContent(13,6344.909); h_SL2L467->SetBinContent(14,6199.756); h_SL2L467->SetBinContent(15,6490.062); h_SL2L467->SetBinContent(16,6335.068); h_SL2L467->SetBinContent(17,6057.063); h_SL2L467->SetBinContent(18,6175.154); h_SL2L467->SetBinContent(19,6283.403); h_SL2L467->SetBinContent(20,5872.546); h_SL2L467->SetBinContent(21,5715.092); h_SL2L467->SetBinContent(22,5464.15); h_SL2L467->SetBinContent(23,5501.053); h_SL2L467->SetBinContent(24,5924.211); h_SL2L467->SetBinContent(25,6743.464); h_SL2L467->SetBinContent(26,19927.79); h_SL2L467->SetBinContent(27,36846.72); h_SL2L467->SetBinContent(28,48235.09); h_SL2L467->SetBinContent(29,53957.56); h_SL2L467->SetBinContent(30,54744.83); h_SL2L467->SetBinContent(31,51858.99); h_SL2L467->SetBinContent(32,50995.45); h_SL2L467->SetBinContent(33,50459.12); h_SL2L467->SetBinContent(34,42251.83); h_SL2L467->SetBinContent(35,16107.06); h_SL2L467->SetBinContent(36,6226.818); h_SL2L467->SetBinContent(37,4780.208); h_SL2L467->SetBinContent(38,4238.96); h_SL2L467->SetBinContent(39,3798.581); h_SL2L467->SetBinContent(40,3690.331); h_SL2L467->SetBinContent(41,3377.883); h_SL2L467->SetBinContent(42,3508.275); h_SL2L467->SetBinContent(43,3114.639); h_SL2L467->SetBinContent(44,3040.833); h_SL2L467->SetBinContent(45,2836.634); h_SL2L467->SetBinContent(46,2716.083); h_SL2L467->SetBinContent(47,2526.646); h_SL2L467->SetBinContent(48,2580.771); h_SL2L467->SetBinContent(49,2541.408); h_SL2L467->SetBinContent(50,2526.646); h_SL2L467->SetBinContent(51,2280.625); h_SL2L467->SetBinContent(52,2484.823); h_SL2L467->SetBinContent(53,2676.72); h_SL2L467->SetBinContent(54,2765.288); h_SL2L467->SetBinContent(55,2878.458); h_SL2L467->SetBinContent(56,2777.589); h_SL2L467->SetBinContent(57,2354.431); h_SL2L467->SetMaximum(64170.3); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 6786"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }