void RatesPerCell_Removing_noisy_cells_run_6352_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:25:35 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7183.188,67.5,64648.69); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6352",60,0,60); h_SL1L160->SetBinContent(1,23109.52); h_SL1L160->SetBinContent(2,23933.33); h_SL1L160->SetBinContent(3,24028.57); h_SL1L160->SetBinContent(4,22123.81); h_SL1L160->SetBinContent(5,19966.67); h_SL1L160->SetBinContent(6,21614.29); h_SL1L160->SetBinContent(7,20614.29); h_SL1L160->SetBinContent(8,22204.76); h_SL1L160->SetBinContent(9,22042.86); h_SL1L160->SetBinContent(10,22776.19); h_SL1L160->SetBinContent(11,23400); h_SL1L160->SetBinContent(12,22976.19); h_SL1L160->SetBinContent(13,22819.05); h_SL1L160->SetBinContent(14,20371.43); h_SL1L160->SetBinContent(15,17990.48); h_SL1L160->SetBinContent(16,17504.76); h_SL1L160->SetBinContent(17,17666.67); h_SL1L160->SetBinContent(18,18819.05); h_SL1L160->SetBinContent(19,18690.48); h_SL1L160->SetBinContent(20,19014.29); h_SL1L160->SetBinContent(21,18876.19); h_SL1L160->SetBinContent(22,19404.76); h_SL1L160->SetBinContent(23,17995.24); h_SL1L160->SetBinContent(24,16480.95); h_SL1L160->SetBinContent(25,15866.67); h_SL1L160->SetBinContent(26,16704.76); h_SL1L160->SetBinContent(27,15628.57); h_SL1L160->SetBinContent(28,16795.24); h_SL1L160->SetBinContent(29,18357.14); h_SL1L160->SetBinContent(30,15876.19); h_SL1L160->SetBinContent(31,15861.9); h_SL1L160->SetBinContent(32,15533.33); h_SL1L160->SetBinContent(33,16471.43); h_SL1L160->SetBinContent(34,15576.19); h_SL1L160->SetBinContent(35,15880.95); h_SL1L160->SetBinContent(36,16376.19); h_SL1L160->SetBinContent(37,16457.14); h_SL1L160->SetBinContent(38,17071.43); h_SL1L160->SetBinContent(39,16609.52); h_SL1L160->SetBinContent(40,14947.62); h_SL1L160->SetBinContent(41,16204.76); h_SL1L160->SetBinContent(42,16271.43); h_SL1L160->SetBinContent(43,16057.14); h_SL1L160->SetBinContent(44,16138.09); h_SL1L160->SetBinContent(45,15171.43); h_SL1L160->SetBinContent(46,14804.76); h_SL1L160->SetBinContent(47,14604.76); h_SL1L160->SetBinContent(48,14209.52); h_SL1L160->SetBinContent(49,15138.09); h_SL1L160->SetBinContent(50,16652.38); h_SL1L160->SetBinContent(51,16457.14); h_SL1L160->SetBinContent(52,15466.67); h_SL1L160->SetBinContent(53,15866.67); h_SL1L160->SetBinContent(54,15742.86); h_SL1L160->SetBinContent(55,15476.19); h_SL1L160->SetBinContent(56,17209.52); h_SL1L160->SetBinContent(57,20966.67); h_SL1L160->SetBinContent(58,24171.43); h_SL1L160->SetBinContent(59,25595.24); h_SL1L160->SetMaximum(57465.5); 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,33880.95); h_SL1L261->SetBinContent(2,35533.33); h_SL1L261->SetBinContent(3,35971.43); h_SL1L261->SetBinContent(4,37552.38); h_SL1L261->SetBinContent(5,38080.95); h_SL1L261->SetBinContent(6,39195.24); h_SL1L261->SetBinContent(7,38500); h_SL1L261->SetBinContent(8,39947.62); h_SL1L261->SetBinContent(9,40309.52); h_SL1L261->SetBinContent(10,39861.91); h_SL1L261->SetBinContent(11,42314.29); h_SL1L261->SetBinContent(12,42604.76); h_SL1L261->SetBinContent(13,42738.09); h_SL1L261->SetBinContent(14,42304.76); h_SL1L261->SetBinContent(15,42219.05); h_SL1L261->SetBinContent(16,38861.91); h_SL1L261->SetBinContent(17,37514.29); h_SL1L261->SetBinContent(18,39614.29); h_SL1L261->SetBinContent(19,41228.57); h_SL1L261->SetBinContent(20,40080.95); h_SL1L261->SetBinContent(21,40666.67); h_SL1L261->SetBinContent(22,41300); h_SL1L261->SetBinContent(23,40461.91); h_SL1L261->SetBinContent(24,39876.19); h_SL1L261->SetBinContent(25,40071.43); h_SL1L261->SetBinContent(26,36509.52); h_SL1L261->SetBinContent(27,35933.33); h_SL1L261->SetBinContent(28,38542.86); h_SL1L261->SetBinContent(29,41909.52); h_SL1L261->SetBinContent(30,42947.62); h_SL1L261->SetBinContent(31,41661.91); h_SL1L261->SetBinContent(32,43033.33); h_SL1L261->SetBinContent(33,43452.38); h_SL1L261->SetBinContent(34,40890.48); h_SL1L261->SetBinContent(35,40414.29); h_SL1L261->SetBinContent(36,40800); h_SL1L261->SetBinContent(37,39809.52); h_SL1L261->SetBinContent(38,41552.38); h_SL1L261->SetBinContent(39,41614.29); h_SL1L261->SetBinContent(40,41023.81); h_SL1L261->SetBinContent(41,40742.86); h_SL1L261->SetBinContent(42,41500); h_SL1L261->SetBinContent(43,43190.48); h_SL1L261->SetBinContent(44,43295.24); h_SL1L261->SetBinContent(45,41647.62); h_SL1L261->SetBinContent(46,41071.43); h_SL1L261->SetBinContent(47,40328.57); h_SL1L261->SetBinContent(48,40966.67); h_SL1L261->SetBinContent(49,42019.05); h_SL1L261->SetBinContent(50,42157.14); h_SL1L261->SetBinContent(51,42923.81); h_SL1L261->SetBinContent(52,41742.86); h_SL1L261->SetBinContent(53,41866.67); h_SL1L261->SetBinContent(54,41061.91); h_SL1L261->SetBinContent(55,41228.57); h_SL1L261->SetBinContent(56,40238.09); h_SL1L261->SetBinContent(57,40304.76); h_SL1L261->SetBinContent(58,42142.86); h_SL1L261->SetBinContent(59,40723.81); h_SL1L261->SetMaximum(49970.24); 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,33609.52); h_SL1L362->SetBinContent(2,34447.62); h_SL1L362->SetBinContent(3,36314.29); h_SL1L362->SetBinContent(4,37042.86); h_SL1L362->SetBinContent(5,36952.38); h_SL1L362->SetBinContent(6,38047.62); h_SL1L362->SetBinContent(7,38138.09); h_SL1L362->SetBinContent(8,40590.48); h_SL1L362->SetBinContent(9,38547.62); h_SL1L362->SetBinContent(10,39071.43); h_SL1L362->SetBinContent(11,42042.86); h_SL1L362->SetBinContent(12,41638.09); h_SL1L362->SetBinContent(13,41242.86); h_SL1L362->SetBinContent(14,41009.52); h_SL1L362->SetBinContent(15,39100); h_SL1L362->SetBinContent(16,37014.29); h_SL1L362->SetBinContent(17,37861.91); h_SL1L362->SetBinContent(18,40623.81); h_SL1L362->SetBinContent(19,39509.52); h_SL1L362->SetBinContent(20,40309.52); h_SL1L362->SetBinContent(21,39814.29); h_SL1L362->SetBinContent(22,39319.05); h_SL1L362->SetBinContent(23,38957.14); h_SL1L362->SetBinContent(24,38904.76); h_SL1L362->SetBinContent(25,36128.57); h_SL1L362->SetBinContent(26,34761.91); h_SL1L362->SetBinContent(27,36709.52); h_SL1L362->SetBinContent(28,39785.71); h_SL1L362->SetBinContent(29,41238.09); h_SL1L362->SetBinContent(30,41066.67); h_SL1L362->SetBinContent(31,40295.24); h_SL1L362->SetBinContent(32,41561.91); h_SL1L362->SetBinContent(33,40609.52); h_SL1L362->SetBinContent(34,40185.71); h_SL1L362->SetBinContent(35,39452.38); h_SL1L362->SetBinContent(36,38900); h_SL1L362->SetBinContent(37,39257.14); h_SL1L362->SetBinContent(38,39823.81); h_SL1L362->SetBinContent(39,41866.67); h_SL1L362->SetBinContent(40,40995.24); h_SL1L362->SetBinContent(41,39933.33); h_SL1L362->SetBinContent(42,41519.05); h_SL1L362->SetBinContent(43,42747.62); h_SL1L362->SetBinContent(44,41928.57); h_SL1L362->SetBinContent(45,39876.19); h_SL1L362->SetBinContent(46,40676.19); h_SL1L362->SetBinContent(47,39866.67); h_SL1L362->SetBinContent(48,40690.48); h_SL1L362->SetBinContent(49,41514.29); h_SL1L362->SetBinContent(50,41500); h_SL1L362->SetBinContent(51,40209.52); h_SL1L362->SetBinContent(52,40142.86); h_SL1L362->SetBinContent(53,39561.91); h_SL1L362->SetBinContent(54,40066.67); h_SL1L362->SetBinContent(55,39628.57); h_SL1L362->SetBinContent(56,39690.48); h_SL1L362->SetBinContent(57,39676.19); h_SL1L362->SetBinContent(58,40352.38); h_SL1L362->SetBinContent(59,39166.67); h_SL1L362->SetMaximum(49970.24); 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,20804.76); h_SL1L463->SetBinContent(3,20104.76); h_SL1L463->SetBinContent(4,19866.67); h_SL1L463->SetBinContent(5,18647.62); h_SL1L463->SetBinContent(6,19580.95); h_SL1L463->SetBinContent(7,18985.71); h_SL1L463->SetBinContent(8,19838.1); h_SL1L463->SetBinContent(9,21338.1); h_SL1L463->SetBinContent(10,23085.71); h_SL1L463->SetBinContent(11,25142.86); h_SL1L463->SetBinContent(12,26709.52); h_SL1L463->SetBinContent(13,26176.19); h_SL1L463->SetBinContent(14,27009.52); h_SL1L463->SetBinContent(15,24500); h_SL1L463->SetBinContent(16,22395.24); h_SL1L463->SetBinContent(17,21285.71); h_SL1L463->SetBinContent(18,21371.43); h_SL1L463->SetBinContent(19,20414.29); h_SL1L463->SetBinContent(20,20347.62); h_SL1L463->SetBinContent(21,21180.95); h_SL1L463->SetBinContent(22,21604.76); h_SL1L463->SetBinContent(23,20214.29); h_SL1L463->SetBinContent(24,20333.33); h_SL1L463->SetBinContent(25,18871.43); h_SL1L463->SetBinContent(26,18157.14); h_SL1L463->SetBinContent(27,18623.81); h_SL1L463->SetBinContent(28,18190.48); h_SL1L463->SetBinContent(29,18423.81); h_SL1L463->SetBinContent(30,18685.71); h_SL1L463->SetBinContent(31,18585.71); h_SL1L463->SetBinContent(32,17190.48); h_SL1L463->SetBinContent(33,16119.05); h_SL1L463->SetBinContent(34,16819.05); h_SL1L463->SetBinContent(35,16533.33); h_SL1L463->SetBinContent(36,15133.33); h_SL1L463->SetBinContent(37,13071.43); h_SL1L463->SetBinContent(38,14719.05); h_SL1L463->SetBinContent(39,15500); h_SL1L463->SetBinContent(40,12947.62); h_SL1L463->SetBinContent(41,13009.52); h_SL1L463->SetBinContent(42,13719.05); h_SL1L463->SetBinContent(43,15219.05); h_SL1L463->SetBinContent(44,14276.19); h_SL1L463->SetBinContent(45,12771.43); h_SL1L463->SetBinContent(46,13023.81); h_SL1L463->SetBinContent(47,12719.05); h_SL1L463->SetBinContent(48,12290.48); h_SL1L463->SetBinContent(49,12523.81); h_SL1L463->SetBinContent(50,13547.62); h_SL1L463->SetBinContent(51,14133.33); h_SL1L463->SetBinContent(52,14028.57); h_SL1L463->SetBinContent(53,13414.29); h_SL1L463->SetBinContent(54,13066.67); h_SL1L463->SetBinContent(56,15395.24); h_SL1L463->SetBinContent(57,17361.9); h_SL1L463->SetBinContent(58,22314.29); h_SL1L463->SetBinContent(59,23652.38); h_SL1L463->SetMaximum(49970.24); 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 6352"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }