void RatesPerCell_Removing_noisy_cells_run_6838_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:00:48 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19084.83,67.5,171763.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6838",60,0,60); h_SL1L160->SetBinContent(1,53233.08); h_SL1L160->SetBinContent(2,50684.62); h_SL1L160->SetBinContent(3,52960.91); h_SL1L160->SetBinContent(4,50758.85); h_SL1L160->SetBinContent(5,49237.2); h_SL1L160->SetBinContent(6,51389.78); h_SL1L160->SetBinContent(7,47616.57); h_SL1L160->SetBinContent(8,49558.85); h_SL1L160->SetBinContent(9,44214.51); h_SL1L160->SetBinContent(10,39835.12); h_SL1L160->SetBinContent(11,39736.15); h_SL1L160->SetBinContent(12,41666.05); h_SL1L160->SetBinContent(13,43967.09); h_SL1L160->SetBinContent(14,41641.31); h_SL1L160->SetBinContent(15,41529.96); h_SL1L160->SetBinContent(16,40565.02); h_SL1L160->SetBinContent(17,40033.06); h_SL1L160->SetBinContent(18,41888.73); h_SL1L160->SetBinContent(19,44202.14); h_SL1L160->SetBinContent(20,42148.52); h_SL1L160->SetBinContent(21,45884.61); h_SL1L160->SetBinContent(22,45550.59); h_SL1L160->SetBinContent(23,45315.54); h_SL1L160->SetBinContent(24,42383.58); h_SL1L160->SetBinContent(25,43088.73); h_SL1L160->SetBinContent(26,42618.63); h_SL1L160->SetBinContent(27,40713.47); h_SL1L160->SetBinContent(28,41863.99); h_SL1L160->SetBinContent(29,40379.45); h_SL1L160->SetBinContent(30,38783.57); h_SL1L160->SetBinContent(31,39525.84); h_SL1L160->SetBinContent(32,36878.41); h_SL1L160->SetBinContent(33,54631.02); h_SL1L160->SetBinContent(34,65195.98); h_SL1L160->SetBinContent(35,71938.27); h_SL1L160->SetBinContent(36,69303.21); h_SL1L160->SetBinContent(37,73942.39); h_SL1L160->SetBinContent(38,74177.45); h_SL1L160->SetBinContent(39,56362.98); h_SL1L160->SetBinContent(40,37595.94); h_SL1L160->SetBinContent(41,35270.16); h_SL1L160->SetBinContent(42,34800.06); h_SL1L160->SetBinContent(43,34725.83); h_SL1L160->SetBinContent(44,34589.75); h_SL1L160->SetBinContent(45,32214.49); h_SL1L160->SetBinContent(46,30470.15); h_SL1L160->SetBinContent(47,28775.31); h_SL1L160->SetBinContent(48,28305.2); h_SL1L160->SetBinContent(49,28428.91); h_SL1L160->SetBinContent(50,30321.7); h_SL1L160->SetBinContent(51,27402.11); h_SL1L160->SetBinContent(52,29072.21); h_SL1L160->SetBinContent(53,30086.65); h_SL1L160->SetBinContent(54,29270.15); h_SL1L160->SetBinContent(55,29208.3); h_SL1L160->SetBinContent(56,29950.57); h_SL1L160->SetBinContent(57,34082.53); h_SL1L160->SetBinContent(58,35356.76); h_SL1L160->SetBinContent(59,36532.02); h_SL1L160->SetMaximum(152678.6); h_SL1L160->SetEntries(60); h_SL1L160->SetDirectory(0); h_SL1L160->SetStats(0); h_SL1L160->SetLineWidth(2); h_SL1L160->GetXaxis()->SetTitle("Cell"); h_SL1L160->GetXaxis()->SetLabelFont(42); h_SL1L160->GetXaxis()->SetLabelSize(0.035); h_SL1L160->GetXaxis()->SetTitleSize(0.035); h_SL1L160->GetXaxis()->SetTitleFont(42); h_SL1L160->GetYaxis()->SetTitle("Hz"); h_SL1L160->GetYaxis()->SetLabelFont(42); h_SL1L160->GetYaxis()->SetLabelSize(0.035); h_SL1L160->GetYaxis()->SetTitleSize(0.035); h_SL1L160->GetYaxis()->SetTitleOffset(1.45); h_SL1L160->GetYaxis()->SetTitleFont(42); h_SL1L160->GetZaxis()->SetLabelFont(42); h_SL1L160->GetZaxis()->SetLabelSize(0.035); h_SL1L160->GetZaxis()->SetTitleSize(0.035); h_SL1L160->GetZaxis()->SetTitleFont(42); h_SL1L160->Draw(""); TH1D *h_SL1L261 = new TH1D("h_SL1L261","",60,0,60); h_SL1L261->SetBinContent(1,58725.87); h_SL1L261->SetBinContent(2,53975.35); h_SL1L261->SetBinContent(3,55348.55); h_SL1L261->SetBinContent(4,53777.41); h_SL1L261->SetBinContent(5,54099.06); h_SL1L261->SetBinContent(6,58948.55); h_SL1L261->SetBinContent(7,54346.48); h_SL1L261->SetBinContent(8,57525.87); h_SL1L261->SetBinContent(9,55138.24); h_SL1L261->SetBinContent(10,49088.74); h_SL1L261->SetBinContent(11,47666.06); h_SL1L261->SetBinContent(12,48160.91); h_SL1L261->SetBinContent(13,49979.46); h_SL1L261->SetBinContent(14,54049.57); h_SL1L261->SetBinContent(15,53752.67); h_SL1L261->SetBinContent(16,52255.76); h_SL1L261->SetBinContent(17,51649.57); h_SL1L261->SetBinContent(18,52800.09); h_SL1L261->SetBinContent(19,56461.95); h_SL1L261->SetBinContent(20,55398.03); h_SL1L261->SetBinContent(21,58602.16); h_SL1L261->SetBinContent(22,57699.07); h_SL1L261->SetBinContent(23,60000.1); h_SL1L261->SetBinContent(24,59294.95); h_SL1L261->SetBinContent(25,62251.65); h_SL1L261->SetBinContent(26,57897); h_SL1L261->SetBinContent(27,56820.71); h_SL1L261->SetBinContent(28,55769.16); h_SL1L261->SetBinContent(29,56758.86); h_SL1L261->SetBinContent(30,56932.05); h_SL1L261->SetBinContent(31,56239.27); h_SL1L261->SetBinContent(32,55633.08); h_SL1L261->SetBinContent(33,65047.53); h_SL1L261->SetBinContent(34,99426.97); h_SL1L261->SetBinContent(35,108346.6); h_SL1L261->SetBinContent(36,112416.7); h_SL1L261->SetBinContent(37,115447.6); h_SL1L261->SetBinContent(38,112837.3); h_SL1L261->SetBinContent(39,98758.93); h_SL1L261->SetBinContent(40,63649.59); h_SL1L261->SetBinContent(41,50301.12); h_SL1L261->SetBinContent(42,49967.09); h_SL1L261->SetBinContent(43,46874.3); h_SL1L261->SetBinContent(44,45760.9); h_SL1L261->SetBinContent(45,46540.29); h_SL1L261->SetBinContent(46,47455.75); h_SL1L261->SetBinContent(47,48705.24); h_SL1L261->SetBinContent(48,46305.23); h_SL1L261->SetBinContent(49,51278.44); h_SL1L261->SetBinContent(50,43323.79); h_SL1L261->SetBinContent(51,42903.16); h_SL1L261->SetBinContent(52,40119.66); h_SL1L261->SetBinContent(53,41529.96); h_SL1L261->SetBinContent(54,42940.28); h_SL1L261->SetBinContent(55,41418.62); h_SL1L261->SetBinContent(56,44387.7); h_SL1L261->SetBinContent(57,41195.95); h_SL1L261->SetBinContent(58,40923.78); h_SL1L261->SetBinContent(59,38387.69); h_SL1L261->SetMaximum(132764.8); h_SL1L261->SetEntries(60); h_SL1L261->SetDirectory(0); h_SL1L261->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL1L261->SetLineColor(ci); h_SL1L261->SetLineWidth(2); h_SL1L261->GetXaxis()->SetTitle("Cell"); h_SL1L261->GetXaxis()->SetLabelFont(42); h_SL1L261->GetXaxis()->SetLabelSize(0.035); h_SL1L261->GetXaxis()->SetTitleSize(0.035); h_SL1L261->GetXaxis()->SetTitleFont(42); h_SL1L261->GetYaxis()->SetTitle("Hz"); h_SL1L261->GetYaxis()->SetLabelFont(42); h_SL1L261->GetYaxis()->SetLabelSize(0.035); h_SL1L261->GetYaxis()->SetTitleSize(0.035); h_SL1L261->GetYaxis()->SetTitleOffset(1.45); h_SL1L261->GetYaxis()->SetTitleFont(42); h_SL1L261->GetZaxis()->SetLabelFont(42); h_SL1L261->GetZaxis()->SetLabelSize(0.035); h_SL1L261->GetZaxis()->SetTitleSize(0.035); h_SL1L261->GetZaxis()->SetTitleFont(42); h_SL1L261->Draw("same"); TH1D *h_SL1L362 = new TH1D("h_SL1L362","",60,0,60); h_SL1L362->SetBinContent(1,53492.88); h_SL1L362->SetBinContent(2,52218.64); h_SL1L362->SetBinContent(3,53183.59); h_SL1L362->SetBinContent(4,51612.46); h_SL1L362->SetBinContent(5,54482.57); h_SL1L362->SetBinContent(6,56412.46); h_SL1L362->SetBinContent(7,55113.5); h_SL1L362->SetBinContent(8,54272.26); h_SL1L362->SetBinContent(9,50078.43); h_SL1L362->SetBinContent(10,45327.91); h_SL1L362->SetBinContent(11,46218.63); h_SL1L362->SetBinContent(12,47591.83); h_SL1L362->SetBinContent(13,51018.64); h_SL1L362->SetBinContent(14,51377.41); h_SL1L362->SetBinContent(15,51550.6); h_SL1L362->SetBinContent(16,48977.4); h_SL1L362->SetBinContent(17,51872.25); h_SL1L362->SetBinContent(18,52503.18); h_SL1L362->SetBinContent(19,53319.68); h_SL1L362->SetBinContent(20,54705.25); h_SL1L362->SetBinContent(21,56622.78); h_SL1L362->SetBinContent(22,58354.74); h_SL1L362->SetBinContent(23,58936.18); h_SL1L362->SetBinContent(24,56956.8); h_SL1L362->SetBinContent(25,57525.87); h_SL1L362->SetBinContent(26,53282.56); h_SL1L362->SetBinContent(27,52738.23); h_SL1L362->SetBinContent(28,55422.77); h_SL1L362->SetBinContent(29,56746.49); h_SL1L362->SetBinContent(30,55249.58); h_SL1L362->SetBinContent(31,55125.87); h_SL1L362->SetBinContent(32,55076.38); h_SL1L362->SetBinContent(33,83530.04); h_SL1L362->SetBinContent(34,103125.9); h_SL1L362->SetBinContent(35,109818.7); h_SL1L362->SetBinContent(36,112627); h_SL1L362->SetBinContent(37,114185.8); h_SL1L362->SetBinContent(38,105154.8); h_SL1L362->SetBinContent(39,81711.48); h_SL1L362->SetBinContent(40,51921.74); h_SL1L362->SetBinContent(41,47653.69); h_SL1L362->SetBinContent(42,46490.8); h_SL1L362->SetBinContent(43,45649.56); h_SL1L362->SetBinContent(44,45154.71); h_SL1L362->SetBinContent(45,44523.79); h_SL1L362->SetBinContent(46,44573.27); h_SL1L362->SetBinContent(47,46824.82); h_SL1L362->SetBinContent(48,42668.11); h_SL1L362->SetBinContent(49,43967.09); h_SL1L362->SetBinContent(50,42123.78); h_SL1L362->SetBinContent(51,40738.21); h_SL1L362->SetBinContent(52,40527.9); h_SL1L362->SetBinContent(53,43014.5); h_SL1L362->SetBinContent(54,41096.98); h_SL1L362->SetBinContent(55,41727.91); h_SL1L362->SetBinContent(56,43076.36); h_SL1L362->SetBinContent(57,41183.57); h_SL1L362->SetBinContent(58,37707.28); h_SL1L362->SetBinContent(59,38709.34); h_SL1L362->SetMaximum(132764.8); h_SL1L362->SetEntries(60); h_SL1L362->SetDirectory(0); h_SL1L362->SetStats(0); ci = TColor::GetColor("#009900"); h_SL1L362->SetLineColor(ci); h_SL1L362->SetLineWidth(2); h_SL1L362->GetXaxis()->SetTitle("Cell"); h_SL1L362->GetXaxis()->SetLabelFont(42); h_SL1L362->GetXaxis()->SetLabelSize(0.035); h_SL1L362->GetXaxis()->SetTitleSize(0.035); h_SL1L362->GetXaxis()->SetTitleFont(42); h_SL1L362->GetYaxis()->SetTitle("Hz"); h_SL1L362->GetYaxis()->SetLabelFont(42); h_SL1L362->GetYaxis()->SetLabelSize(0.035); h_SL1L362->GetYaxis()->SetTitleSize(0.035); h_SL1L362->GetYaxis()->SetTitleOffset(1.45); h_SL1L362->GetYaxis()->SetTitleFont(42); h_SL1L362->GetZaxis()->SetLabelFont(42); h_SL1L362->GetZaxis()->SetLabelSize(0.035); h_SL1L362->GetZaxis()->SetTitleSize(0.035); h_SL1L362->GetZaxis()->SetTitleFont(42); h_SL1L362->Draw("same"); TH1D *h_SL1L463 = new TH1D("h_SL1L463","",60,0,60); h_SL1L463->SetBinContent(2,47109.36); h_SL1L463->SetBinContent(3,45872.24); h_SL1L463->SetBinContent(4,44152.65); h_SL1L463->SetBinContent(5,42581.52); h_SL1L463->SetBinContent(6,44857.81); h_SL1L463->SetBinContent(7,43756.77); h_SL1L463->SetBinContent(8,44499.04); h_SL1L463->SetBinContent(9,45204.2); h_SL1L463->SetBinContent(10,41863.99); h_SL1L463->SetBinContent(11,40552.64); h_SL1L463->SetBinContent(12,42791.82); h_SL1L463->SetBinContent(13,44189.77); h_SL1L463->SetBinContent(14,47381.52); h_SL1L463->SetBinContent(15,45810.39); h_SL1L463->SetBinContent(16,44400.07); h_SL1L463->SetBinContent(17,42210.38); h_SL1L463->SetBinContent(18,42371.21); h_SL1L463->SetBinContent(19,41962.96); h_SL1L463->SetBinContent(20,44387.7); h_SL1L463->SetBinContent(21,43224.82); h_SL1L463->SetBinContent(22,45043.38); h_SL1L463->SetBinContent(23,44610.38); h_SL1L463->SetBinContent(24,45674.3); h_SL1L463->SetBinContent(25,42593.89); h_SL1L463->SetBinContent(26,41158.83); h_SL1L463->SetBinContent(27,42000.07); h_SL1L463->SetBinContent(28,39624.81); h_SL1L463->SetBinContent(29,40008.32); h_SL1L463->SetBinContent(30,41727.91); h_SL1L463->SetBinContent(31,39736.15); h_SL1L463->SetBinContent(32,37732.02); h_SL1L463->SetBinContent(33,40156.77); h_SL1L463->SetBinContent(34,64391.86); h_SL1L463->SetBinContent(35,77022.81); h_SL1L463->SetBinContent(36,70280.53); h_SL1L463->SetBinContent(37,63092.89); h_SL1L463->SetBinContent(38,67026.91); h_SL1L463->SetBinContent(39,68610.42); h_SL1L463->SetBinContent(40,37336.14); h_SL1L463->SetBinContent(41,30890.77); h_SL1L463->SetBinContent(42,31732.01); h_SL1L463->SetBinContent(43,31447.47); h_SL1L463->SetBinContent(44,30173.25); h_SL1L463->SetBinContent(45,26597.98); h_SL1L463->SetBinContent(46,27389.74); h_SL1L463->SetBinContent(47,28144.38); h_SL1L463->SetBinContent(48,26115.51); h_SL1L463->SetBinContent(49,23703.13); h_SL1L463->SetBinContent(50,26375.3); h_SL1L463->SetBinContent(51,23789.73); h_SL1L463->SetBinContent(52,25138.19); h_SL1L463->SetBinContent(53,24754.68); h_SL1L463->SetBinContent(54,23925.81); h_SL1L463->SetBinContent(56,26969.12); h_SL1L463->SetBinContent(57,28181.49); h_SL1L463->SetBinContent(58,30729.95); h_SL1L463->SetBinContent(59,33822.74); h_SL1L463->SetMaximum(132764.8); h_SL1L463->SetEntries(60); h_SL1L463->SetDirectory(0); h_SL1L463->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL1L463->SetLineColor(ci); h_SL1L463->SetLineWidth(2); h_SL1L463->GetXaxis()->SetTitle("Cell"); h_SL1L463->GetXaxis()->SetLabelFont(42); h_SL1L463->GetXaxis()->SetLabelSize(0.035); h_SL1L463->GetXaxis()->SetTitleSize(0.035); h_SL1L463->GetXaxis()->SetTitleFont(42); h_SL1L463->GetYaxis()->SetTitle("Hz"); h_SL1L463->GetYaxis()->SetLabelFont(42); h_SL1L463->GetYaxis()->SetLabelSize(0.035); h_SL1L463->GetYaxis()->SetTitleSize(0.035); h_SL1L463->GetYaxis()->SetTitleOffset(1.45); h_SL1L463->GetYaxis()->SetTitleFont(42); h_SL1L463->GetZaxis()->SetLabelFont(42); h_SL1L463->GetZaxis()->SetLabelSize(0.035); h_SL1L463->GetZaxis()->SetTitleSize(0.035); h_SL1L463->GetZaxis()->SetTitleFont(42); h_SL1L463->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_SL1L1","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_SL1L2","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_SL1L3","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_SL1L4","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("SL1, run 6838"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }