void RatesPerCell_Removing_noisy_cells_run_7539_SL3() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:36:23 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-2476.094,67.5,22284.84); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7539",60,0,60); h_SL3L168->SetBinContent(1,5100); h_SL3L168->SetBinContent(2,7142.857); h_SL3L168->SetBinContent(4,12621.43); h_SL3L168->SetBinContent(5,12214.29); h_SL3L168->SetBinContent(6,13171.43); h_SL3L168->SetBinContent(7,13307.14); h_SL3L168->SetBinContent(8,12650); h_SL3L168->SetBinContent(9,12121.43); h_SL3L168->SetBinContent(10,13464.29); h_SL3L168->SetBinContent(11,14285.71); h_SL3L168->SetBinContent(12,13621.43); h_SL3L168->SetBinContent(13,12735.71); h_SL3L168->SetBinContent(14,14142.86); h_SL3L168->SetBinContent(15,13121.43); h_SL3L168->SetBinContent(16,13678.57); h_SL3L168->SetBinContent(17,13442.86); h_SL3L168->SetBinContent(18,14192.86); h_SL3L168->SetBinContent(19,14157.14); h_SL3L168->SetBinContent(20,14028.57); h_SL3L168->SetBinContent(21,13757.14); h_SL3L168->SetBinContent(22,14464.29); h_SL3L168->SetBinContent(23,14735.71); h_SL3L168->SetBinContent(24,13557.14); h_SL3L168->SetBinContent(25,13692.86); h_SL3L168->SetBinContent(26,14000); h_SL3L168->SetBinContent(27,14392.86); h_SL3L168->SetBinContent(28,14742.86); h_SL3L168->SetBinContent(29,13107.14); h_SL3L168->SetBinContent(30,14978.57); h_SL3L168->SetBinContent(31,14814.29); h_SL3L168->SetBinContent(32,13878.57); h_SL3L168->SetBinContent(33,14235.71); h_SL3L168->SetBinContent(34,14600); h_SL3L168->SetBinContent(35,14514.29); h_SL3L168->SetBinContent(36,13535.71); h_SL3L168->SetBinContent(37,14014.29); h_SL3L168->SetBinContent(38,14535.71); h_SL3L168->SetBinContent(39,14385.71); h_SL3L168->SetBinContent(40,14700); h_SL3L168->SetBinContent(41,14007.14); h_SL3L168->SetBinContent(42,14921.43); h_SL3L168->SetBinContent(43,14078.57); h_SL3L168->SetBinContent(44,14157.14); h_SL3L168->SetBinContent(45,10707.14); h_SL3L168->SetBinContent(46,14407.14); h_SL3L168->SetBinContent(47,14164.29); h_SL3L168->SetBinContent(48,13778.57); h_SL3L168->SetBinContent(49,13242.86); h_SL3L168->SetBinContent(50,10200); h_SL3L168->SetBinContent(51,11150); h_SL3L168->SetBinContent(52,13314.29); h_SL3L168->SetBinContent(53,12385.71); h_SL3L168->SetBinContent(54,14357.14); h_SL3L168->SetBinContent(55,13357.14); h_SL3L168->SetBinContent(56,13064.29); h_SL3L168->SetBinContent(57,12000); h_SL3L168->SetBinContent(58,11650); h_SL3L168->SetBinContent(59,9028.571); h_SL3L168->SetMaximum(19808.75); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,3507.143); h_SL3L269->SetBinContent(2,8471.429); h_SL3L269->SetBinContent(4,9042.857); h_SL3L269->SetBinContent(5,12000); h_SL3L269->SetBinContent(6,12985.71); h_SL3L269->SetBinContent(7,12514.29); h_SL3L269->SetBinContent(8,12700); h_SL3L269->SetBinContent(9,12221.43); h_SL3L269->SetBinContent(10,13650); h_SL3L269->SetBinContent(11,13242.86); h_SL3L269->SetBinContent(12,13235.71); h_SL3L269->SetBinContent(13,12614.29); h_SL3L269->SetBinContent(14,13157.14); h_SL3L269->SetBinContent(15,13235.71); h_SL3L269->SetBinContent(16,13064.29); h_SL3L269->SetBinContent(17,13371.43); h_SL3L269->SetBinContent(18,14035.71); h_SL3L269->SetBinContent(19,14150); h_SL3L269->SetBinContent(20,14350); h_SL3L269->SetBinContent(21,13000); h_SL3L269->SetBinContent(22,13885.71); h_SL3L269->SetBinContent(23,14550); h_SL3L269->SetBinContent(24,13635.71); h_SL3L269->SetBinContent(25,13378.57); h_SL3L269->SetBinContent(26,14314.29); h_SL3L269->SetBinContent(27,14250); h_SL3L269->SetBinContent(28,13914.29); h_SL3L269->SetBinContent(29,13050); h_SL3L269->SetBinContent(30,14135.71); h_SL3L269->SetBinContent(31,13928.57); h_SL3L269->SetBinContent(32,14528.57); h_SL3L269->SetBinContent(33,13400); h_SL3L269->SetBinContent(34,13778.57); h_SL3L269->SetBinContent(35,14185.71); h_SL3L269->SetBinContent(36,13264.29); h_SL3L269->SetBinContent(37,13678.57); h_SL3L269->SetBinContent(38,14592.86); h_SL3L269->SetBinContent(39,14250); h_SL3L269->SetBinContent(40,14635.71); h_SL3L269->SetBinContent(41,13821.43); h_SL3L269->SetBinContent(42,14742.86); h_SL3L269->SetBinContent(43,14671.43); h_SL3L269->SetBinContent(44,14228.57); h_SL3L269->SetBinContent(45,11328.57); h_SL3L269->SetBinContent(46,12350); h_SL3L269->SetBinContent(47,14042.86); h_SL3L269->SetBinContent(48,13607.14); h_SL3L269->SetBinContent(49,13157.14); h_SL3L269->SetBinContent(50,12564.29); h_SL3L269->SetBinContent(51,7514.286); h_SL3L269->SetBinContent(52,13050); h_SL3L269->SetBinContent(53,12021.43); h_SL3L269->SetBinContent(54,13135.71); h_SL3L269->SetBinContent(55,13142.86); h_SL3L269->SetBinContent(56,13000); h_SL3L269->SetBinContent(57,12235.71); h_SL3L269->SetBinContent(58,11700); h_SL3L269->SetBinContent(59,9907.143); h_SL3L269->SetMaximum(17225.36); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,5371.429); h_SL3L370->SetBinContent(2,6892.857); h_SL3L370->SetBinContent(3,5807.143); h_SL3L370->SetBinContent(4,10921.43); h_SL3L370->SetBinContent(5,12378.57); h_SL3L370->SetBinContent(6,12328.57); h_SL3L370->SetBinContent(7,12557.14); h_SL3L370->SetBinContent(8,11757.14); h_SL3L370->SetBinContent(9,12735.71); h_SL3L370->SetBinContent(10,12621.43); h_SL3L370->SetBinContent(11,13150); h_SL3L370->SetBinContent(12,12435.71); h_SL3L370->SetBinContent(13,13064.29); h_SL3L370->SetBinContent(14,12778.57); h_SL3L370->SetBinContent(15,12714.29); h_SL3L370->SetBinContent(16,12478.57); h_SL3L370->SetBinContent(17,13564.29); h_SL3L370->SetBinContent(18,13542.86); h_SL3L370->SetBinContent(19,13664.29); h_SL3L370->SetBinContent(20,12821.43); h_SL3L370->SetBinContent(21,13928.57); h_SL3L370->SetBinContent(22,14242.86); h_SL3L370->SetBinContent(23,13628.57); h_SL3L370->SetBinContent(24,12585.71); h_SL3L370->SetBinContent(25,13907.14); h_SL3L370->SetBinContent(26,13535.71); h_SL3L370->SetBinContent(27,13528.57); h_SL3L370->SetBinContent(28,13142.86); h_SL3L370->SetBinContent(29,13550); h_SL3L370->SetBinContent(30,13735.71); h_SL3L370->SetBinContent(31,13750); h_SL3L370->SetBinContent(32,13342.86); h_SL3L370->SetBinContent(33,13714.29); h_SL3L370->SetBinContent(34,13778.57); h_SL3L370->SetBinContent(35,13192.86); h_SL3L370->SetBinContent(36,12842.86); h_SL3L370->SetBinContent(37,14142.86); h_SL3L370->SetBinContent(38,13842.86); h_SL3L370->SetBinContent(39,14107.14); h_SL3L370->SetBinContent(40,14064.29); h_SL3L370->SetBinContent(41,14392.86); h_SL3L370->SetBinContent(42,13807.14); h_SL3L370->SetBinContent(43,14021.43); h_SL3L370->SetBinContent(44,13478.57); h_SL3L370->SetBinContent(45,7607.143); h_SL3L370->SetBinContent(46,13964.29); h_SL3L370->SetBinContent(47,14021.43); h_SL3L370->SetBinContent(48,12721.43); h_SL3L370->SetBinContent(49,12878.57); h_SL3L370->SetBinContent(50,9392.857); h_SL3L370->SetBinContent(51,9857.143); h_SL3L370->SetBinContent(52,12342.86); h_SL3L370->SetBinContent(53,12564.29); h_SL3L370->SetBinContent(54,12900); h_SL3L370->SetBinContent(55,13085.71); h_SL3L370->SetBinContent(56,12571.43); h_SL3L370->SetBinContent(57,11657.14); h_SL3L370->SetBinContent(58,10750); h_SL3L370->SetBinContent(59,8200); h_SL3L370->SetMaximum(17225.36); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,7828.571); h_SL3L471->SetBinContent(3,4914.286); h_SL3L471->SetBinContent(4,8692.857); h_SL3L471->SetBinContent(5,11600); h_SL3L471->SetBinContent(6,12385.71); h_SL3L471->SetBinContent(7,12021.43); h_SL3L471->SetBinContent(8,11957.14); h_SL3L471->SetBinContent(9,11807.14); h_SL3L471->SetBinContent(10,12721.43); h_SL3L471->SetBinContent(11,12642.86); h_SL3L471->SetBinContent(12,12528.57); h_SL3L471->SetBinContent(13,12392.86); h_SL3L471->SetBinContent(14,13064.29); h_SL3L471->SetBinContent(15,13171.43); h_SL3L471->SetBinContent(16,12214.29); h_SL3L471->SetBinContent(17,12507.14); h_SL3L471->SetBinContent(18,13485.71); h_SL3L471->SetBinContent(19,13885.71); h_SL3L471->SetBinContent(20,12757.14); h_SL3L471->SetBinContent(21,12964.29); h_SL3L471->SetBinContent(22,13892.86); h_SL3L471->SetBinContent(23,13435.71); h_SL3L471->SetBinContent(24,13250); h_SL3L471->SetBinContent(25,12778.57); h_SL3L471->SetBinContent(26,13692.86); h_SL3L471->SetBinContent(27,13678.57); h_SL3L471->SetBinContent(28,13178.57); h_SL3L471->SetBinContent(29,12757.14); h_SL3L471->SetBinContent(30,13728.57); h_SL3L471->SetBinContent(31,13514.29); h_SL3L471->SetBinContent(32,13757.14); h_SL3L471->SetBinContent(33,13464.29); h_SL3L471->SetBinContent(34,13721.43); h_SL3L471->SetBinContent(35,13292.86); h_SL3L471->SetBinContent(36,12850); h_SL3L471->SetBinContent(37,13207.14); h_SL3L471->SetBinContent(38,13857.14); h_SL3L471->SetBinContent(39,13550); h_SL3L471->SetBinContent(40,13492.86); h_SL3L471->SetBinContent(41,13578.57); h_SL3L471->SetBinContent(42,13807.14); h_SL3L471->SetBinContent(43,13914.29); h_SL3L471->SetBinContent(44,13192.86); h_SL3L471->SetBinContent(45,11628.57); h_SL3L471->SetBinContent(46,12285.71); h_SL3L471->SetBinContent(47,13307.14); h_SL3L471->SetBinContent(48,13050); h_SL3L471->SetBinContent(49,12614.29); h_SL3L471->SetBinContent(50,12821.43); h_SL3L471->SetBinContent(51,6971.429); h_SL3L471->SetBinContent(52,12064.29); h_SL3L471->SetBinContent(53,11950); h_SL3L471->SetBinContent(54,13078.57); h_SL3L471->SetBinContent(55,12514.29); h_SL3L471->SetBinContent(56,12585.71); h_SL3L471->SetBinContent(57,11978.57); h_SL3L471->SetBinContent(58,11278.57); h_SL3L471->SetBinContent(59,8978.571); h_SL3L471->SetMaximum(17225.36); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 7539"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }