void RatesPerCell_Removing_noisy_cells_run_7834_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Mar 22 18:53:29 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15355.09,67.5,138195.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7834",60,0,60); h_SL2L164->SetBinContent(1,42271.43); h_SL2L164->SetBinContent(2,53592.86); h_SL2L164->SetBinContent(3,64050); h_SL2L164->SetBinContent(4,68685.71); h_SL2L164->SetBinContent(5,66871.43); h_SL2L164->SetBinContent(6,62607.14); h_SL2L164->SetBinContent(7,58135.71); h_SL2L164->SetBinContent(8,54464.29); h_SL2L164->SetBinContent(9,62121.43); h_SL2L164->SetBinContent(10,64214.29); h_SL2L164->SetBinContent(11,64921.43); h_SL2L164->SetBinContent(12,64064.29); h_SL2L164->SetBinContent(13,65014.29); h_SL2L164->SetBinContent(14,62800); h_SL2L164->SetBinContent(15,63600); h_SL2L164->SetBinContent(16,62792.86); h_SL2L164->SetBinContent(17,61264.29); h_SL2L164->SetBinContent(18,60478.57); h_SL2L164->SetBinContent(19,57492.86); h_SL2L164->SetBinContent(20,55092.86); h_SL2L164->SetBinContent(21,53664.29); h_SL2L164->SetBinContent(22,50685.71); h_SL2L164->SetBinContent(23,46664.29); h_SL2L164->SetBinContent(24,43757.14); h_SL2L164->SetBinContent(25,41171.43); h_SL2L164->SetBinContent(26,40778.57); h_SL2L164->SetBinContent(27,40657.14); h_SL2L164->SetBinContent(28,39000); h_SL2L164->SetBinContent(29,39814.29); h_SL2L164->SetBinContent(30,37285.71); h_SL2L164->SetBinContent(31,37871.43); h_SL2L164->SetBinContent(32,40585.71); h_SL2L164->SetBinContent(33,41642.86); h_SL2L164->SetBinContent(34,42885.71); h_SL2L164->SetBinContent(36,41678.57); h_SL2L164->SetBinContent(37,47992.86); h_SL2L164->SetBinContent(38,45264.29); h_SL2L164->SetBinContent(39,46771.43); h_SL2L164->SetBinContent(40,87992.86); h_SL2L164->SetBinContent(41,92885.71); h_SL2L164->SetBinContent(42,49171.43); h_SL2L164->SetBinContent(43,50500); h_SL2L164->SetBinContent(44,48000); h_SL2L164->SetBinContent(45,39057.14); h_SL2L164->SetBinContent(46,37314.29); h_SL2L164->SetBinContent(47,36321.43); h_SL2L164->SetBinContent(48,35742.86); h_SL2L164->SetBinContent(49,37007.14); h_SL2L164->SetBinContent(50,35935.71); h_SL2L164->SetBinContent(51,40064.29); h_SL2L164->SetBinContent(52,44635.71); h_SL2L164->SetBinContent(53,50600); h_SL2L164->SetBinContent(54,52957.14); h_SL2L164->SetBinContent(55,51978.57); h_SL2L164->SetBinContent(56,44185.71); h_SL2L164->SetBinContent(57,36314.29); h_SL2L164->SetMaximum(122840.7); 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,34878.57); h_SL2L265->SetBinContent(2,51621.43); h_SL2L265->SetBinContent(3,55657.14); h_SL2L265->SetBinContent(4,65478.57); h_SL2L265->SetBinContent(5,64828.57); h_SL2L265->SetBinContent(6,62721.43); h_SL2L265->SetBinContent(7,59214.29); h_SL2L265->SetBinContent(8,52100); h_SL2L265->SetBinContent(9,58585.71); h_SL2L265->SetBinContent(10,60307.14); h_SL2L265->SetBinContent(11,61785.71); h_SL2L265->SetBinContent(12,62157.14); h_SL2L265->SetBinContent(13,61735.71); h_SL2L265->SetBinContent(14,61835.71); h_SL2L265->SetBinContent(15,60778.57); h_SL2L265->SetBinContent(16,59907.14); h_SL2L265->SetBinContent(17,58664.29); h_SL2L265->SetBinContent(18,58121.43); h_SL2L265->SetBinContent(19,57292.86); h_SL2L265->SetBinContent(20,55642.86); h_SL2L265->SetBinContent(21,53514.29); h_SL2L265->SetBinContent(22,50150); h_SL2L265->SetBinContent(23,47342.86); h_SL2L265->SetBinContent(24,43864.29); h_SL2L265->SetBinContent(25,41700); h_SL2L265->SetBinContent(26,38157.14); h_SL2L265->SetBinContent(27,38764.29); h_SL2L265->SetBinContent(28,38535.71); h_SL2L265->SetBinContent(29,38450); h_SL2L265->SetBinContent(30,39042.86); h_SL2L265->SetBinContent(31,34735.71); h_SL2L265->SetBinContent(32,38800); h_SL2L265->SetBinContent(33,39371.43); h_SL2L265->SetBinContent(34,40871.43); h_SL2L265->SetBinContent(35,38692.86); h_SL2L265->SetBinContent(36,38942.86); h_SL2L265->SetBinContent(37,41178.57); h_SL2L265->SetBinContent(38,42092.86); h_SL2L265->SetBinContent(39,42642.86); h_SL2L265->SetBinContent(40,43121.43); h_SL2L265->SetBinContent(41,40914.29); h_SL2L265->SetBinContent(42,40885.71); h_SL2L265->SetBinContent(43,40092.86); h_SL2L265->SetBinContent(44,40678.57); h_SL2L265->SetBinContent(45,38371.43); h_SL2L265->SetBinContent(46,37914.29); h_SL2L265->SetBinContent(47,36214.29); h_SL2L265->SetBinContent(48,35707.14); h_SL2L265->SetBinContent(49,34492.86); h_SL2L265->SetBinContent(50,35514.29); h_SL2L265->SetBinContent(51,34871.43); h_SL2L265->SetBinContent(52,42128.57); h_SL2L265->SetBinContent(53,45242.86); h_SL2L265->SetBinContent(54,49678.57); h_SL2L265->SetBinContent(55,52885.71); h_SL2L265->SetBinContent(56,46264.29); h_SL2L265->SetBinContent(57,41721.43); h_SL2L265->SetMaximum(106818.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,39628.57); h_SL2L366->SetBinContent(2,49214.29); h_SL2L366->SetBinContent(3,61985.71); h_SL2L366->SetBinContent(4,63342.86); h_SL2L366->SetBinContent(5,63307.14); h_SL2L366->SetBinContent(6,59114.29); h_SL2L366->SetBinContent(7,53357.14); h_SL2L366->SetBinContent(8,54142.86); h_SL2L366->SetBinContent(9,57800); h_SL2L366->SetBinContent(10,58778.57); h_SL2L366->SetBinContent(11,60842.86); h_SL2L366->SetBinContent(12,59992.86); h_SL2L366->SetBinContent(13,59728.57); h_SL2L366->SetBinContent(14,59357.14); h_SL2L366->SetBinContent(15,58607.14); h_SL2L366->SetBinContent(16,56842.86); h_SL2L366->SetBinContent(17,56542.86); h_SL2L366->SetBinContent(18,55228.57); h_SL2L366->SetBinContent(19,53914.29); h_SL2L366->SetBinContent(20,52657.14); h_SL2L366->SetBinContent(21,50178.57); h_SL2L366->SetBinContent(22,45792.86); h_SL2L366->SetBinContent(23,43921.43); h_SL2L366->SetBinContent(24,40935.71); h_SL2L366->SetBinContent(25,38807.14); h_SL2L366->SetBinContent(26,36985.71); h_SL2L366->SetBinContent(27,37921.43); h_SL2L366->SetBinContent(28,36857.14); h_SL2L366->SetBinContent(29,38385.71); h_SL2L366->SetBinContent(30,36671.43); h_SL2L366->SetBinContent(31,34385.71); h_SL2L366->SetBinContent(32,37892.86); h_SL2L366->SetBinContent(33,37728.57); h_SL2L366->SetBinContent(34,38050); h_SL2L366->SetBinContent(35,38128.57); h_SL2L366->SetBinContent(36,40100); h_SL2L366->SetBinContent(37,40535.71); h_SL2L366->SetBinContent(38,41292.86); h_SL2L366->SetBinContent(39,38792.86); h_SL2L366->SetBinContent(40,40464.29); h_SL2L366->SetBinContent(41,39385.71); h_SL2L366->SetBinContent(42,37685.71); h_SL2L366->SetBinContent(43,38285.71); h_SL2L366->SetBinContent(44,39542.86); h_SL2L366->SetBinContent(45,37200); h_SL2L366->SetBinContent(46,36021.43); h_SL2L366->SetBinContent(47,34557.14); h_SL2L366->SetBinContent(48,34821.43); h_SL2L366->SetBinContent(49,34464.29); h_SL2L366->SetBinContent(50,35235.71); h_SL2L366->SetBinContent(51,37350); h_SL2L366->SetBinContent(52,41850); h_SL2L366->SetBinContent(53,46078.57); h_SL2L366->SetBinContent(54,50064.29); h_SL2L366->SetBinContent(55,49621.43); h_SL2L366->SetBinContent(56,41314.29); h_SL2L366->SetBinContent(57,38950); h_SL2L366->SetMaximum(106818.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,45814.29); h_SL2L467->SetBinContent(3,55685.71); h_SL2L467->SetBinContent(4,60271.43); h_SL2L467->SetBinContent(5,62478.57); h_SL2L467->SetBinContent(6,58328.57); h_SL2L467->SetBinContent(7,55714.29); h_SL2L467->SetBinContent(8,48357.14); h_SL2L467->SetBinContent(9,56314.29); h_SL2L467->SetBinContent(10,57007.14); h_SL2L467->SetBinContent(11,59214.29); h_SL2L467->SetBinContent(12,57900); h_SL2L467->SetBinContent(13,57957.14); h_SL2L467->SetBinContent(14,57685.71); h_SL2L467->SetBinContent(15,57492.86); h_SL2L467->SetBinContent(16,56414.29); h_SL2L467->SetBinContent(17,54921.43); h_SL2L467->SetBinContent(18,54050); h_SL2L467->SetBinContent(19,53371.43); h_SL2L467->SetBinContent(20,50271.43); h_SL2L467->SetBinContent(21,50000); h_SL2L467->SetBinContent(22,48542.86); h_SL2L467->SetBinContent(23,43764.29); h_SL2L467->SetBinContent(24,41814.29); h_SL2L467->SetBinContent(25,38950); h_SL2L467->SetBinContent(26,37650); h_SL2L467->SetBinContent(27,36471.43); h_SL2L467->SetBinContent(28,36785.71); h_SL2L467->SetBinContent(29,37114.29); h_SL2L467->SetBinContent(30,36878.57); h_SL2L467->SetBinContent(31,33492.86); h_SL2L467->SetBinContent(32,37400); h_SL2L467->SetBinContent(33,37400); h_SL2L467->SetBinContent(34,37935.71); h_SL2L467->SetBinContent(35,37271.43); h_SL2L467->SetBinContent(36,38092.86); h_SL2L467->SetBinContent(37,38078.57); h_SL2L467->SetBinContent(38,39392.86); h_SL2L467->SetBinContent(39,38721.43); h_SL2L467->SetBinContent(40,40078.57); h_SL2L467->SetBinContent(41,36635.71); h_SL2L467->SetBinContent(42,38578.57); h_SL2L467->SetBinContent(43,37914.29); h_SL2L467->SetBinContent(44,37707.14); h_SL2L467->SetBinContent(45,36621.43); h_SL2L467->SetBinContent(46,35985.71); h_SL2L467->SetBinContent(47,34685.71); h_SL2L467->SetBinContent(48,32942.86); h_SL2L467->SetBinContent(49,32900); h_SL2L467->SetBinContent(50,34321.43); h_SL2L467->SetBinContent(51,33535.71); h_SL2L467->SetBinContent(52,38714.29); h_SL2L467->SetBinContent(53,41800); h_SL2L467->SetBinContent(54,46728.57); h_SL2L467->SetBinContent(55,48485.71); h_SL2L467->SetBinContent(56,43614.29); h_SL2L467->SetBinContent(57,37228.57); h_SL2L467->SetMaximum(106818.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 7834"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }