void RatesPerCell_Removing_noisy_cells_run_5873_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:15:02 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1358.15,67.5,12223.35); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5873",60,0,60); h_SL1L160->SetBinContent(1,3132.085); h_SL1L160->SetBinContent(2,3767.625); h_SL1L160->SetBinContent(3,4594.739); h_SL1L160->SetBinContent(4,5446.179); h_SL1L160->SetBinContent(5,5756.347); h_SL1L160->SetBinContent(6,6242.884); h_SL1L160->SetBinContent(7,5990.493); h_SL1L160->SetBinContent(8,6458.786); h_SL1L160->SetBinContent(9,6702.054); h_SL1L160->SetBinContent(10,6790.239); h_SL1L160->SetBinContent(11,6483.112); h_SL1L160->SetBinContent(12,6604.747); h_SL1L160->SetBinContent(13,7079.121); h_SL1L160->SetBinContent(14,7048.712); h_SL1L160->SetBinContent(15,6553.052); h_SL1L160->SetBinContent(16,6486.153); h_SL1L160->SetBinContent(17,7012.222); h_SL1L160->SetBinContent(18,7133.856); h_SL1L160->SetBinContent(19,6720.299); h_SL1L160->SetBinContent(20,6939.241); h_SL1L160->SetBinContent(21,7288.94); h_SL1L160->SetBinContent(22,7459.228); h_SL1L160->SetBinContent(23,6404.05); h_SL1L160->SetBinContent(24,6607.788); h_SL1L160->SetBinContent(25,7176.428); h_SL1L160->SetBinContent(26,7589.985); h_SL1L160->SetBinContent(27,6768.953); h_SL1L160->SetBinContent(28,6997.018); h_SL1L160->SetBinContent(29,7219); h_SL1L160->SetBinContent(30,7702.497); h_SL1L160->SetBinContent(31,7285.899); h_SL1L160->SetBinContent(32,7368.002); h_SL1L160->SetBinContent(33,7678.17); h_SL1L160->SetBinContent(34,7839.335); h_SL1L160->SetBinContent(35,6972.691); h_SL1L160->SetBinContent(36,7282.858); h_SL1L160->SetBinContent(37,7444.024); h_SL1L160->SetBinContent(38,7623.435); h_SL1L160->SetBinContent(39,6784.157); h_SL1L160->SetBinContent(40,6948.364); h_SL1L160->SetBinContent(41,7416.656); h_SL1L160->SetBinContent(42,7656.884); h_SL1L160->SetBinContent(43,6668.605); h_SL1L160->SetBinContent(44,6893.628); h_SL1L160->SetBinContent(45,6942.282); h_SL1L160->SetBinContent(46,7398.411); h_SL1L160->SetBinContent(47,5078.235); h_SL1L160->SetBinContent(48,5120.807); h_SL1L160->SetBinContent(49,5701.611); h_SL1L160->SetBinContent(50,5579.977); h_SL1L160->SetBinContent(51,5005.255); h_SL1L160->SetBinContent(52,4977.887); h_SL1L160->SetBinContent(53,4941.396); h_SL1L160->SetBinContent(54,4938.356); h_SL1L160->SetBinContent(55,4074.752); h_SL1L160->SetBinContent(56,3989.608); h_SL1L160->SetBinContent(57,3837.565); h_SL1L160->SetBinContent(58,3198.984); h_SL1L160->SetBinContent(59,2688.12); h_SL1L160->SetMaximum(10865.2); 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,2937.47); h_SL1L261->SetBinContent(2,3408.803); h_SL1L261->SetBinContent(3,4220.713); h_SL1L261->SetBinContent(4,5087.358); h_SL1L261->SetBinContent(5,5932.717); h_SL1L261->SetBinContent(6,6023.942); h_SL1L261->SetBinContent(7,6516.562); h_SL1L261->SetBinContent(8,6194.231); h_SL1L261->SetBinContent(9,6887.547); h_SL1L261->SetBinContent(10,6972.691); h_SL1L261->SetBinContent(11,6586.501); h_SL1L261->SetBinContent(12,6753.749); h_SL1L261->SetBinContent(13,7155.142); h_SL1L261->SetBinContent(14,7158.183); h_SL1L261->SetBinContent(15,6920.996); h_SL1L261->SetBinContent(16,6683.809); h_SL1L261->SetBinContent(17,7030.467); h_SL1L261->SetBinContent(18,7383.207); h_SL1L261->SetBinContent(19,6954.446); h_SL1L261->SetBinContent(20,6857.138); h_SL1L261->SetBinContent(21,7380.166); h_SL1L261->SetBinContent(22,7565.658); h_SL1L261->SetBinContent(23,7155.142); h_SL1L261->SetBinContent(24,6489.194); h_SL1L261->SetBinContent(25,7194.673); h_SL1L261->SetBinContent(26,7422.738); h_SL1L261->SetBinContent(27,7149.061); h_SL1L261->SetBinContent(28,7644.721); h_SL1L261->SetBinContent(29,7462.269); h_SL1L261->SetBinContent(30,7787.641); h_SL1L261->SetBinContent(31,7434.901); h_SL1L261->SetBinContent(32,7410.575); h_SL1L261->SetBinContent(33,7745.069); h_SL1L261->SetBinContent(34,8070.441); h_SL1L261->SetBinContent(35,7334.553); h_SL1L261->SetBinContent(36,7279.817); h_SL1L261->SetBinContent(37,7772.437); h_SL1L261->SetBinContent(38,7860.622); h_SL1L261->SetBinContent(39,7033.508); h_SL1L261->SetBinContent(40,7036.549); h_SL1L261->SetBinContent(41,7611.271); h_SL1L261->SetBinContent(42,7653.843); h_SL1L261->SetBinContent(43,7273.736); h_SL1L261->SetBinContent(44,6866.261); h_SL1L261->SetBinContent(45,7334.553); h_SL1L261->SetBinContent(46,7450.105); h_SL1L261->SetBinContent(47,6270.252); h_SL1L261->SetBinContent(48,5154.257); h_SL1L261->SetBinContent(49,5564.773); h_SL1L261->SetBinContent(50,5960.084); h_SL1L261->SetBinContent(51,5081.276); h_SL1L261->SetBinContent(52,5145.134); h_SL1L261->SetBinContent(53,5327.586); h_SL1L261->SetBinContent(54,5294.136); h_SL1L261->SetBinContent(55,4689.005); h_SL1L261->SetBinContent(56,4299.775); h_SL1L261->SetBinContent(57,4053.466); h_SL1L261->SetBinContent(58,3785.87); h_SL1L261->SetBinContent(59,3086.472); h_SL1L261->SetMaximum(9448.863); 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,3211.148); h_SL1L362->SetBinContent(2,3764.584); h_SL1L362->SetBinContent(3,4761.986); h_SL1L362->SetBinContent(4,5616.467); h_SL1L362->SetBinContent(5,6191.19); h_SL1L362->SetBinContent(6,6312.824); h_SL1L362->SetBinContent(7,6239.844); h_SL1L362->SetBinContent(8,6832.811); h_SL1L362->SetBinContent(9,7182.51); h_SL1L362->SetBinContent(10,6747.667); h_SL1L362->SetBinContent(11,6750.708); h_SL1L362->SetBinContent(12,6829.771); h_SL1L362->SetBinContent(13,7358.88); h_SL1L362->SetBinContent(14,6927.078); h_SL1L362->SetBinContent(15,6802.403); h_SL1L362->SetBinContent(16,6969.65); h_SL1L362->SetBinContent(17,7313.267); h_SL1L362->SetBinContent(18,7185.551); h_SL1L362->SetBinContent(19,6799.362); h_SL1L362->SetBinContent(20,7209.878); h_SL1L362->SetBinContent(21,7608.23); h_SL1L362->SetBinContent(22,7316.308); h_SL1L362->SetBinContent(23,6835.852); h_SL1L362->SetBinContent(24,7152.102); h_SL1L362->SetBinContent(25,7285.899); h_SL1L362->SetBinContent(26,7444.024); h_SL1L362->SetBinContent(27,7100.407); h_SL1L362->SetBinContent(28,7395.37); h_SL1L362->SetBinContent(29,7602.148); h_SL1L362->SetBinContent(30,7489.637); h_SL1L362->SetBinContent(31,7392.33); h_SL1L362->SetBinContent(32,7848.458); h_SL1L362->SetBinContent(33,8113.013); h_SL1L362->SetBinContent(34,7766.355); h_SL1L362->SetBinContent(35,7018.304); h_SL1L362->SetBinContent(36,7860.622); h_SL1L362->SetBinContent(37,7954.888); h_SL1L362->SetBinContent(38,7422.738); h_SL1L362->SetBinContent(39,7006.14); h_SL1L362->SetBinContent(40,7364.961); h_SL1L362->SetBinContent(41,7805.886); h_SL1L362->SetBinContent(42,7468.351); h_SL1L362->SetBinContent(43,6972.691); h_SL1L362->SetBinContent(44,7547.413); h_SL1L362->SetBinContent(45,7346.716); h_SL1L362->SetBinContent(46,7225.082); h_SL1L362->SetBinContent(47,5467.465); h_SL1L362->SetBinContent(48,5373.199); h_SL1L362->SetBinContent(49,6033.065); h_SL1L362->SetBinContent(50,5394.485); h_SL1L362->SetBinContent(51,5190.747); h_SL1L362->SetBinContent(52,5409.689); h_SL1L362->SetBinContent(53,5345.831); h_SL1L362->SetBinContent(54,5056.949); h_SL1L362->SetBinContent(55,4473.104); h_SL1L362->SetBinContent(56,4515.676); h_SL1L362->SetBinContent(57,4071.711); h_SL1L362->SetBinContent(58,3515.234); h_SL1L362->SetBinContent(59,2791.509); h_SL1L362->SetMaximum(9448.863); 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,3539.56); h_SL1L463->SetBinContent(3,3940.954); h_SL1L463->SetBinContent(4,5291.096); h_SL1L463->SetBinContent(5,6233.762); h_SL1L463->SetBinContent(6,6282.416); h_SL1L463->SetBinContent(7,6495.276); h_SL1L463->SetBinContent(8,6556.093); h_SL1L463->SetBinContent(9,7191.633); h_SL1L463->SetBinContent(10,6942.282); h_SL1L463->SetBinContent(11,6622.992); h_SL1L463->SetBinContent(12,6914.915); h_SL1L463->SetBinContent(13,7374.084); h_SL1L463->SetBinContent(14,7298.062); h_SL1L463->SetBinContent(15,6714.218); h_SL1L463->SetBinContent(16,6957.486); h_SL1L463->SetBinContent(17,7328.471); h_SL1L463->SetBinContent(18,7428.82); h_SL1L463->SetBinContent(19,6917.955); h_SL1L463->SetBinContent(20,6914.915); h_SL1L463->SetBinContent(21,7735.946); h_SL1L463->SetBinContent(22,7389.289); h_SL1L463->SetBinContent(23,7024.385); h_SL1L463->SetBinContent(24,6884.506); h_SL1L463->SetBinContent(25,7322.39); h_SL1L463->SetBinContent(26,7225.082); h_SL1L463->SetBinContent(27,7215.959); h_SL1L463->SetBinContent(28,7307.185); h_SL1L463->SetBinContent(29,7599.108); h_SL1L463->SetBinContent(30,7535.25); h_SL1L463->SetBinContent(31,7407.534); h_SL1L463->SetBinContent(32,7620.394); h_SL1L463->SetBinContent(33,8216.402); h_SL1L463->SetBinContent(34,8015.706); h_SL1L463->SetBinContent(35,7295.022); h_SL1L463->SetBinContent(36,7404.493); h_SL1L463->SetBinContent(37,8018.747); h_SL1L463->SetBinContent(38,7869.744); h_SL1L463->SetBinContent(39,7066.958); h_SL1L463->SetBinContent(40,7012.222); h_SL1L463->SetBinContent(41,7845.417); h_SL1L463->SetBinContent(42,7811.968); h_SL1L463->SetBinContent(43,7103.448); h_SL1L463->SetBinContent(44,7374.084); h_SL1L463->SetBinContent(45,7647.762); h_SL1L463->SetBinContent(46,7556.536); h_SL1L463->SetBinContent(47,6063.474); h_SL1L463->SetBinContent(48,5443.139); h_SL1L463->SetBinContent(49,5747.225); h_SL1L463->SetBinContent(50,5814.123); h_SL1L463->SetBinContent(51,5126.889); h_SL1L463->SetBinContent(52,5145.134); h_SL1L463->SetBinContent(53,5604.304); h_SL1L463->SetBinContent(54,5567.813); h_SL1L463->SetBinContent(56,4722.455); h_SL1L463->SetBinContent(57,4460.941); h_SL1L463->SetBinContent(58,4013.935); h_SL1L463->SetBinContent(59,3092.554); h_SL1L463->SetMaximum(9448.863); 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 5873"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }