void RatesPerCell_Removing_noisy_cells_run_7388_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:14:32 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-30015.43,67.5,270138.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7388",60,0,60); h_SL2L164->SetBinContent(1,118889.3); h_SL2L164->SetBinContent(2,149857.1); h_SL2L164->SetBinContent(3,177642.9); h_SL2L164->SetBinContent(4,181567.9); h_SL2L164->SetBinContent(5,179960.7); h_SL2L164->SetBinContent(6,168014.3); h_SL2L164->SetBinContent(7,152414.3); h_SL2L164->SetBinContent(8,143725); h_SL2L164->SetBinContent(9,160546.4); h_SL2L164->SetBinContent(10,162667.9); h_SL2L164->SetBinContent(11,165342.9); h_SL2L164->SetBinContent(12,156460.7); h_SL2L164->SetBinContent(13,140539.3); h_SL2L164->SetBinContent(14,137189.3); h_SL2L164->SetBinContent(15,135739.3); h_SL2L164->SetBinContent(16,135846.4); h_SL2L164->SetBinContent(17,123667.9); h_SL2L164->SetBinContent(18,107282.1); h_SL2L164->SetBinContent(19,107985.7); h_SL2L164->SetBinContent(20,113457.1); h_SL2L164->SetBinContent(21,116242.9); h_SL2L164->SetBinContent(22,111592.9); h_SL2L164->SetBinContent(23,105346.4); h_SL2L164->SetBinContent(24,98507.14); h_SL2L164->SetBinContent(25,91628.57); h_SL2L164->SetBinContent(26,86875); h_SL2L164->SetBinContent(27,87021.43); h_SL2L164->SetBinContent(28,85185.71); h_SL2L164->SetBinContent(29,84746.43); h_SL2L164->SetBinContent(30,80239.28); h_SL2L164->SetBinContent(31,80064.28); h_SL2L164->SetBinContent(32,84696.43); h_SL2L164->SetBinContent(33,89210.71); h_SL2L164->SetBinContent(34,92150); h_SL2L164->SetBinContent(35,3.571429); h_SL2L164->SetBinContent(36,94957.14); h_SL2L164->SetBinContent(37,108396.4); h_SL2L164->SetBinContent(38,108475); h_SL2L164->SetBinContent(39,111907.1); h_SL2L164->SetBinContent(40,116550); h_SL2L164->SetBinContent(41,158692.9); h_SL2L164->SetBinContent(42,117225); h_SL2L164->SetBinContent(43,116300); h_SL2L164->SetBinContent(44,111871.4); h_SL2L164->SetBinContent(45,99642.86); h_SL2L164->SetBinContent(46,95150); h_SL2L164->SetBinContent(47,93753.57); h_SL2L164->SetBinContent(48,94096.43); h_SL2L164->SetBinContent(49,97721.43); h_SL2L164->SetBinContent(50,95000); h_SL2L164->SetBinContent(51,104017.9); h_SL2L164->SetBinContent(52,120700); h_SL2L164->SetBinContent(53,135817.9); h_SL2L164->SetBinContent(54,143471.4); h_SL2L164->SetBinContent(55,142985.7); h_SL2L164->SetBinContent(56,121189.3); h_SL2L164->SetBinContent(57,102150); h_SL2L164->SetMaximum(240123.4); 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,95967.86); h_SL2L265->SetBinContent(2,140882.1); h_SL2L265->SetBinContent(3,154035.7); h_SL2L265->SetBinContent(4,177364.3); h_SL2L265->SetBinContent(5,175657.1); h_SL2L265->SetBinContent(6,168132.1); h_SL2L265->SetBinContent(7,155614.3); h_SL2L265->SetBinContent(8,134725); h_SL2L265->SetBinContent(9,149657.1); h_SL2L265->SetBinContent(10,152635.7); h_SL2L265->SetBinContent(11,160314.3); h_SL2L265->SetBinContent(12,156864.3); h_SL2L265->SetBinContent(13,141725); h_SL2L265->SetBinContent(14,135864.3); h_SL2L265->SetBinContent(15,127639.3); h_SL2L265->SetBinContent(16,135628.6); h_SL2L265->SetBinContent(17,123478.6); h_SL2L265->SetBinContent(18,111064.3); h_SL2L265->SetBinContent(19,103035.7); h_SL2L265->SetBinContent(20,107807.1); h_SL2L265->SetBinContent(21,112296.4); h_SL2L265->SetBinContent(22,110160.7); h_SL2L265->SetBinContent(23,103850); h_SL2L265->SetBinContent(24,98317.86); h_SL2L265->SetBinContent(25,92296.43); h_SL2L265->SetBinContent(26,85432.14); h_SL2L265->SetBinContent(27,82939.28); h_SL2L265->SetBinContent(28,82760.71); h_SL2L265->SetBinContent(29,82085.71); h_SL2L265->SetBinContent(30,80921.43); h_SL2L265->SetBinContent(31,73764.28); h_SL2L265->SetBinContent(32,80200); h_SL2L265->SetBinContent(33,84046.43); h_SL2L265->SetBinContent(34,87546.43); h_SL2L265->SetBinContent(35,87878.57); h_SL2L265->SetBinContent(36,90628.57); h_SL2L265->SetBinContent(37,96539.28); h_SL2L265->SetBinContent(38,101678.6); h_SL2L265->SetBinContent(39,105492.9); h_SL2L265->SetBinContent(40,107267.9); h_SL2L265->SetBinContent(41,104975); h_SL2L265->SetBinContent(42,105225); h_SL2L265->SetBinContent(43,105392.9); h_SL2L265->SetBinContent(44,102739.3); h_SL2L265->SetBinContent(45,98539.28); h_SL2L265->SetBinContent(46,94753.57); h_SL2L265->SetBinContent(47,91342.86); h_SL2L265->SetBinContent(48,90064.28); h_SL2L265->SetBinContent(49,91932.14); h_SL2L265->SetBinContent(50,96085.71); h_SL2L265->SetBinContent(51,91253.57); h_SL2L265->SetBinContent(52,108610.7); h_SL2L265->SetBinContent(53,123717.9); h_SL2L265->SetBinContent(54,135453.6); h_SL2L265->SetBinContent(55,141696.4); h_SL2L265->SetBinContent(56,124364.3); h_SL2L265->SetBinContent(57,117082.1); h_SL2L265->SetMaximum(208803); 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,113250); h_SL2L366->SetBinContent(2,137646.4); h_SL2L366->SetBinContent(3,169042.9); h_SL2L366->SetBinContent(4,170232.1); h_SL2L366->SetBinContent(5,165596.4); h_SL2L366->SetBinContent(6,154489.3); h_SL2L366->SetBinContent(7,139364.3); h_SL2L366->SetBinContent(8,138128.6); h_SL2L366->SetBinContent(9,147421.4); h_SL2L366->SetBinContent(10,150992.9); h_SL2L366->SetBinContent(11,153078.6); h_SL2L366->SetBinContent(12,145782.1); h_SL2L366->SetBinContent(13,129810.7); h_SL2L366->SetBinContent(14,127171.4); h_SL2L366->SetBinContent(15,127650); h_SL2L366->SetBinContent(16,124832.1); h_SL2L366->SetBinContent(17,113850); h_SL2L366->SetBinContent(18,99578.57); h_SL2L366->SetBinContent(19,101089.3); h_SL2L366->SetBinContent(20,107232.1); h_SL2L366->SetBinContent(21,106707.1); h_SL2L366->SetBinContent(22,103760.7); h_SL2L366->SetBinContent(23,97135.71); h_SL2L366->SetBinContent(24,91525); h_SL2L366->SetBinContent(25,85439.28); h_SL2L366->SetBinContent(26,81414.28); h_SL2L366->SetBinContent(27,80700); h_SL2L366->SetBinContent(28,79282.14); h_SL2L366->SetBinContent(29,78378.57); h_SL2L366->SetBinContent(30,75003.57); h_SL2L366->SetBinContent(31,74339.28); h_SL2L366->SetBinContent(32,77703.57); h_SL2L366->SetBinContent(33,83135.71); h_SL2L366->SetBinContent(34,85239.28); h_SL2L366->SetBinContent(35,85503.57); h_SL2L366->SetBinContent(36,90146.43); h_SL2L366->SetBinContent(37,94382.14); h_SL2L366->SetBinContent(38,100032.1); h_SL2L366->SetBinContent(39,101335.7); h_SL2L366->SetBinContent(40,101896.4); h_SL2L366->SetBinContent(41,101953.6); h_SL2L366->SetBinContent(42,101564.3); h_SL2L366->SetBinContent(43,99832.14); h_SL2L366->SetBinContent(44,95778.57); h_SL2L366->SetBinContent(45,93167.86); h_SL2L366->SetBinContent(46,88778.57); h_SL2L366->SetBinContent(47,88457.14); h_SL2L366->SetBinContent(48,87185.71); h_SL2L366->SetBinContent(49,90317.86); h_SL2L366->SetBinContent(50,89157.14); h_SL2L366->SetBinContent(51,93932.14); h_SL2L366->SetBinContent(52,110553.6); h_SL2L366->SetBinContent(53,124085.7); h_SL2L366->SetBinContent(54,132960.7); h_SL2L366->SetBinContent(55,135392.9); h_SL2L366->SetBinContent(56,111753.6); h_SL2L366->SetBinContent(57,107989.3); h_SL2L366->SetMaximum(208803); 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,132939.3); h_SL2L467->SetBinContent(3,147621.4); h_SL2L467->SetBinContent(4,164178.6); h_SL2L467->SetBinContent(5,164800); h_SL2L467->SetBinContent(6,153339.3); h_SL2L467->SetBinContent(7,145292.9); h_SL2L467->SetBinContent(8,124735.7); h_SL2L467->SetBinContent(9,140882.1); h_SL2L467->SetBinContent(10,144514.3); h_SL2L467->SetBinContent(11,148628.6); h_SL2L467->SetBinContent(12,145825); h_SL2L467->SetBinContent(13,131185.7); h_SL2L467->SetBinContent(14,126089.3); h_SL2L467->SetBinContent(15,119582.1); h_SL2L467->SetBinContent(16,124632.1); h_SL2L467->SetBinContent(17,116025); h_SL2L467->SetBinContent(18,103067.9); h_SL2L467->SetBinContent(19,95475); h_SL2L467->SetBinContent(20,100328.6); h_SL2L467->SetBinContent(21,104678.6); h_SL2L467->SetBinContent(22,100685.7); h_SL2L467->SetBinContent(23,97100); h_SL2L467->SetBinContent(24,90192.86); h_SL2L467->SetBinContent(25,85785.71); h_SL2L467->SetBinContent(26,80364.28); h_SL2L467->SetBinContent(27,78528.57); h_SL2L467->SetBinContent(28,78367.86); h_SL2L467->SetBinContent(29,75739.28); h_SL2L467->SetBinContent(30,77292.86); h_SL2L467->SetBinContent(31,69221.43); h_SL2L467->SetBinContent(32,75792.86); h_SL2L467->SetBinContent(33,78360.71); h_SL2L467->SetBinContent(34,81485.71); h_SL2L467->SetBinContent(35,83042.86); h_SL2L467->SetBinContent(36,83960.71); h_SL2L467->SetBinContent(37,90042.86); h_SL2L467->SetBinContent(38,93964.28); h_SL2L467->SetBinContent(39,97153.57); h_SL2L467->SetBinContent(40,97478.57); h_SL2L467->SetBinContent(41,97735.71); h_SL2L467->SetBinContent(42,98150); h_SL2L467->SetBinContent(43,98046.43); h_SL2L467->SetBinContent(44,94717.86); h_SL2L467->SetBinContent(45,92250); h_SL2L467->SetBinContent(46,89035.71); h_SL2L467->SetBinContent(47,85828.57); h_SL2L467->SetBinContent(48,85267.86); h_SL2L467->SetBinContent(49,85332.14); h_SL2L467->SetBinContent(50,89089.28); h_SL2L467->SetBinContent(51,83885.71); h_SL2L467->SetBinContent(52,100314.3); h_SL2L467->SetBinContent(53,111821.4); h_SL2L467->SetBinContent(54,124478.6); h_SL2L467->SetBinContent(55,129882.1); h_SL2L467->SetBinContent(56,118667.9); h_SL2L467->SetBinContent(57,106292.9); h_SL2L467->SetMaximum(208803); 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 7388"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }