void RatesPerCell_Removing_noisy_cells_run_6694_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:02:43 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18888.03,67.5,169992.3); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6694",60,0,60); h_SL2L164->SetBinContent(1,17146.36); h_SL2L164->SetBinContent(2,21274.27); h_SL2L164->SetBinContent(3,25546.63); h_SL2L164->SetBinContent(4,26560); h_SL2L164->SetBinContent(5,25802.71); h_SL2L164->SetBinContent(6,23891.97); h_SL2L164->SetBinContent(7,21438.42); h_SL2L164->SetBinContent(8,20670.18); h_SL2L164->SetBinContent(9,23821.93); h_SL2L164->SetBinContent(10,24550.77); h_SL2L164->SetBinContent(11,24870.32); h_SL2L164->SetBinContent(12,24042.99); h_SL2L164->SetBinContent(13,24587.98); h_SL2L164->SetBinContent(14,24725.87); h_SL2L164->SetBinContent(15,24185.25); h_SL2L164->SetBinContent(16,23265.99); h_SL2L164->SetBinContent(17,22526.21); h_SL2L164->SetBinContent(18,22250.43); h_SL2L164->SetBinContent(19,21191.1); h_SL2L164->SetBinContent(20,20361.58); h_SL2L164->SetBinContent(21,18930.16); h_SL2L164->SetBinContent(22,17332.4); h_SL2L164->SetBinContent(23,17452.78); h_SL2L164->SetBinContent(24,16704.24); h_SL2L164->SetBinContent(25,20565.12); h_SL2L164->SetBinContent(26,38337.46); h_SL2L164->SetBinContent(27,51443.46); h_SL2L164->SetBinContent(28,59222.13); h_SL2L164->SetBinContent(29,62268.82); h_SL2L164->SetBinContent(30,61073.78); h_SL2L164->SetBinContent(31,57709.73); h_SL2L164->SetBinContent(32,57834.49); h_SL2L164->SetBinContent(33,56282.7); h_SL2L164->SetBinContent(34,36137.8); h_SL2L164->SetBinContent(35,2.188711); h_SL2L164->SetBinContent(36,12164.85); h_SL2L164->SetBinContent(37,12996.56); h_SL2L164->SetBinContent(38,12357.46); h_SL2L164->SetBinContent(39,12565.39); h_SL2L164->SetBinContent(40,69802.36); h_SL2L164->SetBinContent(41,114257.3); h_SL2L164->SetBinContent(42,14425.79); h_SL2L164->SetBinContent(43,14802.25); h_SL2L164->SetBinContent(44,14368.89); h_SL2L164->SetBinContent(45,9214.472); h_SL2L164->SetBinContent(46,8741.711); h_SL2L164->SetBinContent(47,8813.938); h_SL2L164->SetBinContent(48,8770.164); h_SL2L164->SetBinContent(49,9231.981); h_SL2L164->SetBinContent(50,8908.053); h_SL2L164->SetBinContent(51,9450.853); h_SL2L164->SetBinContent(52,9971.766); h_SL2L164->SetBinContent(53,11101.14); h_SL2L164->SetBinContent(54,11357.22); h_SL2L164->SetBinContent(55,11455.71); h_SL2L164->SetBinContent(56,10179.69); h_SL2L164->SetBinContent(57,15465.43); h_SL2L164->SetMaximum(151104.2); 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,13961.79); h_SL2L265->SetBinContent(2,20284.97); h_SL2L265->SetBinContent(3,22215.41); h_SL2L265->SetBinContent(4,25242.4); h_SL2L265->SetBinContent(5,24953.49); h_SL2L265->SetBinContent(6,24084.57); h_SL2L265->SetBinContent(7,22162.88); h_SL2L265->SetBinContent(8,19591.15); h_SL2L265->SetBinContent(9,22077.53); h_SL2L265->SetBinContent(10,23500.19); h_SL2L265->SetBinContent(11,23905.1); h_SL2L265->SetBinContent(12,23618.38); h_SL2L265->SetBinContent(13,23614); h_SL2L265->SetBinContent(14,23386.37); h_SL2L265->SetBinContent(15,23395.13); h_SL2L265->SetBinContent(16,22475.87); h_SL2L265->SetBinContent(17,21650.73); h_SL2L265->SetBinContent(18,21939.64); h_SL2L265->SetBinContent(19,21180.15); h_SL2L265->SetBinContent(20,19906.32); h_SL2L265->SetBinContent(21,18952.04); h_SL2L265->SetBinContent(22,17222.96); h_SL2L265->SetBinContent(23,16588.24); h_SL2L265->SetBinContent(24,16362.8); h_SL2L265->SetBinContent(25,16290.57); h_SL2L265->SetBinContent(26,28825.32); h_SL2L265->SetBinContent(27,44564.34); h_SL2L265->SetBinContent(28,56009.11); h_SL2L265->SetBinContent(29,59793.39); h_SL2L265->SetBinContent(30,61343); h_SL2L265->SetBinContent(31,57816.98); h_SL2L265->SetBinContent(32,57118.78); h_SL2L265->SetBinContent(33,57803.85); h_SL2L265->SetBinContent(34,48764.47); h_SL2L265->SetBinContent(35,22583.12); h_SL2L265->SetBinContent(36,12922.15); h_SL2L265->SetBinContent(37,11175.56); h_SL2L265->SetBinContent(38,11103.33); h_SL2L265->SetBinContent(39,10982.95); h_SL2L265->SetBinContent(40,12344.33); h_SL2L265->SetBinContent(41,11195.25); h_SL2L265->SetBinContent(42,10444.53); h_SL2L265->SetBinContent(43,9726.63); h_SL2L265->SetBinContent(44,9798.857); h_SL2L265->SetBinContent(45,8743.899); h_SL2L265->SetBinContent(46,8494.386); h_SL2L265->SetBinContent(47,8128.872); h_SL2L265->SetBinContent(48,8601.633); h_SL2L265->SetBinContent(49,8426.536); h_SL2L265->SetBinContent(50,8835.825); h_SL2L265->SetBinContent(51,8244.873); h_SL2L265->SetBinContent(52,9534.023); h_SL2L265->SetBinContent(53,9790.103); h_SL2L265->SetBinContent(54,10980.76); h_SL2L265->SetBinContent(55,11501.67); h_SL2L265->SetBinContent(56,10258.49); h_SL2L265->SetBinContent(57,9733.196); h_SL2L265->SetMaximum(131395.9); 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,16093.59); h_SL2L366->SetBinContent(2,19448.88); h_SL2L366->SetBinContent(3,23513.32); h_SL2L366->SetBinContent(4,24401.94); h_SL2L366->SetBinContent(5,23708.11); h_SL2L366->SetBinContent(6,21939.64); h_SL2L366->SetBinContent(7,19661.19); h_SL2L366->SetBinContent(8,19932.59); h_SL2L366->SetBinContent(9,21937.45); h_SL2L366->SetBinContent(10,22127.87); h_SL2L366->SetBinContent(11,23047.12); h_SL2L366->SetBinContent(12,23084.33); h_SL2L366->SetBinContent(13,23101.84); h_SL2L366->SetBinContent(14,22808.55); h_SL2L366->SetBinContent(15,22545.91); h_SL2L366->SetBinContent(16,21241.44); h_SL2L366->SetBinContent(17,20827.77); h_SL2L366->SetBinContent(18,20797.13); h_SL2L366->SetBinContent(19,20291.54); h_SL2L366->SetBinContent(20,18573.4); h_SL2L366->SetBinContent(21,17343.34); h_SL2L366->SetBinContent(22,16505.07); h_SL2L366->SetBinContent(23,15833.13); h_SL2L366->SetBinContent(24,15633.96); h_SL2L366->SetBinContent(25,19505.79); h_SL2L366->SetBinContent(26,37645.82); h_SL2L366->SetBinContent(27,50395.06); h_SL2L366->SetBinContent(28,57917.66); h_SL2L366->SetBinContent(29,60697.32); h_SL2L366->SetBinContent(30,60428.11); h_SL2L366->SetBinContent(31,56689.8); h_SL2L366->SetBinContent(32,57766.64); h_SL2L366->SetBinContent(33,55315.29); h_SL2L366->SetBinContent(34,35654.1); h_SL2L366->SetBinContent(35,15235.62); h_SL2L366->SetBinContent(36,11591.41); h_SL2L366->SetBinContent(37,10431.4); h_SL2L366->SetBinContent(38,10746.57); h_SL2L366->SetBinContent(39,9875.463); h_SL2L366->SetBinContent(40,10120.6); h_SL2L366->SetBinContent(41,9590.931); h_SL2L366->SetBinContent(42,8984.657); h_SL2L366->SetBinContent(43,8949.638); h_SL2L366->SetBinContent(44,9019.677); h_SL2L366->SetBinContent(45,8387.14); h_SL2L366->SetBinContent(46,8001.926); h_SL2L366->SetBinContent(47,8371.818); h_SL2L366->SetBinContent(48,8100.418); h_SL2L366->SetBinContent(49,8336.799); h_SL2L366->SetBinContent(50,8004.115); h_SL2L366->SetBinContent(51,8314.912); h_SL2L366->SetBinContent(52,9153.188); h_SL2L366->SetBinContent(53,9934.558); h_SL2L366->SetBinContent(54,11052.99); h_SL2L366->SetBinContent(55,11107.71); h_SL2L366->SetBinContent(56,9041.563); h_SL2L366->SetBinContent(57,9372.06); h_SL2L366->SetMaximum(131395.9); 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,18849.18); h_SL2L467->SetBinContent(3,21158.27); h_SL2L467->SetBinContent(4,23745.32); h_SL2L467->SetBinContent(5,23325.09); h_SL2L467->SetBinContent(6,21755.79); h_SL2L467->SetBinContent(7,20630.79); h_SL2L467->SetBinContent(8,18111.58); h_SL2L467->SetBinContent(9,21103.55); h_SL2L467->SetBinContent(10,21617.89); h_SL2L467->SetBinContent(11,22062.2); h_SL2L467->SetBinContent(12,21834.58); h_SL2L467->SetBinContent(13,21596.01); h_SL2L467->SetBinContent(14,21720.77); h_SL2L467->SetBinContent(15,21495.33); h_SL2L467->SetBinContent(16,21042.26); h_SL2L467->SetBinContent(17,19910.7); h_SL2L467->SetBinContent(18,20289.35); h_SL2L467->SetBinContent(19,19834.1); h_SL2L467->SetBinContent(20,18864.5); h_SL2L467->SetBinContent(21,17535.95); h_SL2L467->SetBinContent(22,16531.33); h_SL2L467->SetBinContent(23,15763.09); h_SL2L467->SetBinContent(24,14817.57); h_SL2L467->SetBinContent(25,15415.09); h_SL2L467->SetBinContent(26,27798.81); h_SL2L467->SetBinContent(27,44122.22); h_SL2L467->SetBinContent(28,54881.92); h_SL2L467->SetBinContent(29,59211.19); h_SL2L467->SetBinContent(30,60854.91); h_SL2L467->SetBinContent(31,57576.22); h_SL2L467->SetBinContent(32,56676.66); h_SL2L467->SetBinContent(33,57473.36); h_SL2L467->SetBinContent(34,48339.86); h_SL2L467->SetBinContent(35,21935.26); h_SL2L467->SetBinContent(36,12101.38); h_SL2L467->SetBinContent(37,10702.79); h_SL2L467->SetBinContent(38,10258.49); h_SL2L467->SetBinContent(39,9733.196); h_SL2L467->SetBinContent(40,9639.082); h_SL2L467->SetBinContent(41,8868.655); h_SL2L467->SetBinContent(42,9135.679); h_SL2L467->SetBinContent(43,8789.862); h_SL2L467->SetBinContent(44,8754.843); h_SL2L467->SetBinContent(45,8266.761); h_SL2L467->SetBinContent(46,7822.452); h_SL2L467->SetBinContent(47,7973.473); h_SL2L467->SetBinContent(48,7796.188); h_SL2L467->SetBinContent(49,7594.826); h_SL2L467->SetBinContent(50,7953.774); h_SL2L467->SetBinContent(51,7491.957); h_SL2L467->SetBinContent(52,8463.744); h_SL2L467->SetBinContent(53,9188.207); h_SL2L467->SetBinContent(54,10254.11); h_SL2L467->SetBinContent(55,10680.91); h_SL2L467->SetBinContent(56,9293.266); h_SL2L467->SetBinContent(57,9065.64); h_SL2L467->SetMaximum(131395.9); 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 6694"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }