void RatesPerCell_Removing_noisy_cells_run_5385_SL2() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:43:20 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-444.6188,67.5,4001.569); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 5385",60,0,60); h_SL2L164->SetBinContent(1,93.76917); h_SL2L164->SetBinContent(2,121.3483); h_SL2L164->SetBinContent(3,113.9939); h_SL2L164->SetBinContent(4,119.5097); h_SL2L164->SetBinContent(5,134.2186); h_SL2L164->SetBinContent(6,139.7345); h_SL2L164->SetBinContent(7,150.7661); h_SL2L164->SetBinContent(8,182.0225); h_SL2L164->SetBinContent(9,152.6047); h_SL2L164->SetBinContent(10,128.7028); h_SL2L164->SetBinContent(11,159.9592); h_SL2L164->SetBinContent(12,170.9908); h_SL2L164->SetBinContent(13,148.9275); h_SL2L164->SetBinContent(14,209.6017); h_SL2L164->SetBinContent(15,213.2789); h_SL2L164->SetBinContent(16,196.7314); h_SL2L164->SetBinContent(17,198.57); h_SL2L164->SetBinContent(18,198.57); h_SL2L164->SetBinContent(19,220.6333); h_SL2L164->SetBinContent(20,272.1144); h_SL2L164->SetBinContent(21,226.1492); h_SL2L164->SetBinContent(22,277.6303); h_SL2L164->SetBinContent(23,308.8867); h_SL2L164->SetBinContent(24,261.0828); h_SL2L164->SetBinContent(25,319.9183); h_SL2L164->SetBinContent(26,266.5986); h_SL2L164->SetBinContent(27,314.4025); h_SL2L164->SetBinContent(28,270.2758); h_SL2L164->SetBinContent(29,319.9183); h_SL2L164->SetBinContent(30,327.2728); h_SL2L164->SetBinContent(31,294.1778); h_SL2L164->SetBinContent(32,296.0164); h_SL2L164->SetBinContent(33,275.7917); h_SL2L164->SetBinContent(34,296.0164); h_SL2L164->SetBinContent(35,1.838611); h_SL2L164->SetBinContent(36,268.4372); h_SL2L164->SetBinContent(37,216.9561); h_SL2L164->SetBinContent(38,224.3106); h_SL2L164->SetBinContent(39,182.0225); h_SL2L164->SetBinContent(40,172.8295); h_SL2L164->SetBinContent(41,180.1839); h_SL2L164->SetBinContent(42,165.475); h_SL2L164->SetBinContent(43,174.6681); h_SL2L164->SetBinContent(44,126.8642); h_SL2L164->SetBinContent(45,156.282); h_SL2L164->SetBinContent(46,145.2503); h_SL2L164->SetBinContent(47,141.5731); h_SL2L164->SetBinContent(48,136.0572); h_SL2L164->SetBinContent(49,137.8958); h_SL2L164->SetBinContent(50,136.0572); h_SL2L164->SetBinContent(51,176.5067); h_SL2L164->SetBinContent(53,115.8325); h_SL2L164->SetBinContent(54,130.5414); h_SL2L164->SetBinContent(55,126.8642); h_SL2L164->SetBinContent(56,125.0256); h_SL2L164->SetBinContent(57,2689.888); h_SL2L164->SetMaximum(3556.95); h_SL2L164->SetEntries(60); h_SL2L164->SetDirectory(0); h_SL2L164->SetStats(0); h_SL2L164->SetLineWidth(2); h_SL2L164->GetXaxis()->SetTitle("Cell"); h_SL2L164->GetXaxis()->SetLabelFont(42); h_SL2L164->GetXaxis()->SetLabelSize(0.035); h_SL2L164->GetXaxis()->SetTitleSize(0.035); h_SL2L164->GetXaxis()->SetTitleFont(42); h_SL2L164->GetYaxis()->SetTitle("Hz"); h_SL2L164->GetYaxis()->SetLabelFont(42); h_SL2L164->GetYaxis()->SetLabelSize(0.035); h_SL2L164->GetYaxis()->SetTitleSize(0.035); h_SL2L164->GetYaxis()->SetTitleOffset(1.45); h_SL2L164->GetYaxis()->SetTitleFont(42); h_SL2L164->GetZaxis()->SetLabelFont(42); h_SL2L164->GetZaxis()->SetLabelSize(0.035); h_SL2L164->GetZaxis()->SetTitleSize(0.035); h_SL2L164->GetZaxis()->SetTitleFont(42); h_SL2L164->Draw(""); TH1D *h_SL2L265 = new TH1D("h_SL2L265","",60,0,60); h_SL2L265->SetBinContent(1,106.6394); h_SL2L265->SetBinContent(2,101.1236); h_SL2L265->SetBinContent(3,115.8325); h_SL2L265->SetBinContent(4,106.6394); h_SL2L265->SetBinContent(5,115.8325); h_SL2L265->SetBinContent(6,137.8958); h_SL2L265->SetBinContent(7,137.8958); h_SL2L265->SetBinContent(8,163.6364); h_SL2L265->SetBinContent(9,154.4433); h_SL2L265->SetBinContent(10,117.6711); h_SL2L265->SetBinContent(11,132.38); h_SL2L265->SetBinContent(12,158.1206); h_SL2L265->SetBinContent(13,139.7345); h_SL2L265->SetBinContent(14,185.6997); h_SL2L265->SetBinContent(15,215.1175); h_SL2L265->SetBinContent(16,204.0858); h_SL2L265->SetBinContent(17,209.6017); h_SL2L265->SetBinContent(18,207.7631); h_SL2L265->SetBinContent(19,191.2156); h_SL2L265->SetBinContent(20,268.4372); h_SL2L265->SetBinContent(21,257.4055); h_SL2L265->SetBinContent(22,239.0194); h_SL2L265->SetBinContent(23,284.9847); h_SL2L265->SetBinContent(24,292.3392); h_SL2L265->SetBinContent(25,272.1144); h_SL2L265->SetBinContent(26,279.4689); h_SL2L265->SetBinContent(27,266.5986); h_SL2L265->SetBinContent(28,329.1114); h_SL2L265->SetBinContent(29,325.4342); h_SL2L265->SetBinContent(30,270.2758); h_SL2L265->SetBinContent(31,308.8867); h_SL2L265->SetBinContent(32,268.4372); h_SL2L265->SetBinContent(33,248.2125); h_SL2L265->SetBinContent(34,281.3075); h_SL2L265->SetBinContent(35,272.1144); h_SL2L265->SetBinContent(36,233.5036); h_SL2L265->SetBinContent(37,211.4403); h_SL2L265->SetBinContent(38,218.7947); h_SL2L265->SetBinContent(39,205.9244); h_SL2L265->SetBinContent(40,170.9908); h_SL2L265->SetBinContent(41,182.0225); h_SL2L265->SetBinContent(42,174.6681); h_SL2L265->SetBinContent(43,163.6364); h_SL2L265->SetBinContent(44,125.0256); h_SL2L265->SetBinContent(45,132.38); h_SL2L265->SetBinContent(46,128.7028); h_SL2L265->SetBinContent(47,163.6364); h_SL2L265->SetBinContent(48,128.7028); h_SL2L265->SetBinContent(49,130.5414); h_SL2L265->SetBinContent(50,123.1869); h_SL2L265->SetBinContent(51,141.5731); h_SL2L265->SetBinContent(52,143.4117); h_SL2L265->SetBinContent(53,123.1869); h_SL2L265->SetBinContent(54,104.8008); h_SL2L265->SetBinContent(55,126.8642); h_SL2L265->SetBinContent(56,145.2503); h_SL2L265->SetBinContent(57,112.1553); h_SL2L265->SetMaximum(3093.371); h_SL2L265->SetEntries(60); h_SL2L265->SetDirectory(0); h_SL2L265->SetStats(0); Int_t ci; // for color index setting TColor *color; // for color definition with alpha ci = TColor::GetColor("#cc0000"); h_SL2L265->SetLineColor(ci); h_SL2L265->SetLineWidth(2); h_SL2L265->GetXaxis()->SetTitle("Cell"); h_SL2L265->GetXaxis()->SetLabelFont(42); h_SL2L265->GetXaxis()->SetLabelSize(0.035); h_SL2L265->GetXaxis()->SetTitleSize(0.035); h_SL2L265->GetXaxis()->SetTitleFont(42); h_SL2L265->GetYaxis()->SetTitle("Hz"); h_SL2L265->GetYaxis()->SetLabelFont(42); h_SL2L265->GetYaxis()->SetLabelSize(0.035); h_SL2L265->GetYaxis()->SetTitleSize(0.035); h_SL2L265->GetYaxis()->SetTitleOffset(1.45); h_SL2L265->GetYaxis()->SetTitleFont(42); h_SL2L265->GetZaxis()->SetLabelFont(42); h_SL2L265->GetZaxis()->SetLabelSize(0.035); h_SL2L265->GetZaxis()->SetTitleSize(0.035); h_SL2L265->GetZaxis()->SetTitleFont(42); h_SL2L265->Draw("same"); TH1D *h_SL2L366 = new TH1D("h_SL2L366","",60,0,60); h_SL2L366->SetBinContent(1,117.6711); h_SL2L366->SetBinContent(2,115.8325); h_SL2L366->SetBinContent(3,99.285); h_SL2L366->SetBinContent(4,108.4781); h_SL2L366->SetBinContent(5,117.6711); h_SL2L366->SetBinContent(6,128.7028); h_SL2L366->SetBinContent(7,141.5731); h_SL2L366->SetBinContent(8,154.4433); h_SL2L366->SetBinContent(9,161.7978); h_SL2L366->SetBinContent(10,112.1553); h_SL2L366->SetBinContent(11,158.1206); h_SL2L366->SetBinContent(12,152.6047); h_SL2L366->SetBinContent(13,150.7661); h_SL2L366->SetBinContent(14,216.9561); h_SL2L366->SetBinContent(15,215.1175); h_SL2L366->SetBinContent(16,207.7631); h_SL2L366->SetBinContent(17,185.6997); h_SL2L366->SetBinContent(18,213.2789); h_SL2L366->SetBinContent(19,229.8264); h_SL2L366->SetBinContent(20,233.5036); h_SL2L366->SetBinContent(21,240.8581); h_SL2L366->SetBinContent(22,275.7917); h_SL2L366->SetBinContent(23,296.0164); h_SL2L366->SetBinContent(24,261.0828); h_SL2L366->SetBinContent(25,296.0164); h_SL2L366->SetBinContent(26,268.4372); h_SL2L366->SetBinContent(27,310.7253); h_SL2L366->SetBinContent(28,294.1778); h_SL2L366->SetBinContent(29,305.2094); h_SL2L366->SetBinContent(30,301.5322); h_SL2L366->SetBinContent(31,272.1144); h_SL2L366->SetBinContent(32,279.4689); h_SL2L366->SetBinContent(33,273.9531); h_SL2L366->SetBinContent(34,266.5986); h_SL2L366->SetBinContent(35,242.6967); h_SL2L366->SetBinContent(36,218.7947); h_SL2L366->SetBinContent(37,198.57); h_SL2L366->SetBinContent(38,220.6333); h_SL2L366->SetBinContent(39,189.377); h_SL2L366->SetBinContent(40,178.3453); h_SL2L366->SetBinContent(41,176.5067); h_SL2L366->SetBinContent(42,165.475); h_SL2L366->SetBinContent(43,159.9592); h_SL2L366->SetBinContent(44,147.0889); h_SL2L366->SetBinContent(45,139.7345); h_SL2L366->SetBinContent(46,139.7345); h_SL2L366->SetBinContent(47,152.6047); h_SL2L366->SetBinContent(48,119.5097); h_SL2L366->SetBinContent(49,132.38); h_SL2L366->SetBinContent(50,112.1553); h_SL2L366->SetBinContent(51,156.282); h_SL2L366->SetBinContent(52,119.5097); h_SL2L366->SetBinContent(53,112.1553); h_SL2L366->SetBinContent(54,119.5097); h_SL2L366->SetBinContent(55,119.5097); h_SL2L366->SetBinContent(56,132.38); h_SL2L366->SetBinContent(57,134.2186); h_SL2L366->SetMaximum(3093.371); h_SL2L366->SetEntries(60); h_SL2L366->SetDirectory(0); h_SL2L366->SetStats(0); ci = TColor::GetColor("#009900"); h_SL2L366->SetLineColor(ci); h_SL2L366->SetLineWidth(2); h_SL2L366->GetXaxis()->SetTitle("Cell"); h_SL2L366->GetXaxis()->SetLabelFont(42); h_SL2L366->GetXaxis()->SetLabelSize(0.035); h_SL2L366->GetXaxis()->SetTitleSize(0.035); h_SL2L366->GetXaxis()->SetTitleFont(42); h_SL2L366->GetYaxis()->SetTitle("Hz"); h_SL2L366->GetYaxis()->SetLabelFont(42); h_SL2L366->GetYaxis()->SetLabelSize(0.035); h_SL2L366->GetYaxis()->SetTitleSize(0.035); h_SL2L366->GetYaxis()->SetTitleOffset(1.45); h_SL2L366->GetYaxis()->SetTitleFont(42); h_SL2L366->GetZaxis()->SetLabelFont(42); h_SL2L366->GetZaxis()->SetLabelSize(0.035); h_SL2L366->GetZaxis()->SetTitleSize(0.035); h_SL2L366->GetZaxis()->SetTitleFont(42); h_SL2L366->Draw("same"); TH1D *h_SL2L467 = new TH1D("h_SL2L467","",60,0,60); h_SL2L467->SetBinContent(2,128.7028); h_SL2L467->SetBinContent(3,128.7028); h_SL2L467->SetBinContent(4,123.1869); h_SL2L467->SetBinContent(5,115.8325); h_SL2L467->SetBinContent(6,148.9275); h_SL2L467->SetBinContent(7,119.5097); h_SL2L467->SetBinContent(8,169.1522); h_SL2L467->SetBinContent(9,147.0889); h_SL2L467->SetBinContent(10,136.0572); h_SL2L467->SetBinContent(11,132.38); h_SL2L467->SetBinContent(12,148.9275); h_SL2L467->SetBinContent(13,152.6047); h_SL2L467->SetBinContent(14,205.9244); h_SL2L467->SetBinContent(15,218.7947); h_SL2L467->SetBinContent(16,196.7314); h_SL2L467->SetBinContent(17,202.2472); h_SL2L467->SetBinContent(18,198.57); h_SL2L467->SetBinContent(19,165.475); h_SL2L467->SetBinContent(20,250.0511); h_SL2L467->SetBinContent(21,216.9561); h_SL2L467->SetBinContent(22,253.7283); h_SL2L467->SetBinContent(23,262.9214); h_SL2L467->SetBinContent(24,284.9847); h_SL2L467->SetBinContent(25,270.2758); h_SL2L467->SetBinContent(26,296.0164); h_SL2L467->SetBinContent(27,283.1461); h_SL2L467->SetBinContent(28,330.95); h_SL2L467->SetBinContent(29,338.3044); h_SL2L467->SetBinContent(30,275.7917); h_SL2L467->SetBinContent(31,321.757); h_SL2L467->SetBinContent(32,273.9531); h_SL2L467->SetBinContent(33,262.9214); h_SL2L467->SetBinContent(34,255.5669); h_SL2L467->SetBinContent(35,275.7917); h_SL2L467->SetBinContent(36,242.6967); h_SL2L467->SetBinContent(37,235.3422); h_SL2L467->SetBinContent(38,218.7947); h_SL2L467->SetBinContent(39,207.7631); h_SL2L467->SetBinContent(40,165.475); h_SL2L467->SetBinContent(41,180.1839); h_SL2L467->SetBinContent(42,183.8611); h_SL2L467->SetBinContent(43,167.3136); h_SL2L467->SetBinContent(44,137.8958); h_SL2L467->SetBinContent(45,134.2186); h_SL2L467->SetBinContent(46,117.6711); h_SL2L467->SetBinContent(47,152.6047); h_SL2L467->SetBinContent(48,130.5414); h_SL2L467->SetBinContent(49,143.4117); h_SL2L467->SetBinContent(50,134.2186); h_SL2L467->SetBinContent(51,154.4433); h_SL2L467->SetBinContent(52,145.2503); h_SL2L467->SetBinContent(53,113.9939); h_SL2L467->SetBinContent(54,126.8642); h_SL2L467->SetBinContent(55,115.8325); h_SL2L467->SetBinContent(56,115.8325); h_SL2L467->SetBinContent(57,102.9622); h_SL2L467->SetMaximum(3093.371); h_SL2L467->SetEntries(60); h_SL2L467->SetDirectory(0); h_SL2L467->SetStats(0); ci = TColor::GetColor("#0000cc"); h_SL2L467->SetLineColor(ci); h_SL2L467->SetLineWidth(2); h_SL2L467->GetXaxis()->SetTitle("Cell"); h_SL2L467->GetXaxis()->SetLabelFont(42); h_SL2L467->GetXaxis()->SetLabelSize(0.035); h_SL2L467->GetXaxis()->SetTitleSize(0.035); h_SL2L467->GetXaxis()->SetTitleFont(42); h_SL2L467->GetYaxis()->SetTitle("Hz"); h_SL2L467->GetYaxis()->SetLabelFont(42); h_SL2L467->GetYaxis()->SetLabelSize(0.035); h_SL2L467->GetYaxis()->SetTitleSize(0.035); h_SL2L467->GetYaxis()->SetTitleOffset(1.45); h_SL2L467->GetYaxis()->SetTitleFont(42); h_SL2L467->GetZaxis()->SetLabelFont(42); h_SL2L467->GetZaxis()->SetLabelSize(0.035); h_SL2L467->GetZaxis()->SetTitleSize(0.035); h_SL2L467->GetZaxis()->SetTitleFont(42); h_SL2L467->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_SL2L1","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_SL2L2","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_SL2L3","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_SL2L4","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("SL2, run 5385"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }