void RatesPerCell_Removing_noisy_cells_run_7484_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:46:42 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7738.926,67.5,69650.33); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7484",60,0,60); h_SL1L160->SetBinContent(1,8207.143); h_SL1L160->SetBinContent(2,8907.143); h_SL1L160->SetBinContent(3,8121.429); h_SL1L160->SetBinContent(4,7085.714); h_SL1L160->SetBinContent(5,5992.857); h_SL1L160->SetBinContent(6,6514.286); h_SL1L160->SetBinContent(7,6064.286); h_SL1L160->SetBinContent(8,6407.143); h_SL1L160->SetBinContent(9,6185.714); h_SL1L160->SetBinContent(10,6164.286); h_SL1L160->SetBinContent(11,6157.143); h_SL1L160->SetBinContent(12,6314.286); h_SL1L160->SetBinContent(13,9285.714); h_SL1L160->SetBinContent(14,10478.57); h_SL1L160->SetBinContent(15,9728.571); h_SL1L160->SetBinContent(16,5600); h_SL1L160->SetBinContent(17,4164.286); h_SL1L160->SetBinContent(18,4557.143); h_SL1L160->SetBinContent(19,4450); h_SL1L160->SetBinContent(20,4500); h_SL1L160->SetBinContent(21,4414.286); h_SL1L160->SetBinContent(22,4278.571); h_SL1L160->SetBinContent(23,3892.857); h_SL1L160->SetBinContent(24,3357.143); h_SL1L160->SetBinContent(25,3464.286); h_SL1L160->SetBinContent(26,4000); h_SL1L160->SetBinContent(27,3714.286); h_SL1L160->SetBinContent(28,4078.571); h_SL1L160->SetBinContent(29,3957.143); h_SL1L160->SetBinContent(30,3771.428); h_SL1L160->SetBinContent(31,3878.571); h_SL1L160->SetBinContent(32,3271.428); h_SL1L160->SetBinContent(33,15021.43); h_SL1L160->SetBinContent(34,17028.57); h_SL1L160->SetBinContent(35,17307.14); h_SL1L160->SetBinContent(36,16442.86); h_SL1L160->SetBinContent(37,17085.71); h_SL1L160->SetBinContent(38,17207.14); h_SL1L160->SetBinContent(39,16692.86); h_SL1L160->SetBinContent(41,3642.857); h_SL1L160->SetBinContent(42,4028.571); h_SL1L160->SetBinContent(43,3500); h_SL1L160->SetBinContent(44,3328.571); h_SL1L160->SetBinContent(45,3200); h_SL1L160->SetBinContent(46,2807.143); h_SL1L160->SetBinContent(47,2978.571); h_SL1L160->SetBinContent(48,2585.714); h_SL1L160->SetBinContent(49,3228.571); h_SL1L160->SetBinContent(50,3314.286); h_SL1L160->SetBinContent(51,3350); h_SL1L160->SetBinContent(52,3478.571); h_SL1L160->SetBinContent(53,3357.143); h_SL1L160->SetBinContent(54,3192.857); h_SL1L160->SetBinContent(55,3714.286); h_SL1L160->SetBinContent(56,3921.428); h_SL1L160->SetMaximum(61911.4); 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,35464.29); h_SL1L261->SetBinContent(2,37135.71); h_SL1L261->SetBinContent(3,38900); h_SL1L261->SetBinContent(4,39142.86); h_SL1L261->SetBinContent(5,38621.43); h_SL1L261->SetBinContent(6,40728.57); h_SL1L261->SetBinContent(7,40135.71); h_SL1L261->SetBinContent(8,42085.71); h_SL1L261->SetBinContent(9,42714.29); h_SL1L261->SetBinContent(10,40921.43); h_SL1L261->SetBinContent(11,42028.57); h_SL1L261->SetBinContent(12,43257.14); h_SL1L261->SetBinContent(13,43028.57); h_SL1L261->SetBinContent(14,43542.86); h_SL1L261->SetBinContent(15,43150); h_SL1L261->SetBinContent(16,41671.43); h_SL1L261->SetBinContent(17,43278.57); h_SL1L261->SetBinContent(18,45978.57); h_SL1L261->SetBinContent(19,46407.14); h_SL1L261->SetBinContent(20,46421.43); h_SL1L261->SetBinContent(21,46814.29); h_SL1L261->SetBinContent(22,45992.86); h_SL1L261->SetBinContent(23,43464.29); h_SL1L261->SetBinContent(24,42707.14); h_SL1L261->SetBinContent(25,43714.29); h_SL1L261->SetBinContent(26,41207.14); h_SL1L261->SetBinContent(27,40942.86); h_SL1L261->SetBinContent(28,43450); h_SL1L261->SetBinContent(29,45535.71); h_SL1L261->SetBinContent(30,45285.71); h_SL1L261->SetBinContent(31,44392.86); h_SL1L261->SetBinContent(32,43328.57); h_SL1L261->SetBinContent(33,43600); h_SL1L261->SetBinContent(34,43842.86); h_SL1L261->SetBinContent(35,41950); h_SL1L261->SetBinContent(36,43192.86); h_SL1L261->SetBinContent(37,45964.29); h_SL1L261->SetBinContent(38,45635.71); h_SL1L261->SetBinContent(39,43492.86); h_SL1L261->SetBinContent(40,43778.57); h_SL1L261->SetBinContent(41,43264.29); h_SL1L261->SetBinContent(42,44542.86); h_SL1L261->SetBinContent(43,44207.14); h_SL1L261->SetBinContent(44,42085.71); h_SL1L261->SetBinContent(45,41650); h_SL1L261->SetBinContent(46,42250); h_SL1L261->SetBinContent(47,42385.71); h_SL1L261->SetBinContent(48,43050); h_SL1L261->SetBinContent(49,45971.43); h_SL1L261->SetBinContent(50,44014.29); h_SL1L261->SetBinContent(51,43521.43); h_SL1L261->SetBinContent(52,43142.86); h_SL1L261->SetBinContent(53,43650); h_SL1L261->SetBinContent(54,43585.71); h_SL1L261->SetBinContent(55,42828.57); h_SL1L261->SetBinContent(56,42407.14); h_SL1L261->SetMaximum(53836.43); 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,34150); h_SL1L362->SetBinContent(2,37157.14); h_SL1L362->SetBinContent(3,38328.57); h_SL1L362->SetBinContent(4,38278.57); h_SL1L362->SetBinContent(5,38371.43); h_SL1L362->SetBinContent(6,39671.43); h_SL1L362->SetBinContent(7,40271.43); h_SL1L362->SetBinContent(8,41942.86); h_SL1L362->SetBinContent(9,40671.43); h_SL1L362->SetBinContent(10,40421.43); h_SL1L362->SetBinContent(11,41578.57); h_SL1L362->SetBinContent(12,43000); h_SL1L362->SetBinContent(13,41385.71); h_SL1L362->SetBinContent(14,43171.43); h_SL1L362->SetBinContent(15,44300); h_SL1L362->SetBinContent(16,42435.71); h_SL1L362->SetBinContent(17,42221.43); h_SL1L362->SetBinContent(18,45507.14); h_SL1L362->SetBinContent(19,45600); h_SL1L362->SetBinContent(20,45500); h_SL1L362->SetBinContent(21,45250); h_SL1L362->SetBinContent(22,42614.29); h_SL1L362->SetBinContent(23,42728.57); h_SL1L362->SetBinContent(24,42642.86); h_SL1L362->SetBinContent(25,41700); h_SL1L362->SetBinContent(26,40357.14); h_SL1L362->SetBinContent(27,40978.57); h_SL1L362->SetBinContent(28,44957.14); h_SL1L362->SetBinContent(29,45285.71); h_SL1L362->SetBinContent(30,43378.57); h_SL1L362->SetBinContent(31,42735.71); h_SL1L362->SetBinContent(32,40807.14); h_SL1L362->SetBinContent(33,42378.57); h_SL1L362->SetBinContent(34,42485.71); h_SL1L362->SetBinContent(35,40264.29); h_SL1L362->SetBinContent(36,42885.71); h_SL1L362->SetBinContent(37,45764.29); h_SL1L362->SetBinContent(38,43814.29); h_SL1L362->SetBinContent(39,43021.43); h_SL1L362->SetBinContent(40,42450); h_SL1L362->SetBinContent(41,43942.86); h_SL1L362->SetBinContent(42,43842.86); h_SL1L362->SetBinContent(43,42114.29); h_SL1L362->SetBinContent(44,39185.71); h_SL1L362->SetBinContent(45,41664.29); h_SL1L362->SetBinContent(46,41221.43); h_SL1L362->SetBinContent(47,40800); h_SL1L362->SetBinContent(48,41864.29); h_SL1L362->SetBinContent(49,43335.71); h_SL1L362->SetBinContent(50,42192.86); h_SL1L362->SetBinContent(51,41378.57); h_SL1L362->SetBinContent(52,41757.14); h_SL1L362->SetBinContent(53,43014.29); h_SL1L362->SetBinContent(54,41071.43); h_SL1L362->SetBinContent(55,41028.57); h_SL1L362->SetBinContent(56,41700); h_SL1L362->SetMaximum(53836.43); 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,31185.71); h_SL1L463->SetBinContent(3,31378.57); h_SL1L463->SetBinContent(4,31450); h_SL1L463->SetBinContent(5,31407.14); h_SL1L463->SetBinContent(6,31257.14); h_SL1L463->SetBinContent(7,31535.71); h_SL1L463->SetBinContent(8,33728.57); h_SL1L463->SetBinContent(9,34385.71); h_SL1L463->SetBinContent(10,35142.86); h_SL1L463->SetBinContent(11,36264.29); h_SL1L463->SetBinContent(12,37785.71); h_SL1L463->SetBinContent(13,38092.86); h_SL1L463->SetBinContent(14,44700); h_SL1L463->SetBinContent(15,41064.29); h_SL1L463->SetBinContent(16,40214.29); h_SL1L463->SetBinContent(17,35964.29); h_SL1L463->SetBinContent(18,38557.14); h_SL1L463->SetBinContent(19,36514.29); h_SL1L463->SetBinContent(20,37085.71); h_SL1L463->SetBinContent(21,37471.43); h_SL1L463->SetBinContent(22,35228.57); h_SL1L463->SetBinContent(23,34392.86); h_SL1L463->SetBinContent(24,34271.43); h_SL1L463->SetBinContent(25,31221.43); h_SL1L463->SetBinContent(26,30835.71); h_SL1L463->SetBinContent(27,29478.57); h_SL1L463->SetBinContent(28,31507.14); h_SL1L463->SetBinContent(29,31221.43); h_SL1L463->SetBinContent(30,32514.29); h_SL1L463->SetBinContent(31,32864.29); h_SL1L463->SetBinContent(32,30985.71); h_SL1L463->SetBinContent(33,28757.14); h_SL1L463->SetBinContent(34,33114.29); h_SL1L463->SetBinContent(35,33042.86); h_SL1L463->SetBinContent(36,30192.86); h_SL1L463->SetBinContent(37,7792.857); h_SL1L463->SetBinContent(38,7.142857); h_SL1L463->SetBinContent(40,7.142857); h_SL1L463->SetBinContent(41,27578.57); h_SL1L463->SetBinContent(42,29150); h_SL1L463->SetBinContent(43,29507.14); h_SL1L463->SetBinContent(44,28092.86); h_SL1L463->SetBinContent(45,25050); h_SL1L463->SetBinContent(46,26764.29); h_SL1L463->SetBinContent(47,25592.86); h_SL1L463->SetBinContent(48,24550); h_SL1L463->SetBinContent(49,25114.29); h_SL1L463->SetBinContent(50,25628.57); h_SL1L463->SetBinContent(51,24942.86); h_SL1L463->SetBinContent(52,26421.43); h_SL1L463->SetBinContent(53,25928.57); h_SL1L463->SetBinContent(54,25164.29); h_SL1L463->SetBinContent(55,7.142857); h_SL1L463->SetBinContent(56,26807.14); h_SL1L463->SetMaximum(53836.43); 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 7484"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }