void RatesPerCell_Removing_noisy_cells_run_7694_SL1() { //=========Macro generated from canvas: c/c //========= (Thu Dec 27 12:29:28 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-7312.707,67.5,65814.36); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7694",60,0,60); h_SL1L160->SetBinContent(1,22957.14); h_SL1L160->SetBinContent(2,22950); h_SL1L160->SetBinContent(3,22592.86); h_SL1L160->SetBinContent(4,19985.71); h_SL1L160->SetBinContent(5,17657.14); h_SL1L160->SetBinContent(6,17428.57); h_SL1L160->SetBinContent(7,17571.43); h_SL1L160->SetBinContent(8,18128.57); h_SL1L160->SetBinContent(9,18028.57); h_SL1L160->SetBinContent(10,18042.86); h_SL1L160->SetBinContent(11,17428.57); h_SL1L160->SetBinContent(12,17992.86); h_SL1L160->SetBinContent(13,17685.71); h_SL1L160->SetBinContent(14,16464.29); h_SL1L160->SetBinContent(15,15371.43); h_SL1L160->SetBinContent(16,14414.29); h_SL1L160->SetBinContent(17,14592.86); h_SL1L160->SetBinContent(18,15078.57); h_SL1L160->SetBinContent(19,14614.29); h_SL1L160->SetBinContent(20,15864.29); h_SL1L160->SetBinContent(21,14657.14); h_SL1L160->SetBinContent(22,14535.71); h_SL1L160->SetBinContent(23,13642.86); h_SL1L160->SetBinContent(24,11800); h_SL1L160->SetBinContent(25,11407.14); h_SL1L160->SetBinContent(26,11950); h_SL1L160->SetBinContent(27,12135.71); h_SL1L160->SetBinContent(28,12150); h_SL1L160->SetBinContent(29,13242.86); h_SL1L160->SetBinContent(30,11507.14); h_SL1L160->SetBinContent(31,10878.57); h_SL1L160->SetBinContent(32,10221.43); h_SL1L160->SetBinContent(33,37164.29); h_SL1L160->SetBinContent(34,37814.29); h_SL1L160->SetBinContent(35,36471.43); h_SL1L160->SetBinContent(36,38242.86); h_SL1L160->SetBinContent(37,38757.14); h_SL1L160->SetBinContent(38,39614.29); h_SL1L160->SetBinContent(39,37471.43); h_SL1L160->SetBinContent(41,10371.43); h_SL1L160->SetBinContent(42,10271.43); h_SL1L160->SetBinContent(43,9850); h_SL1L160->SetBinContent(44,9257.143); h_SL1L160->SetBinContent(45,9535.714); h_SL1L160->SetBinContent(46,9121.429); h_SL1L160->SetBinContent(47,9257.143); h_SL1L160->SetBinContent(48,8778.571); h_SL1L160->SetBinContent(49,9928.571); h_SL1L160->SetBinContent(50,9921.429); h_SL1L160->SetBinContent(51,10400); h_SL1L160->SetBinContent(52,10514.29); h_SL1L160->SetBinContent(53,10135.71); h_SL1L160->SetBinContent(54,10864.29); h_SL1L160->SetBinContent(55,10885.71); h_SL1L160->SetBinContent(56,12821.43); h_SL1L160->SetMaximum(58501.65); 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,33514.29); h_SL1L261->SetBinContent(2,34571.43); h_SL1L261->SetBinContent(3,35800); h_SL1L261->SetBinContent(4,36250); h_SL1L261->SetBinContent(5,36321.43); h_SL1L261->SetBinContent(6,37671.43); h_SL1L261->SetBinContent(7,37700); h_SL1L261->SetBinContent(8,39635.71); h_SL1L261->SetBinContent(9,39221.43); h_SL1L261->SetBinContent(10,38878.57); h_SL1L261->SetBinContent(11,39185.71); h_SL1L261->SetBinContent(12,40264.29); h_SL1L261->SetBinContent(13,40128.57); h_SL1L261->SetBinContent(14,39271.43); h_SL1L261->SetBinContent(15,39521.43); h_SL1L261->SetBinContent(16,38435.71); h_SL1L261->SetBinContent(17,39150); h_SL1L261->SetBinContent(18,42471.43); h_SL1L261->SetBinContent(19,43485.71); h_SL1L261->SetBinContent(20,43464.29); h_SL1L261->SetBinContent(21,44235.71); h_SL1L261->SetBinContent(22,41842.86); h_SL1L261->SetBinContent(23,40385.71); h_SL1L261->SetBinContent(24,39585.71); h_SL1L261->SetBinContent(25,39428.57); h_SL1L261->SetBinContent(26,37564.29); h_SL1L261->SetBinContent(27,37285.71); h_SL1L261->SetBinContent(28,38707.14); h_SL1L261->SetBinContent(29,41814.29); h_SL1L261->SetBinContent(30,41721.43); h_SL1L261->SetBinContent(31,41550); h_SL1L261->SetBinContent(32,40528.57); h_SL1L261->SetBinContent(33,39821.43); h_SL1L261->SetBinContent(34,40442.86); h_SL1L261->SetBinContent(35,38400); h_SL1L261->SetBinContent(36,38664.29); h_SL1L261->SetBinContent(37,40528.57); h_SL1L261->SetBinContent(38,42892.86); h_SL1L261->SetBinContent(39,40571.43); h_SL1L261->SetBinContent(40,40142.86); h_SL1L261->SetBinContent(41,40450); h_SL1L261->SetBinContent(42,40542.86); h_SL1L261->SetBinContent(43,40478.57); h_SL1L261->SetBinContent(44,40150); h_SL1L261->SetBinContent(45,39985.71); h_SL1L261->SetBinContent(46,40685.71); h_SL1L261->SetBinContent(47,40314.29); h_SL1L261->SetBinContent(48,40950); h_SL1L261->SetBinContent(49,41478.57); h_SL1L261->SetBinContent(50,41614.29); h_SL1L261->SetBinContent(51,41800); h_SL1L261->SetBinContent(52,41107.14); h_SL1L261->SetBinContent(53,41142.86); h_SL1L261->SetBinContent(54,39835.71); h_SL1L261->SetBinContent(55,40021.43); h_SL1L261->SetBinContent(56,37828.57); h_SL1L261->SetMaximum(50871.07); 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,32571.43); h_SL1L362->SetBinContent(2,34307.14); h_SL1L362->SetBinContent(3,35014.29); h_SL1L362->SetBinContent(4,36107.14); h_SL1L362->SetBinContent(5,37221.43); h_SL1L362->SetBinContent(6,37150); h_SL1L362->SetBinContent(7,37521.43); h_SL1L362->SetBinContent(8,39021.43); h_SL1L362->SetBinContent(9,38278.57); h_SL1L362->SetBinContent(10,38250); h_SL1L362->SetBinContent(11,39528.57); h_SL1L362->SetBinContent(12,39964.29); h_SL1L362->SetBinContent(13,39185.71); h_SL1L362->SetBinContent(14,39157.14); h_SL1L362->SetBinContent(15,37628.57); h_SL1L362->SetBinContent(16,38985.71); h_SL1L362->SetBinContent(17,40692.86); h_SL1L362->SetBinContent(18,42785.71); h_SL1L362->SetBinContent(19,41578.57); h_SL1L362->SetBinContent(20,43550); h_SL1L362->SetBinContent(21,42235.71); h_SL1L362->SetBinContent(22,41085.71); h_SL1L362->SetBinContent(23,38807.14); h_SL1L362->SetBinContent(24,39785.71); h_SL1L362->SetBinContent(25,38307.14); h_SL1L362->SetBinContent(26,36285.71); h_SL1L362->SetBinContent(27,37564.29); h_SL1L362->SetBinContent(28,40628.57); h_SL1L362->SetBinContent(29,41271.43); h_SL1L362->SetBinContent(30,40435.71); h_SL1L362->SetBinContent(31,39778.57); h_SL1L362->SetBinContent(32,38607.14); h_SL1L362->SetBinContent(33,39371.43); h_SL1L362->SetBinContent(34,38428.57); h_SL1L362->SetBinContent(35,37242.86); h_SL1L362->SetBinContent(36,39485.71); h_SL1L362->SetBinContent(37,40985.71); h_SL1L362->SetBinContent(38,40207.14); h_SL1L362->SetBinContent(39,39985.71); h_SL1L362->SetBinContent(40,39350); h_SL1L362->SetBinContent(41,40085.71); h_SL1L362->SetBinContent(42,39507.14); h_SL1L362->SetBinContent(43,38557.14); h_SL1L362->SetBinContent(44,38292.86); h_SL1L362->SetBinContent(45,39121.43); h_SL1L362->SetBinContent(46,39064.29); h_SL1L362->SetBinContent(47,38857.14); h_SL1L362->SetBinContent(48,40042.86); h_SL1L362->SetBinContent(49,39900); h_SL1L362->SetBinContent(50,40785.71); h_SL1L362->SetBinContent(51,38721.43); h_SL1L362->SetBinContent(52,39164.29); h_SL1L362->SetBinContent(53,39364.29); h_SL1L362->SetBinContent(54,38635.71); h_SL1L362->SetBinContent(55,37878.57); h_SL1L362->SetBinContent(56,37478.57); h_SL1L362->SetMaximum(50871.07); 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,18564.29); h_SL1L463->SetBinContent(3,16242.86); h_SL1L463->SetBinContent(4,16757.14); h_SL1L463->SetBinContent(5,14800); h_SL1L463->SetBinContent(6,14764.29); h_SL1L463->SetBinContent(7,15700); h_SL1L463->SetBinContent(8,16400); h_SL1L463->SetBinContent(9,17357.14); h_SL1L463->SetBinContent(10,19292.86); h_SL1L463->SetBinContent(11,20464.29); h_SL1L463->SetBinContent(12,21942.86); h_SL1L463->SetBinContent(13,21671.43); h_SL1L463->SetBinContent(14,21778.57); h_SL1L463->SetBinContent(15,26285.71); h_SL1L463->SetBinContent(16,19271.43); h_SL1L463->SetBinContent(17,18742.86); h_SL1L463->SetBinContent(18,18635.71); h_SL1L463->SetBinContent(19,17700); h_SL1L463->SetBinContent(20,17742.86); h_SL1L463->SetBinContent(21,17314.29); h_SL1L463->SetBinContent(22,17292.86); h_SL1L463->SetBinContent(23,16057.14); h_SL1L463->SetBinContent(24,15828.57); h_SL1L463->SetBinContent(25,13828.57); h_SL1L463->SetBinContent(26,14735.71); h_SL1L463->SetBinContent(27,13835.71); h_SL1L463->SetBinContent(28,13521.43); h_SL1L463->SetBinContent(29,12792.86); h_SL1L463->SetBinContent(30,13650); h_SL1L463->SetBinContent(31,12621.43); h_SL1L463->SetBinContent(32,12050); h_SL1L463->SetBinContent(33,11350); h_SL1L463->SetBinContent(34,12871.43); h_SL1L463->SetBinContent(35,12642.86); h_SL1L463->SetBinContent(36,10828.57); h_SL1L463->SetBinContent(37,5664.286); h_SL1L463->SetBinContent(41,10300); h_SL1L463->SetBinContent(42,10035.71); h_SL1L463->SetBinContent(43,10357.14); h_SL1L463->SetBinContent(44,9885.714); h_SL1L463->SetBinContent(45,8864.285); h_SL1L463->SetBinContent(46,9778.571); h_SL1L463->SetBinContent(47,9264.285); h_SL1L463->SetBinContent(48,9135.714); h_SL1L463->SetBinContent(49,9357.143); h_SL1L463->SetBinContent(50,9171.429); h_SL1L463->SetBinContent(51,9742.857); h_SL1L463->SetBinContent(52,9814.285); h_SL1L463->SetBinContent(53,10307.14); h_SL1L463->SetBinContent(54,9092.857); h_SL1L463->SetBinContent(56,10100); h_SL1L463->SetMaximum(50871.07); 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 7694"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }