void RatesPerCell_Removing_noisy_cells_run_5385_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:43:19 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-5271.888,67.5,47446.99); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5385",60,0,60); h_SL1L160->SetBinContent(1,49.6425); h_SL1L160->SetBinContent(2,66.19); h_SL1L160->SetBinContent(3,3976.916); h_SL1L160->SetBinContent(4,64.35139); h_SL1L160->SetBinContent(5,55.15833); h_SL1L160->SetBinContent(6,69.86723); h_SL1L160->SetBinContent(7,68.02861); h_SL1L160->SetBinContent(8,64.35139); h_SL1L160->SetBinContent(9,66.19); h_SL1L160->SetBinContent(10,82.7375); h_SL1L160->SetBinContent(11,95.60778); h_SL1L160->SetBinContent(12,119.5097); h_SL1L160->SetBinContent(13,143.4117); h_SL1L160->SetBinContent(14,90.09194); h_SL1L160->SetBinContent(15,121.3483); h_SL1L160->SetBinContent(16,102.9622); h_SL1L160->SetBinContent(17,112.1553); h_SL1L160->SetBinContent(18,156.282); h_SL1L160->SetBinContent(19,163.6364); h_SL1L160->SetBinContent(20,178.3453); h_SL1L160->SetBinContent(21,158.1206); h_SL1L160->SetBinContent(22,194.8928); h_SL1L160->SetBinContent(23,242.6967); h_SL1L160->SetBinContent(24,268.4372); h_SL1L160->SetBinContent(25,220.6333); h_SL1L160->SetBinContent(26,272.1144); h_SL1L160->SetBinContent(27,297.855); h_SL1L160->SetBinContent(28,351.1747); h_SL1L160->SetBinContent(29,373.2381); h_SL1L160->SetBinContent(30,329.1114); h_SL1L160->SetBinContent(31,387.947); h_SL1L160->SetBinContent(32,489.0706); h_SL1L160->SetBinContent(33,421.042); h_SL1L160->SetBinContent(34,386.1083); h_SL1L160->SetBinContent(35,415.5261); h_SL1L160->SetBinContent(36,371.3994); h_SL1L160->SetBinContent(37,321.757); h_SL1L160->SetBinContent(38,353.0133); h_SL1L160->SetBinContent(39,307.0481); h_SL1L160->SetBinContent(40,239.0194); h_SL1L160->SetBinContent(41,189.377); h_SL1L160->SetBinContent(42,193.0542); h_SL1L160->SetBinContent(43,170.9908); h_SL1L160->SetBinContent(44,147.0889); h_SL1L160->SetBinContent(45,156.282); h_SL1L160->SetBinContent(46,183.8611); h_SL1L160->SetBinContent(47,169.1522); h_SL1L160->SetBinContent(48,136.0572); h_SL1L160->SetBinContent(49,137.8958); h_SL1L160->SetBinContent(50,141.5731); h_SL1L160->SetBinContent(51,134.2186); h_SL1L160->SetBinContent(52,150.7661); h_SL1L160->SetBinContent(53,150.7661); h_SL1L160->SetBinContent(54,132.38); h_SL1L160->SetBinContent(55,148.9275); h_SL1L160->SetBinContent(56,110.3167); h_SL1L160->SetBinContent(57,134.2186); h_SL1L160->SetBinContent(58,112.1553); h_SL1L160->SetBinContent(59,147.0889); h_SL1L160->SetMaximum(42175.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,55.15833); h_SL1L261->SetBinContent(2,55.15833); h_SL1L261->SetBinContent(3,66.19); h_SL1L261->SetBinContent(4,77.22166); h_SL1L261->SetBinContent(5,69.86723); h_SL1L261->SetBinContent(6,66.19); h_SL1L261->SetBinContent(7,71.70583); h_SL1L261->SetBinContent(8,80.89889); h_SL1L261->SetBinContent(9,82.7375); h_SL1L261->SetBinContent(10,69.86723); h_SL1L261->SetBinContent(11,93.76917); h_SL1L261->SetBinContent(12,121.3483); h_SL1L261->SetBinContent(13,121.3483); h_SL1L261->SetBinContent(14,121.3483); h_SL1L261->SetBinContent(15,113.9939); h_SL1L261->SetBinContent(16,126.8642); h_SL1L261->SetBinContent(17,112.1553); h_SL1L261->SetBinContent(18,154.4433); h_SL1L261->SetBinContent(19,183.8611); h_SL1L261->SetBinContent(20,163.6364); h_SL1L261->SetBinContent(21,167.3136); h_SL1L261->SetBinContent(22,193.0542); h_SL1L261->SetBinContent(23,218.7947); h_SL1L261->SetBinContent(24,227.9878); h_SL1L261->SetBinContent(25,239.0194); h_SL1L261->SetBinContent(26,253.7283); h_SL1L261->SetBinContent(27,290.5005); h_SL1L261->SetBinContent(28,364.045); h_SL1L261->SetBinContent(29,334.6272); h_SL1L261->SetBinContent(30,349.3361); h_SL1L261->SetBinContent(31,325.4342); h_SL1L261->SetBinContent(32,455.9756); h_SL1L261->SetBinContent(33,481.7161); h_SL1L261->SetBinContent(34,400.8172); h_SL1L261->SetBinContent(35,432.0736); h_SL1L261->SetBinContent(36,329.1114); h_SL1L261->SetBinContent(37,380.5925); h_SL1L261->SetBinContent(38,275.7917); h_SL1L261->SetBinContent(39,353.0133); h_SL1L261->SetBinContent(40,264.76); h_SL1L261->SetBinContent(41,209.6017); h_SL1L261->SetBinContent(42,220.6333); h_SL1L261->SetBinContent(43,191.2156); h_SL1L261->SetBinContent(44,143.4117); h_SL1L261->SetBinContent(45,161.7978); h_SL1L261->SetBinContent(46,172.8295); h_SL1L261->SetBinContent(47,174.6681); h_SL1L261->SetBinContent(48,150.7661); h_SL1L261->SetBinContent(49,31890.71); h_SL1L261->SetBinContent(50,141.5731); h_SL1L261->SetBinContent(51,141.5731); h_SL1L261->SetBinContent(52,560.7764); h_SL1L261->SetBinContent(53,1138.1); h_SL1L261->SetBinContent(54,147.0889); h_SL1L261->SetBinContent(55,147.0889); h_SL1L261->SetBinContent(56,10456.18); h_SL1L261->SetBinContent(57,125.0256); h_SL1L261->SetBinContent(58,137.8958); h_SL1L261->SetBinContent(59,125.0256); h_SL1L261->SetMaximum(36674.32); 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,42.28806); h_SL1L362->SetBinContent(2,73.54445); h_SL1L362->SetBinContent(3,56.99694); h_SL1L362->SetBinContent(4,69.86723); h_SL1L362->SetBinContent(5,62.51278); h_SL1L362->SetBinContent(6,56.99694); h_SL1L362->SetBinContent(7,56.99694); h_SL1L362->SetBinContent(8,69.86723); h_SL1L362->SetBinContent(9,84.57611); h_SL1L362->SetBinContent(10,73.54445); h_SL1L362->SetBinContent(11,95.60778); h_SL1L362->SetBinContent(12,343.8203); h_SL1L362->SetBinContent(13,121.3483); h_SL1L362->SetBinContent(14,110.3167); h_SL1L362->SetBinContent(15,108.4781); h_SL1L362->SetBinContent(16,104.8008); h_SL1L362->SetBinContent(17,130.5414); h_SL1L362->SetBinContent(18,150.7661); h_SL1L362->SetBinContent(19,172.8295); h_SL1L362->SetBinContent(20,165.475); h_SL1L362->SetBinContent(21,170.9908); h_SL1L362->SetBinContent(22,185.6997); h_SL1L362->SetBinContent(23,239.0194); h_SL1L362->SetBinContent(24,224.3106); h_SL1L362->SetBinContent(25,226.1492); h_SL1L362->SetBinContent(26,268.4372); h_SL1L362->SetBinContent(27,299.6936); h_SL1L362->SetBinContent(28,354.852); h_SL1L362->SetBinContent(29,382.4311); h_SL1L362->SetBinContent(30,336.4659); h_SL1L362->SetBinContent(31,389.7856); h_SL1L362->SetBinContent(32,479.8775); h_SL1L362->SetBinContent(33,413.6875); h_SL1L362->SetBinContent(34,387.947); h_SL1L362->SetBinContent(35,426.5578); h_SL1L362->SetBinContent(36,336.4659); h_SL1L362->SetBinContent(37,299.6936); h_SL1L362->SetBinContent(38,345.6589); h_SL1L362->SetBinContent(39,261.0828); h_SL1L362->SetBinContent(40,226.1492); h_SL1L362->SetBinContent(41,194.8928); h_SL1L362->SetBinContent(42,202.2472); h_SL1L362->SetBinContent(43,180.1839); h_SL1L362->SetBinContent(44,167.3136); h_SL1L362->SetBinContent(45,141.5731); h_SL1L362->SetBinContent(46,170.9908); h_SL1L362->SetBinContent(47,159.9592); h_SL1L362->SetBinContent(48,143.4117); h_SL1L362->SetBinContent(49,297.855); h_SL1L362->SetBinContent(50,148.9275); h_SL1L362->SetBinContent(51,125.0256); h_SL1L362->SetBinContent(52,148.9275); h_SL1L362->SetBinContent(53,9071.707); h_SL1L362->SetBinContent(54,148.9275); h_SL1L362->SetBinContent(55,167.3136); h_SL1L362->SetBinContent(56,10413.89); h_SL1L362->SetBinContent(57,742.7989); h_SL1L362->SetBinContent(58,99.285); h_SL1L362->SetBinContent(59,165.475); h_SL1L362->SetMaximum(36674.32); 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,108.4781); h_SL1L463->SetBinContent(3,60.67417); h_SL1L463->SetBinContent(4,66.19); h_SL1L463->SetBinContent(5,77.22166); h_SL1L463->SetBinContent(6,66.19); h_SL1L463->SetBinContent(7,66.19); h_SL1L463->SetBinContent(8,68.02861); h_SL1L463->SetBinContent(9,64.35139); h_SL1L463->SetBinContent(10,66.19); h_SL1L463->SetBinContent(11,84.57611); h_SL1L463->SetBinContent(12,95.60778); h_SL1L463->SetBinContent(13,95.60778); h_SL1L463->SetBinContent(14,121.3483); h_SL1L463->SetBinContent(15,104.8008); h_SL1L463->SetBinContent(16,136.0572); h_SL1L463->SetBinContent(17,108.4781); h_SL1L463->SetBinContent(18,152.6047); h_SL1L463->SetBinContent(19,172.8295); h_SL1L463->SetBinContent(20,174.6681); h_SL1L463->SetBinContent(21,156.282); h_SL1L463->SetBinContent(22,176.5067); h_SL1L463->SetBinContent(23,218.7947); h_SL1L463->SetBinContent(24,224.3106); h_SL1L463->SetBinContent(25,233.5036); h_SL1L463->SetBinContent(26,275.7917); h_SL1L463->SetBinContent(27,292.3392); h_SL1L463->SetBinContent(28,305.2094); h_SL1L463->SetBinContent(29,312.5639); h_SL1L463->SetBinContent(30,347.4975); h_SL1L463->SetBinContent(31,340.1431); h_SL1L463->SetBinContent(32,450.4597); h_SL1L463->SetBinContent(33,454.137); h_SL1L463->SetBinContent(34,398.9786); h_SL1L463->SetBinContent(35,468.8458); h_SL1L463->SetBinContent(36,353.0133); h_SL1L463->SetBinContent(37,356.6906); h_SL1L463->SetBinContent(38,279.4689); h_SL1L463->SetBinContent(39,338.3044); h_SL1L463->SetBinContent(40,264.76); h_SL1L463->SetBinContent(41,207.7631); h_SL1L463->SetBinContent(42,222.4719); h_SL1L463->SetBinContent(43,182.0225); h_SL1L463->SetBinContent(44,141.5731); h_SL1L463->SetBinContent(45,154.4433); h_SL1L463->SetBinContent(46,191.2156); h_SL1L463->SetBinContent(47,159.9592); h_SL1L463->SetBinContent(48,158.1206); h_SL1L463->SetBinContent(49,123.1869); h_SL1L463->SetBinContent(50,182.0225); h_SL1L463->SetBinContent(51,126.8642); h_SL1L463->SetBinContent(52,141.5731); h_SL1L463->SetBinContent(53,148.9275); h_SL1L463->SetBinContent(54,145.2503); h_SL1L463->SetBinContent(56,148.9275); h_SL1L463->SetBinContent(57,112.1553); h_SL1L463->SetBinContent(58,137.8958); h_SL1L463->SetBinContent(59,97.44639); h_SL1L463->SetMaximum(36674.32); 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 5385"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }