void RatesPerCell_Removing_noisy_cells_run_6488_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:32:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-19210.9,67.5,172898); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 6488",60,0,60); h_SL1L160->SetBinContent(1,518.1579); h_SL1L160->SetBinContent(2,487.678); h_SL1L160->SetBinContent(3,406.3983); h_SL1L160->SetBinContent(4,528.3179); h_SL1L160->SetBinContent(5,741.677); h_SL1L160->SetBinContent(6,497.838); h_SL1L160->SetBinContent(7,609.5975); h_SL1L160->SetBinContent(8,690.8772); h_SL1L160->SetBinContent(9,711.1971); h_SL1L160->SetBinContent(10,761.9969); h_SL1L160->SetBinContent(11,751.837); h_SL1L160->SetBinContent(12,944.8762); h_SL1L160->SetBinContent(13,1056.636); h_SL1L160->SetBinContent(14,904.2363); h_SL1L160->SetBinContent(15,894.0764); h_SL1L160->SetBinContent(16,995.676); h_SL1L160->SetBinContent(17,1178.555); h_SL1L160->SetBinContent(18,1777.993); h_SL1L160->SetBinContent(19,1463.034); h_SL1L160->SetBinContent(20,1737.353); h_SL1L160->SetBinContent(21,1656.073); h_SL1L160->SetBinContent(22,2235.191); h_SL1L160->SetBinContent(23,2174.231); h_SL1L160->SetBinContent(24,2651.749); h_SL1L160->SetBinContent(25,2103.112); h_SL1L160->SetBinContent(26,1991.352); h_SL1L160->SetBinContent(27,2631.429); h_SL1L160->SetBinContent(28,3088.627); h_SL1L160->SetBinContent(29,3078.468); h_SL1L160->SetBinContent(30,3637.265); h_SL1L160->SetBinContent(31,4074.144); h_SL1L160->SetBinContent(32,4378.942); h_SL1L160->SetBinContent(33,5100.299); h_SL1L160->SetBinContent(34,5242.539); h_SL1L160->SetBinContent(35,6410.934); h_SL1L160->SetBinContent(36,6918.932); h_SL1L160->SetBinContent(37,7305.01); h_SL1L160->SetBinContent(38,8849.324); h_SL1L160->SetBinContent(39,10850.84); h_SL1L160->SetBinContent(40,20004.96); h_SL1L160->SetBinContent(41,32582.99); h_SL1L160->SetBinContent(42,49407.88); h_SL1L160->SetBinContent(43,80314.48); h_SL1L160->SetBinContent(44,100878.2); h_SL1L160->SetBinContent(45,88025.88); h_SL1L160->SetBinContent(46,44683.5); h_SL1L160->SetBinContent(47,15595.54); h_SL1L160->SetBinContent(48,11724.59); h_SL1L160->SetBinContent(49,9956.76); h_SL1L160->SetBinContent(50,8534.365); h_SL1L160->SetBinContent(51,7640.289); h_SL1L160->SetBinContent(52,7294.851); h_SL1L160->SetBinContent(53,6065.496); h_SL1L160->SetBinContent(54,5638.777); h_SL1L160->SetBinContent(55,5008.86); h_SL1L160->SetBinContent(56,4571.981); h_SL1L160->SetBinContent(57,4257.023); h_SL1L160->SetBinContent(58,4043.664); h_SL1L160->SetBinContent(59,3495.026); h_SL1L160->SetMaximum(153687.1); 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,396.2384); h_SL1L261->SetBinContent(2,528.3179); h_SL1L261->SetBinContent(3,436.8782); h_SL1L261->SetBinContent(4,365.7585); h_SL1L261->SetBinContent(5,579.1177); h_SL1L261->SetBinContent(6,589.2776); h_SL1L261->SetBinContent(7,568.9577); h_SL1L261->SetBinContent(8,711.1971); h_SL1L261->SetBinContent(9,680.7172); h_SL1L261->SetBinContent(10,640.0774); h_SL1L261->SetBinContent(11,731.517); h_SL1L261->SetBinContent(12,822.9567); h_SL1L261->SetBinContent(13,924.5563); h_SL1L261->SetBinContent(14,883.9164); h_SL1L261->SetBinContent(15,904.2363); h_SL1L261->SetBinContent(16,904.2363); h_SL1L261->SetBinContent(17,873.7565); h_SL1L261->SetBinContent(18,1463.034); h_SL1L261->SetBinContent(19,1391.914); h_SL1L261->SetBinContent(20,1402.074); h_SL1L261->SetBinContent(21,1584.954); h_SL1L261->SetBinContent(22,1849.113); h_SL1L261->SetBinContent(23,2072.632); h_SL1L261->SetBinContent(24,2296.151); h_SL1L261->SetBinContent(25,2164.071); h_SL1L261->SetBinContent(26,2123.431); h_SL1L261->SetBinContent(27,2194.551); h_SL1L261->SetBinContent(28,3129.267); h_SL1L261->SetBinContent(29,2854.948); h_SL1L261->SetBinContent(30,3180.067); h_SL1L261->SetBinContent(31,4053.823); h_SL1L261->SetBinContent(32,3738.865); h_SL1L261->SetBinContent(33,4754.861); h_SL1L261->SetBinContent(34,4886.94); h_SL1L261->SetBinContent(35,5557.498); h_SL1L261->SetBinContent(36,6685.253); h_SL1L261->SetBinContent(37,7487.89); h_SL1L261->SetBinContent(38,8361.646); h_SL1L261->SetBinContent(39,10322.52); h_SL1L261->SetBinContent(40,13157.15); h_SL1L261->SetBinContent(41,28417.4); h_SL1L261->SetBinContent(42,39065.04); h_SL1L261->SetBinContent(43,66893.17); h_SL1L261->SetBinContent(44,103651.9); h_SL1L261->SetBinContent(45,113923.6); h_SL1L261->SetBinContent(46,71922.35); h_SL1L261->SetBinContent(47,26151.73); h_SL1L261->SetBinContent(48,13096.19); h_SL1L261->SetBinContent(49,10251.4); h_SL1L261->SetBinContent(50,9143.963); h_SL1L261->SetBinContent(51,7904.448); h_SL1L261->SetBinContent(52,7325.331); h_SL1L261->SetBinContent(53,6583.653); h_SL1L261->SetBinContent(54,5567.657); h_SL1L261->SetBinContent(55,5547.337); h_SL1L261->SetBinContent(56,5008.86); h_SL1L261->SetBinContent(57,4399.262); h_SL1L261->SetBinContent(58,4196.063); h_SL1L261->SetBinContent(59,3555.986); h_SL1L261->SetMaximum(133641.1); 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,416.5583); h_SL1L362->SetBinContent(2,355.5986); h_SL1L362->SetBinContent(3,375.9185); h_SL1L362->SetBinContent(4,487.678); h_SL1L362->SetBinContent(5,386.0784); h_SL1L362->SetBinContent(6,548.6378); h_SL1L362->SetBinContent(7,629.9174); h_SL1L362->SetBinContent(8,568.9577); h_SL1L362->SetBinContent(9,660.3973); h_SL1L362->SetBinContent(10,721.3571); h_SL1L362->SetBinContent(11,640.0774); h_SL1L362->SetBinContent(12,944.8762); h_SL1L362->SetBinContent(13,975.3561); h_SL1L362->SetBinContent(14,741.677); h_SL1L362->SetBinContent(15,853.4365); h_SL1L362->SetBinContent(16,822.9567); h_SL1L362->SetBinContent(17,1290.315); h_SL1L362->SetBinContent(18,1259.835); h_SL1L362->SetBinContent(19,1239.515); h_SL1L362->SetBinContent(20,1473.194); h_SL1L362->SetBinContent(21,1544.314); h_SL1L362->SetBinContent(22,1696.713); h_SL1L362->SetBinContent(23,1930.392); h_SL1L362->SetBinContent(24,2174.231); h_SL1L362->SetBinContent(25,2001.512); h_SL1L362->SetBinContent(26,2052.312); h_SL1L362->SetBinContent(27,2397.75); h_SL1L362->SetBinContent(28,2804.149); h_SL1L362->SetBinContent(29,2895.588); h_SL1L362->SetBinContent(30,3484.866); h_SL1L362->SetBinContent(31,3891.264); h_SL1L362->SetBinContent(32,3870.944); h_SL1L362->SetBinContent(33,4724.381); h_SL1L362->SetBinContent(34,5090.139); h_SL1L362->SetBinContent(35,5963.896); h_SL1L362->SetBinContent(36,6888.452); h_SL1L362->SetBinContent(37,7223.731); h_SL1L362->SetBinContent(38,8737.564); h_SL1L362->SetBinContent(39,10840.68); h_SL1L362->SetBinContent(40,20065.92); h_SL1L362->SetBinContent(41,33162.11); h_SL1L362->SetBinContent(42,51602.43); h_SL1L362->SetBinContent(43,86644.13); h_SL1L362->SetBinContent(44,116209.6); h_SL1L362->SetBinContent(45,96946.33); h_SL1L362->SetBinContent(46,46197.33); h_SL1L362->SetBinContent(47,15747.94); h_SL1L362->SetBinContent(48,11368.99); h_SL1L362->SetBinContent(49,9834.84); h_SL1L362->SetBinContent(50,8727.404); h_SL1L362->SetBinContent(51,7518.37); h_SL1L362->SetBinContent(52,7061.171); h_SL1L362->SetBinContent(53,6095.975); h_SL1L362->SetBinContent(54,5110.459); h_SL1L362->SetBinContent(55,4866.62); h_SL1L362->SetBinContent(56,4571.981); h_SL1L362->SetBinContent(57,3901.424); h_SL1L362->SetBinContent(58,3850.625); h_SL1L362->SetBinContent(59,3312.146); h_SL1L362->SetMaximum(133641.1); 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,396.2384); h_SL1L463->SetBinContent(3,406.3983); h_SL1L463->SetBinContent(4,345.4386); h_SL1L463->SetBinContent(5,477.5181); h_SL1L463->SetBinContent(6,386.0784); h_SL1L463->SetBinContent(7,558.7977); h_SL1L463->SetBinContent(8,487.678); h_SL1L463->SetBinContent(9,558.7977); h_SL1L463->SetBinContent(10,589.2776); h_SL1L463->SetBinContent(11,589.2776); h_SL1L463->SetBinContent(12,721.3571); h_SL1L463->SetBinContent(13,812.7967); h_SL1L463->SetBinContent(14,741.677); h_SL1L463->SetBinContent(15,833.1166); h_SL1L463->SetBinContent(16,812.7967); h_SL1L463->SetBinContent(17,914.3963); h_SL1L463->SetBinContent(18,1290.315); h_SL1L463->SetBinContent(19,1127.755); h_SL1L463->SetBinContent(20,1493.514); h_SL1L463->SetBinContent(21,1239.515); h_SL1L463->SetBinContent(22,1412.234); h_SL1L463->SetBinContent(23,1615.433); h_SL1L463->SetBinContent(24,1991.352); h_SL1L463->SetBinContent(25,1960.872); h_SL1L463->SetBinContent(26,2092.951); h_SL1L463->SetBinContent(27,2072.632); h_SL1L463->SetBinContent(28,2733.029); h_SL1L463->SetBinContent(29,2499.35); h_SL1L463->SetBinContent(30,2956.548); h_SL1L463->SetBinContent(31,3515.346); h_SL1L463->SetBinContent(32,3738.865); h_SL1L463->SetBinContent(33,4582.142); h_SL1L463->SetBinContent(34,4287.502); h_SL1L463->SetBinContent(35,5303.499); h_SL1L463->SetBinContent(36,6075.655); h_SL1L463->SetBinContent(37,6949.412); h_SL1L463->SetBinContent(38,7914.608); h_SL1L463->SetBinContent(39,9641.801); h_SL1L463->SetBinContent(40,12872.67); h_SL1L463->SetBinContent(41,27523.33); h_SL1L463->SetBinContent(42,39014.24); h_SL1L463->SetBinContent(43,66750.93); h_SL1L463->SetBinContent(44,103245.5); h_SL1L463->SetBinContent(45,112267.5); h_SL1L463->SetBinContent(46,72318.59); h_SL1L463->SetBinContent(47,26050.13); h_SL1L463->SetBinContent(48,12679.63); h_SL1L463->SetBinContent(49,9946.6); h_SL1L463->SetBinContent(50,9174.442); h_SL1L463->SetBinContent(51,7599.649); h_SL1L463->SetBinContent(52,6969.732); h_SL1L463->SetBinContent(53,6217.895); h_SL1L463->SetBinContent(54,5415.258); h_SL1L463->SetBinContent(55,81.27967); h_SL1L463->SetBinContent(56,4653.261); h_SL1L463->SetBinContent(57,3809.985); h_SL1L463->SetBinContent(58,3901.424); h_SL1L463->SetBinContent(59,3139.427); h_SL1L463->SetMaximum(133641.1); 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 6488"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }