void RatesPerCell_Removing_noisy_cells_run_6896_SL3() { //=========Macro generated from canvas: c/c //========= (Mon Jan 14 19:42:10 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-12904.44,67.5,116139.9); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 6896",60,0,60); h_SL3L168->SetBinContent(1,9086.734); h_SL3L168->SetBinContent(2,6107.143); h_SL3L168->SetBinContent(4,10637.75); h_SL3L168->SetBinContent(5,11551.02); h_SL3L168->SetBinContent(6,11938.78); h_SL3L168->SetBinContent(7,11698.98); h_SL3L168->SetBinContent(8,12122.45); h_SL3L168->SetBinContent(9,11250); h_SL3L168->SetBinContent(10,10198.98); h_SL3L168->SetBinContent(11,9887.755); h_SL3L168->SetBinContent(12,9719.388); h_SL3L168->SetBinContent(13,10750); h_SL3L168->SetBinContent(14,10908.16); h_SL3L168->SetBinContent(15,11071.43); h_SL3L168->SetBinContent(16,11265.31); h_SL3L168->SetBinContent(17,10913.27); h_SL3L168->SetBinContent(18,11229.59); h_SL3L168->SetBinContent(19,11459.18); h_SL3L168->SetBinContent(20,11969.39); h_SL3L168->SetBinContent(21,12290.82); h_SL3L168->SetBinContent(22,12948.98); h_SL3L168->SetBinContent(23,13040.82); h_SL3L168->SetBinContent(24,12887.75); h_SL3L168->SetBinContent(25,13112.25); h_SL3L168->SetBinContent(26,13382.65); h_SL3L168->SetBinContent(27,13714.29); h_SL3L168->SetBinContent(28,12979.59); h_SL3L168->SetBinContent(29,13163.27); h_SL3L168->SetBinContent(30,14071.43); h_SL3L168->SetBinContent(31,14647.96); h_SL3L168->SetBinContent(32,15081.63); h_SL3L168->SetBinContent(33,20071.43); h_SL3L168->SetBinContent(34,46969.39); h_SL3L168->SetBinContent(35,65326.53); h_SL3L168->SetBinContent(36,70362.24); h_SL3L168->SetBinContent(37,75943.88); h_SL3L168->SetBinContent(38,78061.23); h_SL3L168->SetBinContent(39,71831.63); h_SL3L168->SetBinContent(40,49071.43); h_SL3L168->SetBinContent(41,18163.27); h_SL3L168->SetBinContent(42,13923.47); h_SL3L168->SetBinContent(43,12418.37); h_SL3L168->SetBinContent(44,12102.04); h_SL3L168->SetBinContent(45,11250); h_SL3L168->SetBinContent(46,11484.69); h_SL3L168->SetBinContent(47,11443.88); h_SL3L168->SetBinContent(48,11301.02); h_SL3L168->SetBinContent(49,10852.04); h_SL3L168->SetBinContent(50,10602.04); h_SL3L168->SetBinContent(51,10326.53); h_SL3L168->SetBinContent(52,9734.693); h_SL3L168->SetBinContent(53,9750); h_SL3L168->SetBinContent(54,9464.285); h_SL3L168->SetBinContent(55,9423.47); h_SL3L168->SetBinContent(56,9265.306); h_SL3L168->SetBinContent(57,9173.47); h_SL3L168->SetBinContent(58,7132.653); h_SL3L168->SetBinContent(59,6494.898); h_SL3L168->SetMaximum(103235.5); 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,9765.306); h_SL3L269->SetBinContent(2,7117.347); h_SL3L269->SetBinContent(4,9066.326); h_SL3L269->SetBinContent(5,10852.04); h_SL3L269->SetBinContent(6,11801.02); h_SL3L269->SetBinContent(7,11515.31); h_SL3L269->SetBinContent(8,11020.41); h_SL3L269->SetBinContent(9,11127.55); h_SL3L269->SetBinContent(10,10193.88); h_SL3L269->SetBinContent(11,9836.734); h_SL3L269->SetBinContent(12,9556.122); h_SL3L269->SetBinContent(13,9698.979); h_SL3L269->SetBinContent(14,10362.25); h_SL3L269->SetBinContent(15,10102.04); h_SL3L269->SetBinContent(16,10632.65); h_SL3L269->SetBinContent(17,10801.02); h_SL3L269->SetBinContent(18,10525.51); h_SL3L269->SetBinContent(19,10688.78); h_SL3L269->SetBinContent(20,11224.49); h_SL3L269->SetBinContent(21,11596.94); h_SL3L269->SetBinContent(22,12464.29); h_SL3L269->SetBinContent(23,12693.88); h_SL3L269->SetBinContent(24,12454.08); h_SL3L269->SetBinContent(25,13061.22); h_SL3L269->SetBinContent(26,13122.45); h_SL3L269->SetBinContent(27,13102.04); h_SL3L269->SetBinContent(28,12530.61); h_SL3L269->SetBinContent(29,12341.84); h_SL3L269->SetBinContent(30,12658.16); h_SL3L269->SetBinContent(31,13122.45); h_SL3L269->SetBinContent(32,14224.49); h_SL3L269->SetBinContent(33,16765.31); h_SL3L269->SetBinContent(34,27994.9); h_SL3L269->SetBinContent(35,60127.55); h_SL3L269->SetBinContent(36,66566.33); h_SL3L269->SetBinContent(37,73897.96); h_SL3L269->SetBinContent(38,77280.61); h_SL3L269->SetBinContent(39,74821.43); h_SL3L269->SetBinContent(40,64459.18); h_SL3L269->SetBinContent(41,27974.49); h_SL3L269->SetBinContent(42,15903.06); h_SL3L269->SetBinContent(43,12545.92); h_SL3L269->SetBinContent(44,11908.16); h_SL3L269->SetBinContent(45,11428.57); h_SL3L269->SetBinContent(46,10872.45); h_SL3L269->SetBinContent(47,10617.35); h_SL3L269->SetBinContent(48,10142.86); h_SL3L269->SetBinContent(49,10586.73); h_SL3L269->SetBinContent(50,10015.31); h_SL3L269->SetBinContent(51,10040.82); h_SL3L269->SetBinContent(52,9637.755); h_SL3L269->SetBinContent(53,8943.878); h_SL3L269->SetBinContent(54,9005.102); h_SL3L269->SetBinContent(55,9224.489); h_SL3L269->SetBinContent(56,9178.571); h_SL3L269->SetBinContent(57,8683.674); h_SL3L269->SetBinContent(58,8362.245); h_SL3L269->SetBinContent(59,6959.184); h_SL3L269->SetMaximum(89770.41); 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,8158.163); h_SL3L370->SetBinContent(2,6239.796); h_SL3L370->SetBinContent(3,7816.327); h_SL3L370->SetBinContent(4,9867.347); h_SL3L370->SetBinContent(5,10178.57); h_SL3L370->SetBinContent(6,10693.88); h_SL3L370->SetBinContent(7,10668.37); h_SL3L370->SetBinContent(8,11137.75); h_SL3L370->SetBinContent(9,10423.47); h_SL3L370->SetBinContent(10,9448.979); h_SL3L370->SetBinContent(11,8688.775); h_SL3L370->SetBinContent(12,9071.429); h_SL3L370->SetBinContent(13,9948.979); h_SL3L370->SetBinContent(14,9872.449); h_SL3L370->SetBinContent(15,9969.388); h_SL3L370->SetBinContent(16,10173.47); h_SL3L370->SetBinContent(17,10107.14); h_SL3L370->SetBinContent(18,10112.25); h_SL3L370->SetBinContent(19,10352.04); h_SL3L370->SetBinContent(20,10795.92); h_SL3L370->SetBinContent(21,11362.25); h_SL3L370->SetBinContent(22,12250); h_SL3L370->SetBinContent(23,11668.37); h_SL3L370->SetBinContent(24,11627.55); h_SL3L370->SetBinContent(25,12168.37); h_SL3L370->SetBinContent(26,13183.67); h_SL3L370->SetBinContent(27,11933.67); h_SL3L370->SetBinContent(28,11698.98); h_SL3L370->SetBinContent(29,12076.53); h_SL3L370->SetBinContent(30,12729.59); h_SL3L370->SetBinContent(31,13198.98); h_SL3L370->SetBinContent(32,14285.71); h_SL3L370->SetBinContent(33,18505.1); h_SL3L370->SetBinContent(34,46122.45); h_SL3L370->SetBinContent(35,64709.18); h_SL3L370->SetBinContent(36,69229.59); h_SL3L370->SetBinContent(37,74693.88); h_SL3L370->SetBinContent(38,76857.14); h_SL3L370->SetBinContent(39,70897.96); h_SL3L370->SetBinContent(40,47877.55); h_SL3L370->SetBinContent(41,17362.24); h_SL3L370->SetBinContent(42,12831.63); h_SL3L370->SetBinContent(43,12168.37); h_SL3L370->SetBinContent(44,11489.8); h_SL3L370->SetBinContent(45,433.6735); h_SL3L370->SetBinContent(46,9698.979); h_SL3L370->SetBinContent(47,10346.94); h_SL3L370->SetBinContent(48,9882.653); h_SL3L370->SetBinContent(49,9882.653); h_SL3L370->SetBinContent(50,9545.918); h_SL3L370->SetBinContent(51,9658.163); h_SL3L370->SetBinContent(52,9035.714); h_SL3L370->SetBinContent(53,9168.367); h_SL3L370->SetBinContent(54,8729.592); h_SL3L370->SetBinContent(55,8602.041); h_SL3L370->SetBinContent(56,8765.306); h_SL3L370->SetBinContent(57,8688.775); h_SL3L370->SetBinContent(58,7066.327); h_SL3L370->SetBinContent(59,6301.021); h_SL3L370->SetMaximum(89770.41); 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,5933.673); h_SL3L471->SetBinContent(3,7035.714); h_SL3L471->SetBinContent(4,8040.816); h_SL3L471->SetBinContent(5,9724.489); h_SL3L471->SetBinContent(6,10056.12); h_SL3L471->SetBinContent(7,10438.78); h_SL3L471->SetBinContent(8,10209.18); h_SL3L471->SetBinContent(9,10147.96); h_SL3L471->SetBinContent(10,9306.122); h_SL3L471->SetBinContent(11,8724.489); h_SL3L471->SetBinContent(12,8382.653); h_SL3L471->SetBinContent(13,9188.775); h_SL3L471->SetBinContent(14,9709.184); h_SL3L471->SetBinContent(15,9653.062); h_SL3L471->SetBinContent(16,9734.693); h_SL3L471->SetBinContent(17,9964.285); h_SL3L471->SetBinContent(18,9301.021); h_SL3L471->SetBinContent(19,9515.306); h_SL3L471->SetBinContent(20,10331.63); h_SL3L471->SetBinContent(21,10571.43); h_SL3L471->SetBinContent(22,11275.51); h_SL3L471->SetBinContent(23,11198.98); h_SL3L471->SetBinContent(24,11464.29); h_SL3L471->SetBinContent(25,11734.69); h_SL3L471->SetBinContent(26,11346.94); h_SL3L471->SetBinContent(27,11566.33); h_SL3L471->SetBinContent(28,11382.65); h_SL3L471->SetBinContent(29,11923.47); h_SL3L471->SetBinContent(30,11969.39); h_SL3L471->SetBinContent(31,12438.78); h_SL3L471->SetBinContent(32,12969.39); h_SL3L471->SetBinContent(33,15913.27); h_SL3L471->SetBinContent(34,26750); h_SL3L471->SetBinContent(35,59280.61); h_SL3L471->SetBinContent(36,65806.12); h_SL3L471->SetBinContent(37,72000); h_SL3L471->SetBinContent(38,76607.14); h_SL3L471->SetBinContent(39,73892.86); h_SL3L471->SetBinContent(40,63352.04); h_SL3L471->SetBinContent(41,27127.55); h_SL3L471->SetBinContent(42,15413.27); h_SL3L471->SetBinContent(43,11704.08); h_SL3L471->SetBinContent(44,10887.75); h_SL3L471->SetBinContent(45,10836.73); h_SL3L471->SetBinContent(46,9846.938); h_SL3L471->SetBinContent(47,9494.897); h_SL3L471->SetBinContent(48,10193.88); h_SL3L471->SetBinContent(49,9214.285); h_SL3L471->SetBinContent(50,9316.326); h_SL3L471->SetBinContent(51,9051.021); h_SL3L471->SetBinContent(52,9086.734); h_SL3L471->SetBinContent(53,8806.122); h_SL3L471->SetBinContent(54,8428.571); h_SL3L471->SetBinContent(55,8474.489); h_SL3L471->SetBinContent(56,8147.959); h_SL3L471->SetBinContent(57,8183.673); h_SL3L471->SetBinContent(58,7887.755); h_SL3L471->SetBinContent(59,6755.102); h_SL3L471->SetMaximum(89770.41); 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 6896"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }