void RatesPerCell_Removing_noisy_cells_run_6725_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:46:11 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18993.4,67.5,170940.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6725",60,0,60); h_SL1L160->SetBinContent(1,50323.95); h_SL1L160->SetBinContent(2,49017.33); h_SL1L160->SetBinContent(3,49237.2); h_SL1L160->SetBinContent(4,46052.79); h_SL1L160->SetBinContent(5,43560.85); h_SL1L160->SetBinContent(6,44650.12); h_SL1L160->SetBinContent(7,42696.51); h_SL1L160->SetBinContent(8,42817.82); h_SL1L160->SetBinContent(9,39522.2); h_SL1L160->SetBinContent(10,36600.62); h_SL1L160->SetBinContent(11,35478.49); h_SL1L160->SetBinContent(12,35076.64); h_SL1L160->SetBinContent(13,37093.44); h_SL1L160->SetBinContent(14,35564.41); h_SL1L160->SetBinContent(15,35096.86); h_SL1L160->SetBinContent(16,34169.34); h_SL1L160->SetBinContent(17,34422.07); h_SL1L160->SetBinContent(18,36021.86); h_SL1L160->SetBinContent(19,37720.22); h_SL1L160->SetBinContent(20,35781.77); h_SL1L160->SetBinContent(21,38228.21); h_SL1L160->SetBinContent(22,38579.5); h_SL1L160->SetBinContent(23,37427.05); h_SL1L160->SetBinContent(24,34677.33); h_SL1L160->SetBinContent(25,34449.87); h_SL1L160->SetBinContent(26,34940.17); h_SL1L160->SetBinContent(27,33709.36); h_SL1L160->SetBinContent(28,33638.6); h_SL1L160->SetBinContent(29,32238.46); h_SL1L160->SetBinContent(30,31594); h_SL1L160->SetBinContent(31,30052.34); h_SL1L160->SetBinContent(32,28912.52); h_SL1L160->SetBinContent(33,38736.2); h_SL1L160->SetBinContent(34,46186.73); h_SL1L160->SetBinContent(35,47839.6); h_SL1L160->SetBinContent(36,46363.64); h_SL1L160->SetBinContent(37,49659.27); h_SL1L160->SetBinContent(38,50111.66); h_SL1L160->SetBinContent(39,40384.01); h_SL1L160->SetBinContent(40,29203.16); h_SL1L160->SetBinContent(41,28116.41); h_SL1L160->SetBinContent(42,27613.47); h_SL1L160->SetBinContent(43,27530.07); h_SL1L160->SetBinContent(44,27330.41); h_SL1L160->SetBinContent(45,25821.61); h_SL1L160->SetBinContent(46,24570.58); h_SL1L160->SetBinContent(47,23354.94); h_SL1L160->SetBinContent(48,22136.78); h_SL1L160->SetBinContent(49,23564.71); h_SL1L160->SetBinContent(50,24350.71); h_SL1L160->SetBinContent(51,23653.17); h_SL1L160->SetBinContent(52,22819.15); h_SL1L160->SetBinContent(53,23812.39); h_SL1L160->SetBinContent(54,23392.85); h_SL1L160->SetBinContent(55,24502.35); h_SL1L160->SetBinContent(56,26003.57); h_SL1L160->SetBinContent(57,29438.2); h_SL1L160->SetBinContent(58,31065.79); h_SL1L160->SetBinContent(59,33259.5); h_SL1L160->SetMaximum(151947.2); 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,57953.92); h_SL1L261->SetBinContent(2,55924.49); h_SL1L261->SetBinContent(3,55563.08); h_SL1L261->SetBinContent(4,55889.11); h_SL1L261->SetBinContent(5,54736.65); h_SL1L261->SetBinContent(6,59141.76); h_SL1L261->SetBinContent(7,57506.59); h_SL1L261->SetBinContent(8,57423.19); h_SL1L261->SetBinContent(9,55451.88); h_SL1L261->SetBinContent(10,49727.5); h_SL1L261->SetBinContent(11,48471.43); h_SL1L261->SetBinContent(12,49224.57); h_SL1L261->SetBinContent(13,51504.21); h_SL1L261->SetBinContent(14,54178.11); h_SL1L261->SetBinContent(15,53624.63); h_SL1L261->SetBinContent(16,52995.32); h_SL1L261->SetBinContent(17,53116.64); h_SL1L261->SetBinContent(18,53440.13); h_SL1L261->SetBinContent(19,56773.67); h_SL1L261->SetBinContent(20,56558.84); h_SL1L261->SetBinContent(21,58393.68); h_SL1L261->SetBinContent(22,59786.23); h_SL1L261->SetBinContent(23,60741.55); h_SL1L261->SetBinContent(24,60749.14); h_SL1L261->SetBinContent(25,61057.47); h_SL1L261->SetBinContent(26,59119.02); h_SL1L261->SetBinContent(27,56915.2); h_SL1L261->SetBinContent(28,56162.05); h_SL1L261->SetBinContent(29,59508.22); h_SL1L261->SetBinContent(30,58681.79); h_SL1L261->SetBinContent(31,57165.4); h_SL1L261->SetBinContent(32,56182.27); h_SL1L261->SetBinContent(33,67406.09); h_SL1L261->SetBinContent(34,98873.73); h_SL1L261->SetBinContent(35,107105.2); h_SL1L261->SetBinContent(36,111760.5); h_SL1L261->SetBinContent(37,114894.4); h_SL1L261->SetBinContent(38,112182.6); h_SL1L261->SetBinContent(39,100569.6); h_SL1L261->SetBinContent(40,64320.24); h_SL1L261->SetBinContent(41,52985.22); h_SL1L261->SetBinContent(42,49803.32); h_SL1L261->SetBinContent(43,48660.98); h_SL1L261->SetBinContent(44,47602.03); h_SL1L261->SetBinContent(45,47260.84); h_SL1L261->SetBinContent(46,48089.8); h_SL1L261->SetBinContent(47,47976.07); h_SL1L261->SetBinContent(48,46929.76); h_SL1L261->SetBinContent(49,45122.73); h_SL1L261->SetBinContent(50,45127.79); h_SL1L261->SetBinContent(51,43075.61); h_SL1L261->SetBinContent(52,42600.47); h_SL1L261->SetBinContent(53,43442.07); h_SL1L261->SetBinContent(54,43260.1); h_SL1L261->SetBinContent(55,42959.35); h_SL1L261->SetBinContent(56,43545.68); h_SL1L261->SetBinContent(57,42696.51); h_SL1L261->SetBinContent(58,41268.57); h_SL1L261->SetBinContent(59,39716.8); h_SL1L261->SetMaximum(132128.5); 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,53877.36); h_SL1L362->SetBinContent(2,53680.23); h_SL1L362->SetBinContent(3,53917.8); h_SL1L362->SetBinContent(4,52707.21); h_SL1L362->SetBinContent(5,56096.34); h_SL1L362->SetBinContent(6,57352.42); h_SL1L362->SetBinContent(7,55876.47); h_SL1L362->SetBinContent(8,54802.36); h_SL1L362->SetBinContent(9,50225.39); h_SL1L362->SetBinContent(10,46290.35); h_SL1L362->SetBinContent(11,46366.17); h_SL1L362->SetBinContent(12,49143.7); h_SL1L362->SetBinContent(13,50940.62); h_SL1L362->SetBinContent(14,53809.12); h_SL1L362->SetBinContent(15,52836.11); h_SL1L362->SetBinContent(16,49889.25); h_SL1L362->SetBinContent(17,51291.91); h_SL1L362->SetBinContent(18,52651.61); h_SL1L362->SetBinContent(19,54476.34); h_SL1L362->SetBinContent(20,55335.62); h_SL1L362->SetBinContent(21,58449.28); h_SL1L362->SetBinContent(22,59247.91); h_SL1L362->SetBinContent(23,59096.27); h_SL1L362->SetBinContent(24,59768.54); h_SL1L362->SetBinContent(25,59419.77); h_SL1L362->SetBinContent(26,55130.91); h_SL1L362->SetBinContent(27,56354.13); h_SL1L362->SetBinContent(28,55757.68); h_SL1L362->SetBinContent(29,56429.95); h_SL1L362->SetBinContent(30,55578.25); h_SL1L362->SetBinContent(31,55171.35); h_SL1L362->SetBinContent(32,56146.89); h_SL1L362->SetBinContent(33,84258.25); h_SL1L362->SetBinContent(34,103473.4); h_SL1L362->SetBinContent(35,108609); h_SL1L362->SetBinContent(36,112761.3); h_SL1L362->SetBinContent(37,113633.3); h_SL1L362->SetBinContent(38,106708.4); h_SL1L362->SetBinContent(39,83861.46); h_SL1L362->SetBinContent(40,53930.43); h_SL1L362->SetBinContent(41,49174.02); h_SL1L362->SetBinContent(42,47730.92); h_SL1L362->SetBinContent(43,46040.15); h_SL1L362->SetBinContent(44,45939.05); h_SL1L362->SetBinContent(45,46113.44); h_SL1L362->SetBinContent(46,46881.75); h_SL1L362->SetBinContent(47,46740.21); h_SL1L362->SetBinContent(48,44283.66); h_SL1L362->SetBinContent(49,43452.18); h_SL1L362->SetBinContent(50,43447.12); h_SL1L362->SetBinContent(51,40833.88); h_SL1L362->SetBinContent(52,40833.88); h_SL1L362->SetBinContent(53,42378.06); h_SL1L362->SetBinContent(54,41549.11); h_SL1L362->SetBinContent(55,42436.19); h_SL1L362->SetBinContent(56,42135.44); h_SL1L362->SetBinContent(57,42143.02); h_SL1L362->SetBinContent(58,39686.47); h_SL1L362->SetBinContent(59,39271.99); h_SL1L362->SetMaximum(132128.5); 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,1415.298); h_SL1L463->SetBinContent(3,1018.509); h_SL1L463->SetBinContent(4,773.3593); h_SL1L463->SetBinContent(5,702.5944); h_SL1L463->SetBinContent(6,783.4685); h_SL1L463->SetBinContent(7,985.6539); h_SL1L463->SetBinContent(8,861.8154); h_SL1L463->SetBinContent(9,1071.583); h_SL1L463->SetBinContent(10,1026.091); h_SL1L463->SetBinContent(11,1258.604); h_SL1L463->SetBinContent(12,1374.861); h_SL1L463->SetBinContent(13,1301.569); h_SL1L463->SetBinContent(14,1382.443); h_SL1L463->SetBinContent(15,1336.951); h_SL1L463->SetBinContent(16,1091.801); h_SL1L463->SetBinContent(17,813.7963); h_SL1L463->SetBinContent(18,624.2475); h_SL1L463->SetBinContent(19,720.2856); h_SL1L463->SetBinContent(20,682.3758); h_SL1L463->SetBinContent(21,598.9743); h_SL1L463->SetBinContent(22,770.8319); h_SL1L463->SetBinContent(23,561.0645); h_SL1L463->SetBinContent(24,588.8651); h_SL1L463->SetBinContent(25,361.4064); h_SL1L463->SetBinContent(26,571.1738); h_SL1L463->SetBinContent(27,515.5728); h_SL1L463->SetBinContent(28,465.0265); h_SL1L463->SetBinContent(29,366.4611); h_SL1L463->SetBinContent(30,394.2616); h_SL1L463->SetBinContent(31,566.1192); h_SL1L463->SetBinContent(32,404.3708); h_SL1L463->SetBinContent(33,409.4255); h_SL1L463->SetBinContent(34,758.1953); h_SL1L463->SetBinContent(35,955.3261); h_SL1L463->SetBinContent(36,710.1763); h_SL1L463->SetBinContent(37,472.6084); h_SL1L463->SetBinContent(38,634.3568); h_SL1L463->SetBinContent(39,808.7417); h_SL1L463->SetBinContent(40,368.9884); h_SL1L463->SetBinContent(41,477.6631); h_SL1L463->SetBinContent(42,447.3352); h_SL1L463->SetBinContent(43,649.5207); h_SL1L463->SetBinContent(44,641.9387); h_SL1L463->SetBinContent(45,459.9718); h_SL1L463->SetBinContent(46,558.5372); h_SL1L463->SetBinContent(47,351.2972); h_SL1L463->SetBinContent(48,361.4064); h_SL1L463->SetBinContent(49,310.8601); h_SL1L463->SetBinContent(50,255.2591); h_SL1L463->SetBinContent(51,275.4776); h_SL1L463->SetBinContent(52,212.2947); h_SL1L463->SetBinContent(53,176.9122); h_SL1L463->SetBinContent(54,247.6771); h_SL1L463->SetBinContent(56,278.0049); h_SL1L463->SetBinContent(57,272.9503); h_SL1L463->SetBinContent(58,604.0289); h_SL1L463->SetBinContent(59,722.8129); h_SL1L463->SetMaximum(132128.5); 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 6725"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }