void RatesPerCell_Removing_noisy_cells_run_6536_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:05:07 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11435.74,67.5,102921.7); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6536",60,0,60); h_SL1L160->SetBinContent(1,364.2857); h_SL1L160->SetBinContent(2,398.5714); h_SL1L160->SetBinContent(3,421.4286); h_SL1L160->SetBinContent(4,415.7143); h_SL1L160->SetBinContent(5,435.7143); h_SL1L160->SetBinContent(6,432.8571); h_SL1L160->SetBinContent(7,481.4286); h_SL1L160->SetBinContent(8,501.4286); h_SL1L160->SetBinContent(9,534.2857); h_SL1L160->SetBinContent(10,622.8572); h_SL1L160->SetBinContent(11,722.8572); h_SL1L160->SetBinContent(12,754.2857); h_SL1L160->SetBinContent(13,821.4286); h_SL1L160->SetBinContent(14,851.4286); h_SL1L160->SetBinContent(15,765.7143); h_SL1L160->SetBinContent(16,778.5715); h_SL1L160->SetBinContent(17,934.2858); h_SL1L160->SetBinContent(18,1198.571); h_SL1L160->SetBinContent(19,1288.571); h_SL1L160->SetBinContent(20,1480); h_SL1L160->SetBinContent(21,1644.286); h_SL1L160->SetBinContent(22,1802.857); h_SL1L160->SetBinContent(23,1964.286); h_SL1L160->SetBinContent(24,2107.143); h_SL1L160->SetBinContent(25,2042.857); h_SL1L160->SetBinContent(26,2050); h_SL1L160->SetBinContent(27,2258.572); h_SL1L160->SetBinContent(28,3125.714); h_SL1L160->SetBinContent(29,3360); h_SL1L160->SetBinContent(30,3981.429); h_SL1L160->SetBinContent(31,5421.429); h_SL1L160->SetBinContent(32,9400); h_SL1L160->SetBinContent(33,37071.43); h_SL1L160->SetBinContent(34,54940); h_SL1L160->SetBinContent(35,59681.43); h_SL1L160->SetBinContent(36,64174.29); h_SL1L160->SetBinContent(37,67450); h_SL1L160->SetBinContent(38,63191.43); h_SL1L160->SetBinContent(39,39867.14); h_SL1L160->SetBinContent(40,9610); h_SL1L160->SetBinContent(41,5574.286); h_SL1L160->SetBinContent(42,4324.286); h_SL1L160->SetBinContent(43,3890); h_SL1L160->SetBinContent(44,3487.143); h_SL1L160->SetBinContent(45,3245.714); h_SL1L160->SetBinContent(46,2917.143); h_SL1L160->SetBinContent(47,2592.857); h_SL1L160->SetBinContent(48,2474.286); h_SL1L160->SetBinContent(49,2301.429); h_SL1L160->SetBinContent(50,2238.572); h_SL1L160->SetBinContent(51,2075.714); h_SL1L160->SetBinContent(52,1815.714); h_SL1L160->SetBinContent(53,1802.857); h_SL1L160->SetBinContent(54,1671.429); h_SL1L160->SetBinContent(55,1668.571); h_SL1L160->SetBinContent(56,1510); h_SL1L160->SetBinContent(57,1610); h_SL1L160->SetBinContent(58,1487.143); h_SL1L160->SetBinContent(59,788.5715); h_SL1L160->SetMaximum(91485.95); 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,361.4286); h_SL1L261->SetBinContent(2,332.8571); h_SL1L261->SetBinContent(3,372.8571); h_SL1L261->SetBinContent(4,385.7143); h_SL1L261->SetBinContent(5,398.5714); h_SL1L261->SetBinContent(6,412.8571); h_SL1L261->SetBinContent(7,431.4286); h_SL1L261->SetBinContent(8,435.7143); h_SL1L261->SetBinContent(9,472.8571); h_SL1L261->SetBinContent(10,485.7143); h_SL1L261->SetBinContent(11,611.4286); h_SL1L261->SetBinContent(12,637.1429); h_SL1L261->SetBinContent(13,711.4286); h_SL1L261->SetBinContent(14,762.8572); h_SL1L261->SetBinContent(15,782.8572); h_SL1L261->SetBinContent(16,747.1429); h_SL1L261->SetBinContent(17,815.7143); h_SL1L261->SetBinContent(18,1072.857); h_SL1L261->SetBinContent(19,1141.429); h_SL1L261->SetBinContent(20,1301.429); h_SL1L261->SetBinContent(21,1471.429); h_SL1L261->SetBinContent(22,1558.571); h_SL1L261->SetBinContent(23,1762.857); h_SL1L261->SetBinContent(24,1928.572); h_SL1L261->SetBinContent(25,2042.857); h_SL1L261->SetBinContent(26,1844.286); h_SL1L261->SetBinContent(27,2114.286); h_SL1L261->SetBinContent(28,2650); h_SL1L261->SetBinContent(29,3008.572); h_SL1L261->SetBinContent(30,3611.429); h_SL1L261->SetBinContent(31,4300); h_SL1L261->SetBinContent(32,7542.857); h_SL1L261->SetBinContent(33,19175.71); h_SL1L261->SetBinContent(34,51574.29); h_SL1L261->SetBinContent(35,59278.57); h_SL1L261->SetBinContent(36,63515.71); h_SL1L261->SetBinContent(37,68100); h_SL1L261->SetBinContent(38,68551.43); h_SL1L261->SetBinContent(39,56830); h_SL1L261->SetBinContent(40,19544.29); h_SL1L261->SetBinContent(41,8042.857); h_SL1L261->SetBinContent(42,4591.429); h_SL1L261->SetBinContent(43,3958.572); h_SL1L261->SetBinContent(44,3687.143); h_SL1L261->SetBinContent(45,3321.429); h_SL1L261->SetBinContent(46,3024.286); h_SL1L261->SetBinContent(47,2710); h_SL1L261->SetBinContent(48,2438.572); h_SL1L261->SetBinContent(49,14784.29); h_SL1L261->SetBinContent(50,2191.429); h_SL1L261->SetBinContent(51,2102.857); h_SL1L261->SetBinContent(52,1932.857); h_SL1L261->SetBinContent(53,1971.429); h_SL1L261->SetBinContent(54,1664.286); h_SL1L261->SetBinContent(55,1642.857); h_SL1L261->SetBinContent(56,5375.714); h_SL1L261->SetBinContent(57,1465.714); h_SL1L261->SetBinContent(58,1578.571); h_SL1L261->SetBinContent(59,815.7143); h_SL1L261->SetMaximum(79553.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,312.8571); h_SL1L362->SetBinContent(2,311.4286); h_SL1L362->SetBinContent(3,341.4286); h_SL1L362->SetBinContent(4,330); h_SL1L362->SetBinContent(5,408.5714); h_SL1L362->SetBinContent(6,368.5714); h_SL1L362->SetBinContent(7,407.1429); h_SL1L362->SetBinContent(8,385.7143); h_SL1L362->SetBinContent(9,452.8571); h_SL1L362->SetBinContent(10,521.4286); h_SL1L362->SetBinContent(11,620); h_SL1L362->SetBinContent(12,594.2857); h_SL1L362->SetBinContent(13,672.8572); h_SL1L362->SetBinContent(14,747.1429); h_SL1L362->SetBinContent(15,692.8572); h_SL1L362->SetBinContent(16,732.8572); h_SL1L362->SetBinContent(17,865.7143); h_SL1L362->SetBinContent(18,1008.571); h_SL1L362->SetBinContent(19,1142.857); h_SL1L362->SetBinContent(20,1265.714); h_SL1L362->SetBinContent(21,1401.429); h_SL1L362->SetBinContent(22,1565.714); h_SL1L362->SetBinContent(23,1747.143); h_SL1L362->SetBinContent(24,1850); h_SL1L362->SetBinContent(25,1867.143); h_SL1L362->SetBinContent(26,1891.429); h_SL1L362->SetBinContent(27,2250); h_SL1L362->SetBinContent(28,2751.429); h_SL1L362->SetBinContent(29,3191.429); h_SL1L362->SetBinContent(30,3710); h_SL1L362->SetBinContent(31,5231.429); h_SL1L362->SetBinContent(32,9458.571); h_SL1L362->SetBinContent(33,37901.43); h_SL1L362->SetBinContent(34,56584.29); h_SL1L362->SetBinContent(35,61522.86); h_SL1L362->SetBinContent(36,66142.86); h_SL1L362->SetBinContent(37,69177.14); h_SL1L362->SetBinContent(38,64292.86); h_SL1L362->SetBinContent(39,40652.86); h_SL1L362->SetBinContent(40,9634.286); h_SL1L362->SetBinContent(41,5302.857); h_SL1L362->SetBinContent(42,4141.429); h_SL1L362->SetBinContent(43,3710); h_SL1L362->SetBinContent(44,3280); h_SL1L362->SetBinContent(45,3028.572); h_SL1L362->SetBinContent(46,2732.857); h_SL1L362->SetBinContent(47,2554.286); h_SL1L362->SetBinContent(48,2290); h_SL1L362->SetBinContent(49,2151.429); h_SL1L362->SetBinContent(50,1990); h_SL1L362->SetBinContent(51,1915.714); h_SL1L362->SetBinContent(52,1755.714); h_SL1L362->SetBinContent(53,4335.714); h_SL1L362->SetBinContent(54,1520); h_SL1L362->SetBinContent(55,1565.714); h_SL1L362->SetBinContent(56,5585.714); h_SL1L362->SetBinContent(57,1657.143); h_SL1L362->SetBinContent(58,1408.571); h_SL1L362->SetBinContent(59,774.2857); h_SL1L362->SetMaximum(79553.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,45.71429); h_SL1L463->SetBinContent(3,30); h_SL1L463->SetBinContent(4,31.42857); h_SL1L463->SetBinContent(5,35.71429); h_SL1L463->SetBinContent(6,27.14286); h_SL1L463->SetBinContent(7,48.57143); h_SL1L463->SetBinContent(8,22.85714); h_SL1L463->SetBinContent(9,30); h_SL1L463->SetBinContent(10,34.28571); h_SL1L463->SetBinContent(11,40); h_SL1L463->SetBinContent(12,61.42857); h_SL1L463->SetBinContent(13,55.71429); h_SL1L463->SetBinContent(14,54.28572); h_SL1L463->SetBinContent(15,75.71429); h_SL1L463->SetBinContent(16,72.85715); h_SL1L463->SetBinContent(17,57.14286); h_SL1L463->SetBinContent(18,52.85714); h_SL1L463->SetBinContent(19,88.57143); h_SL1L463->SetBinContent(20,92.85715); h_SL1L463->SetBinContent(21,87.14286); h_SL1L463->SetBinContent(22,108.5714); h_SL1L463->SetBinContent(23,121.4286); h_SL1L463->SetBinContent(24,105.7143); h_SL1L463->SetBinContent(25,85.71429); h_SL1L463->SetBinContent(26,95.71429); h_SL1L463->SetBinContent(27,132.8571); h_SL1L463->SetBinContent(28,154.2857); h_SL1L463->SetBinContent(29,161.4286); h_SL1L463->SetBinContent(30,275.7143); h_SL1L463->SetBinContent(31,422.8571); h_SL1L463->SetBinContent(32,477.1429); h_SL1L463->SetBinContent(33,1051.429); h_SL1L463->SetBinContent(34,4374.286); h_SL1L463->SetBinContent(35,8357.143); h_SL1L463->SetBinContent(36,6158.572); h_SL1L463->SetBinContent(37,5042.857); h_SL1L463->SetBinContent(38,6022.857); h_SL1L463->SetBinContent(39,7434.286); h_SL1L463->SetBinContent(40,1477.143); h_SL1L463->SetBinContent(41,761.4286); h_SL1L463->SetBinContent(42,437.1429); h_SL1L463->SetBinContent(43,454.2857); h_SL1L463->SetBinContent(44,375.7143); h_SL1L463->SetBinContent(45,260); h_SL1L463->SetBinContent(46,301.4286); h_SL1L463->SetBinContent(47,232.8571); h_SL1L463->SetBinContent(48,194.2857); h_SL1L463->SetBinContent(49,150); h_SL1L463->SetBinContent(50,132.8571); h_SL1L463->SetBinContent(51,128.5714); h_SL1L463->SetBinContent(52,121.4286); h_SL1L463->SetBinContent(53,81.42857); h_SL1L463->SetBinContent(54,127.1429); h_SL1L463->SetBinContent(56,104.2857); h_SL1L463->SetBinContent(57,82.85715); h_SL1L463->SetBinContent(58,112.8571); h_SL1L463->SetBinContent(59,65.71429); h_SL1L463->SetMaximum(79553.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 6536"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }