void RatesPerCell_Removing_noisy_cells_run_6649_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:06:24 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16143.41,67.5,145290.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6649",60,0,60); h_SL1L160->SetBinContent(1,32214.35); h_SL1L160->SetBinContent(2,30552.66); h_SL1L160->SetBinContent(3,30853.63); h_SL1L160->SetBinContent(4,28952.43); h_SL1L160->SetBinContent(5,27241.99); h_SL1L160->SetBinContent(6,29230.09); h_SL1L160->SetBinContent(7,27648.94); h_SL1L160->SetBinContent(8,27186.88); h_SL1L160->SetBinContent(9,24779.13); h_SL1L160->SetBinContent(10,23015.7); h_SL1L160->SetBinContent(11,22460.39); h_SL1L160->SetBinContent(12,22216.65); h_SL1L160->SetBinContent(13,24423.05); h_SL1L160->SetBinContent(14,23462.91); h_SL1L160->SetBinContent(15,23382.37); h_SL1L160->SetBinContent(16,22337.46); h_SL1L160->SetBinContent(17,22786.79); h_SL1L160->SetBinContent(18,23138.63); h_SL1L160->SetBinContent(19,25031.35); h_SL1L160->SetBinContent(20,24109.36); h_SL1L160->SetBinContent(21,25900.34); h_SL1L160->SetBinContent(22,25497.64); h_SL1L160->SetBinContent(23,25169.12); h_SL1L160->SetBinContent(24,23202.21); h_SL1L160->SetBinContent(25,23303.95); h_SL1L160->SetBinContent(26,23657.91); h_SL1L160->SetBinContent(27,23185.26); h_SL1L160->SetBinContent(28,23257.32); h_SL1L160->SetBinContent(29,22250.56); h_SL1L160->SetBinContent(30,22665.98); h_SL1L160->SetBinContent(31,22543.05); h_SL1L160->SetBinContent(32,21648.62); h_SL1L160->SetBinContent(33,33926.91); h_SL1L160->SetBinContent(34,43456.2); h_SL1L160->SetBinContent(35,45113.65); h_SL1L160->SetBinContent(36,43733.86); h_SL1L160->SetBinContent(37,47595.59); h_SL1L160->SetBinContent(38,47006.37); h_SL1L160->SetBinContent(39,35346.98); h_SL1L160->SetBinContent(40,21434.55); h_SL1L160->SetBinContent(41,19669); h_SL1L160->SetBinContent(42,20173.44); h_SL1L160->SetBinContent(43,19088.26); h_SL1L160->SetBinContent(44,19153.96); h_SL1L160->SetBinContent(45,18204.42); h_SL1L160->SetBinContent(46,17045.05); h_SL1L160->SetBinContent(47,16913.65); h_SL1L160->SetBinContent(48,15311.3); h_SL1L160->SetBinContent(49,15779.71); h_SL1L160->SetBinContent(50,16222.69); h_SL1L160->SetBinContent(51,15565.64); h_SL1L160->SetBinContent(52,15402.44); h_SL1L160->SetBinContent(53,16059.49); h_SL1L160->SetBinContent(54,16051.01); h_SL1L160->SetBinContent(55,16307.47); h_SL1L160->SetBinContent(56,17104.4); h_SL1L160->SetBinContent(57,19164.56); h_SL1L160->SetBinContent(58,20601.58); h_SL1L160->SetBinContent(59,21860.57); h_SL1L160->SetMaximum(129147.3); 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,36444.88); h_SL1L261->SetBinContent(2,34789.55); h_SL1L261->SetBinContent(3,34615.75); h_SL1L261->SetBinContent(4,35285.51); h_SL1L261->SetBinContent(5,34649.66); h_SL1L261->SetBinContent(6,37494.04); h_SL1L261->SetBinContent(7,37099.8); h_SL1L261->SetBinContent(8,36858.18); h_SL1L261->SetBinContent(9,34956.99); h_SL1L261->SetBinContent(10,31489.48); h_SL1L261->SetBinContent(11,29961.31); h_SL1L261->SetBinContent(12,30421.25); h_SL1L261->SetBinContent(13,32015.12); h_SL1L261->SetBinContent(14,34730.2); h_SL1L261->SetBinContent(15,34520.37); h_SL1L261->SetBinContent(16,34605.15); h_SL1L261->SetBinContent(17,34204.56); h_SL1L261->SetBinContent(18,34085.87); h_SL1L261->SetBinContent(19,36311.35); h_SL1L261->SetBinContent(20,36731.01); h_SL1L261->SetBinContent(21,37672.07); h_SL1L261->SetBinContent(22,38757.26); h_SL1L261->SetBinContent(23,39140.89); h_SL1L261->SetBinContent(24,39605.06); h_SL1L261->SetBinContent(25,39607.18); h_SL1L261->SetBinContent(26,37964.56); h_SL1L261->SetBinContent(27,37330.83); h_SL1L261->SetBinContent(28,36868.78); h_SL1L261->SetBinContent(29,38880.19); h_SL1L261->SetBinContent(30,39032.79); h_SL1L261->SetBinContent(31,39193.88); h_SL1L261->SetBinContent(32,40558.84); h_SL1L261->SetBinContent(33,50126.28); h_SL1L261->SetBinContent(34,80556.01); h_SL1L261->SetBinContent(35,88054.81); h_SL1L261->SetBinContent(36,93874.97); h_SL1L261->SetBinContent(37,97639.21); h_SL1L261->SetBinContent(38,96611.25); h_SL1L261->SetBinContent(39,84055.3); h_SL1L261->SetBinContent(40,48080.96); h_SL1L261->SetBinContent(41,36892.09); h_SL1L261->SetBinContent(42,32990.09); h_SL1L261->SetBinContent(43,32409.34); h_SL1L261->SetBinContent(44,32099.89); h_SL1L261->SetBinContent(45,31182.15); h_SL1L261->SetBinContent(46,30777.32); h_SL1L261->SetBinContent(47,31531.87); h_SL1L261->SetBinContent(48,31714.14); h_SL1L261->SetBinContent(49,29052.05); h_SL1L261->SetBinContent(50,29295.79); h_SL1L261->SetBinContent(51,28969.39); h_SL1L261->SetBinContent(52,26843.52); h_SL1L261->SetBinContent(53,28361.09); h_SL1L261->SetBinContent(54,28460.71); h_SL1L261->SetBinContent(55,28000.77); h_SL1L261->SetBinContent(56,28363.21); h_SL1L261->SetBinContent(57,27941.43); h_SL1L261->SetBinContent(58,27087.27); h_SL1L261->SetBinContent(59,26508.64); h_SL1L261->SetMaximum(112302.2); 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,34295.7); h_SL1L362->SetBinContent(2,33727.68); h_SL1L362->SetBinContent(3,34198.2); h_SL1L362->SetBinContent(4,33422.46); h_SL1L362->SetBinContent(5,35397.84); h_SL1L362->SetBinContent(6,35851.42); h_SL1L362->SetBinContent(7,35332.14); h_SL1L362->SetBinContent(8,34672.97); h_SL1L362->SetBinContent(9,31707.79); h_SL1L362->SetBinContent(10,29028.73); h_SL1L362->SetBinContent(11,28842.22); h_SL1L362->SetBinContent(12,30601.41); h_SL1L362->SetBinContent(13,32441.13); h_SL1L362->SetBinContent(14,33528.44); h_SL1L362->SetBinContent(15,33524.2); h_SL1L362->SetBinContent(16,31421.65); h_SL1L362->SetBinContent(17,32962.54); h_SL1L362->SetBinContent(18,34263.91); h_SL1L362->SetBinContent(19,35075.68); h_SL1L362->SetBinContent(20,35671.26); h_SL1L362->SetBinContent(21,37553.38); h_SL1L362->SetBinContent(22,37589.41); h_SL1L362->SetBinContent(23,38388.46); h_SL1L362->SetBinContent(24,38051.46); h_SL1L362->SetBinContent(25,38327); h_SL1L362->SetBinContent(26,36014.62); h_SL1L362->SetBinContent(27,36027.34); h_SL1L362->SetBinContent(28,37515.23); h_SL1L362->SetBinContent(29,37712.34); h_SL1L362->SetBinContent(30,37915.82); h_SL1L362->SetBinContent(31,37956.09); h_SL1L362->SetBinContent(32,39645.33); h_SL1L362->SetBinContent(33,67124.7); h_SL1L362->SetBinContent(34,84852.24); h_SL1L362->SetBinContent(35,89966.6); h_SL1L362->SetBinContent(36,95030.1); h_SL1L362->SetBinContent(37,97654.05); h_SL1L362->SetBinContent(38,90411.7); h_SL1L362->SetBinContent(39,67773.27); h_SL1L362->SetBinContent(40,37301.16); h_SL1L362->SetBinContent(41,33458.5); h_SL1L362->SetBinContent(42,32337.28); h_SL1L362->SetBinContent(43,31254.21); h_SL1L362->SetBinContent(44,30410.65); h_SL1L362->SetBinContent(45,29997.35); h_SL1L362->SetBinContent(46,30139.35); h_SL1L362->SetBinContent(47,31071.94); h_SL1L362->SetBinContent(48,29488.67); h_SL1L362->SetBinContent(49,28568.8); h_SL1L362->SetBinContent(50,28481.9); h_SL1L362->SetBinContent(51,26830.81); h_SL1L362->SetBinContent(52,26294.57); h_SL1L362->SetBinContent(53,27915.99); h_SL1L362->SetBinContent(54,26523.48); h_SL1L362->SetBinContent(55,27373.4); h_SL1L362->SetBinContent(56,27331.01); h_SL1L362->SetBinContent(57,26767.22); h_SL1L362->SetBinContent(58,25866.43); h_SL1L362->SetBinContent(59,25718.07); h_SL1L362->SetMaximum(112302.2); 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,27532.36); h_SL1L463->SetBinContent(3,26273.38); h_SL1L463->SetBinContent(4,25571.82); h_SL1L463->SetBinContent(5,23549.81); h_SL1L463->SetBinContent(6,24829.99); h_SL1L463->SetBinContent(7,24533.26); h_SL1L463->SetBinContent(8,24950.81); h_SL1L463->SetBinContent(9,25421.34); h_SL1L463->SetBinContent(10,24319.19); h_SL1L463->SetBinContent(11,24083.93); h_SL1L463->SetBinContent(12,24717.66); h_SL1L463->SetBinContent(13,25798.61); h_SL1L463->SetBinContent(14,26970.69); h_SL1L463->SetBinContent(15,26868.96); h_SL1L463->SetBinContent(16,25270.85); h_SL1L463->SetBinContent(17,24155.99); h_SL1L463->SetBinContent(18,23439.6); h_SL1L463->SetBinContent(19,24762.17); h_SL1L463->SetBinContent(20,24192.02); h_SL1L463->SetBinContent(21,24329.79); h_SL1L463->SetBinContent(22,24764.29); h_SL1L463->SetBinContent(23,24940.21); h_SL1L463->SetBinContent(24,25228.46); h_SL1L463->SetBinContent(25,24151.75); h_SL1L463->SetBinContent(26,24293.76); h_SL1L463->SetBinContent(27,23212.81); h_SL1L463->SetBinContent(28,22966.95); h_SL1L463->SetBinContent(29,23155.59); h_SL1L463->SetBinContent(30,23291.23); h_SL1L463->SetBinContent(31,23473.51); h_SL1L463->SetBinContent(32,23564.65); h_SL1L463->SetBinContent(33,25279.33); h_SL1L463->SetBinContent(34,43187.02); h_SL1L463->SetBinContent(35,51523.04); h_SL1L463->SetBinContent(36,55005.38); h_SL1L463->SetBinContent(37,53358.52); h_SL1L463->SetBinContent(38,51654.44); h_SL1L463->SetBinContent(39,47158.97); h_SL1L463->SetBinContent(40,24755.81); h_SL1L463->SetBinContent(41,19921.22); h_SL1L463->SetBinContent(42,18200.19); h_SL1L463->SetBinContent(43,18168.39); h_SL1L463->SetBinContent(44,18185.35); h_SL1L463->SetBinContent(45,16303.23); h_SL1L463->SetBinContent(46,17244.29); h_SL1L463->SetBinContent(47,16351.98); h_SL1L463->SetBinContent(48,15559.28); h_SL1L463->SetBinContent(49,14681.81); h_SL1L463->SetBinContent(50,14963.7); h_SL1L463->SetBinContent(51,14321.49); h_SL1L463->SetBinContent(52,13770.42); h_SL1L463->SetBinContent(53,13645.37); h_SL1L463->SetBinContent(54,14009.92); h_SL1L463->SetBinContent(56,14813.22); h_SL1L463->SetBinContent(57,15737.32); h_SL1L463->SetBinContent(58,18660.12); h_SL1L463->SetBinContent(59,19832.2); h_SL1L463->SetMaximum(112302.2); 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 6649"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }