void RatesPerCell_Removing_noisy_cells_run_6627_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:51:32 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-34188.35,67.5,307695.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 6627",60,0,60); h_SL2L164->SetBinContent(1,59516.63); h_SL2L164->SetBinContent(2,73290.5); h_SL2L164->SetBinContent(3,88798.4); h_SL2L164->SetBinContent(4,90246.5); h_SL2L164->SetBinContent(5,87507.1); h_SL2L164->SetBinContent(6,81594.79); h_SL2L164->SetBinContent(7,73324.32); h_SL2L164->SetBinContent(8,71193.68); h_SL2L164->SetBinContent(9,82025.23); h_SL2L164->SetBinContent(10,82809.23); h_SL2L164->SetBinContent(11,82526.38); h_SL2L164->SetBinContent(12,79190.52); h_SL2L164->SetBinContent(13,80835.38); h_SL2L164->SetBinContent(14,79239.7); h_SL2L164->SetBinContent(15,77056.8); h_SL2L164->SetBinContent(16,73370.44); h_SL2L164->SetBinContent(17,72180.6); h_SL2L164->SetBinContent(18,70652.56); h_SL2L164->SetBinContent(19,68654.12); h_SL2L164->SetBinContent(20,63264.48); h_SL2L164->SetBinContent(21,58726.48); h_SL2L164->SetBinContent(22,53527.46); h_SL2L164->SetBinContent(23,51427.56); h_SL2L164->SetBinContent(24,47381.49); h_SL2L164->SetBinContent(25,48706.61); h_SL2L164->SetBinContent(26,62268.33); h_SL2L164->SetBinContent(27,76278.94); h_SL2L164->SetBinContent(28,83992.92); h_SL2L164->SetBinContent(29,87663.9); h_SL2L164->SetBinContent(30,80583.27); h_SL2L164->SetBinContent(31,72481.9); h_SL2L164->SetBinContent(32,68131.45); h_SL2L164->SetBinContent(33,63824.04); h_SL2L164->SetBinContent(34,46652.82); h_SL2L164->SetBinContent(36,31255.61); h_SL2L164->SetBinContent(37,32866.66); h_SL2L164->SetBinContent(38,32971.2); h_SL2L164->SetBinContent(39,32088.81); h_SL2L164->SetBinContent(40,65376.68); h_SL2L164->SetBinContent(41,206810.9); h_SL2L164->SetBinContent(42,33567.65); h_SL2L164->SetBinContent(43,34505.38); h_SL2L164->SetBinContent(44,33604.55); h_SL2L164->SetBinContent(45,26526.99); h_SL2L164->SetBinContent(46,26065.81); h_SL2L164->SetBinContent(47,26265.66); h_SL2L164->SetBinContent(48,26800.62); h_SL2L164->SetBinContent(49,28943.57); h_SL2L164->SetBinContent(50,27615.37); h_SL2L164->SetBinContent(51,29496.98); h_SL2L164->SetBinContent(52,33715.23); h_SL2L164->SetBinContent(53,36915.81); h_SL2L164->SetBinContent(54,39129.46); h_SL2L164->SetBinContent(55,39630.61); h_SL2L164->SetBinContent(56,34794.39); h_SL2L164->SetBinContent(57,35418.52); h_SL2L164->SetMaximum(273506.8); 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,47507.54); h_SL2L265->SetBinContent(2,70412.75); h_SL2L265->SetBinContent(3,77511.82); h_SL2L265->SetBinContent(4,87700.8); h_SL2L265->SetBinContent(5,87786.88); h_SL2L265->SetBinContent(6,81942.21); h_SL2L265->SetBinContent(7,75620.99); h_SL2L265->SetBinContent(8,64857.08); h_SL2L265->SetBinContent(9,75488.79); h_SL2L265->SetBinContent(10,78796.98); h_SL2L265->SetBinContent(11,80036.01); h_SL2L265->SetBinContent(12,78102.13); h_SL2L265->SetBinContent(13,77699.37); h_SL2L265->SetBinContent(14,77730.12); h_SL2L265->SetBinContent(15,75215.16); h_SL2L265->SetBinContent(16,73582.58); h_SL2L265->SetBinContent(17,70790.91); h_SL2L265->SetBinContent(18,69158.34); h_SL2L265->SetBinContent(19,68042.29); h_SL2L265->SetBinContent(20,63043.11); h_SL2L265->SetBinContent(21,59080.05); h_SL2L265->SetBinContent(22,53278.43); h_SL2L265->SetBinContent(23,49675.08); h_SL2L265->SetBinContent(24,48156.27); h_SL2L265->SetBinContent(25,45379.97); h_SL2L265->SetBinContent(26,53632); h_SL2L265->SetBinContent(27,68666.41); h_SL2L265->SetBinContent(28,80020.63); h_SL2L265->SetBinContent(29,84899.91); h_SL2L265->SetBinContent(30,84918.35); h_SL2L265->SetBinContent(31,74206.71); h_SL2L265->SetBinContent(32,69308.99); h_SL2L265->SetBinContent(33,64488.14); h_SL2L265->SetBinContent(34,56294.53); h_SL2L265->SetBinContent(35,37244.78); h_SL2L265->SetBinContent(36,30425.49); h_SL2L265->SetBinContent(37,29638.41); h_SL2L265->SetBinContent(38,30659.15); h_SL2L265->SetBinContent(39,30025.8); h_SL2L265->SetBinContent(40,30926.64); h_SL2L265->SetBinContent(41,30114.96); h_SL2L265->SetBinContent(42,29312.51); h_SL2L265->SetBinContent(43,28387.08); h_SL2L265->SetBinContent(44,28525.43); h_SL2L265->SetBinContent(45,26978.95); h_SL2L265->SetBinContent(46,25152.68); h_SL2L265->SetBinContent(47,25223.39); h_SL2L265->SetBinContent(48,25370.97); h_SL2L265->SetBinContent(49,26505.47); h_SL2L265->SetBinContent(50,27821.37); h_SL2L265->SetBinContent(51,26339.45); h_SL2L265->SetBinContent(52,30370.15); h_SL2L265->SetBinContent(53,33078.8); h_SL2L265->SetBinContent(54,36362.39); h_SL2L265->SetBinContent(55,38705.18); h_SL2L265->SetBinContent(56,34908.14); h_SL2L265->SetBinContent(57,33453.89); h_SL2L265->SetMaximum(237832.6); 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,56482.08); h_SL2L366->SetBinContent(2,67541.14); h_SL2L366->SetBinContent(3,84380.31); h_SL2L366->SetBinContent(4,83350.34); h_SL2L366->SetBinContent(5,83135.12); h_SL2L366->SetBinContent(6,74231.3); h_SL2L366->SetBinContent(7,67479.65); h_SL2L366->SetBinContent(8,67491.95); h_SL2L366->SetBinContent(9,74757.05); h_SL2L366->SetBinContent(10,76641.73); h_SL2L366->SetBinContent(11,76214.38); h_SL2L366->SetBinContent(12,74206.71); h_SL2L366->SetBinContent(13,74461.9); h_SL2L366->SetBinContent(14,73893.11); h_SL2L366->SetBinContent(15,72112.96); h_SL2L366->SetBinContent(16,68660.27); h_SL2L366->SetBinContent(17,67270.59); h_SL2L366->SetBinContent(18,66671.05); h_SL2L366->SetBinContent(19,63159.95); h_SL2L366->SetBinContent(20,58849.46); h_SL2L366->SetBinContent(21,54332.99); h_SL2L366->SetBinContent(22,48927.97); h_SL2L366->SetBinContent(23,47977.95); h_SL2L366->SetBinContent(24,44817.34); h_SL2L366->SetBinContent(25,44786.59); h_SL2L366->SetBinContent(26,60073.12); h_SL2L366->SetBinContent(27,73828.55); h_SL2L366->SetBinContent(28,81078.27); h_SL2L366->SetBinContent(29,84447.95); h_SL2L366->SetBinContent(30,78618.65); h_SL2L366->SetBinContent(31,69816.29); h_SL2L366->SetBinContent(32,66034.62); h_SL2L366->SetBinContent(33,61496.63); h_SL2L366->SetBinContent(34,44728.18); h_SL2L366->SetBinContent(35,31049.62); h_SL2L366->SetBinContent(36,28270.25); h_SL2L366->SetBinContent(37,29115.74); h_SL2L366->SetBinContent(38,29266.39); h_SL2L366->SetBinContent(39,28454.72); h_SL2L366->SetBinContent(40,28362.48); h_SL2L366->SetBinContent(41,27775.25); h_SL2L366->SetBinContent(42,26265.66); h_SL2L366->SetBinContent(43,27354.04); h_SL2L366->SetBinContent(44,25715.32); h_SL2L366->SetBinContent(45,25137.31); h_SL2L366->SetBinContent(46,23941.32); h_SL2L366->SetBinContent(47,24955.91); h_SL2L366->SetBinContent(48,24786.81); h_SL2L366->SetBinContent(49,26665.35); h_SL2L366->SetBinContent(50,25918.24); h_SL2L366->SetBinContent(51,27074.26); h_SL2L366->SetBinContent(52,30772.91); h_SL2L366->SetBinContent(53,33189.48); h_SL2L366->SetBinContent(54,36347.02); h_SL2L366->SetBinContent(55,37739.78); h_SL2L366->SetBinContent(56,31593.81); h_SL2L366->SetBinContent(57,31566.14); h_SL2L366->SetMaximum(237832.6); 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,64512.73); h_SL2L467->SetBinContent(3,73308.95); h_SL2L467->SetBinContent(4,81145.91); h_SL2L467->SetBinContent(5,80899.95); h_SL2L467->SetBinContent(6,74646.37); h_SL2L467->SetBinContent(7,69019.98); h_SL2L467->SetBinContent(8,60903.25); h_SL2L467->SetBinContent(9,71175.23); h_SL2L467->SetBinContent(10,73856.21); h_SL2L467->SetBinContent(11,74240.53); h_SL2L467->SetBinContent(12,72657.15); h_SL2L467->SetBinContent(13,73259.76); h_SL2L467->SetBinContent(14,71491.91); h_SL2L467->SetBinContent(15,70526.51); h_SL2L467->SetBinContent(16,67485.8); h_SL2L467->SetBinContent(17,64734.1); h_SL2L467->SetBinContent(18,62812.52); h_SL2L467->SetBinContent(19,62760.26); h_SL2L467->SetBinContent(20,57389.06); h_SL2L467->SetBinContent(21,53881.03); h_SL2L467->SetBinContent(22,48097.85); h_SL2L467->SetBinContent(23,45693.57); h_SL2L467->SetBinContent(24,43805.82); h_SL2L467->SetBinContent(25,42007.22); h_SL2L467->SetBinContent(26,51178.52); h_SL2L467->SetBinContent(27,65902.42); h_SL2L467->SetBinContent(28,77846.95); h_SL2L467->SetBinContent(29,81939.14); h_SL2L467->SetBinContent(30,83700.84); h_SL2L467->SetBinContent(31,71614.88); h_SL2L467->SetBinContent(32,67159.9); h_SL2L467->SetBinContent(33,63264.48); h_SL2L467->SetBinContent(34,54105.47); h_SL2L467->SetBinContent(35,34880.47); h_SL2L467->SetBinContent(36,28709.9); h_SL2L467->SetBinContent(37,28325.59); h_SL2L467->SetBinContent(38,28445.5); h_SL2L467->SetBinContent(39,27910.53); h_SL2L467->SetBinContent(40,27031.21); h_SL2L467->SetBinContent(41,26204.17); h_SL2L467->SetBinContent(42,26244.14); h_SL2L467->SetBinContent(43,25872.12); h_SL2L467->SetBinContent(44,26182.65); h_SL2L467->SetBinContent(45,25023.55); h_SL2L467->SetBinContent(46,23120.42); h_SL2L467->SetBinContent(47,23578.52); h_SL2L467->SetBinContent(48,23464.77); h_SL2L467->SetBinContent(49,24230.32); h_SL2L467->SetBinContent(50,25881.34); h_SL2L467->SetBinContent(51,24445.54); h_SL2L467->SetBinContent(52,28276.4); h_SL2L467->SetBinContent(53,30136.48); h_SL2L467->SetBinContent(54,33859.73); h_SL2L467->SetBinContent(55,35698.3); h_SL2L467->SetBinContent(56,32814.39); h_SL2L467->SetBinContent(57,30760.61); h_SL2L467->SetMaximum(237832.6); 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 6627"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }