void RatesPerCell_Removing_noisy_cells_run_5627_SL1() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:41:20 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11698.66,67.5,105288); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5627",60,0,60); h_SL1L160->SetBinContent(1,436.6137); h_SL1L160->SetBinContent(2,429.4561); h_SL1L160->SetBinContent(3,393.6681); h_SL1L160->SetBinContent(4,486.7169); h_SL1L160->SetBinContent(5,493.8745); h_SL1L160->SetBinContent(6,472.4017); h_SL1L160->SetBinContent(7,543.9777); h_SL1L160->SetBinContent(8,629.869); h_SL1L160->SetBinContent(9,708.6026); h_SL1L160->SetBinContent(10,687.1298); h_SL1L160->SetBinContent(11,665.657); h_SL1L160->SetBinContent(12,744.3906); h_SL1L160->SetBinContent(13,765.8634); h_SL1L160->SetBinContent(14,866.0698); h_SL1L160->SetBinContent(15,851.7546); h_SL1L160->SetBinContent(16,765.8634); h_SL1L160->SetBinContent(17,909.0154); h_SL1L160->SetBinContent(18,1209.635); h_SL1L160->SetBinContent(19,1431.52); h_SL1L160->SetBinContent(20,1445.836); h_SL1L160->SetBinContent(21,1603.303); h_SL1L160->SetBinContent(22,1710.667); h_SL1L160->SetBinContent(23,1832.346); h_SL1L160->SetBinContent(24,1932.552); h_SL1L160->SetBinContent(25,2276.117); h_SL1L160->SetBinContent(26,2369.166); h_SL1L160->SetBinContent(27,2583.894); h_SL1L160->SetBinContent(28,3421.334); h_SL1L160->SetBinContent(29,3457.122); h_SL1L160->SetBinContent(30,4165.724); h_SL1L160->SetBinContent(31,5905.021); h_SL1L160->SetBinContent(32,8646.383); h_SL1L160->SetBinContent(33,37319.73); h_SL1L160->SetBinContent(34,50733.08); h_SL1L160->SetBinContent(35,58248.56); h_SL1L160->SetBinContent(36,66393.91); h_SL1L160->SetBinContent(37,70523.85); h_SL1L160->SetBinContent(38,65019.66); h_SL1L160->SetBinContent(39,43840.31); h_SL1L160->SetBinContent(40,9970.539); h_SL1L160->SetBinContent(41,6205.641); h_SL1L160->SetBinContent(42,5031.794); h_SL1L160->SetBinContent(43,4316.034); h_SL1L160->SetBinContent(44,4079.833); h_SL1L160->SetBinContent(45,3757.741); h_SL1L160->SetBinContent(46,3507.225); h_SL1L160->SetBinContent(47,3020.508); h_SL1L160->SetBinContent(48,2913.144); h_SL1L160->SetBinContent(49,2791.465); h_SL1L160->SetBinContent(50,2276.117); h_SL1L160->SetBinContent(51,2362.009); h_SL1L160->SetBinContent(52,2254.645); h_SL1L160->SetBinContent(53,2132.965); h_SL1L160->SetBinContent(54,1739.297); h_SL1L160->SetBinContent(55,1803.716); h_SL1L160->SetBinContent(56,1753.612); h_SL1L160->SetBinContent(57,1603.303); h_SL1L160->SetBinContent(58,1495.939); h_SL1L160->SetBinContent(59,1653.406); h_SL1L160->SetMaximum(93589.3); 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,415.1409); h_SL1L261->SetBinContent(2,465.2441); h_SL1L261->SetBinContent(3,386.5105); h_SL1L261->SetBinContent(4,515.3474); h_SL1L261->SetBinContent(5,422.2985); h_SL1L261->SetBinContent(6,379.3529); h_SL1L261->SetBinContent(7,458.0865); h_SL1L261->SetBinContent(8,529.6625); h_SL1L261->SetBinContent(9,658.4994); h_SL1L261->SetBinContent(10,558.293); h_SL1L261->SetBinContent(11,608.3962); h_SL1L261->SetBinContent(12,644.1841); h_SL1L261->SetBinContent(13,722.9178); h_SL1L261->SetBinContent(14,730.0754); h_SL1L261->SetBinContent(15,851.7546); h_SL1L261->SetBinContent(16,780.1786); h_SL1L261->SetBinContent(17,751.5482); h_SL1L261->SetBinContent(18,1045.01); h_SL1L261->SetBinContent(19,1252.58); h_SL1L261->SetBinContent(20,1352.787); h_SL1L261->SetBinContent(21,1503.096); h_SL1L261->SetBinContent(22,1467.308); h_SL1L261->SetBinContent(23,1653.406); h_SL1L261->SetBinContent(24,1739.297); h_SL1L261->SetBinContent(25,2190.226); h_SL1L261->SetBinContent(26,2011.286); h_SL1L261->SetBinContent(27,2404.954); h_SL1L261->SetBinContent(28,3092.084); h_SL1L261->SetBinContent(29,3013.35); h_SL1L261->SetBinContent(30,3721.953); h_SL1L261->SetBinContent(31,4681.072); h_SL1L261->SetBinContent(32,7100.341); h_SL1L261->SetBinContent(33,20170.12); h_SL1L261->SetBinContent(34,46581.67); h_SL1L261->SetBinContent(35,54390.62); h_SL1L261->SetBinContent(36,62206.72); h_SL1L261->SetBinContent(37,69249.8); h_SL1L261->SetBinContent(38,70194.6); h_SL1L261->SetBinContent(39,58964.32); h_SL1L261->SetBinContent(40,20699.79); h_SL1L261->SetBinContent(41,8245.558); h_SL1L261->SetBinContent(42,5403.989); h_SL1L261->SetBinContent(43,4523.604); h_SL1L261->SetBinContent(44,4072.676); h_SL1L261->SetBinContent(45,3850.79); h_SL1L261->SetBinContent(46,3364.073); h_SL1L261->SetBinContent(47,3149.345); h_SL1L261->SetBinContent(48,2941.774); h_SL1L261->SetBinContent(49,2877.356); h_SL1L261->SetBinContent(50,2326.221); h_SL1L261->SetBinContent(51,2369.166); h_SL1L261->SetBinContent(52,2204.541); h_SL1L261->SetBinContent(53,2140.123); h_SL1L261->SetBinContent(54,1782.243); h_SL1L261->SetBinContent(55,1667.721); h_SL1L261->SetBinContent(56,1760.77); h_SL1L261->SetBinContent(57,1495.939); h_SL1L261->SetBinContent(58,1510.254); h_SL1L261->SetBinContent(59,1567.515); h_SL1L261->SetMaximum(81382.29); 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,386.5105); h_SL1L362->SetBinContent(2,286.3041); h_SL1L362->SetBinContent(3,393.6681); h_SL1L362->SetBinContent(4,386.5105); h_SL1L362->SetBinContent(5,365.0377); h_SL1L362->SetBinContent(6,322.0921); h_SL1L362->SetBinContent(7,493.8745); h_SL1L362->SetBinContent(8,536.8201); h_SL1L362->SetBinContent(9,608.3962); h_SL1L362->SetBinContent(10,672.8146); h_SL1L362->SetBinContent(11,608.3962); h_SL1L362->SetBinContent(12,572.6082); h_SL1L362->SetBinContent(13,651.3418); h_SL1L362->SetBinContent(14,701.445); h_SL1L362->SetBinContent(15,701.445); h_SL1L362->SetBinContent(16,665.657); h_SL1L362->SetBinContent(17,830.2818); h_SL1L362->SetBinContent(18,1045.01); h_SL1L362->SetBinContent(19,1202.477); h_SL1L362->SetBinContent(20,1274.053); h_SL1L362->SetBinContent(21,1359.944); h_SL1L362->SetBinContent(22,1374.26); h_SL1L362->SetBinContent(23,1717.824); h_SL1L362->SetBinContent(24,1810.873); h_SL1L362->SetBinContent(25,2183.069); h_SL1L362->SetBinContent(26,2211.699); h_SL1L362->SetBinContent(27,2569.579); h_SL1L362->SetBinContent(28,3077.769); h_SL1L362->SetBinContent(29,3421.334); h_SL1L362->SetBinContent(30,3972.469); h_SL1L362->SetBinContent(31,5561.457); h_SL1L362->SetBinContent(32,8811.008); h_SL1L362->SetBinContent(33,36868.81); h_SL1L362->SetBinContent(34,50947.81); h_SL1L362->SetBinContent(35,58169.83); h_SL1L362->SetBinContent(36,66744.64); h_SL1L362->SetBinContent(37,70767.21); h_SL1L362->SetBinContent(38,65291.64); h_SL1L362->SetBinContent(39,44191.04); h_SL1L362->SetBinContent(40,9956.225); h_SL1L362->SetBinContent(41,6019.543); h_SL1L362->SetBinContent(42,4996.006); h_SL1L362->SetBinContent(43,4273.088); h_SL1L362->SetBinContent(44,3736.268); h_SL1L362->SetBinContent(45,3600.274); h_SL1L362->SetBinContent(46,3356.915); h_SL1L362->SetBinContent(47,2877.356); h_SL1L362->SetBinContent(48,2712.731); h_SL1L362->SetBinContent(49,2619.682); h_SL1L362->SetBinContent(50,2211.699); h_SL1L362->SetBinContent(51,2290.433); h_SL1L362->SetBinContent(52,2011.286); h_SL1L362->SetBinContent(53,2011.286); h_SL1L362->SetBinContent(54,1596.145); h_SL1L362->SetBinContent(55,1574.672); h_SL1L362->SetBinContent(56,1631.933); h_SL1L362->SetBinContent(57,1503.096); h_SL1L362->SetBinContent(58,1295.526); h_SL1L362->SetBinContent(59,1495.939); h_SL1L362->SetMaximum(81382.29); 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,21.47281); h_SL1L463->SetBinContent(3,14.3152); h_SL1L463->SetBinContent(4,28.63041); h_SL1L463->SetBinContent(5,14.3152); h_SL1L463->SetBinContent(6,7.157602); h_SL1L463->SetBinContent(7,7.157602); h_SL1L463->SetBinContent(8,21.47281); h_SL1L463->SetBinContent(9,14.3152); h_SL1L463->SetBinContent(10,28.63041); h_SL1L463->SetBinContent(11,35.78801); h_SL1L463->SetBinContent(12,21.47281); h_SL1L463->SetBinContent(13,64.41842); h_SL1L463->SetBinContent(14,14.3152); h_SL1L463->SetBinContent(15,35.78801); h_SL1L463->SetBinContent(16,7.157602); h_SL1L463->SetBinContent(17,14.3152); h_SL1L463->SetBinContent(18,64.41842); h_SL1L463->SetBinContent(19,42.94561); h_SL1L463->SetBinContent(20,85.89122); h_SL1L463->SetBinContent(21,93.04882); h_SL1L463->SetBinContent(22,64.41842); h_SL1L463->SetBinContent(23,71.57602); h_SL1L463->SetBinContent(24,57.26081); h_SL1L463->SetBinContent(25,107.364); h_SL1L463->SetBinContent(26,71.57602); h_SL1L463->SetBinContent(27,57.26081); h_SL1L463->SetBinContent(28,143.152); h_SL1L463->SetBinContent(29,135.9944); h_SL1L463->SetBinContent(30,214.7281); h_SL1L463->SetBinContent(31,279.1465); h_SL1L463->SetBinContent(32,365.0377); h_SL1L463->SetBinContent(33,708.6026); h_SL1L463->SetBinContent(34,2082.862); h_SL1L463->SetBinContent(35,2698.416); h_SL1L463->SetBinContent(36,2655.47); h_SL1L463->SetBinContent(37,2469.373); h_SL1L463->SetBinContent(38,2827.253); h_SL1L463->SetBinContent(39,2834.41); h_SL1L463->SetBinContent(40,780.1786); h_SL1L463->SetBinContent(41,422.2985); h_SL1L463->SetBinContent(42,221.8857); h_SL1L463->SetBinContent(43,279.1465); h_SL1L463->SetBinContent(44,271.9889); h_SL1L463->SetBinContent(45,128.8368); h_SL1L463->SetBinContent(46,157.4672); h_SL1L463->SetBinContent(47,143.152); h_SL1L463->SetBinContent(48,71.57602); h_SL1L463->SetBinContent(49,128.8368); h_SL1L463->SetBinContent(50,71.57602); h_SL1L463->SetBinContent(51,64.41842); h_SL1L463->SetBinContent(52,78.73362); h_SL1L463->SetBinContent(53,93.04882); h_SL1L463->SetBinContent(54,85.89122); h_SL1L463->SetBinContent(56,50.10321); h_SL1L463->SetBinContent(57,42.94561); h_SL1L463->SetBinContent(58,71.57602); h_SL1L463->SetBinContent(59,64.41842); h_SL1L463->SetMaximum(81382.29); 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 5627"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }