void RatesPerCell_Removing_noisy_cells_run_7477_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:09:17 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18950.71,67.5,170556.4); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7477",60,0,60); h_SL3L168->SetBinContent(1,52500); h_SL3L168->SetBinContent(2,66185.71); h_SL3L168->SetBinContent(4,98685.71); h_SL3L168->SetBinContent(5,91657.14); h_SL3L168->SetBinContent(6,95228.57); h_SL3L168->SetBinContent(7,94757.14); h_SL3L168->SetBinContent(8,92607.14); h_SL3L168->SetBinContent(9,99292.86); h_SL3L168->SetBinContent(10,103164.3); h_SL3L168->SetBinContent(11,102678.6); h_SL3L168->SetBinContent(12,103378.6); h_SL3L168->SetBinContent(13,94535.71); h_SL3L168->SetBinContent(14,95585.71); h_SL3L168->SetBinContent(15,88078.57); h_SL3L168->SetBinContent(16,90192.86); h_SL3L168->SetBinContent(17,110857.1); h_SL3L168->SetBinContent(18,113664.3); h_SL3L168->SetBinContent(19,114500); h_SL3L168->SetBinContent(20,114635.7); h_SL3L168->SetBinContent(21,104614.3); h_SL3L168->SetBinContent(22,99542.86); h_SL3L168->SetBinContent(23,98221.43); h_SL3L168->SetBinContent(24,96778.57); h_SL3L168->SetBinContent(25,93300); h_SL3L168->SetBinContent(26,90285.71); h_SL3L168->SetBinContent(27,96164.28); h_SL3L168->SetBinContent(28,102857.1); h_SL3L168->SetBinContent(29,104185.7); h_SL3L168->SetBinContent(30,106364.3); h_SL3L168->SetBinContent(31,104857.1); h_SL3L168->SetBinContent(32,99728.57); h_SL3L168->SetBinContent(33,103735.7); h_SL3L168->SetBinContent(34,105464.3); h_SL3L168->SetBinContent(35,102721.4); h_SL3L168->SetBinContent(36,105700); h_SL3L168->SetBinContent(37,99550); h_SL3L168->SetBinContent(38,102242.9); h_SL3L168->SetBinContent(39,101471.4); h_SL3L168->SetBinContent(40,101864.3); h_SL3L168->SetBinContent(41,108428.6); h_SL3L168->SetBinContent(42,108092.9); h_SL3L168->SetBinContent(43,106892.9); h_SL3L168->SetBinContent(44,102721.4); h_SL3L168->SetBinContent(45,97142.86); h_SL3L168->SetBinContent(46,106357.1); h_SL3L168->SetBinContent(47,107735.7); h_SL3L168->SetBinContent(48,107121.4); h_SL3L168->SetBinContent(49,110878.6); h_SL3L168->SetBinContent(50,106385.7); h_SL3L168->SetBinContent(51,106014.3); h_SL3L168->SetBinContent(52,106378.6); h_SL3L168->SetBinContent(53,100450); h_SL3L168->SetBinContent(54,98485.71); h_SL3L168->SetBinContent(55,98364.28); h_SL3L168->SetBinContent(56,99771.43); h_SL3L168->SetBinContent(57,89414.28); h_SL3L168->SetBinContent(58,80507.14); h_SL3L168->SetBinContent(59,73064.28); h_SL3L168->SetMaximum(151605.6); h_SL3L168->SetEntries(60); h_SL3L168->SetDirectory(0); h_SL3L168->SetStats(0); h_SL3L168->SetLineWidth(2); h_SL3L168->GetXaxis()->SetTitle("Cell"); h_SL3L168->GetXaxis()->SetLabelFont(42); h_SL3L168->GetXaxis()->SetLabelSize(0.035); h_SL3L168->GetXaxis()->SetTitleSize(0.035); h_SL3L168->GetXaxis()->SetTitleFont(42); h_SL3L168->GetYaxis()->SetTitle("Hz"); h_SL3L168->GetYaxis()->SetLabelFont(42); h_SL3L168->GetYaxis()->SetLabelSize(0.035); h_SL3L168->GetYaxis()->SetTitleSize(0.035); h_SL3L168->GetYaxis()->SetTitleOffset(1.45); h_SL3L168->GetYaxis()->SetTitleFont(42); h_SL3L168->GetZaxis()->SetLabelFont(42); h_SL3L168->GetZaxis()->SetLabelSize(0.035); h_SL3L168->GetZaxis()->SetTitleSize(0.035); h_SL3L168->GetZaxis()->SetTitleFont(42); h_SL3L168->Draw(""); TH1D *h_SL3L269 = new TH1D("h_SL3L269","",60,0,60); h_SL3L269->SetBinContent(1,50285.71); h_SL3L269->SetBinContent(2,58214.29); h_SL3L269->SetBinContent(4,91157.14); h_SL3L269->SetBinContent(5,87928.57); h_SL3L269->SetBinContent(6,89885.71); h_SL3L269->SetBinContent(7,91128.57); h_SL3L269->SetBinContent(8,89307.14); h_SL3L269->SetBinContent(9,94878.57); h_SL3L269->SetBinContent(10,97607.14); h_SL3L269->SetBinContent(11,99135.71); h_SL3L269->SetBinContent(12,97407.14); h_SL3L269->SetBinContent(13,89014.28); h_SL3L269->SetBinContent(14,92964.28); h_SL3L269->SetBinContent(15,85028.57); h_SL3L269->SetBinContent(16,85392.86); h_SL3L269->SetBinContent(17,104085.7); h_SL3L269->SetBinContent(18,108228.6); h_SL3L269->SetBinContent(19,108664.3); h_SL3L269->SetBinContent(20,110821.4); h_SL3L269->SetBinContent(21,98514.28); h_SL3L269->SetBinContent(22,95092.86); h_SL3L269->SetBinContent(23,93621.43); h_SL3L269->SetBinContent(24,92228.57); h_SL3L269->SetBinContent(25,91028.57); h_SL3L269->SetBinContent(26,86771.43); h_SL3L269->SetBinContent(27,86928.57); h_SL3L269->SetBinContent(28,96907.14); h_SL3L269->SetBinContent(29,100728.6); h_SL3L269->SetBinContent(30,100307.1); h_SL3L269->SetBinContent(31,98107.14); h_SL3L269->SetBinContent(32,96185.71); h_SL3L269->SetBinContent(33,99042.86); h_SL3L269->SetBinContent(34,99707.14); h_SL3L269->SetBinContent(35,99600); h_SL3L269->SetBinContent(36,100364.3); h_SL3L269->SetBinContent(37,92542.86); h_SL3L269->SetBinContent(38,96514.28); h_SL3L269->SetBinContent(39,96471.43); h_SL3L269->SetBinContent(40,96071.43); h_SL3L269->SetBinContent(41,105371.4); h_SL3L269->SetBinContent(42,105000); h_SL3L269->SetBinContent(43,103292.9); h_SL3L269->SetBinContent(44,98950); h_SL3L269->SetBinContent(45,93814.28); h_SL3L269->SetBinContent(46,97435.71); h_SL3L269->SetBinContent(47,99864.28); h_SL3L269->SetBinContent(48,103042.9); h_SL3L269->SetBinContent(49,101807.1); h_SL3L269->SetBinContent(50,103757.1); h_SL3L269->SetBinContent(51,96500); h_SL3L269->SetBinContent(52,101214.3); h_SL3L269->SetBinContent(53,95257.14); h_SL3L269->SetBinContent(54,93242.86); h_SL3L269->SetBinContent(55,92471.43); h_SL3L269->SetBinContent(56,92321.43); h_SL3L269->SetBinContent(57,96400); h_SL3L269->SetBinContent(58,75592.86); h_SL3L269->SetBinContent(59,66621.43); h_SL3L269->SetMaximum(131831.1); h_SL3L269->SetEntries(60); h_SL3L269->SetDirectory(0); h_SL3L269->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL3L269->SetLineColor(ci); h_SL3L269->SetLineWidth(2); h_SL3L269->GetXaxis()->SetTitle("Cell"); h_SL3L269->GetXaxis()->SetLabelFont(42); h_SL3L269->GetXaxis()->SetLabelSize(0.035); h_SL3L269->GetXaxis()->SetTitleSize(0.035); h_SL3L269->GetXaxis()->SetTitleFont(42); h_SL3L269->GetYaxis()->SetTitle("Hz"); h_SL3L269->GetYaxis()->SetLabelFont(42); h_SL3L269->GetYaxis()->SetLabelSize(0.035); h_SL3L269->GetYaxis()->SetTitleSize(0.035); h_SL3L269->GetYaxis()->SetTitleOffset(1.45); h_SL3L269->GetYaxis()->SetTitleFont(42); h_SL3L269->GetZaxis()->SetLabelFont(42); h_SL3L269->GetZaxis()->SetLabelSize(0.035); h_SL3L269->GetZaxis()->SetTitleSize(0.035); h_SL3L269->GetZaxis()->SetTitleFont(42); h_SL3L269->Draw("same"); TH1D *h_SL3L370 = new TH1D("h_SL3L370","",60,0,60); h_SL3L370->SetBinContent(1,47778.57); h_SL3L370->SetBinContent(2,59957.14); h_SL3L370->SetBinContent(3,73000); h_SL3L370->SetBinContent(4,87221.43); h_SL3L370->SetBinContent(5,80750); h_SL3L370->SetBinContent(6,84435.71); h_SL3L370->SetBinContent(7,85514.28); h_SL3L370->SetBinContent(8,80678.57); h_SL3L370->SetBinContent(9,89764.28); h_SL3L370->SetBinContent(10,90057.14); h_SL3L370->SetBinContent(11,91028.57); h_SL3L370->SetBinContent(12,90864.28); h_SL3L370->SetBinContent(13,83850); h_SL3L370->SetBinContent(14,83092.86); h_SL3L370->SetBinContent(15,78000); h_SL3L370->SetBinContent(16,80078.57); h_SL3L370->SetBinContent(17,96950); h_SL3L370->SetBinContent(18,100757.1); h_SL3L370->SetBinContent(19,100557.1); h_SL3L370->SetBinContent(20,99285.71); h_SL3L370->SetBinContent(21,89607.14); h_SL3L370->SetBinContent(22,83542.86); h_SL3L370->SetBinContent(23,84985.71); h_SL3L370->SetBinContent(24,82878.57); h_SL3L370->SetBinContent(25,78142.86); h_SL3L370->SetBinContent(26,76735.71); h_SL3L370->SetBinContent(27,83557.14); h_SL3L370->SetBinContent(28,87821.43); h_SL3L370->SetBinContent(29,88350); h_SL3L370->SetBinContent(30,89007.14); h_SL3L370->SetBinContent(31,86564.28); h_SL3L370->SetBinContent(32,84421.43); h_SL3L370->SetBinContent(33,87764.28); h_SL3L370->SetBinContent(34,87778.57); h_SL3L370->SetBinContent(35,85607.14); h_SL3L370->SetBinContent(36,88864.28); h_SL3L370->SetBinContent(37,83321.43); h_SL3L370->SetBinContent(38,83928.57); h_SL3L370->SetBinContent(39,83007.14); h_SL3L370->SetBinContent(40,81142.86); h_SL3L370->SetBinContent(41,88842.86); h_SL3L370->SetBinContent(42,88707.14); h_SL3L370->SetBinContent(43,86342.86); h_SL3L370->SetBinContent(44,84021.43); h_SL3L370->SetBinContent(45,10792.86); h_SL3L370->SetBinContent(46,84385.71); h_SL3L370->SetBinContent(47,84457.14); h_SL3L370->SetBinContent(48,86907.14); h_SL3L370->SetBinContent(49,87114.28); h_SL3L370->SetBinContent(50,83407.14); h_SL3L370->SetBinContent(51,84292.86); h_SL3L370->SetBinContent(52,82300); h_SL3L370->SetBinContent(53,77628.57); h_SL3L370->SetBinContent(54,77028.57); h_SL3L370->SetBinContent(55,76328.57); h_SL3L370->SetBinContent(56,76050); h_SL3L370->SetBinContent(57,68207.14); h_SL3L370->SetBinContent(58,60878.57); h_SL3L370->SetBinContent(59,54650); h_SL3L370->SetMaximum(131831.1); h_SL3L370->SetEntries(60); h_SL3L370->SetDirectory(0); h_SL3L370->SetStats(0); ci = TColor::GetColor("#009900"); h_SL3L370->SetLineColor(ci); h_SL3L370->SetLineWidth(2); h_SL3L370->GetXaxis()->SetTitle("Cell"); h_SL3L370->GetXaxis()->SetLabelFont(42); h_SL3L370->GetXaxis()->SetLabelSize(0.035); h_SL3L370->GetXaxis()->SetTitleSize(0.035); h_SL3L370->GetXaxis()->SetTitleFont(42); h_SL3L370->GetYaxis()->SetTitle("Hz"); h_SL3L370->GetYaxis()->SetLabelFont(42); h_SL3L370->GetYaxis()->SetLabelSize(0.035); h_SL3L370->GetYaxis()->SetTitleSize(0.035); h_SL3L370->GetYaxis()->SetTitleOffset(1.45); h_SL3L370->GetYaxis()->SetTitleFont(42); h_SL3L370->GetZaxis()->SetLabelFont(42); h_SL3L370->GetZaxis()->SetLabelSize(0.035); h_SL3L370->GetZaxis()->SetTitleSize(0.035); h_SL3L370->GetZaxis()->SetTitleFont(42); h_SL3L370->Draw("same"); TH1D *h_SL3L471 = new TH1D("h_SL3L471","",60,0,60); h_SL3L471->SetBinContent(2,45450); h_SL3L471->SetBinContent(3,52535.71); h_SL3L471->SetBinContent(4,65964.28); h_SL3L471->SetBinContent(5,62885.71); h_SL3L471->SetBinContent(6,66764.28); h_SL3L471->SetBinContent(7,66464.28); h_SL3L471->SetBinContent(8,63028.57); h_SL3L471->SetBinContent(9,66514.28); h_SL3L471->SetBinContent(10,68971.43); h_SL3L471->SetBinContent(11,67521.43); h_SL3L471->SetBinContent(12,68314.28); h_SL3L471->SetBinContent(13,62614.29); h_SL3L471->SetBinContent(14,63142.86); h_SL3L471->SetBinContent(15,58071.43); h_SL3L471->SetBinContent(16,58550); h_SL3L471->SetBinContent(17,70078.57); h_SL3L471->SetBinContent(18,72514.28); h_SL3L471->SetBinContent(19,74242.86); h_SL3L471->SetBinContent(20,72542.86); h_SL3L471->SetBinContent(21,63042.86); h_SL3L471->SetBinContent(22,61392.86); h_SL3L471->SetBinContent(23,60385.71); h_SL3L471->SetBinContent(24,60992.86); h_SL3L471->SetBinContent(25,55835.71); h_SL3L471->SetBinContent(26,53592.86); h_SL3L471->SetBinContent(27,54550); h_SL3L471->SetBinContent(28,58635.71); h_SL3L471->SetBinContent(29,58928.57); h_SL3L471->SetBinContent(30,60035.71); h_SL3L471->SetBinContent(31,58778.57); h_SL3L471->SetBinContent(32,55778.57); h_SL3L471->SetBinContent(33,56064.29); h_SL3L471->SetBinContent(34,57192.86); h_SL3L471->SetBinContent(35,54828.57); h_SL3L471->SetBinContent(36,55821.43); h_SL3L471->SetBinContent(37,50435.71); h_SL3L471->SetBinContent(38,51700); h_SL3L471->SetBinContent(39,52350); h_SL3L471->SetBinContent(40,49985.71); h_SL3L471->SetBinContent(41,51407.14); h_SL3L471->SetBinContent(42,53507.14); h_SL3L471->SetBinContent(43,52742.86); h_SL3L471->SetBinContent(44,49878.57); h_SL3L471->SetBinContent(45,46442.86); h_SL3L471->SetBinContent(46,46871.43); h_SL3L471->SetBinContent(47,49071.43); h_SL3L471->SetBinContent(48,50307.14); h_SL3L471->SetBinContent(49,46592.86); h_SL3L471->SetBinContent(50,48307.14); h_SL3L471->SetBinContent(51,44814.29); h_SL3L471->SetBinContent(52,47242.86); h_SL3L471->SetBinContent(53,41207.14); h_SL3L471->SetBinContent(54,43471.43); h_SL3L471->SetBinContent(55,41071.43); h_SL3L471->SetBinContent(56,41107.14); h_SL3L471->SetBinContent(57,41050); h_SL3L471->SetBinContent(58,31978.57); h_SL3L471->SetBinContent(59,27135.71); h_SL3L471->SetMaximum(131831.1); h_SL3L471->SetEntries(60); h_SL3L471->SetDirectory(0); h_SL3L471->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL3L471->SetLineColor(ci); h_SL3L471->SetLineWidth(2); h_SL3L471->GetXaxis()->SetTitle("Cell"); h_SL3L471->GetXaxis()->SetLabelFont(42); h_SL3L471->GetXaxis()->SetLabelSize(0.035); h_SL3L471->GetXaxis()->SetTitleSize(0.035); h_SL3L471->GetXaxis()->SetTitleFont(42); h_SL3L471->GetYaxis()->SetTitle("Hz"); h_SL3L471->GetYaxis()->SetLabelFont(42); h_SL3L471->GetYaxis()->SetLabelSize(0.035); h_SL3L471->GetYaxis()->SetTitleSize(0.035); h_SL3L471->GetYaxis()->SetTitleOffset(1.45); h_SL3L471->GetYaxis()->SetTitleFont(42); h_SL3L471->GetZaxis()->SetLabelFont(42); h_SL3L471->GetZaxis()->SetLabelSize(0.035); h_SL3L471->GetZaxis()->SetTitleSize(0.035); h_SL3L471->GetZaxis()->SetTitleFont(42); h_SL3L471->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_SL3L1","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_SL3L2","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_SL3L3","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_SL3L4","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("SL3, run 7477"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }