void RatesPerCell_Removing_noisy_cells_run_5073_SL1() { //=========Macro generated from canvas: c/c //========= (Sun Jan 13 14:40:39 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18117.53,67.5,163057.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL1L160 = new TH1D("h_SL1L160","SL1, run 5073",60,0,60); h_SL1L160->SetBinContent(1,48347.6); h_SL1L160->SetBinContent(2,49249.59); h_SL1L160->SetBinContent(3,48213.92); h_SL1L160->SetBinContent(4,48476.68); h_SL1L160->SetBinContent(5,47971.13); h_SL1L160->SetBinContent(6,50950.6); h_SL1L160->SetBinContent(7,49781.25); h_SL1L160->SetBinContent(8,50323.67); h_SL1L160->SetBinContent(9,46575.9); h_SL1L160->SetBinContent(10,42101.32); h_SL1L160->SetBinContent(11,39688.86); h_SL1L160->SetBinContent(12,39628.93); h_SL1L160->SetBinContent(13,40242.03); h_SL1L160->SetBinContent(14,41741.75); h_SL1L160->SetBinContent(15,43012.52); h_SL1L160->SetBinContent(16,39272.44); h_SL1L160->SetBinContent(17,40366.5); h_SL1L160->SetBinContent(18,41910.78); h_SL1L160->SetBinContent(19,44065.09); h_SL1L160->SetBinContent(20,43889.92); h_SL1L160->SetBinContent(21,46004.29); h_SL1L160->SetBinContent(22,46400.73); h_SL1L160->SetBinContent(23,46668.1); h_SL1L160->SetBinContent(24,47215.12); h_SL1L160->SetBinContent(25,47534.74); h_SL1L160->SetBinContent(26,43584.14); h_SL1L160->SetBinContent(27,44312.49); h_SL1L160->SetBinContent(28,46807.93); h_SL1L160->SetBinContent(29,46875.54); h_SL1L160->SetBinContent(30,47603.89); h_SL1L160->SetBinContent(31,48608.82); h_SL1L160->SetBinContent(32,54457.12); h_SL1L160->SetBinContent(33,106077.7); h_SL1L160->SetBinContent(34,108434.8); h_SL1L160->SetBinContent(35,105344.7); h_SL1L160->SetBinContent(36,102895.4); h_SL1L160->SetBinContent(37,98182.63); h_SL1L160->SetBinContent(38,86376.93); h_SL1L160->SetBinContent(39,64720.08); h_SL1L160->SetBinContent(40,44539.91); h_SL1L160->SetBinContent(41,41869.29); h_SL1L160->SetBinContent(42,41766.34); h_SL1L160->SetBinContent(43,40589.3); h_SL1L160->SetBinContent(44,39310.85); h_SL1L160->SetBinContent(45,38765.36); h_SL1L160->SetBinContent(46,38072.35); h_SL1L160->SetBinContent(47,35931.87); h_SL1L160->SetBinContent(48,34645.73); h_SL1L160->SetBinContent(49,35321.84); h_SL1L160->SetBinContent(50,35642.99); h_SL1L160->SetBinContent(51,34055.68); h_SL1L160->SetBinContent(52,34616.54); h_SL1L160->SetBinContent(53,34462.88); h_SL1L160->SetBinContent(54,33928.14); h_SL1L160->SetBinContent(55,33951.19); h_SL1L160->SetBinContent(56,33144.48); h_SL1L160->SetBinContent(57,32210.22); h_SL1L160->SetBinContent(58,30873.38); h_SL1L160->SetBinContent(59,31145.36); h_SL1L160->SetMaximum(144940.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(4,3.073201); h_SL1L261->SetBinContent(5,1.536601); h_SL1L261->SetBinContent(7,24.58561); h_SL1L261->SetBinContent(8,1.536601); h_SL1L261->SetBinContent(9,3.073201); h_SL1L261->SetBinContent(12,3.073201); h_SL1L261->SetBinContent(14,1.536601); h_SL1L261->SetBinContent(15,1.536601); h_SL1L261->SetBinContent(17,3.073201); h_SL1L261->SetBinContent(18,3.073201); h_SL1L261->SetBinContent(20,4.609802); h_SL1L261->SetBinContent(21,4.609802); h_SL1L261->SetBinContent(22,6.146402); h_SL1L261->SetBinContent(23,7.683003); h_SL1L261->SetBinContent(25,1.536601); h_SL1L261->SetBinContent(26,1.536601); h_SL1L261->SetBinContent(28,3.073201); h_SL1L261->SetBinContent(29,1.536601); h_SL1L261->SetBinContent(31,1.536601); h_SL1L261->SetBinContent(32,3.073201); h_SL1L261->SetBinContent(36,3.073201); h_SL1L261->SetBinContent(39,27.65881); h_SL1L261->SetBinContent(40,10.7562); h_SL1L261->SetBinContent(41,7.683003); h_SL1L261->SetBinContent(44,13.8294); h_SL1L261->SetBinContent(47,6.146402); h_SL1L261->SetBinContent(48,4.609802); h_SL1L261->SetBinContent(49,102084.1); h_SL1L261->SetBinContent(50,1.536601); h_SL1L261->SetBinContent(52,4208.749); h_SL1L261->SetBinContent(53,6258.574); h_SL1L261->SetBinContent(54,3.073201); h_SL1L261->SetBinContent(55,9.219604); h_SL1L261->SetBinContent(56,29089.39); h_SL1L261->SetMaximum(126036); 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(4,4.609802); h_SL1L362->SetBinContent(5,1.536601); h_SL1L362->SetBinContent(7,10.7562); h_SL1L362->SetBinContent(8,1.536601); h_SL1L362->SetBinContent(12,1.536601); h_SL1L362->SetBinContent(13,1.536601); h_SL1L362->SetBinContent(14,1.536601); h_SL1L362->SetBinContent(15,1.536601); h_SL1L362->SetBinContent(17,1.536601); h_SL1L362->SetBinContent(20,3.073201); h_SL1L362->SetBinContent(21,1.536601); h_SL1L362->SetBinContent(23,13.8294); h_SL1L362->SetBinContent(25,1.536601); h_SL1L362->SetBinContent(28,3.073201); h_SL1L362->SetBinContent(29,4.609802); h_SL1L362->SetBinContent(31,23.04901); h_SL1L362->SetBinContent(36,3.073201); h_SL1L362->SetBinContent(39,10.7562); h_SL1L362->SetBinContent(44,4.609802); h_SL1L362->SetBinContent(45,3.073201); h_SL1L362->SetBinContent(46,1.536601); h_SL1L362->SetBinContent(47,15.36601); h_SL1L362->SetBinContent(48,3.073201); h_SL1L362->SetBinContent(49,1691.797); h_SL1L362->SetBinContent(52,1.536601); h_SL1L362->SetBinContent(53,37949.43); h_SL1L362->SetBinContent(55,1.536601); h_SL1L362->SetBinContent(56,41715.63); h_SL1L362->SetBinContent(59,1.536601); h_SL1L362->SetMaximum(126036); 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,45059.28); h_SL1L463->SetBinContent(3,44040.51); h_SL1L463->SetBinContent(4,44125.02); h_SL1L463->SetBinContent(5,43713.21); h_SL1L463->SetBinContent(6,45623.21); h_SL1L463->SetBinContent(7,45188.35); h_SL1L463->SetBinContent(8,45935.14); h_SL1L463->SetBinContent(9,43213.82); h_SL1L463->SetBinContent(10,40346.52); h_SL1L463->SetBinContent(11,37459.25); h_SL1L463->SetBinContent(12,35944.16); h_SL1L463->SetBinContent(13,35957.99); h_SL1L463->SetBinContent(14,37548.37); h_SL1L463->SetBinContent(15,38413.48); h_SL1L463->SetBinContent(16,37562.2); h_SL1L463->SetBinContent(17,36269.92); h_SL1L463->SetBinContent(18,37234.91); h_SL1L463->SetBinContent(19,39295.49); h_SL1L463->SetBinContent(20,39585.91); h_SL1L463->SetBinContent(21,41051.82); h_SL1L463->SetBinContent(22,42029.1); h_SL1L463->SetBinContent(23,41560.44); h_SL1L463->SetBinContent(24,42952.6); h_SL1L463->SetBinContent(25,43064.77); h_SL1L463->SetBinContent(26,42002.98); h_SL1L463->SetBinContent(27,40400.3); h_SL1L463->SetBinContent(28,40300.42); h_SL1L463->SetBinContent(29,42943.38); h_SL1L463->SetBinContent(30,43525.75); h_SL1L463->SetBinContent(31,44186.49); h_SL1L463->SetBinContent(32,48138.62); h_SL1L463->SetBinContent(33,74737.18); h_SL1L463->SetBinContent(34,109596.5); h_SL1L463->SetBinContent(35,104559.5); h_SL1L463->SetBinContent(36,101581.6); h_SL1L463->SetBinContent(37,98045.88); h_SL1L463->SetBinContent(38,89104.4); h_SL1L463->SetBinContent(39,75554.65); h_SL1L463->SetBinContent(40,47657.67); h_SL1L463->SetBinContent(41,40510.94); h_SL1L463->SetBinContent(42,38962.04); h_SL1L463->SetBinContent(43,38029.33); h_SL1L463->SetBinContent(44,37055.12); h_SL1L463->SetBinContent(45,35833.53); h_SL1L463->SetBinContent(46,35885.77); h_SL1L463->SetBinContent(47,34363); h_SL1L463->SetBinContent(48,31953.61); h_SL1L463->SetBinContent(49,31930.56); h_SL1L463->SetBinContent(50,32998.5); h_SL1L463->SetBinContent(51,32271.69); h_SL1L463->SetBinContent(52,31360.48); h_SL1L463->SetBinContent(53,30885.67); h_SL1L463->SetBinContent(54,31259.07); h_SL1L463->SetBinContent(56,31088.5); h_SL1L463->SetBinContent(57,29322.95); h_SL1L463->SetBinContent(58,29313.73); h_SL1L463->SetBinContent(59,28075.23); h_SL1L463->SetMaximum(126036); 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 5073"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }