void RatesPerCell_Removing_noisy_cells_run_6824_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:21:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-13039.99,67.5,117359.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6824",60,0,60); h_SL2L164->SetBinContent(1,47892.86); h_SL2L164->SetBinContent(2,60176.19); h_SL2L164->SetBinContent(3,72783.34); h_SL2L164->SetBinContent(4,74364.28); h_SL2L164->SetBinContent(5,73219.05); h_SL2L164->SetBinContent(6,67861.91); h_SL2L164->SetBinContent(7,60340.48); h_SL2L164->SetBinContent(8,58721.43); h_SL2L164->SetBinContent(9,66959.52); h_SL2L164->SetBinContent(10,68442.86); h_SL2L164->SetBinContent(11,68357.14); h_SL2L164->SetBinContent(12,66473.81); h_SL2L164->SetBinContent(13,67600); h_SL2L164->SetBinContent(14,66523.81); h_SL2L164->SetBinContent(15,64480.95); h_SL2L164->SetBinContent(16,63250); h_SL2L164->SetBinContent(17,59909.52); h_SL2L164->SetBinContent(18,59652.38); h_SL2L164->SetBinContent(19,58111.9); h_SL2L164->SetBinContent(20,53038.09); h_SL2L164->SetBinContent(21,49354.76); h_SL2L164->SetBinContent(22,45028.57); h_SL2L164->SetBinContent(23,43357.14); h_SL2L164->SetBinContent(24,40914.29); h_SL2L164->SetBinContent(25,42435.71); h_SL2L164->SetBinContent(26,57750); h_SL2L164->SetBinContent(27,71461.91); h_SL2L164->SetBinContent(28,76669.05); h_SL2L164->SetBinContent(29,78880.95); h_SL2L164->SetBinContent(30,74630.95); h_SL2L164->SetBinContent(31,71323.81); h_SL2L164->SetBinContent(32,70652.38); h_SL2L164->SetBinContent(33,69628.57); h_SL2L164->SetBinContent(34,51119.05); h_SL2L164->SetBinContent(36,26933.33); h_SL2L164->SetBinContent(37,28395.24); h_SL2L164->SetBinContent(38,27792.86); h_SL2L164->SetBinContent(39,28133.33); h_SL2L164->SetBinContent(40,59211.9); h_SL2L164->SetBinContent(41,58966.67); h_SL2L164->SetBinContent(42,29459.52); h_SL2L164->SetBinContent(43,28745.24); h_SL2L164->SetBinContent(44,28576.19); h_SL2L164->SetBinContent(45,22973.81); h_SL2L164->SetBinContent(46,22214.29); h_SL2L164->SetBinContent(47,22150); h_SL2L164->SetBinContent(48,22154.76); h_SL2L164->SetBinContent(49,23583.33); h_SL2L164->SetBinContent(50,23004.76); h_SL2L164->SetBinContent(51,25178.57); h_SL2L164->SetBinContent(52,28207.14); h_SL2L164->SetBinContent(53,30726.19); h_SL2L164->SetBinContent(54,32438.1); h_SL2L164->SetBinContent(55,32554.76); h_SL2L164->SetBinContent(56,27938.1); h_SL2L164->SetBinContent(57,41769.05); h_SL2L164->SetMaximum(104319.9); 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,39533.33); h_SL2L265->SetBinContent(2,57988.09); h_SL2L265->SetBinContent(3,62828.57); h_SL2L265->SetBinContent(4,72045.23); h_SL2L265->SetBinContent(5,71269.05); h_SL2L265->SetBinContent(6,67240.48); h_SL2L265->SetBinContent(7,61752.38); h_SL2L265->SetBinContent(8,54514.29); h_SL2L265->SetBinContent(9,62426.19); h_SL2L265->SetBinContent(10,64611.9); h_SL2L265->SetBinContent(11,66397.62); h_SL2L265->SetBinContent(12,65073.81); h_SL2L265->SetBinContent(13,64852.38); h_SL2L265->SetBinContent(14,64150); h_SL2L265->SetBinContent(15,63616.67); h_SL2L265->SetBinContent(16,61573.81); h_SL2L265->SetBinContent(17,59521.43); h_SL2L265->SetBinContent(18,57752.38); h_SL2L265->SetBinContent(19,57530.95); h_SL2L265->SetBinContent(20,52909.52); h_SL2L265->SetBinContent(21,50207.14); h_SL2L265->SetBinContent(22,44802.38); h_SL2L265->SetBinContent(23,42330.95); h_SL2L265->SetBinContent(24,40954.76); h_SL2L265->SetBinContent(25,38607.14); h_SL2L265->SetBinContent(26,49471.43); h_SL2L265->SetBinContent(27,64111.9); h_SL2L265->SetBinContent(28,73540.48); h_SL2L265->SetBinContent(29,76445.23); h_SL2L265->SetBinContent(30,76111.91); h_SL2L265->SetBinContent(31,70914.28); h_SL2L265->SetBinContent(32,69869.05); h_SL2L265->SetBinContent(33,69942.86); h_SL2L265->SetBinContent(34,62671.43); h_SL2L265->SetBinContent(35,37154.76); h_SL2L265->SetBinContent(36,27123.81); h_SL2L265->SetBinContent(37,26245.24); h_SL2L265->SetBinContent(38,25802.38); h_SL2L265->SetBinContent(39,26028.57); h_SL2L265->SetBinContent(40,26497.62); h_SL2L265->SetBinContent(41,24916.67); h_SL2L265->SetBinContent(42,24480.95); h_SL2L265->SetBinContent(43,23566.67); h_SL2L265->SetBinContent(44,24211.9); h_SL2L265->SetBinContent(45,22066.67); h_SL2L265->SetBinContent(46,21728.57); h_SL2L265->SetBinContent(47,21345.24); h_SL2L265->SetBinContent(48,21161.9); h_SL2L265->SetBinContent(49,22071.43); h_SL2L265->SetBinContent(50,22430.95); h_SL2L265->SetBinContent(51,21519.05); h_SL2L265->SetBinContent(52,25190.48); h_SL2L265->SetBinContent(53,27071.43); h_SL2L265->SetBinContent(54,30214.29); h_SL2L265->SetBinContent(55,31940.48); h_SL2L265->SetBinContent(56,28904.76); h_SL2L265->SetBinContent(57,27759.52); h_SL2L265->SetMaximum(90713.1); 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,46166.67); h_SL2L366->SetBinContent(2,54971.43); h_SL2L366->SetBinContent(3,68628.57); h_SL2L366->SetBinContent(4,68845.23); h_SL2L366->SetBinContent(5,67235.71); h_SL2L366->SetBinContent(6,61319.05); h_SL2L366->SetBinContent(7,54354.76); h_SL2L366->SetBinContent(8,55811.9); h_SL2L366->SetBinContent(9,62092.86); h_SL2L366->SetBinContent(10,63778.57); h_SL2L366->SetBinContent(11,63180.95); h_SL2L366->SetBinContent(12,62347.62); h_SL2L366->SetBinContent(13,61471.43); h_SL2L366->SetBinContent(14,61714.29); h_SL2L366->SetBinContent(15,60233.33); h_SL2L366->SetBinContent(16,58054.76); h_SL2L366->SetBinContent(17,55219.05); h_SL2L366->SetBinContent(18,54980.95); h_SL2L366->SetBinContent(19,53071.43); h_SL2L366->SetBinContent(20,48704.76); h_SL2L366->SetBinContent(21,45623.81); h_SL2L366->SetBinContent(22,41628.57); h_SL2L366->SetBinContent(23,40119.05); h_SL2L366->SetBinContent(24,37738.09); h_SL2L366->SetBinContent(25,39859.52); h_SL2L366->SetBinContent(26,56050); h_SL2L366->SetBinContent(27,69078.57); h_SL2L366->SetBinContent(28,73878.57); h_SL2L366->SetBinContent(29,76128.57); h_SL2L366->SetBinContent(30,72583.34); h_SL2L366->SetBinContent(31,69447.62); h_SL2L366->SetBinContent(32,68847.62); h_SL2L366->SetBinContent(33,67964.28); h_SL2L366->SetBinContent(34,48507.14); h_SL2L366->SetBinContent(35,28783.33); h_SL2L366->SetBinContent(36,24980.95); h_SL2L366->SetBinContent(37,24788.1); h_SL2L366->SetBinContent(38,25023.81); h_SL2L366->SetBinContent(39,24092.86); h_SL2L366->SetBinContent(40,23771.43); h_SL2L366->SetBinContent(41,23664.29); h_SL2L366->SetBinContent(42,22738.1); h_SL2L366->SetBinContent(43,23052.38); h_SL2L366->SetBinContent(44,21778.57); h_SL2L366->SetBinContent(45,21438.1); h_SL2L366->SetBinContent(46,20804.76); h_SL2L366->SetBinContent(47,21516.67); h_SL2L366->SetBinContent(48,21050); h_SL2L366->SetBinContent(49,21407.14); h_SL2L366->SetBinContent(50,21240.48); h_SL2L366->SetBinContent(51,21985.71); h_SL2L366->SetBinContent(52,25195.24); h_SL2L366->SetBinContent(53,27235.71); h_SL2L366->SetBinContent(54,29850); h_SL2L366->SetBinContent(55,30411.9); h_SL2L366->SetBinContent(56,26266.67); h_SL2L366->SetBinContent(57,26138.1); h_SL2L366->SetMaximum(90713.1); 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,53107.14); h_SL2L467->SetBinContent(3,60116.67); h_SL2L467->SetBinContent(4,66488.09); h_SL2L467->SetBinContent(5,65397.62); h_SL2L467->SetBinContent(6,60757.14); h_SL2L467->SetBinContent(7,56885.71); h_SL2L467->SetBinContent(8,50026.19); h_SL2L467->SetBinContent(9,58257.14); h_SL2L467->SetBinContent(10,59542.86); h_SL2L467->SetBinContent(11,61602.38); h_SL2L467->SetBinContent(12,59869.05); h_SL2L467->SetBinContent(13,60235.71); h_SL2L467->SetBinContent(14,59911.9); h_SL2L467->SetBinContent(15,58416.67); h_SL2L467->SetBinContent(16,56728.57); h_SL2L467->SetBinContent(17,54371.43); h_SL2L467->SetBinContent(18,53838.09); h_SL2L467->SetBinContent(19,53235.71); h_SL2L467->SetBinContent(20,48628.57); h_SL2L467->SetBinContent(21,46040.48); h_SL2L467->SetBinContent(22,41326.19); h_SL2L467->SetBinContent(23,39111.91); h_SL2L467->SetBinContent(24,37304.76); h_SL2L467->SetBinContent(25,35564.29); h_SL2L467->SetBinContent(26,46571.43); h_SL2L467->SetBinContent(27,61942.86); h_SL2L467->SetBinContent(28,70735.71); h_SL2L467->SetBinContent(29,74900); h_SL2L467->SetBinContent(30,75142.86); h_SL2L467->SetBinContent(31,69378.57); h_SL2L467->SetBinContent(32,68464.28); h_SL2L467->SetBinContent(33,67873.81); h_SL2L467->SetBinContent(34,60557.14); h_SL2L467->SetBinContent(35,35471.43); h_SL2L467->SetBinContent(36,24988.1); h_SL2L467->SetBinContent(37,24009.52); h_SL2L467->SetBinContent(38,23914.29); h_SL2L467->SetBinContent(39,24078.57); h_SL2L467->SetBinContent(40,23307.14); h_SL2L467->SetBinContent(41,21790.48); h_SL2L467->SetBinContent(42,22600); h_SL2L467->SetBinContent(43,22042.86); h_SL2L467->SetBinContent(44,21873.81); h_SL2L467->SetBinContent(45,21092.86); h_SL2L467->SetBinContent(46,20123.81); h_SL2L467->SetBinContent(47,20319.05); h_SL2L467->SetBinContent(48,19954.76); h_SL2L467->SetBinContent(49,20516.67); h_SL2L467->SetBinContent(50,21054.76); h_SL2L467->SetBinContent(51,20033.33); h_SL2L467->SetBinContent(52,23000); h_SL2L467->SetBinContent(53,24935.71); h_SL2L467->SetBinContent(54,27752.38); h_SL2L467->SetBinContent(55,29280.95); h_SL2L467->SetBinContent(56,27064.29); h_SL2L467->SetBinContent(57,25009.52); h_SL2L467->SetMaximum(90713.1); 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 6824"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }