void RatesPerCell_Removing_noisy_cells_run_5786_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 15:28:49 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-1341.331,67.5,12071.98); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5786",60,0,60); h_SL1L160->SetBinContent(1,3183.947); h_SL1L160->SetBinContent(2,3879.205); h_SL1L160->SetBinContent(3,4569.919); h_SL1L160->SetBinContent(4,5395.443); h_SL1L160->SetBinContent(5,5975.582); h_SL1L160->SetBinContent(6,6305.791); h_SL1L160->SetBinContent(7,6169.466); h_SL1L160->SetBinContent(8,6455.749); h_SL1L160->SetBinContent(9,6801.105); h_SL1L160->SetBinContent(10,6885.93); h_SL1L160->SetBinContent(11,6370.924); h_SL1L160->SetBinContent(12,6914.709); h_SL1L160->SetBinContent(13,7029.829); h_SL1L160->SetBinContent(14,7052.549); h_SL1L160->SetBinContent(15,6685.986); h_SL1L160->SetBinContent(16,6726.884); h_SL1L160->SetBinContent(17,7037.402); h_SL1L160->SetBinContent(18,7217.654); h_SL1L160->SetBinContent(19,6810.194); h_SL1L160->SetBinContent(20,6978.328); h_SL1L160->SetBinContent(21,6991.96); h_SL1L160->SetBinContent(22,7176.757); h_SL1L160->SetBinContent(23,6882.9); h_SL1L160->SetBinContent(24,6884.415); h_SL1L160->SetBinContent(25,7082.844); h_SL1L160->SetBinContent(26,7361.553); h_SL1L160->SetBinContent(27,7005.593); h_SL1L160->SetBinContent(28,7123.741); h_SL1L160->SetBinContent(29,7350.95); h_SL1L160->SetBinContent(30,7429.715); h_SL1L160->SetBinContent(31,7146.462); h_SL1L160->SetBinContent(32,7537.261); h_SL1L160->SetBinContent(33,7694.792); h_SL1L160->SetBinContent(34,7720.542); h_SL1L160->SetBinContent(35,6919.254); h_SL1L160->SetBinContent(36,7287.332); h_SL1L160->SetBinContent(37,7508.481); h_SL1L160->SetBinContent(38,7447.892); h_SL1L160->SetBinContent(39,6846.547); h_SL1L160->SetBinContent(40,7017.711); h_SL1L160->SetBinContent(41,7232.801); h_SL1L160->SetBinContent(42,7566.041); h_SL1L160->SetBinContent(43,6790.502); h_SL1L160->SetBinContent(44,6778.385); h_SL1L160->SetBinContent(45,7390.333); h_SL1L160->SetBinContent(46,7293.391); h_SL1L160->SetBinContent(47,5492.385); h_SL1L160->SetBinContent(48,5304.56); h_SL1L160->SetBinContent(49,5504.503); h_SL1L160->SetBinContent(50,5604.475); h_SL1L160->SetBinContent(51,4766.833); h_SL1L160->SetBinContent(52,4969.806); h_SL1L160->SetBinContent(53,5328.795); h_SL1L160->SetBinContent(54,5233.367); h_SL1L160->SetBinContent(55,4445.711); h_SL1L160->SetBinContent(56,3954.941); h_SL1L160->SetBinContent(57,3748.939); h_SL1L160->SetBinContent(58,3418.729); h_SL1L160->SetBinContent(59,2670.456); h_SL1L160->SetMaximum(10730.65); 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,2871.915); h_SL1L261->SetBinContent(2,3505.069); h_SL1L261->SetBinContent(3,4241.224); h_SL1L261->SetBinContent(4,5019.792); h_SL1L261->SetBinContent(5,5977.096); h_SL1L261->SetBinContent(6,6343.659); h_SL1L261->SetBinContent(7,6334.571); h_SL1L261->SetBinContent(8,6455.749); h_SL1L261->SetBinContent(9,6861.694); h_SL1L261->SetBinContent(10,6928.342); h_SL1L261->SetBinContent(11,6617.824); h_SL1L261->SetBinContent(12,6770.811); h_SL1L261->SetBinContent(13,7219.169); h_SL1L261->SetBinContent(14,7238.86); h_SL1L261->SetBinContent(15,6766.267); h_SL1L261->SetBinContent(16,6910.166); h_SL1L261->SetBinContent(17,7007.108); h_SL1L261->SetBinContent(18,7387.303); h_SL1L261->SetBinContent(19,6981.357); h_SL1L261->SetBinContent(20,6852.606); h_SL1L261->SetBinContent(21,7317.626); h_SL1L261->SetBinContent(22,7406.995); h_SL1L261->SetBinContent(23,6842.003); h_SL1L261->SetBinContent(24,7049.52); h_SL1L261->SetBinContent(25,7270.669); h_SL1L261->SetBinContent(26,7497.878); h_SL1L261->SetBinContent(27,6999.534); h_SL1L261->SetBinContent(28,8043.178); h_SL1L261->SetBinContent(29,7514.54); h_SL1L261->SetBinContent(30,7675.101); h_SL1L261->SetBinContent(31,7279.758); h_SL1L261->SetBinContent(32,7511.51); h_SL1L261->SetBinContent(33,7891.706); h_SL1L261->SetBinContent(34,8097.708); h_SL1L261->SetBinContent(35,7284.302); h_SL1L261->SetBinContent(36,7234.316); h_SL1L261->SetBinContent(37,7585.732); h_SL1L261->SetBinContent(38,7661.468); h_SL1L261->SetBinContent(39,7108.594); h_SL1L261->SetBinContent(40,7029.829); h_SL1L261->SetBinContent(41,7496.363); h_SL1L261->SetBinContent(42,7616.026); h_SL1L261->SetBinContent(43,7160.095); h_SL1L261->SetBinContent(44,6996.505); h_SL1L261->SetBinContent(45,7246.434); h_SL1L261->SetBinContent(46,7587.247); h_SL1L261->SetBinContent(47,6348.203); h_SL1L261->SetBinContent(48,5372.722); h_SL1L261->SetBinContent(49,5624.166); h_SL1L261->SetBinContent(50,5839.256); h_SL1L261->SetBinContent(51,5084.924); h_SL1L261->SetBinContent(52,5068.263); h_SL1L261->SetBinContent(53,5472.693); h_SL1L261->SetBinContent(54,5665.063); h_SL1L261->SetBinContent(55,4975.864); h_SL1L261->SetBinContent(56,4335.137); h_SL1L261->SetBinContent(57,4154.885); h_SL1L261->SetBinContent(58,3750.454); h_SL1L261->SetBinContent(59,3118.814); h_SL1L261->SetMaximum(9331.526); 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,3209.698); h_SL1L362->SetBinContent(2,3911.014); h_SL1L362->SetBinContent(3,4650.199); h_SL1L362->SetBinContent(4,5739.285); h_SL1L362->SetBinContent(5,6440.602); h_SL1L362->SetBinContent(6,6501.19); h_SL1L362->SetBinContent(7,6364.865); h_SL1L362->SetBinContent(8,6941.975); h_SL1L362->SetBinContent(9,7197.963); h_SL1L362->SetBinContent(10,6831.4); h_SL1L362->SetBinContent(11,6511.793); h_SL1L362->SetBinContent(12,7334.288); h_SL1L362->SetBinContent(13,7328.229); h_SL1L362->SetBinContent(14,6838.974); h_SL1L362->SetBinContent(15,6792.017); h_SL1L362->SetBinContent(16,7167.668); h_SL1L362->SetBinContent(17,7443.348); h_SL1L362->SetBinContent(18,7123.741); h_SL1L362->SetBinContent(19,6742.031); h_SL1L362->SetBinContent(20,7361.553); h_SL1L362->SetBinContent(21,7432.745); h_SL1L362->SetBinContent(22,7204.022); h_SL1L362->SetBinContent(23,6849.577); h_SL1L362->SetBinContent(24,7476.672); h_SL1L362->SetBinContent(25,7472.128); h_SL1L362->SetBinContent(26,7252.493); h_SL1L362->SetBinContent(27,7258.552); h_SL1L362->SetBinContent(28,7460.01); h_SL1L362->SetBinContent(29,7605.423); h_SL1L362->SetBinContent(30,7517.569); h_SL1L362->SetBinContent(31,7243.405); h_SL1L362->SetBinContent(32,7982.589); h_SL1L362->SetBinContent(33,8091.649); h_SL1L362->SetBinContent(34,7761.44); h_SL1L362->SetBinContent(35,7105.565); h_SL1L362->SetBinContent(36,7619.056); h_SL1L362->SetBinContent(37,7885.647); h_SL1L362->SetBinContent(38,7272.184); h_SL1L362->SetBinContent(39,7178.271); h_SL1L362->SetBinContent(40,7353.979); h_SL1L362->SetBinContent(41,7772.043); h_SL1L362->SetBinContent(42,7575.129); h_SL1L362->SetBinContent(43,7070.726); h_SL1L362->SetBinContent(44,7237.346); h_SL1L362->SetBinContent(45,7596.335); h_SL1L362->SetBinContent(46,7234.316); h_SL1L362->SetBinContent(47,5565.092); h_SL1L362->SetBinContent(48,5671.122); h_SL1L362->SetBinContent(49,5805.933); h_SL1L362->SetBinContent(50,5459.061); h_SL1L362->SetBinContent(51,4944.055); h_SL1L362->SetBinContent(52,5442.399); h_SL1L362->SetBinContent(53,5721.108); h_SL1L362->SetBinContent(54,5348.486); h_SL1L362->SetBinContent(55,4747.141); h_SL1L362->SetBinContent(56,4426.02); h_SL1L362->SetBinContent(57,4088.237); h_SL1L362->SetBinContent(58,3564.143); h_SL1L362->SetBinContent(59,2741.648); h_SL1L362->SetMaximum(9331.526); 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,3585.349); h_SL1L463->SetBinContent(3,4248.797); h_SL1L463->SetBinContent(4,5166.72); h_SL1L463->SetBinContent(5,6127.054); h_SL1L463->SetBinContent(6,6486.043); h_SL1L463->SetBinContent(7,6417.88); h_SL1L463->SetBinContent(8,6649.633); h_SL1L463->SetBinContent(9,7160.095); h_SL1L463->SetBinContent(10,6975.299); h_SL1L463->SetBinContent(11,6381.527); h_SL1L463->SetBinContent(12,6940.46); h_SL1L463->SetBinContent(13,7393.362); h_SL1L463->SetBinContent(14,7243.405); h_SL1L463->SetBinContent(15,6489.073); h_SL1L463->SetBinContent(16,7054.064); h_SL1L463->SetBinContent(17,7364.583); h_SL1L463->SetBinContent(18,7093.447); h_SL1L463->SetBinContent(19,6708.708); h_SL1L463->SetBinContent(20,7126.771); h_SL1L463->SetBinContent(21,7555.438); h_SL1L463->SetBinContent(22,7385.789); h_SL1L463->SetBinContent(23,6679.928); h_SL1L463->SetBinContent(24,7200.992); h_SL1L463->SetBinContent(25,7497.878); h_SL1L463->SetBinContent(26,7432.745); h_SL1L463->SetBinContent(27,6901.077); h_SL1L463->SetBinContent(28,7331.258); h_SL1L463->SetBinContent(29,7684.189); h_SL1L463->SetBinContent(30,7644.806); h_SL1L463->SetBinContent(31,7269.155); h_SL1L463->SetBinContent(32,7500.907); h_SL1L463->SetBinContent(33,8114.37); h_SL1L463->SetBinContent(34,7979.56); h_SL1L463->SetBinContent(35,7222.198); h_SL1L463->SetBinContent(36,7438.804); h_SL1L463->SetBinContent(37,7855.353); h_SL1L463->SetBinContent(38,7593.306); h_SL1L463->SetBinContent(39,7002.563); h_SL1L463->SetBinContent(40,7328.229); h_SL1L463->SetBinContent(41,7629.659); h_SL1L463->SetBinContent(42,7638.747); h_SL1L463->SetBinContent(43,7160.095); h_SL1L463->SetBinContent(44,7187.36); h_SL1L463->SetBinContent(45,7566.041); h_SL1L463->SetBinContent(46,7593.306); h_SL1L463->SetBinContent(47,6314.879); h_SL1L463->SetBinContent(48,5559.033); h_SL1L463->SetBinContent(49,5786.241); h_SL1L463->SetBinContent(50,5777.153); h_SL1L463->SetBinContent(51,4901.643); h_SL1L463->SetBinContent(52,5151.572); h_SL1L463->SetBinContent(53,5662.034); h_SL1L463->SetBinContent(54,5680.21); h_SL1L463->SetBinContent(56,4709.273); h_SL1L463->SetBinContent(57,4527.506); h_SL1L463->SetBinContent(58,3933.735); h_SL1L463->SetBinContent(59,3087.005); h_SL1L463->SetMaximum(9331.526); 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 5786"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }