void RatesPerCell_Removing_noisy_cells_run_6651_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:58:15 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-16203.64,67.5,145832.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6651",60,0,60); h_SL1L160->SetBinContent(1,32130.47); h_SL1L160->SetBinContent(2,31016.27); h_SL1L160->SetBinContent(3,30561.63); h_SL1L160->SetBinContent(4,28712.48); h_SL1L160->SetBinContent(5,27023.51); h_SL1L160->SetBinContent(6,28651.24); h_SL1L160->SetBinContent(7,27252.01); h_SL1L160->SetBinContent(8,27082.4); h_SL1L160->SetBinContent(9,25332.19); h_SL1L160->SetBinContent(10,23268.68); h_SL1L160->SetBinContent(11,22451.28); h_SL1L160->SetBinContent(12,22726.89); h_SL1L160->SetBinContent(13,23803.4); h_SL1L160->SetBinContent(14,23242.77); h_SL1L160->SetBinContent(15,22776.36); h_SL1L160->SetBinContent(16,22072.03); h_SL1L160->SetBinContent(17,22632.66); h_SL1L160->SetBinContent(18,23393.52); h_SL1L160->SetBinContent(19,24752.71); h_SL1L160->SetBinContent(20,23560.77); h_SL1L160->SetBinContent(21,25421.7); h_SL1L160->SetBinContent(22,25610.15); h_SL1L160->SetBinContent(23,25433.48); h_SL1L160->SetBinContent(24,23332.28); h_SL1L160->SetBinContent(25,23360.54); h_SL1L160->SetBinContent(26,23200.37); h_SL1L160->SetBinContent(27,23011.92); h_SL1L160->SetBinContent(28,22967.16); h_SL1L160->SetBinContent(29,22569.06); h_SL1L160->SetBinContent(30,22597.33); h_SL1L160->SetBinContent(31,22390.04); h_SL1L160->SetBinContent(32,21824.69); h_SL1L160->SetBinContent(33,33774.68); h_SL1L160->SetBinContent(34,42813.14); h_SL1L160->SetBinContent(35,44523.31); h_SL1L160->SetBinContent(36,43644.67); h_SL1L160->SetBinContent(37,46756.43); h_SL1L160->SetBinContent(38,47024.96); h_SL1L160->SetBinContent(39,35107.95); h_SL1L160->SetBinContent(40,21445.44); h_SL1L160->SetBinContent(41,19297.12); h_SL1L160->SetBinContent(42,19466.73); h_SL1L160->SetBinContent(43,19242.95); h_SL1L160->SetBinContent(44,18837.78); h_SL1L160->SetBinContent(45,17777.76); h_SL1L160->SetBinContent(46,16743.65); h_SL1L160->SetBinContent(47,16347.91); h_SL1L160->SetBinContent(48,15862.65); h_SL1L160->SetBinContent(49,15992.21); h_SL1L160->SetBinContent(50,16682.4); h_SL1L160->SetBinContent(51,15949.81); h_SL1L160->SetBinContent(52,14741.38); h_SL1L160->SetBinContent(53,15827.32); h_SL1L160->SetBinContent(54,15617.67); h_SL1L160->SetBinContent(55,16131.19); h_SL1L160->SetBinContent(56,17438.55); h_SL1L160->SetBinContent(57,19207.61); h_SL1L160->SetBinContent(58,20868.31); h_SL1L160->SetBinContent(59,22053.18); h_SL1L160->SetMaximum(129629.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,36728.61); h_SL1L261->SetBinContent(2,34808.79); h_SL1L261->SetBinContent(3,34488.43); h_SL1L261->SetBinContent(4,34523.76); h_SL1L261->SetBinContent(5,34415.41); h_SL1L261->SetBinContent(6,37805.12); h_SL1L261->SetBinContent(7,36299.89); h_SL1L261->SetBinContent(8,37006.57); h_SL1L261->SetBinContent(9,35612.05); h_SL1L261->SetBinContent(10,31263.6); h_SL1L261->SetBinContent(11,30118.78); h_SL1L261->SetBinContent(12,30698.26); h_SL1L261->SetBinContent(13,32057.44); h_SL1L261->SetBinContent(14,34307.05); h_SL1L261->SetBinContent(15,34716.92); h_SL1L261->SetBinContent(16,34038.51); h_SL1L261->SetBinContent(17,33489.65); h_SL1L261->SetBinContent(18,33786.46); h_SL1L261->SetBinContent(19,36476.56); h_SL1L261->SetBinContent(20,37070.17); h_SL1L261->SetBinContent(21,37972.37); h_SL1L261->SetBinContent(22,39157.24); h_SL1L261->SetBinContent(23,38653.14); h_SL1L261->SetBinContent(24,39576.54); h_SL1L261->SetBinContent(25,40445.76); h_SL1L261->SetBinContent(26,38563.63); h_SL1L261->SetBinContent(27,37581.34); h_SL1L261->SetBinContent(28,37341.07); h_SL1L261->SetBinContent(29,39527.07); h_SL1L261->SetBinContent(30,39166.66); h_SL1L261->SetBinContent(31,39739.07); h_SL1L261->SetBinContent(32,40547.05); h_SL1L261->SetBinContent(33,49870.54); h_SL1L261->SetBinContent(34,80151.85); h_SL1L261->SetBinContent(35,88422.38); h_SL1L261->SetBinContent(36,93333.82); h_SL1L261->SetBinContent(37,98019.12); h_SL1L261->SetBinContent(38,95684.72); h_SL1L261->SetBinContent(39,83763); h_SL1L261->SetBinContent(40,47451.33); h_SL1L261->SetBinContent(41,36683.85); h_SL1L261->SetBinContent(42,32620.43); h_SL1L261->SetBinContent(43,32676.97); h_SL1L261->SetBinContent(44,31072.8); h_SL1L261->SetBinContent(45,31013.91); h_SL1L261->SetBinContent(46,31440.27); h_SL1L261->SetBinContent(47,31857.22); h_SL1L261->SetBinContent(48,31169.38); h_SL1L261->SetBinContent(49,29565.21); h_SL1L261->SetBinContent(50,29141.2); h_SL1L261->SetBinContent(51,28293.19); h_SL1L261->SetBinContent(52,26957.56); h_SL1L261->SetBinContent(53,28717.19); h_SL1L261->SetBinContent(54,28088.25); h_SL1L261->SetBinContent(55,28314.38); h_SL1L261->SetBinContent(56,28634.75); h_SL1L261->SetBinContent(57,27343.88); h_SL1L261->SetBinContent(58,27353.3); h_SL1L261->SetBinContent(59,25883.4); h_SL1L261->SetMaximum(112722); 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,34853.55); h_SL1L362->SetBinContent(2,33444.89); h_SL1L362->SetBinContent(3,34203.4); h_SL1L362->SetBinContent(4,33166.93); h_SL1L362->SetBinContent(5,35388.27); h_SL1L362->SetBinContent(6,36212.73); h_SL1L362->SetBinContent(7,35440.09); h_SL1L362->SetBinContent(8,34620.34); h_SL1L362->SetBinContent(9,32311.85); h_SL1L362->SetBinContent(10,29468.63); h_SL1L362->SetBinContent(11,28915.06); h_SL1L362->SetBinContent(12,29939.75); h_SL1L362->SetBinContent(13,32594.52); h_SL1L362->SetBinContent(14,33093.91); h_SL1L362->SetBinContent(15,33883.04); h_SL1L362->SetBinContent(16,32333.05); h_SL1L362->SetBinContent(17,32926.66); h_SL1L362->SetBinContent(18,34504.92); h_SL1L362->SetBinContent(19,35692.14); h_SL1L362->SetBinContent(20,35729.83); h_SL1L362->SetBinContent(21,37414.09); h_SL1L362->SetBinContent(22,37798.05); h_SL1L362->SetBinContent(23,37578.98); h_SL1L362->SetBinContent(24,38660.21); h_SL1L362->SetBinContent(25,38469.4); h_SL1L362->SetBinContent(26,35713.34); h_SL1L362->SetBinContent(27,36302.25); h_SL1L362->SetBinContent(28,37765.08); h_SL1L362->SetBinContent(29,37494.18); h_SL1L362->SetBinContent(30,38139.62); h_SL1L362->SetBinContent(31,38222.06); h_SL1L362->SetBinContent(32,40589.45); h_SL1L362->SetBinContent(33,66903.92); h_SL1L362->SetBinContent(34,85548.55); h_SL1L362->SetBinContent(35,90448.2); h_SL1L362->SetBinContent(36,95088.75); h_SL1L362->SetBinContent(37,96617.54); h_SL1L362->SetBinContent(38,91176.09); h_SL1L362->SetBinContent(39,67229); h_SL1L362->SetBinContent(40,37856.95); h_SL1L362->SetBinContent(41,33089.2); h_SL1L362->SetBinContent(42,31718.24); h_SL1L362->SetBinContent(43,31395.52); h_SL1L362->SetBinContent(44,30010.42); h_SL1L362->SetBinContent(45,29925.62); h_SL1L362->SetBinContent(46,30314.29); h_SL1L362->SetBinContent(47,30648.79); h_SL1L362->SetBinContent(48,29339.07); h_SL1L362->SetBinContent(49,28024.65); h_SL1L362->SetBinContent(50,28377.99); h_SL1L362->SetBinContent(51,26658.39); h_SL1L362->SetBinContent(52,26060.07); h_SL1L362->SetBinContent(53,27120.09); h_SL1L362->SetBinContent(54,27143.65); h_SL1L362->SetBinContent(55,28267.27); h_SL1L362->SetBinContent(56,26889.24); h_SL1L362->SetBinContent(57,27138.94); h_SL1L362->SetBinContent(58,25687.88); h_SL1L362->SetBinContent(59,25247.39); h_SL1L362->SetMaximum(112722); 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,18364.3); h_SL1L463->SetBinContent(3,16404.44); h_SL1L463->SetBinContent(4,15382.11); h_SL1L463->SetBinContent(5,14592.98); h_SL1L463->SetBinContent(6,15047.61); h_SL1L463->SetBinContent(7,15709.54); h_SL1L463->SetBinContent(8,15676.56); h_SL1L463->SetBinContent(9,16338.48); h_SL1L463->SetBinContent(10,15704.83); h_SL1L463->SetBinContent(11,16724.8); h_SL1L463->SetBinContent(12,16778.98); h_SL1L463->SetBinContent(13,17323.13); h_SL1L463->SetBinContent(14,18010.96); h_SL1L463->SetBinContent(15,17841.36); h_SL1L463->SetBinContent(16,16362.04); h_SL1L463->SetBinContent(17,14941.61); h_SL1L463->SetBinContent(18,14524.67); h_SL1L463->SetBinContent(19,14675.43); h_SL1L463->SetBinContent(20,14541.16); h_SL1L463->SetBinContent(21,14578.85); h_SL1L463->SetBinContent(22,14552.93); h_SL1L463->SetBinContent(23,14211.37); h_SL1L463->SetBinContent(24,14807.34); h_SL1L463->SetBinContent(25,13368.06); h_SL1L463->SetBinContent(26,14027.63); h_SL1L463->SetBinContent(27,13295.04); h_SL1L463->SetBinContent(28,12885.17); h_SL1L463->SetBinContent(29,12814.5); h_SL1L463->SetBinContent(30,13262.06); h_SL1L463->SetBinContent(31,13085.39); h_SL1L463->SetBinContent(32,12946.41); h_SL1L463->SetBinContent(33,13113.66); h_SL1L463->SetBinContent(34,19848.34); h_SL1L463->SetBinContent(35,26380.43); h_SL1L463->SetBinContent(36,27541.75); h_SL1L463->SetBinContent(37,24561.9); h_SL1L463->SetBinContent(38,23666.77); h_SL1L463->SetBinContent(39,22493.68); h_SL1L463->SetBinContent(40,12762.67); h_SL1L463->SetBinContent(41,11217.4); h_SL1L463->SetBinContent(42,10859.34); h_SL1L463->SetBinContent(43,11226.82); h_SL1L463->SetBinContent(44,10866.41); h_SL1L463->SetBinContent(45,9950.08); h_SL1L463->SetBinContent(46,10456.54); h_SL1L463->SetBinContent(47,9476.604); h_SL1L463->SetBinContent(48,9420.068); h_SL1L463->SetBinContent(49,8814.678); h_SL1L463->SetBinContent(50,8913.613); h_SL1L463->SetBinContent(51,8183.375); h_SL1L463->SetBinContent(52,8023.194); h_SL1L463->SetBinContent(53,7523.806); h_SL1L463->SetBinContent(54,8164.531); h_SL1L463->SetBinContent(55,2.355606); h_SL1L463->SetBinContent(56,8376.535); h_SL1L463->SetBinContent(57,9266.954); h_SL1L463->SetBinContent(58,11389.36); h_SL1L463->SetBinContent(59,12399.91); h_SL1L463->SetMaximum(112722); 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.3744221,0.9362587,0.6255779,0.995,"blNDC"); pt->SetName("title"); pt->SetBorderSize(0); pt->SetFillColor(0); pt->SetFillStyle(0); pt->SetTextFont(42); TText *AText = pt->AddText("SL1, run 6651"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }