void RatesPerCell_Removing_noisy_cells_run_5398_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:31:18 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11526.88,67.5,103741.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5398",60,0,60); h_SL1L160->SetBinContent(1,407.1429); h_SL1L160->SetBinContent(2,505.7143); h_SL1L160->SetBinContent(3,517.1429); h_SL1L160->SetBinContent(4,488.5714); h_SL1L160->SetBinContent(5,522.8572); h_SL1L160->SetBinContent(6,538.5714); h_SL1L160->SetBinContent(7,558.5715); h_SL1L160->SetBinContent(8,652.8572); h_SL1L160->SetBinContent(9,631.4286); h_SL1L160->SetBinContent(10,662.8572); h_SL1L160->SetBinContent(11,787.1429); h_SL1L160->SetBinContent(12,858.5715); h_SL1L160->SetBinContent(13,970); h_SL1L160->SetBinContent(14,1037.143); h_SL1L160->SetBinContent(15,900); h_SL1L160->SetBinContent(16,941.4286); h_SL1L160->SetBinContent(17,1100); h_SL1L160->SetBinContent(18,1412.857); h_SL1L160->SetBinContent(19,1465.714); h_SL1L160->SetBinContent(20,1730); h_SL1L160->SetBinContent(21,1888.572); h_SL1L160->SetBinContent(22,2101.429); h_SL1L160->SetBinContent(23,2347.143); h_SL1L160->SetBinContent(24,2680); h_SL1L160->SetBinContent(25,2784.286); h_SL1L160->SetBinContent(26,2914.286); h_SL1L160->SetBinContent(27,3342.857); h_SL1L160->SetBinContent(28,4138.571); h_SL1L160->SetBinContent(29,4461.429); h_SL1L160->SetBinContent(30,4871.429); h_SL1L160->SetBinContent(31,7044.286); h_SL1L160->SetBinContent(32,13654.29); h_SL1L160->SetBinContent(33,64938.57); h_SL1L160->SetBinContent(34,65465.71); h_SL1L160->SetBinContent(35,61687.14); h_SL1L160->SetBinContent(36,59165.71); h_SL1L160->SetBinContent(37,54147.14); h_SL1L160->SetBinContent(38,43561.43); h_SL1L160->SetBinContent(39,24915.71); h_SL1L160->SetBinContent(40,6758.572); h_SL1L160->SetBinContent(41,4560); h_SL1L160->SetBinContent(42,3918.572); h_SL1L160->SetBinContent(43,3567.143); h_SL1L160->SetBinContent(44,3255.714); h_SL1L160->SetBinContent(45,3035.714); h_SL1L160->SetBinContent(46,2784.286); h_SL1L160->SetBinContent(47,2512.857); h_SL1L160->SetBinContent(48,2325.714); h_SL1L160->SetBinContent(49,2357.143); h_SL1L160->SetBinContent(50,2241.429); h_SL1L160->SetBinContent(51,1954.286); h_SL1L160->SetBinContent(52,1945.714); h_SL1L160->SetBinContent(53,1844.286); h_SL1L160->SetBinContent(54,1672.857); h_SL1L160->SetBinContent(55,1667.143); h_SL1L160->SetBinContent(56,1550); h_SL1L160->SetBinContent(57,1462.857); h_SL1L160->SetBinContent(58,1488.571); h_SL1L160->SetBinContent(59,1370); h_SL1L160->SetMaximum(92215.05); 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,392.8571); h_SL1L261->SetBinContent(2,392.8571); h_SL1L261->SetBinContent(3,461.4286); h_SL1L261->SetBinContent(4,431.4286); h_SL1L261->SetBinContent(5,432.8571); h_SL1L261->SetBinContent(6,480); h_SL1L261->SetBinContent(7,498.5714); h_SL1L261->SetBinContent(8,541.4286); h_SL1L261->SetBinContent(9,601.4286); h_SL1L261->SetBinContent(10,587.1429); h_SL1L261->SetBinContent(11,702.8572); h_SL1L261->SetBinContent(12,770); h_SL1L261->SetBinContent(13,850); h_SL1L261->SetBinContent(14,937.1429); h_SL1L261->SetBinContent(15,911.4286); h_SL1L261->SetBinContent(16,848.5715); h_SL1L261->SetBinContent(17,1015.714); h_SL1L261->SetBinContent(18,1214.286); h_SL1L261->SetBinContent(19,1344.286); h_SL1L261->SetBinContent(20,1495.714); h_SL1L261->SetBinContent(21,1734.286); h_SL1L261->SetBinContent(22,1858.572); h_SL1L261->SetBinContent(23,2271.429); h_SL1L261->SetBinContent(24,2352.857); h_SL1L261->SetBinContent(25,2645.714); h_SL1L261->SetBinContent(26,2682.857); h_SL1L261->SetBinContent(27,3148.572); h_SL1L261->SetBinContent(28,3618.572); h_SL1L261->SetBinContent(29,4084.286); h_SL1L261->SetBinContent(30,4650); h_SL1L261->SetBinContent(31,5365.714); h_SL1L261->SetBinContent(32,9485.715); h_SL1L261->SetBinContent(33,38661.43); h_SL1L261->SetBinContent(34,69334.29); h_SL1L261->SetBinContent(35,63384.29); h_SL1L261->SetBinContent(36,61378.57); h_SL1L261->SetBinContent(37,57217.14); h_SL1L261->SetBinContent(38,49650); h_SL1L261->SetBinContent(39,37144.29); h_SL1L261->SetBinContent(40,11747.14); h_SL1L261->SetBinContent(41,5834.286); h_SL1L261->SetBinContent(42,4028.572); h_SL1L261->SetBinContent(43,3670); h_SL1L261->SetBinContent(44,3332.857); h_SL1L261->SetBinContent(45,3070); h_SL1L261->SetBinContent(46,2848.572); h_SL1L261->SetBinContent(47,2565.714); h_SL1L261->SetBinContent(48,2331.429); h_SL1L261->SetBinContent(49,2270); h_SL1L261->SetBinContent(50,2235.714); h_SL1L261->SetBinContent(51,2054.286); h_SL1L261->SetBinContent(52,1878.572); h_SL1L261->SetBinContent(53,1824.286); h_SL1L261->SetBinContent(54,1708.571); h_SL1L261->SetBinContent(55,1591.429); h_SL1L261->SetBinContent(56,1495.714); h_SL1L261->SetBinContent(57,1500); h_SL1L261->SetBinContent(58,1411.429); h_SL1L261->SetBinContent(59,1395.714); h_SL1L261->SetMaximum(80187.86); 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,351.4286); h_SL1L362->SetBinContent(2,397.1429); h_SL1L362->SetBinContent(3,462.8571); h_SL1L362->SetBinContent(4,375.7143); h_SL1L362->SetBinContent(5,427.1429); h_SL1L362->SetBinContent(6,434.2857); h_SL1L362->SetBinContent(7,502.8571); h_SL1L362->SetBinContent(8,490); h_SL1L362->SetBinContent(9,551.4286); h_SL1L362->SetBinContent(10,567.1429); h_SL1L362->SetBinContent(11,690); h_SL1L362->SetBinContent(12,804.2857); h_SL1L362->SetBinContent(13,827.1429); h_SL1L362->SetBinContent(14,908.5715); h_SL1L362->SetBinContent(15,791.4286); h_SL1L362->SetBinContent(16,850); h_SL1L362->SetBinContent(17,1045.714); h_SL1L362->SetBinContent(18,1241.429); h_SL1L362->SetBinContent(19,1345.714); h_SL1L362->SetBinContent(20,1508.571); h_SL1L362->SetBinContent(21,1792.857); h_SL1L362->SetBinContent(22,1885.714); h_SL1L362->SetBinContent(23,2247.143); h_SL1L362->SetBinContent(24,2444.286); h_SL1L362->SetBinContent(25,2522.857); h_SL1L362->SetBinContent(26,2758.572); h_SL1L362->SetBinContent(27,3298.572); h_SL1L362->SetBinContent(28,3970); h_SL1L362->SetBinContent(29,4232.857); h_SL1L362->SetBinContent(30,4845.714); h_SL1L362->SetBinContent(31,7062.857); h_SL1L362->SetBinContent(32,13852.86); h_SL1L362->SetBinContent(33,66104.29); h_SL1L362->SetBinContent(34,66081.43); h_SL1L362->SetBinContent(35,62280); h_SL1L362->SetBinContent(36,59882.86); h_SL1L362->SetBinContent(37,54537.14); h_SL1L362->SetBinContent(38,44154.29); h_SL1L362->SetBinContent(39,25102.86); h_SL1L362->SetBinContent(40,6618.572); h_SL1L362->SetBinContent(41,4472.857); h_SL1L362->SetBinContent(42,3782.857); h_SL1L362->SetBinContent(43,3324.286); h_SL1L362->SetBinContent(44,3097.143); h_SL1L362->SetBinContent(45,2917.143); h_SL1L362->SetBinContent(46,2650); h_SL1L362->SetBinContent(47,2352.857); h_SL1L362->SetBinContent(48,2250); h_SL1L362->SetBinContent(49,2121.429); h_SL1L362->SetBinContent(50,2010); h_SL1L362->SetBinContent(51,1877.143); h_SL1L362->SetBinContent(52,1800); h_SL1L362->SetBinContent(53,1718.571); h_SL1L362->SetBinContent(54,1561.429); h_SL1L362->SetBinContent(55,1490); h_SL1L362->SetBinContent(56,1407.143); h_SL1L362->SetBinContent(57,1318.571); h_SL1L362->SetBinContent(58,1384.286); h_SL1L362->SetBinContent(59,1281.429); h_SL1L362->SetMaximum(80187.86); 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,400); h_SL1L463->SetBinContent(3,381.4286); h_SL1L463->SetBinContent(4,425.7143); h_SL1L463->SetBinContent(5,422.8571); h_SL1L463->SetBinContent(6,402.8571); h_SL1L463->SetBinContent(7,431.4286); h_SL1L463->SetBinContent(8,478.5714); h_SL1L463->SetBinContent(9,504.2857); h_SL1L463->SetBinContent(10,521.4286); h_SL1L463->SetBinContent(11,630); h_SL1L463->SetBinContent(12,710); h_SL1L463->SetBinContent(13,782.8572); h_SL1L463->SetBinContent(14,841.4286); h_SL1L463->SetBinContent(15,860); h_SL1L463->SetBinContent(16,770); h_SL1L463->SetBinContent(17,912.8572); h_SL1L463->SetBinContent(18,1107.143); h_SL1L463->SetBinContent(19,1194.286); h_SL1L463->SetBinContent(20,1408.571); h_SL1L463->SetBinContent(21,1578.571); h_SL1L463->SetBinContent(22,1764.286); h_SL1L463->SetBinContent(23,2041.429); h_SL1L463->SetBinContent(24,2187.143); h_SL1L463->SetBinContent(25,2384.286); h_SL1L463->SetBinContent(26,2501.429); h_SL1L463->SetBinContent(27,3008.572); h_SL1L463->SetBinContent(28,3627.143); h_SL1L463->SetBinContent(29,3940); h_SL1L463->SetBinContent(30,4550); h_SL1L463->SetBinContent(31,5288.572); h_SL1L463->SetBinContent(32,9468.571); h_SL1L463->SetBinContent(33,38484.29); h_SL1L463->SetBinContent(34,69728.57); h_SL1L463->SetBinContent(35,63770); h_SL1L463->SetBinContent(36,61501.43); h_SL1L463->SetBinContent(37,57658.57); h_SL1L463->SetBinContent(38,49584.29); h_SL1L463->SetBinContent(39,37240); h_SL1L463->SetBinContent(40,11714.29); h_SL1L463->SetBinContent(41,5757.143); h_SL1L463->SetBinContent(42,3900); h_SL1L463->SetBinContent(43,3471.429); h_SL1L463->SetBinContent(44,3185.714); h_SL1L463->SetBinContent(45,2900); h_SL1L463->SetBinContent(46,2667.143); h_SL1L463->SetBinContent(47,2410); h_SL1L463->SetBinContent(48,2172.857); h_SL1L463->SetBinContent(49,2074.286); h_SL1L463->SetBinContent(50,1972.857); h_SL1L463->SetBinContent(51,1848.572); h_SL1L463->SetBinContent(52,1724.286); h_SL1L463->SetBinContent(53,1618.571); h_SL1L463->SetBinContent(54,1604.286); h_SL1L463->SetBinContent(56,1385.714); h_SL1L463->SetBinContent(57,1395.714); h_SL1L463->SetBinContent(58,1315.714); h_SL1L463->SetBinContent(59,1307.143); h_SL1L463->SetMaximum(80187.86); 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 5398"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }