void RatesPerCell_Removing_noisy_cells_run_5662_SL3() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:23:56 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12039.35,67.5,108354.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 5662",60,0,60); h_SL3L168->SetBinContent(1,310); h_SL3L168->SetBinContent(2,271.4286); h_SL3L168->SetBinContent(4,334.2857); h_SL3L168->SetBinContent(5,337.1429); h_SL3L168->SetBinContent(6,365.7143); h_SL3L168->SetBinContent(7,350); h_SL3L168->SetBinContent(8,317.1429); h_SL3L168->SetBinContent(9,324.2857); h_SL3L168->SetBinContent(10,378.5714); h_SL3L168->SetBinContent(11,362.8571); h_SL3L168->SetBinContent(12,418.5714); h_SL3L168->SetBinContent(13,477.1429); h_SL3L168->SetBinContent(14,520); h_SL3L168->SetBinContent(15,538.5714); h_SL3L168->SetBinContent(16,611.4286); h_SL3L168->SetBinContent(17,715.7143); h_SL3L168->SetBinContent(18,725.7143); h_SL3L168->SetBinContent(19,765.7143); h_SL3L168->SetBinContent(20,874.2857); h_SL3L168->SetBinContent(21,978.5715); h_SL3L168->SetBinContent(22,1014.286); h_SL3L168->SetBinContent(23,1140); h_SL3L168->SetBinContent(24,1271.429); h_SL3L168->SetBinContent(25,1480); h_SL3L168->SetBinContent(26,1570); h_SL3L168->SetBinContent(27,1924.286); h_SL3L168->SetBinContent(28,2234.286); h_SL3L168->SetBinContent(29,2624.286); h_SL3L168->SetBinContent(30,3132.857); h_SL3L168->SetBinContent(31,3795.714); h_SL3L168->SetBinContent(32,5484.286); h_SL3L168->SetBinContent(33,8760); h_SL3L168->SetBinContent(34,38021.43); h_SL3L168->SetBinContent(35,51408.57); h_SL3L168->SetBinContent(36,59404.29); h_SL3L168->SetBinContent(37,67795.72); h_SL3L168->SetBinContent(38,72828.57); h_SL3L168->SetBinContent(39,66844.29); h_SL3L168->SetBinContent(40,44975.71); h_SL3L168->SetBinContent(41,10040); h_SL3L168->SetBinContent(42,5804.286); h_SL3L168->SetBinContent(43,4495.714); h_SL3L168->SetBinContent(44,3860); h_SL3L168->SetBinContent(45,3464.286); h_SL3L168->SetBinContent(46,3065.714); h_SL3L168->SetBinContent(47,2724.286); h_SL3L168->SetBinContent(48,2581.429); h_SL3L168->SetBinContent(49,22550); h_SL3L168->SetBinContent(50,2041.429); h_SL3L168->SetBinContent(51,1937.143); h_SL3L168->SetBinContent(52,1857.143); h_SL3L168->SetBinContent(53,1637.143); h_SL3L168->SetBinContent(54,1677.143); h_SL3L168->SetBinContent(55,1485.714); h_SL3L168->SetBinContent(56,1442.857); h_SL3L168->SetBinContent(57,1257.143); h_SL3L168->SetBinContent(58,1174.286); h_SL3L168->SetBinContent(59,1147.143); h_SL3L168->SetMaximum(96314.8); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,294.2857); h_SL3L269->SetBinContent(2,264.2857); h_SL3L269->SetBinContent(4,308.5714); h_SL3L269->SetBinContent(5,337.1429); h_SL3L269->SetBinContent(6,354.2857); h_SL3L269->SetBinContent(7,360); h_SL3L269->SetBinContent(8,315.7143); h_SL3L269->SetBinContent(9,324.2857); h_SL3L269->SetBinContent(10,324.2857); h_SL3L269->SetBinContent(11,348.5714); h_SL3L269->SetBinContent(12,407.1429); h_SL3L269->SetBinContent(13,422.8571); h_SL3L269->SetBinContent(14,490); h_SL3L269->SetBinContent(15,540); h_SL3L269->SetBinContent(16,587.1429); h_SL3L269->SetBinContent(17,654.2857); h_SL3L269->SetBinContent(18,720); h_SL3L269->SetBinContent(19,715.7143); h_SL3L269->SetBinContent(20,787.1429); h_SL3L269->SetBinContent(21,908.5715); h_SL3L269->SetBinContent(22,975.7143); h_SL3L269->SetBinContent(23,1081.429); h_SL3L269->SetBinContent(24,1261.429); h_SL3L269->SetBinContent(25,1232.857); h_SL3L269->SetBinContent(26,1457.143); h_SL3L269->SetBinContent(27,1694.286); h_SL3L269->SetBinContent(28,2022.857); h_SL3L269->SetBinContent(29,2304.286); h_SL3L269->SetBinContent(30,2727.143); h_SL3L269->SetBinContent(31,3380); h_SL3L269->SetBinContent(32,4134.286); h_SL3L269->SetBinContent(33,7110); h_SL3L269->SetBinContent(34,20075.71); h_SL3L269->SetBinContent(35,46862.86); h_SL3L269->SetBinContent(36,55488.57); h_SL3L269->SetBinContent(37,63067.14); h_SL3L269->SetBinContent(38,71137.15); h_SL3L269->SetBinContent(39,71862.86); h_SL3L269->SetBinContent(40,60034.29); h_SL3L269->SetBinContent(41,21497.14); h_SL3L269->SetBinContent(42,7982.857); h_SL3L269->SetBinContent(43,4904.286); h_SL3L269->SetBinContent(44,4240); h_SL3L269->SetBinContent(45,3580); h_SL3L269->SetBinContent(46,3151.429); h_SL3L269->SetBinContent(47,2721.429); h_SL3L269->SetBinContent(48,2637.143); h_SL3L269->SetBinContent(49,2375.714); h_SL3L269->SetBinContent(50,2152.857); h_SL3L269->SetBinContent(51,2037.143); h_SL3L269->SetBinContent(52,1860); h_SL3L269->SetBinContent(53,1667.143); h_SL3L269->SetBinContent(54,1642.857); h_SL3L269->SetBinContent(55,1528.571); h_SL3L269->SetBinContent(56,1425.714); h_SL3L269->SetBinContent(57,1374.286); h_SL3L269->SetBinContent(58,1182.857); h_SL3L269->SetBinContent(59,1142.857); h_SL3L269->SetMaximum(83752.86); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,307.1429); h_SL3L370->SetBinContent(2,278.5714); h_SL3L370->SetBinContent(3,312.8571); h_SL3L370->SetBinContent(4,344.2857); h_SL3L370->SetBinContent(5,350); h_SL3L370->SetBinContent(6,338.5714); h_SL3L370->SetBinContent(7,325.7143); h_SL3L370->SetBinContent(8,317.1429); h_SL3L370->SetBinContent(9,330); h_SL3L370->SetBinContent(10,360); h_SL3L370->SetBinContent(11,382.8571); h_SL3L370->SetBinContent(12,432.8571); h_SL3L370->SetBinContent(13,487.1429); h_SL3L370->SetBinContent(14,498.5714); h_SL3L370->SetBinContent(15,547.1429); h_SL3L370->SetBinContent(16,602.8572); h_SL3L370->SetBinContent(17,712.8572); h_SL3L370->SetBinContent(18,718.5715); h_SL3L370->SetBinContent(19,728.5715); h_SL3L370->SetBinContent(20,847.1429); h_SL3L370->SetBinContent(21,934.2858); h_SL3L370->SetBinContent(22,987.1429); h_SL3L370->SetBinContent(23,1145.714); h_SL3L370->SetBinContent(24,1215.714); h_SL3L370->SetBinContent(25,1352.857); h_SL3L370->SetBinContent(26,1562.857); h_SL3L370->SetBinContent(27,1841.429); h_SL3L370->SetBinContent(28,2150); h_SL3L370->SetBinContent(29,2492.857); h_SL3L370->SetBinContent(30,3021.429); h_SL3L370->SetBinContent(31,3688.572); h_SL3L370->SetBinContent(32,5351.429); h_SL3L370->SetBinContent(33,8687.143); h_SL3L370->SetBinContent(34,37948.57); h_SL3L370->SetBinContent(35,51218.57); h_SL3L370->SetBinContent(36,59352.86); h_SL3L370->SetBinContent(37,67542.86); h_SL3L370->SetBinContent(38,72570); h_SL3L370->SetBinContent(39,66802.86); h_SL3L370->SetBinContent(40,44877.14); h_SL3L370->SetBinContent(41,9960); h_SL3L370->SetBinContent(42,5691.429); h_SL3L370->SetBinContent(43,4448.572); h_SL3L370->SetBinContent(44,3725.714); h_SL3L370->SetBinContent(45,3328.572); h_SL3L370->SetBinContent(46,2990); h_SL3L370->SetBinContent(47,2558.572); h_SL3L370->SetBinContent(48,2494.286); h_SL3L370->SetBinContent(49,2162.857); h_SL3L370->SetBinContent(50,2060); h_SL3L370->SetBinContent(51,1915.714); h_SL3L370->SetBinContent(52,1704.286); h_SL3L370->SetBinContent(53,1615.714); h_SL3L370->SetBinContent(54,1595.714); h_SL3L370->SetBinContent(55,1387.143); h_SL3L370->SetBinContent(56,1401.429); h_SL3L370->SetBinContent(57,1274.286); h_SL3L370->SetBinContent(58,1112.857); h_SL3L370->SetBinContent(59,1078.571); h_SL3L370->SetMaximum(83752.86); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,277.1429); h_SL3L471->SetBinContent(3,307.1429); h_SL3L471->SetBinContent(4,338.5714); h_SL3L471->SetBinContent(5,331.4286); h_SL3L471->SetBinContent(6,367.1429); h_SL3L471->SetBinContent(7,362.8571); h_SL3L471->SetBinContent(8,294.2857); h_SL3L471->SetBinContent(9,324.2857); h_SL3L471->SetBinContent(10,354.2857); h_SL3L471->SetBinContent(11,357.1429); h_SL3L471->SetBinContent(12,435.7143); h_SL3L471->SetBinContent(13,455.7143); h_SL3L471->SetBinContent(14,501.4286); h_SL3L471->SetBinContent(15,551.4286); h_SL3L471->SetBinContent(16,650); h_SL3L471->SetBinContent(17,675.7143); h_SL3L471->SetBinContent(18,748.5715); h_SL3L471->SetBinContent(19,754.2857); h_SL3L471->SetBinContent(20,830); h_SL3L471->SetBinContent(21,937.1429); h_SL3L471->SetBinContent(22,965.7143); h_SL3L471->SetBinContent(23,1051.429); h_SL3L471->SetBinContent(24,1252.857); h_SL3L471->SetBinContent(25,1268.571); h_SL3L471->SetBinContent(26,1502.857); h_SL3L471->SetBinContent(27,1717.143); h_SL3L471->SetBinContent(28,2027.143); h_SL3L471->SetBinContent(29,2322.857); h_SL3L471->SetBinContent(30,2754.286); h_SL3L471->SetBinContent(31,3342.857); h_SL3L471->SetBinContent(32,4104.286); h_SL3L471->SetBinContent(33,7028.572); h_SL3L471->SetBinContent(34,20227.14); h_SL3L471->SetBinContent(35,47190); h_SL3L471->SetBinContent(36,55657.14); h_SL3L471->SetBinContent(37,62965.71); h_SL3L471->SetBinContent(38,71237.15); h_SL3L471->SetBinContent(39,71645.72); h_SL3L471->SetBinContent(40,59800); h_SL3L471->SetBinContent(41,21560); h_SL3L471->SetBinContent(42,8068.572); h_SL3L471->SetBinContent(43,4932.857); h_SL3L471->SetBinContent(44,4070); h_SL3L471->SetBinContent(45,3468.572); h_SL3L471->SetBinContent(46,3144.286); h_SL3L471->SetBinContent(47,2717.143); h_SL3L471->SetBinContent(48,2561.429); h_SL3L471->SetBinContent(49,2261.429); h_SL3L471->SetBinContent(50,2087.143); h_SL3L471->SetBinContent(51,2008.572); h_SL3L471->SetBinContent(52,1777.143); h_SL3L471->SetBinContent(53,1635.714); h_SL3L471->SetBinContent(54,1575.714); h_SL3L471->SetBinContent(55,1445.714); h_SL3L471->SetBinContent(56,1380); h_SL3L471->SetBinContent(57,1327.143); h_SL3L471->SetBinContent(58,1200); h_SL3L471->SetBinContent(59,1171.429); h_SL3L471->SetMaximum(83752.86); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 5662"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }