void RatesPerCell_Removing_noisy_cells_run_7093_SL1() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:16:22 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-14515.01,67.5,130635.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 7093",60,0,60); h_SL1L160->SetBinContent(1,473.2143); h_SL1L160->SetBinContent(2,401.7857); h_SL1L160->SetBinContent(3,580.3572); h_SL1L160->SetBinContent(4,589.2857); h_SL1L160->SetBinContent(5,705.3572); h_SL1L160->SetBinContent(6,732.1429); h_SL1L160->SetBinContent(7,696.4286); h_SL1L160->SetBinContent(8,875); h_SL1L160->SetBinContent(9,803.5715); h_SL1L160->SetBinContent(10,883.9286); h_SL1L160->SetBinContent(11,901.7858); h_SL1L160->SetBinContent(12,1250); h_SL1L160->SetBinContent(13,2133.929); h_SL1L160->SetBinContent(14,2642.857); h_SL1L160->SetBinContent(15,2767.857); h_SL1L160->SetBinContent(16,1482.143); h_SL1L160->SetBinContent(17,1776.786); h_SL1L160->SetBinContent(18,2589.286); h_SL1L160->SetBinContent(19,2821.429); h_SL1L160->SetBinContent(20,3205.357); h_SL1L160->SetBinContent(21,3785.714); h_SL1L160->SetBinContent(22,4473.214); h_SL1L160->SetBinContent(23,5803.572); h_SL1L160->SetBinContent(24,7928.572); h_SL1L160->SetBinContent(25,17964.29); h_SL1L160->SetBinContent(26,35303.57); h_SL1L160->SetBinContent(27,50321.43); h_SL1L160->SetBinContent(28,65080.36); h_SL1L160->SetBinContent(29,65357.14); h_SL1L160->SetBinContent(30,54312.5); h_SL1L160->SetBinContent(31,31928.57); h_SL1L160->SetBinContent(32,10562.5); h_SL1L160->SetBinContent(33,9035.715); h_SL1L160->SetBinContent(34,6571.429); h_SL1L160->SetBinContent(35,5035.714); h_SL1L160->SetBinContent(36,4285.714); h_SL1L160->SetBinContent(37,3696.429); h_SL1L160->SetBinContent(38,3267.857); h_SL1L160->SetBinContent(39,3169.643); h_SL1L160->SetBinContent(41,2258.929); h_SL1L160->SetBinContent(42,2392.857); h_SL1L160->SetBinContent(43,2089.286); h_SL1L160->SetBinContent(44,2107.143); h_SL1L160->SetBinContent(45,1696.429); h_SL1L160->SetBinContent(46,1437.5); h_SL1L160->SetBinContent(47,1482.143); h_SL1L160->SetBinContent(48,1446.429); h_SL1L160->SetBinContent(49,1437.5); h_SL1L160->SetBinContent(50,1357.143); h_SL1L160->SetBinContent(51,1294.643); h_SL1L160->SetBinContent(52,1151.786); h_SL1L160->SetBinContent(53,1348.214); h_SL1L160->SetBinContent(54,964.2858); h_SL1L160->SetBinContent(55,937.5); h_SL1L160->SetBinContent(56,910.7143); h_SL1L160->SetMaximum(116120.1); 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,53.57143); h_SL1L261->SetBinContent(2,196.4286); h_SL1L261->SetBinContent(3,482.1429); h_SL1L261->SetBinContent(4,35.71429); h_SL1L261->SetBinContent(5,8.928572); h_SL1L261->SetBinContent(6,35.71429); h_SL1L261->SetBinContent(7,71.42857); h_SL1L261->SetBinContent(8,62.5); h_SL1L261->SetBinContent(9,7714.286); h_SL1L261->SetBinContent(10,53.57143); h_SL1L261->SetBinContent(11,62.5); h_SL1L261->SetBinContent(12,71.42857); h_SL1L261->SetBinContent(13,71.42857); h_SL1L261->SetBinContent(14,321.4286); h_SL1L261->SetBinContent(15,375); h_SL1L261->SetBinContent(16,267.8571); h_SL1L261->SetBinContent(17,125); h_SL1L261->SetBinContent(18,196.4286); h_SL1L261->SetBinContent(19,196.4286); h_SL1L261->SetBinContent(20,232.1429); h_SL1L261->SetBinContent(21,303.5714); h_SL1L261->SetBinContent(22,357.1429); h_SL1L261->SetBinContent(23,473.2143); h_SL1L261->SetBinContent(24,544.6429); h_SL1L261->SetBinContent(25,892.8572); h_SL1L261->SetBinContent(26,2258.929); h_SL1L261->SetBinContent(27,3651.786); h_SL1L261->SetBinContent(28,4812.5); h_SL1L261->SetBinContent(29,5857.143); h_SL1L261->SetBinContent(30,5830.357); h_SL1L261->SetBinContent(31,3839.286); h_SL1L261->SetBinContent(32,1714.286); h_SL1L261->SetBinContent(33,866.0715); h_SL1L261->SetBinContent(34,651.7857); h_SL1L261->SetBinContent(35,401.7857); h_SL1L261->SetBinContent(36,339.2857); h_SL1L261->SetBinContent(37,241.0714); h_SL1L261->SetBinContent(38,285.7143); h_SL1L261->SetBinContent(39,160.7143); h_SL1L261->SetBinContent(40,276.7857); h_SL1L261->SetBinContent(41,169.6429); h_SL1L261->SetBinContent(42,178.5714); h_SL1L261->SetBinContent(43,169.6429); h_SL1L261->SetBinContent(44,205.3571); h_SL1L261->SetBinContent(45,169.6429); h_SL1L261->SetBinContent(46,125); h_SL1L261->SetBinContent(47,71.42857); h_SL1L261->SetBinContent(48,89.28572); h_SL1L261->SetBinContent(49,116.0714); h_SL1L261->SetBinContent(50,107.1429); h_SL1L261->SetBinContent(51,98.21429); h_SL1L261->SetBinContent(52,80.35715); h_SL1L261->SetBinContent(53,98.21429); h_SL1L261->SetBinContent(54,44.64286); h_SL1L261->SetBinContent(55,98.21429); h_SL1L261->SetBinContent(56,44.64286); h_SL1L261->SetMaximum(100974.1); 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,446.4286); h_SL1L362->SetBinContent(2,428.5714); h_SL1L362->SetBinContent(3,589.2857); h_SL1L362->SetBinContent(4,544.6429); h_SL1L362->SetBinContent(5,687.5); h_SL1L362->SetBinContent(6,571.4286); h_SL1L362->SetBinContent(7,785.7143); h_SL1L362->SetBinContent(8,928.5715); h_SL1L362->SetBinContent(9,991.0715); h_SL1L362->SetBinContent(10,919.6429); h_SL1L362->SetBinContent(11,1017.857); h_SL1L362->SetBinContent(12,1250); h_SL1L362->SetBinContent(13,1241.071); h_SL1L362->SetBinContent(14,1687.5); h_SL1L362->SetBinContent(15,2321.429); h_SL1L362->SetBinContent(16,1714.286); h_SL1L362->SetBinContent(17,2241.072); h_SL1L362->SetBinContent(18,2589.286); h_SL1L362->SetBinContent(19,3151.786); h_SL1L362->SetBinContent(20,3151.786); h_SL1L362->SetBinContent(21,3991.072); h_SL1L362->SetBinContent(22,4776.786); h_SL1L362->SetBinContent(23,6116.072); h_SL1L362->SetBinContent(24,9321.429); h_SL1L362->SetBinContent(25,20937.5); h_SL1L362->SetBinContent(26,40839.29); h_SL1L362->SetBinContent(27,60312.5); h_SL1L362->SetBinContent(28,80187.5); h_SL1L362->SetBinContent(29,87803.57); h_SL1L362->SetBinContent(30,65491.07); h_SL1L362->SetBinContent(31,39839.29); h_SL1L362->SetBinContent(32,12276.79); h_SL1L362->SetBinContent(33,7973.214); h_SL1L362->SetBinContent(34,6142.857); h_SL1L362->SetBinContent(35,4455.357); h_SL1L362->SetBinContent(36,4196.429); h_SL1L362->SetBinContent(37,3437.5); h_SL1L362->SetBinContent(38,3107.143); h_SL1L362->SetBinContent(39,2973.214); h_SL1L362->SetBinContent(40,2553.572); h_SL1L362->SetBinContent(41,2607.143); h_SL1L362->SetBinContent(42,2401.786); h_SL1L362->SetBinContent(43,2160.714); h_SL1L362->SetBinContent(44,2196.429); h_SL1L362->SetBinContent(45,1678.572); h_SL1L362->SetBinContent(46,1821.429); h_SL1L362->SetBinContent(47,1491.072); h_SL1L362->SetBinContent(48,1500); h_SL1L362->SetBinContent(49,1517.857); h_SL1L362->SetBinContent(50,1428.572); h_SL1L362->SetBinContent(51,1482.143); h_SL1L362->SetBinContent(52,1205.357); h_SL1L362->SetBinContent(53,1285.714); h_SL1L362->SetBinContent(54,1125); h_SL1L362->SetBinContent(55,1035.714); h_SL1L362->SetBinContent(56,910.7143); h_SL1L362->SetMaximum(100974.1); 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,339.2857); h_SL1L463->SetBinContent(3,517.8572); h_SL1L463->SetBinContent(4,517.8572); h_SL1L463->SetBinContent(5,544.6429); h_SL1L463->SetBinContent(6,598.2143); h_SL1L463->SetBinContent(7,687.5); h_SL1L463->SetBinContent(8,714.2858); h_SL1L463->SetBinContent(9,830.3572); h_SL1L463->SetBinContent(10,812.5); h_SL1L463->SetBinContent(11,812.5); h_SL1L463->SetBinContent(12,1035.714); h_SL1L463->SetBinContent(13,1142.857); h_SL1L463->SetBinContent(14,3250); h_SL1L463->SetBinContent(15,2616.072); h_SL1L463->SetBinContent(16,2625); h_SL1L463->SetBinContent(17,1669.643); h_SL1L463->SetBinContent(18,2267.857); h_SL1L463->SetBinContent(19,2571.429); h_SL1L463->SetBinContent(20,2928.572); h_SL1L463->SetBinContent(21,3125); h_SL1L463->SetBinContent(22,3633.929); h_SL1L463->SetBinContent(23,4571.429); h_SL1L463->SetBinContent(24,6339.286); h_SL1L463->SetBinContent(25,9535.715); h_SL1L463->SetBinContent(26,28607.14); h_SL1L463->SetBinContent(27,41196.43); h_SL1L463->SetBinContent(28,54035.71); h_SL1L463->SetBinContent(29,66392.86); h_SL1L463->SetBinContent(30,61785.71); h_SL1L463->SetBinContent(31,45714.29); h_SL1L463->SetBinContent(32,19910.71); h_SL1L463->SetBinContent(33,8026.786); h_SL1L463->SetBinContent(34,6151.786); h_SL1L463->SetBinContent(35,4901.786); h_SL1L463->SetBinContent(36,3508.929); h_SL1L463->SetBinContent(41,2267.857); h_SL1L463->SetBinContent(42,2107.143); h_SL1L463->SetBinContent(43,2267.857); h_SL1L463->SetBinContent(44,1919.643); h_SL1L463->SetBinContent(45,1687.5); h_SL1L463->SetBinContent(46,1428.572); h_SL1L463->SetBinContent(47,1562.5); h_SL1L463->SetBinContent(48,1214.286); h_SL1L463->SetBinContent(49,1223.214); h_SL1L463->SetBinContent(50,1285.714); h_SL1L463->SetBinContent(51,1151.786); h_SL1L463->SetBinContent(52,1241.071); h_SL1L463->SetBinContent(53,973.2143); h_SL1L463->SetBinContent(54,1000); h_SL1L463->SetBinContent(56,892.8572); h_SL1L463->SetMaximum(100974.1); 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 7093"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }