void RatesPerCell_Removing_noisy_cells_run_6866_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 16:29:52 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11079.82,67.5,99718.37); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6866",60,0,60); h_SL1L160->SetBinContent(1,27.14286); h_SL1L160->SetBinContent(2,27.14286); h_SL1L160->SetBinContent(3,24.28572); h_SL1L160->SetBinContent(4,32.85714); h_SL1L160->SetBinContent(5,22.85714); h_SL1L160->SetBinContent(6,34.28571); h_SL1L160->SetBinContent(7,30); h_SL1L160->SetBinContent(8,18.57143); h_SL1L160->SetBinContent(9,20); h_SL1L160->SetBinContent(10,28.57143); h_SL1L160->SetBinContent(11,38.57143); h_SL1L160->SetBinContent(12,54.28572); h_SL1L160->SetBinContent(13,54.28572); h_SL1L160->SetBinContent(14,35.71429); h_SL1L160->SetBinContent(15,47.14286); h_SL1L160->SetBinContent(16,37.14286); h_SL1L160->SetBinContent(17,51.42857); h_SL1L160->SetBinContent(18,68.57143); h_SL1L160->SetBinContent(19,80); h_SL1L160->SetBinContent(20,67.14286); h_SL1L160->SetBinContent(21,87.14286); h_SL1L160->SetBinContent(22,84.28571); h_SL1L160->SetBinContent(23,101.4286); h_SL1L160->SetBinContent(24,71.42857); h_SL1L160->SetBinContent(25,107.1429); h_SL1L160->SetBinContent(26,124.2857); h_SL1L160->SetBinContent(27,155.7143); h_SL1L160->SetBinContent(28,190); h_SL1L160->SetBinContent(29,185.7143); h_SL1L160->SetBinContent(30,201.4286); h_SL1L160->SetBinContent(31,260); h_SL1L160->SetBinContent(32,390); h_SL1L160->SetBinContent(33,1390); h_SL1L160->SetBinContent(34,2285.714); h_SL1L160->SetBinContent(35,2487.143); h_SL1L160->SetBinContent(36,2318.572); h_SL1L160->SetBinContent(37,3004.286); h_SL1L160->SetBinContent(38,2672.857); h_SL1L160->SetBinContent(39,1705.714); h_SL1L160->SetBinContent(40,390); h_SL1L160->SetBinContent(41,261.4286); h_SL1L160->SetBinContent(42,212.8571); h_SL1L160->SetBinContent(43,188.5714); h_SL1L160->SetBinContent(44,181.4286); h_SL1L160->SetBinContent(45,177.1429); h_SL1L160->SetBinContent(46,131.4286); h_SL1L160->SetBinContent(47,122.8571); h_SL1L160->SetBinContent(48,97.14286); h_SL1L160->SetBinContent(49,118.5714); h_SL1L160->SetBinContent(50,110); h_SL1L160->SetBinContent(51,102.8571); h_SL1L160->SetBinContent(52,88.57143); h_SL1L160->SetBinContent(53,72.85715); h_SL1L160->SetBinContent(54,64.28571); h_SL1L160->SetBinContent(55,68.57143); h_SL1L160->SetBinContent(56,80); h_SL1L160->SetBinContent(57,74.28571); h_SL1L160->SetBinContent(58,72.85715); h_SL1L160->SetBinContent(59,71.42857); h_SL1L160->SetMaximum(88638.55); 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,347.1429); h_SL1L261->SetBinContent(2,330); h_SL1L261->SetBinContent(3,360); h_SL1L261->SetBinContent(4,367.1429); h_SL1L261->SetBinContent(5,391.4286); h_SL1L261->SetBinContent(6,388.5714); h_SL1L261->SetBinContent(7,444.2857); h_SL1L261->SetBinContent(8,454.2857); h_SL1L261->SetBinContent(9,471.4286); h_SL1L261->SetBinContent(10,510); h_SL1L261->SetBinContent(11,571.4286); h_SL1L261->SetBinContent(12,625.7143); h_SL1L261->SetBinContent(13,741.4286); h_SL1L261->SetBinContent(14,755.7143); h_SL1L261->SetBinContent(15,802.8572); h_SL1L261->SetBinContent(16,714.2857); h_SL1L261->SetBinContent(17,818.5715); h_SL1L261->SetBinContent(18,1045.714); h_SL1L261->SetBinContent(19,1141.429); h_SL1L261->SetBinContent(20,1197.143); h_SL1L261->SetBinContent(21,1381.429); h_SL1L261->SetBinContent(22,1548.571); h_SL1L261->SetBinContent(23,1618.571); h_SL1L261->SetBinContent(24,1825.714); h_SL1L261->SetBinContent(25,1988.572); h_SL1L261->SetBinContent(26,1790); h_SL1L261->SetBinContent(27,2160); h_SL1L261->SetBinContent(28,2558.572); h_SL1L261->SetBinContent(29,3064.286); h_SL1L261->SetBinContent(30,3522.857); h_SL1L261->SetBinContent(31,4202.857); h_SL1L261->SetBinContent(32,7282.857); h_SL1L261->SetBinContent(33,19021.43); h_SL1L261->SetBinContent(34,49745.71); h_SL1L261->SetBinContent(35,57135.71); h_SL1L261->SetBinContent(36,62380); h_SL1L261->SetBinContent(37,66610); h_SL1L261->SetBinContent(38,65585.72); h_SL1L261->SetBinContent(39,54054.29); h_SL1L261->SetBinContent(40,18925.71); h_SL1L261->SetBinContent(41,7625.714); h_SL1L261->SetBinContent(42,4741.429); h_SL1L261->SetBinContent(43,4168.571); h_SL1L261->SetBinContent(44,3478.572); h_SL1L261->SetBinContent(45,3232.857); h_SL1L261->SetBinContent(46,2901.429); h_SL1L261->SetBinContent(47,2695.714); h_SL1L261->SetBinContent(48,2505.714); h_SL1L261->SetBinContent(49,2407.143); h_SL1L261->SetBinContent(50,2185.714); h_SL1L261->SetBinContent(51,2041.429); h_SL1L261->SetBinContent(52,1827.143); h_SL1L261->SetBinContent(53,1865.714); h_SL1L261->SetBinContent(54,1674.286); h_SL1L261->SetBinContent(55,1634.286); h_SL1L261->SetBinContent(56,1541.429); h_SL1L261->SetBinContent(57,1498.571); h_SL1L261->SetBinContent(58,1415.714); h_SL1L261->SetBinContent(59,1448.571); h_SL1L261->SetMaximum(77077.93); 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,340); h_SL1L362->SetBinContent(2,292.8571); h_SL1L362->SetBinContent(3,324.2857); h_SL1L362->SetBinContent(4,305.7143); h_SL1L362->SetBinContent(5,358.5714); h_SL1L362->SetBinContent(6,344.2857); h_SL1L362->SetBinContent(7,390); h_SL1L362->SetBinContent(8,395.7143); h_SL1L362->SetBinContent(9,464.2857); h_SL1L362->SetBinContent(10,500); h_SL1L362->SetBinContent(11,570); h_SL1L362->SetBinContent(12,635.7143); h_SL1L362->SetBinContent(13,690); h_SL1L362->SetBinContent(14,744.2857); h_SL1L362->SetBinContent(15,711.4286); h_SL1L362->SetBinContent(16,731.4286); h_SL1L362->SetBinContent(17,867.1429); h_SL1L362->SetBinContent(18,1032.857); h_SL1L362->SetBinContent(19,1104.286); h_SL1L362->SetBinContent(20,1211.429); h_SL1L362->SetBinContent(21,1340); h_SL1L362->SetBinContent(22,1448.571); h_SL1L362->SetBinContent(23,1614.286); h_SL1L362->SetBinContent(24,1868.572); h_SL1L362->SetBinContent(25,1841.429); h_SL1L362->SetBinContent(26,1894.286); h_SL1L362->SetBinContent(27,2260); h_SL1L362->SetBinContent(28,2881.429); h_SL1L362->SetBinContent(29,3171.429); h_SL1L362->SetBinContent(30,3711.429); h_SL1L362->SetBinContent(31,5134.286); h_SL1L362->SetBinContent(32,9237.144); h_SL1L362->SetBinContent(33,37390); h_SL1L362->SetBinContent(34,55104.29); h_SL1L362->SetBinContent(35,59411.43); h_SL1L362->SetBinContent(36,65354.29); h_SL1L362->SetBinContent(37,67024.29); h_SL1L362->SetBinContent(38,61241.43); h_SL1L362->SetBinContent(39,39005.71); h_SL1L362->SetBinContent(40,9205.715); h_SL1L362->SetBinContent(41,5564.286); h_SL1L362->SetBinContent(42,4300); h_SL1L362->SetBinContent(43,3628.572); h_SL1L362->SetBinContent(44,3177.143); h_SL1L362->SetBinContent(45,3068.572); h_SL1L362->SetBinContent(46,2574.286); h_SL1L362->SetBinContent(47,2624.286); h_SL1L362->SetBinContent(48,2317.143); h_SL1L362->SetBinContent(49,2100); h_SL1L362->SetBinContent(50,1944.286); h_SL1L362->SetBinContent(51,1945.714); h_SL1L362->SetBinContent(52,1815.714); h_SL1L362->SetBinContent(53,1667.143); h_SL1L362->SetBinContent(54,1557.143); h_SL1L362->SetBinContent(55,1532.857); h_SL1L362->SetBinContent(56,1510); h_SL1L362->SetBinContent(57,1394.286); h_SL1L362->SetBinContent(58,1361.429); h_SL1L362->SetBinContent(59,1392.857); h_SL1L362->SetMaximum(77077.93); 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,291.4286); h_SL1L463->SetBinContent(3,262.8571); h_SL1L463->SetBinContent(4,281.4286); h_SL1L463->SetBinContent(5,298.5714); h_SL1L463->SetBinContent(6,328.5714); h_SL1L463->SetBinContent(7,360); h_SL1L463->SetBinContent(8,354.2857); h_SL1L463->SetBinContent(9,385.7143); h_SL1L463->SetBinContent(10,412.8571); h_SL1L463->SetBinContent(11,480); h_SL1L463->SetBinContent(12,481.4286); h_SL1L463->SetBinContent(13,625.7143); h_SL1L463->SetBinContent(14,641.4286); h_SL1L463->SetBinContent(15,700); h_SL1L463->SetBinContent(16,631.4286); h_SL1L463->SetBinContent(17,740); h_SL1L463->SetBinContent(18,872.8572); h_SL1L463->SetBinContent(19,904.2857); h_SL1L463->SetBinContent(20,1015.714); h_SL1L463->SetBinContent(21,1198.571); h_SL1L463->SetBinContent(22,1275.714); h_SL1L463->SetBinContent(23,1381.429); h_SL1L463->SetBinContent(24,1565.714); h_SL1L463->SetBinContent(25,1604.286); h_SL1L463->SetBinContent(26,1678.571); h_SL1L463->SetBinContent(27,1952.857); h_SL1L463->SetBinContent(28,2430); h_SL1L463->SetBinContent(29,2708.572); h_SL1L463->SetBinContent(30,3168.572); h_SL1L463->SetBinContent(31,3721.429); h_SL1L463->SetBinContent(32,6535.714); h_SL1L463->SetBinContent(33,17455.71); h_SL1L463->SetBinContent(34,47987.14); h_SL1L463->SetBinContent(35,55460); h_SL1L463->SetBinContent(36,59947.14); h_SL1L463->SetBinContent(37,63100); h_SL1L463->SetBinContent(38,62777.14); h_SL1L463->SetBinContent(39,52520); h_SL1L463->SetBinContent(40,18094.29); h_SL1L463->SetBinContent(41,7015.714); h_SL1L463->SetBinContent(42,4315.714); h_SL1L463->SetBinContent(43,3835.714); h_SL1L463->SetBinContent(44,3090); h_SL1L463->SetBinContent(45,2887.143); h_SL1L463->SetBinContent(46,2625.714); h_SL1L463->SetBinContent(47,2334.286); h_SL1L463->SetBinContent(48,2262.857); h_SL1L463->SetBinContent(49,2070); h_SL1L463->SetBinContent(50,1895.714); h_SL1L463->SetBinContent(51,1775.714); h_SL1L463->SetBinContent(52,1680); h_SL1L463->SetBinContent(53,1558.571); h_SL1L463->SetBinContent(54,1478.571); h_SL1L463->SetBinContent(56,1371.429); h_SL1L463->SetBinContent(57,1254.286); h_SL1L463->SetBinContent(58,1248.571); h_SL1L463->SetBinContent(59,1282.857); h_SL1L463->SetMaximum(77077.93); 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 6866"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }