void RatesPerCell_Removing_noisy_cells_run_6351_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:35:26 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7446.826,67.5,67021.43); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6351",60,0,60); h_SL1L160->SetBinContent(1,28566.67); h_SL1L160->SetBinContent(2,29366.67); h_SL1L160->SetBinContent(3,30728.57); h_SL1L160->SetBinContent(4,28152.38); h_SL1L160->SetBinContent(5,25990.48); h_SL1L160->SetBinContent(6,27028.57); h_SL1L160->SetBinContent(7,27142.86); h_SL1L160->SetBinContent(8,28733.33); h_SL1L160->SetBinContent(9,28042.86); h_SL1L160->SetBinContent(10,28500); h_SL1L160->SetBinContent(11,30104.76); h_SL1L160->SetBinContent(12,29566.67); h_SL1L160->SetBinContent(13,29123.81); h_SL1L160->SetBinContent(14,25947.62); h_SL1L160->SetBinContent(15,23304.76); h_SL1L160->SetBinContent(16,23085.71); h_SL1L160->SetBinContent(17,23128.57); h_SL1L160->SetBinContent(18,25114.29); h_SL1L160->SetBinContent(19,24642.86); h_SL1L160->SetBinContent(20,25204.76); h_SL1L160->SetBinContent(21,24633.33); h_SL1L160->SetBinContent(22,23928.57); h_SL1L160->SetBinContent(23,24047.62); h_SL1L160->SetBinContent(24,21609.52); h_SL1L160->SetBinContent(25,19890.48); h_SL1L160->SetBinContent(26,21033.33); h_SL1L160->SetBinContent(27,20728.57); h_SL1L160->SetBinContent(28,22238.1); h_SL1L160->SetBinContent(29,23280.95); h_SL1L160->SetBinContent(30,20900); h_SL1L160->SetBinContent(31,21233.33); h_SL1L160->SetBinContent(32,20414.29); h_SL1L160->SetBinContent(33,20695.24); h_SL1L160->SetBinContent(34,20866.67); h_SL1L160->SetBinContent(35,21080.95); h_SL1L160->SetBinContent(36,21033.33); h_SL1L160->SetBinContent(37,21066.67); h_SL1L160->SetBinContent(38,21990.48); h_SL1L160->SetBinContent(39,21590.48); h_SL1L160->SetBinContent(40,19961.9); h_SL1L160->SetBinContent(41,20666.67); h_SL1L160->SetBinContent(42,21319.05); h_SL1L160->SetBinContent(43,21133.33); h_SL1L160->SetBinContent(44,20961.9); h_SL1L160->SetBinContent(45,19952.38); h_SL1L160->SetBinContent(46,18728.57); h_SL1L160->SetBinContent(47,19390.48); h_SL1L160->SetBinContent(48,19123.81); h_SL1L160->SetBinContent(49,20323.81); h_SL1L160->SetBinContent(50,20923.81); h_SL1L160->SetBinContent(51,20961.9); h_SL1L160->SetBinContent(52,20638.1); h_SL1L160->SetBinContent(53,20119.05); h_SL1L160->SetBinContent(54,19628.57); h_SL1L160->SetBinContent(55,20076.19); h_SL1L160->SetBinContent(56,22214.29); h_SL1L160->SetBinContent(57,27166.67); h_SL1L160->SetBinContent(58,29814.29); h_SL1L160->SetBinContent(59,31795.24); h_SL1L160->SetMaximum(59574.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,34728.57); h_SL1L261->SetBinContent(2,36280.95); h_SL1L261->SetBinContent(3,37619.05); h_SL1L261->SetBinContent(4,39019.05); h_SL1L261->SetBinContent(5,38100); h_SL1L261->SetBinContent(6,40680.95); h_SL1L261->SetBinContent(7,40728.57); h_SL1L261->SetBinContent(8,42347.62); h_SL1L261->SetBinContent(9,43323.81); h_SL1L261->SetBinContent(10,41352.38); h_SL1L261->SetBinContent(11,43204.76); h_SL1L261->SetBinContent(12,44838.09); h_SL1L261->SetBinContent(13,44095.24); h_SL1L261->SetBinContent(14,44152.38); h_SL1L261->SetBinContent(15,43614.29); h_SL1L261->SetBinContent(16,39695.24); h_SL1L261->SetBinContent(17,39938.09); h_SL1L261->SetBinContent(18,42142.86); h_SL1L261->SetBinContent(19,42476.19); h_SL1L261->SetBinContent(20,41161.91); h_SL1L261->SetBinContent(21,43523.81); h_SL1L261->SetBinContent(22,42823.81); h_SL1L261->SetBinContent(23,41780.95); h_SL1L261->SetBinContent(24,41628.57); h_SL1L261->SetBinContent(25,41085.71); h_SL1L261->SetBinContent(26,37776.19); h_SL1L261->SetBinContent(27,37395.24); h_SL1L261->SetBinContent(28,41023.81); h_SL1L261->SetBinContent(29,42900); h_SL1L261->SetBinContent(30,43947.62); h_SL1L261->SetBinContent(31,43585.71); h_SL1L261->SetBinContent(32,45047.62); h_SL1L261->SetBinContent(33,44390.48); h_SL1L261->SetBinContent(34,43600); h_SL1L261->SetBinContent(35,42700); h_SL1L261->SetBinContent(36,42023.81); h_SL1L261->SetBinContent(37,41895.24); h_SL1L261->SetBinContent(38,42190.48); h_SL1L261->SetBinContent(39,42647.62); h_SL1L261->SetBinContent(40,43061.91); h_SL1L261->SetBinContent(41,43047.62); h_SL1L261->SetBinContent(42,42923.81); h_SL1L261->SetBinContent(43,44342.86); h_SL1L261->SetBinContent(44,44261.91); h_SL1L261->SetBinContent(45,42942.86); h_SL1L261->SetBinContent(46,41819.05); h_SL1L261->SetBinContent(47,42190.48); h_SL1L261->SetBinContent(48,43419.05); h_SL1L261->SetBinContent(49,43223.81); h_SL1L261->SetBinContent(50,44223.81); h_SL1L261->SetBinContent(51,43757.14); h_SL1L261->SetBinContent(52,43152.38); h_SL1L261->SetBinContent(53,43271.43); h_SL1L261->SetBinContent(54,42223.81); h_SL1L261->SetBinContent(55,43547.62); h_SL1L261->SetBinContent(56,41833.33); h_SL1L261->SetBinContent(57,42371.43); h_SL1L261->SetBinContent(58,43433.33); h_SL1L261->SetBinContent(59,43185.71); h_SL1L261->SetMaximum(51804.76); 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,33852.38); h_SL1L362->SetBinContent(2,36380.95); h_SL1L362->SetBinContent(3,37380.95); h_SL1L362->SetBinContent(4,37509.52); h_SL1L362->SetBinContent(5,38890.48); h_SL1L362->SetBinContent(6,39109.52); h_SL1L362->SetBinContent(7,40142.86); h_SL1L362->SetBinContent(8,41047.62); h_SL1L362->SetBinContent(9,40371.43); h_SL1L362->SetBinContent(10,41838.09); h_SL1L362->SetBinContent(11,43528.57); h_SL1L362->SetBinContent(12,43447.62); h_SL1L362->SetBinContent(13,41452.38); h_SL1L362->SetBinContent(14,42842.86); h_SL1L362->SetBinContent(15,39609.52); h_SL1L362->SetBinContent(16,38128.57); h_SL1L362->SetBinContent(17,39142.86); h_SL1L362->SetBinContent(18,41247.62); h_SL1L362->SetBinContent(19,40866.67); h_SL1L362->SetBinContent(20,41742.86); h_SL1L362->SetBinContent(21,41571.43); h_SL1L362->SetBinContent(22,40838.09); h_SL1L362->SetBinContent(23,40080.95); h_SL1L362->SetBinContent(24,39771.43); h_SL1L362->SetBinContent(25,38209.52); h_SL1L362->SetBinContent(26,36742.86); h_SL1L362->SetBinContent(27,37738.09); h_SL1L362->SetBinContent(28,40833.33); h_SL1L362->SetBinContent(29,42661.91); h_SL1L362->SetBinContent(30,42142.86); h_SL1L362->SetBinContent(31,42961.91); h_SL1L362->SetBinContent(32,41933.33); h_SL1L362->SetBinContent(33,42904.76); h_SL1L362->SetBinContent(34,40904.76); h_SL1L362->SetBinContent(35,40357.14); h_SL1L362->SetBinContent(36,40947.62); h_SL1L362->SetBinContent(37,40628.57); h_SL1L362->SetBinContent(38,41895.24); h_SL1L362->SetBinContent(39,41990.48); h_SL1L362->SetBinContent(40,41561.91); h_SL1L362->SetBinContent(41,42490.48); h_SL1L362->SetBinContent(42,42385.71); h_SL1L362->SetBinContent(43,43347.62); h_SL1L362->SetBinContent(44,42452.38); h_SL1L362->SetBinContent(45,41685.71); h_SL1L362->SetBinContent(46,40114.29); h_SL1L362->SetBinContent(47,42295.24); h_SL1L362->SetBinContent(48,42952.38); h_SL1L362->SetBinContent(49,42976.19); h_SL1L362->SetBinContent(50,43419.05); h_SL1L362->SetBinContent(51,42114.29); h_SL1L362->SetBinContent(52,41985.71); h_SL1L362->SetBinContent(53,41004.76); h_SL1L362->SetBinContent(54,41033.33); h_SL1L362->SetBinContent(55,41557.14); h_SL1L362->SetBinContent(56,40676.19); h_SL1L362->SetBinContent(57,41180.95); h_SL1L362->SetBinContent(58,41709.52); h_SL1L362->SetBinContent(59,41900); h_SL1L362->SetMaximum(51804.76); 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,26428.57); h_SL1L463->SetBinContent(3,25195.24); h_SL1L463->SetBinContent(4,24414.29); h_SL1L463->SetBinContent(5,24404.76); h_SL1L463->SetBinContent(6,24328.57); h_SL1L463->SetBinContent(7,24000); h_SL1L463->SetBinContent(8,25909.52); h_SL1L463->SetBinContent(9,27338.1); h_SL1L463->SetBinContent(10,28766.67); h_SL1L463->SetBinContent(11,31152.38); h_SL1L463->SetBinContent(12,32747.62); h_SL1L463->SetBinContent(13,32138.1); h_SL1L463->SetBinContent(14,32800); h_SL1L463->SetBinContent(15,29752.38); h_SL1L463->SetBinContent(16,29057.14); h_SL1L463->SetBinContent(17,25847.62); h_SL1L463->SetBinContent(18,27066.67); h_SL1L463->SetBinContent(19,26133.33); h_SL1L463->SetBinContent(20,25728.57); h_SL1L463->SetBinContent(21,26433.33); h_SL1L463->SetBinContent(22,26385.71); h_SL1L463->SetBinContent(23,25633.33); h_SL1L463->SetBinContent(24,25661.9); h_SL1L463->SetBinContent(25,23257.14); h_SL1L463->SetBinContent(26,23204.76); h_SL1L463->SetBinContent(27,23104.76); h_SL1L463->SetBinContent(28,23847.62); h_SL1L463->SetBinContent(29,23490.48); h_SL1L463->SetBinContent(30,24295.24); h_SL1L463->SetBinContent(31,23585.71); h_SL1L463->SetBinContent(32,22585.71); h_SL1L463->SetBinContent(33,21147.62); h_SL1L463->SetBinContent(34,21161.9); h_SL1L463->SetBinContent(35,21509.52); h_SL1L463->SetBinContent(36,19180.95); h_SL1L463->SetBinContent(37,17395.24); h_SL1L463->SetBinContent(38,18123.81); h_SL1L463->SetBinContent(39,19276.19); h_SL1L463->SetBinContent(40,17361.9); h_SL1L463->SetBinContent(41,17295.24); h_SL1L463->SetBinContent(42,18504.76); h_SL1L463->SetBinContent(43,18771.43); h_SL1L463->SetBinContent(44,18285.71); h_SL1L463->SetBinContent(45,16228.57); h_SL1L463->SetBinContent(46,16909.52); h_SL1L463->SetBinContent(47,16923.81); h_SL1L463->SetBinContent(48,16509.52); h_SL1L463->SetBinContent(49,16066.67); h_SL1L463->SetBinContent(50,17800); h_SL1L463->SetBinContent(51,17380.95); h_SL1L463->SetBinContent(52,17504.76); h_SL1L463->SetBinContent(53,17600); h_SL1L463->SetBinContent(54,17471.43); h_SL1L463->SetBinContent(55,4.761905); h_SL1L463->SetBinContent(56,19133.33); h_SL1L463->SetBinContent(57,22542.86); h_SL1L463->SetBinContent(58,27676.19); h_SL1L463->SetBinContent(59,28747.62); h_SL1L463->SetMaximum(51804.76); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6351"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }