void RatesPerCell_Removing_noisy_cells_run_5373_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:52:01 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11574.61,67.5,104171.5); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5373",60,0,60); h_SL1L160->SetBinContent(1,97.14286); h_SL1L160->SetBinContent(2,84.28571); h_SL1L160->SetBinContent(3,87.14286); h_SL1L160->SetBinContent(4,87.14286); h_SL1L160->SetBinContent(5,82.85715); h_SL1L160->SetBinContent(6,112.8571); h_SL1L160->SetBinContent(7,85.71429); h_SL1L160->SetBinContent(8,92.85715); h_SL1L160->SetBinContent(9,87.14286); h_SL1L160->SetBinContent(10,110); h_SL1L160->SetBinContent(11,135.7143); h_SL1L160->SetBinContent(12,157.1429); h_SL1L160->SetBinContent(13,167.1429); h_SL1L160->SetBinContent(14,162.8571); h_SL1L160->SetBinContent(15,130); h_SL1L160->SetBinContent(16,151.4286); h_SL1L160->SetBinContent(17,155.7143); h_SL1L160->SetBinContent(18,218.5714); h_SL1L160->SetBinContent(19,204.2857); h_SL1L160->SetBinContent(20,245.7143); h_SL1L160->SetBinContent(21,264.2857); h_SL1L160->SetBinContent(22,322.8571); h_SL1L160->SetBinContent(23,297.1429); h_SL1L160->SetBinContent(24,300); h_SL1L160->SetBinContent(25,358.5714); h_SL1L160->SetBinContent(26,420); h_SL1L160->SetBinContent(27,514.2857); h_SL1L160->SetBinContent(28,557.1429); h_SL1L160->SetBinContent(29,650); h_SL1L160->SetBinContent(30,745.7143); h_SL1L160->SetBinContent(31,944.2858); h_SL1L160->SetBinContent(32,1328.571); h_SL1L160->SetBinContent(33,5518.572); h_SL1L160->SetBinContent(34,8120); h_SL1L160->SetBinContent(35,9010); h_SL1L160->SetBinContent(36,8917.144); h_SL1L160->SetBinContent(37,11997.14); h_SL1L160->SetBinContent(38,10562.86); h_SL1L160->SetBinContent(39,6107.143); h_SL1L160->SetBinContent(40,1325.714); h_SL1L160->SetBinContent(41,1008.571); h_SL1L160->SetBinContent(42,922.8572); h_SL1L160->SetBinContent(43,817.1429); h_SL1L160->SetBinContent(44,705.7143); h_SL1L160->SetBinContent(45,534.2857); h_SL1L160->SetBinContent(46,448.5714); h_SL1L160->SetBinContent(47,465.7143); h_SL1L160->SetBinContent(48,400); h_SL1L160->SetBinContent(49,462.8571); h_SL1L160->SetBinContent(50,425.7143); h_SL1L160->SetBinContent(51,378.5714); h_SL1L160->SetBinContent(52,358.5714); h_SL1L160->SetBinContent(53,370); h_SL1L160->SetBinContent(54,235.7143); h_SL1L160->SetBinContent(55,245.7143); h_SL1L160->SetBinContent(56,244.2857); h_SL1L160->SetBinContent(57,282.8571); h_SL1L160->SetBinContent(58,252.8571); h_SL1L160->SetBinContent(59,248.5714); h_SL1L160->SetMaximum(92596.85); 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,538.5714); h_SL1L261->SetBinContent(2,574.2857); h_SL1L261->SetBinContent(3,545.7143); h_SL1L261->SetBinContent(4,590); h_SL1L261->SetBinContent(5,607.1429); h_SL1L261->SetBinContent(6,582.8572); h_SL1L261->SetBinContent(7,567.1429); h_SL1L261->SetBinContent(8,678.5715); h_SL1L261->SetBinContent(9,695.7143); h_SL1L261->SetBinContent(10,808.5715); h_SL1L261->SetBinContent(11,825.7143); h_SL1L261->SetBinContent(12,892.8572); h_SL1L261->SetBinContent(13,1018.571); h_SL1L261->SetBinContent(14,1122.857); h_SL1L261->SetBinContent(15,1097.143); h_SL1L261->SetBinContent(16,1131.429); h_SL1L261->SetBinContent(17,1200); h_SL1L261->SetBinContent(18,1340); h_SL1L261->SetBinContent(19,1601.429); h_SL1L261->SetBinContent(20,1788.571); h_SL1L261->SetBinContent(21,1988.572); h_SL1L261->SetBinContent(22,2185.714); h_SL1L261->SetBinContent(23,2272.857); h_SL1L261->SetBinContent(24,2570); h_SL1L261->SetBinContent(25,2872.857); h_SL1L261->SetBinContent(26,2935.714); h_SL1L261->SetBinContent(27,3221.429); h_SL1L261->SetBinContent(28,3978.572); h_SL1L261->SetBinContent(29,4351.429); h_SL1L261->SetBinContent(30,5042.857); h_SL1L261->SetBinContent(31,5931.429); h_SL1L261->SetBinContent(32,9318.571); h_SL1L261->SetBinContent(33,25631.43); h_SL1L261->SetBinContent(34,53504.29); h_SL1L261->SetBinContent(35,59208.57); h_SL1L261->SetBinContent(36,65665.72); h_SL1L261->SetBinContent(37,69271.43); h_SL1L261->SetBinContent(38,67954.29); h_SL1L261->SetBinContent(39,55368.57); h_SL1L261->SetBinContent(40,19588.57); h_SL1L261->SetBinContent(41,9135.715); h_SL1L261->SetBinContent(42,6444.286); h_SL1L261->SetBinContent(43,5404.286); h_SL1L261->SetBinContent(44,4742.857); h_SL1L261->SetBinContent(45,4440); h_SL1L261->SetBinContent(46,3904.286); h_SL1L261->SetBinContent(47,3685.714); h_SL1L261->SetBinContent(48,3571.429); h_SL1L261->SetBinContent(49,3391.429); h_SL1L261->SetBinContent(50,3058.572); h_SL1L261->SetBinContent(51,2918.572); h_SL1L261->SetBinContent(52,2625.714); h_SL1L261->SetBinContent(53,2462.857); h_SL1L261->SetBinContent(54,2288.572); h_SL1L261->SetBinContent(55,2261.429); h_SL1L261->SetBinContent(56,2078.572); h_SL1L261->SetBinContent(57,1988.572); h_SL1L261->SetBinContent(58,2071.429); h_SL1L261->SetBinContent(59,1900); h_SL1L261->SetMaximum(80519.71); 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,520); h_SL1L362->SetBinContent(2,492.8571); h_SL1L362->SetBinContent(3,552.8572); h_SL1L362->SetBinContent(4,554.2857); h_SL1L362->SetBinContent(5,522.8572); h_SL1L362->SetBinContent(6,535.7143); h_SL1L362->SetBinContent(7,552.8572); h_SL1L362->SetBinContent(8,678.5715); h_SL1L362->SetBinContent(9,685.7143); h_SL1L362->SetBinContent(10,735.7143); h_SL1L362->SetBinContent(11,781.4286); h_SL1L362->SetBinContent(12,914.2858); h_SL1L362->SetBinContent(13,998.5715); h_SL1L362->SetBinContent(14,1104.286); h_SL1L362->SetBinContent(15,1058.571); h_SL1L362->SetBinContent(16,1138.571); h_SL1L362->SetBinContent(17,1204.286); h_SL1L362->SetBinContent(18,1415.714); h_SL1L362->SetBinContent(19,1548.571); h_SL1L362->SetBinContent(20,1807.143); h_SL1L362->SetBinContent(21,2092.857); h_SL1L362->SetBinContent(22,2121.429); h_SL1L362->SetBinContent(23,2364.286); h_SL1L362->SetBinContent(24,2601.429); h_SL1L362->SetBinContent(25,2760); h_SL1L362->SetBinContent(26,3021.429); h_SL1L362->SetBinContent(27,3345.714); h_SL1L362->SetBinContent(28,4188.571); h_SL1L362->SetBinContent(29,4531.429); h_SL1L362->SetBinContent(30,5334.286); h_SL1L362->SetBinContent(31,7418.572); h_SL1L362->SetBinContent(32,11618.57); h_SL1L362->SetBinContent(33,44938.57); h_SL1L362->SetBinContent(34,56938.57); h_SL1L362->SetBinContent(35,62437.14); h_SL1L362->SetBinContent(36,68020); h_SL1L362->SetBinContent(37,70017.14); h_SL1L362->SetBinContent(38,62624.29); h_SL1L362->SetBinContent(39,40322.86); h_SL1L362->SetBinContent(40,10445.71); h_SL1L362->SetBinContent(41,6941.429); h_SL1L362->SetBinContent(42,5742.857); h_SL1L362->SetBinContent(43,5031.429); h_SL1L362->SetBinContent(44,4524.286); h_SL1L362->SetBinContent(45,4077.143); h_SL1L362->SetBinContent(46,3695.714); h_SL1L362->SetBinContent(47,3565.714); h_SL1L362->SetBinContent(48,3341.429); h_SL1L362->SetBinContent(49,3065.714); h_SL1L362->SetBinContent(50,2877.143); h_SL1L362->SetBinContent(51,2670); h_SL1L362->SetBinContent(52,2528.572); h_SL1L362->SetBinContent(53,2280); h_SL1L362->SetBinContent(54,2147.143); h_SL1L362->SetBinContent(55,2108.572); h_SL1L362->SetBinContent(56,2000); h_SL1L362->SetBinContent(57,1935.714); h_SL1L362->SetBinContent(58,1941.429); h_SL1L362->SetBinContent(59,1760); h_SL1L362->SetMaximum(80519.71); 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,632.8572); h_SL1L463->SetBinContent(3,462.8571); h_SL1L463->SetBinContent(4,495.7143); h_SL1L463->SetBinContent(5,558.5715); h_SL1L463->SetBinContent(6,512.8572); h_SL1L463->SetBinContent(7,492.8571); h_SL1L463->SetBinContent(8,592.8572); h_SL1L463->SetBinContent(9,624.2857); h_SL1L463->SetBinContent(10,712.8572); h_SL1L463->SetBinContent(11,705.7143); h_SL1L463->SetBinContent(12,784.2857); h_SL1L463->SetBinContent(13,917.1429); h_SL1L463->SetBinContent(14,1008.571); h_SL1L463->SetBinContent(15,970); h_SL1L463->SetBinContent(16,1024.286); h_SL1L463->SetBinContent(17,1147.143); h_SL1L463->SetBinContent(18,1278.571); h_SL1L463->SetBinContent(19,1440); h_SL1L463->SetBinContent(20,1598.571); h_SL1L463->SetBinContent(21,1827.143); h_SL1L463->SetBinContent(22,2015.714); h_SL1L463->SetBinContent(23,2078.572); h_SL1L463->SetBinContent(24,2460); h_SL1L463->SetBinContent(25,2605.714); h_SL1L463->SetBinContent(26,2857.143); h_SL1L463->SetBinContent(27,3120); h_SL1L463->SetBinContent(28,3780); h_SL1L463->SetBinContent(29,4128.571); h_SL1L463->SetBinContent(30,4937.143); h_SL1L463->SetBinContent(31,5770); h_SL1L463->SetBinContent(32,9204.286); h_SL1L463->SetBinContent(33,25481.43); h_SL1L463->SetBinContent(34,54137.14); h_SL1L463->SetBinContent(35,59631.43); h_SL1L463->SetBinContent(36,65937.14); h_SL1L463->SetBinContent(37,69791.43); h_SL1L463->SetBinContent(38,67931.43); h_SL1L463->SetBinContent(39,55910); h_SL1L463->SetBinContent(40,19854.29); h_SL1L463->SetBinContent(41,8905.715); h_SL1L463->SetBinContent(42,6345.714); h_SL1L463->SetBinContent(43,5332.857); h_SL1L463->SetBinContent(44,4691.429); h_SL1L463->SetBinContent(45,4250); h_SL1L463->SetBinContent(46,3781.429); h_SL1L463->SetBinContent(47,3525.714); h_SL1L463->SetBinContent(48,3355.714); h_SL1L463->SetBinContent(49,3070); h_SL1L463->SetBinContent(50,2925.714); h_SL1L463->SetBinContent(51,2777.143); h_SL1L463->SetBinContent(52,2545.714); h_SL1L463->SetBinContent(53,2258.572); h_SL1L463->SetBinContent(54,2171.429); h_SL1L463->SetBinContent(56,1905.714); h_SL1L463->SetBinContent(57,1908.572); h_SL1L463->SetBinContent(58,1867.143); h_SL1L463->SetBinContent(59,1754.286); h_SL1L463->SetMaximum(80519.71); 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 5373"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }