void RatesPerCell_Removing_noisy_cells_run_7389_SL2() { //=========Macro generated from canvas: c/c //========= (Mon Jan 21 13:17:20 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-45089.2,67.5,405802.8); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7389",60,0,60); h_SL2L164->SetBinContent(1,178106.4); h_SL2L164->SetBinContent(2,220615.8); h_SL2L164->SetBinContent(3,264322.5); h_SL2L164->SetBinContent(4,272751.4); h_SL2L164->SetBinContent(5,267971.7); h_SL2L164->SetBinContent(6,248256.8); h_SL2L164->SetBinContent(7,223788.9); h_SL2L164->SetBinContent(8,212836.7); h_SL2L164->SetBinContent(9,234296.1); h_SL2L164->SetBinContent(10,239240.4); h_SL2L164->SetBinContent(11,242707.2); h_SL2L164->SetBinContent(12,229449.7); h_SL2L164->SetBinContent(13,204430); h_SL2L164->SetBinContent(14,199263.2); h_SL2L164->SetBinContent(15,195195.6); h_SL2L164->SetBinContent(16,196317.1); h_SL2L164->SetBinContent(17,175899); h_SL2L164->SetBinContent(18,156135.1); h_SL2L164->SetBinContent(19,156945.1); h_SL2L164->SetBinContent(20,162975.3); h_SL2L164->SetBinContent(21,165925.8); h_SL2L164->SetBinContent(22,158480.4); h_SL2L164->SetBinContent(23,150007); h_SL2L164->SetBinContent(24,137666.3); h_SL2L164->SetBinContent(25,128992.6); h_SL2L164->SetBinContent(26,121547.2); h_SL2L164->SetBinContent(27,118672.3); h_SL2L164->SetBinContent(28,117439.6); h_SL2L164->SetBinContent(29,117639.8); h_SL2L164->SetBinContent(30,111351.5); h_SL2L164->SetBinContent(31,109914.1); h_SL2L164->SetBinContent(32,117355); h_SL2L164->SetBinContent(33,123687.8); h_SL2L164->SetBinContent(34,128543.1); h_SL2L164->SetBinContent(35,4.450323); h_SL2L164->SetBinContent(36,133647.6); h_SL2L164->SetBinContent(37,154417.3); h_SL2L164->SetBinContent(38,155747.9); h_SL2L164->SetBinContent(39,160968.2); h_SL2L164->SetBinContent(40,152606); h_SL2L164->SetBinContent(41,197750.1); h_SL2L164->SetBinContent(42,166308.6); h_SL2L164->SetBinContent(43,166246.2); h_SL2L164->SetBinContent(44,158827.6); h_SL2L164->SetBinContent(45,143429.5); h_SL2L164->SetBinContent(46,137452.7); h_SL2L164->SetBinContent(47,136642.7); h_SL2L164->SetBinContent(48,135401.1); h_SL2L164->SetBinContent(49,141173.1); h_SL2L164->SetBinContent(50,137043.2); h_SL2L164->SetBinContent(51,152583.8); h_SL2L164->SetBinContent(52,177959.5); h_SL2L164->SetBinContent(53,200972.1); h_SL2L164->SetBinContent(54,215529.1); h_SL2L164->SetBinContent(55,210878.5); h_SL2L164->SetBinContent(56,180473.9); h_SL2L164->SetBinContent(57,153091.1); h_SL2L164->SetMaximum(360713.6); 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,144208.2); h_SL2L265->SetBinContent(2,209645.8); h_SL2L265->SetBinContent(3,228679.8); h_SL2L265->SetBinContent(4,262043.9); h_SL2L265->SetBinContent(5,260450.7); h_SL2L265->SetBinContent(6,246801.5); h_SL2L265->SetBinContent(7,231318.9); h_SL2L265->SetBinContent(8,196820); h_SL2L265->SetBinContent(9,221514.8); h_SL2L265->SetBinContent(10,225818.3); h_SL2L265->SetBinContent(11,234265); h_SL2L265->SetBinContent(12,229614.4); h_SL2L265->SetBinContent(13,205863); h_SL2L265->SetBinContent(14,197202.7); h_SL2L265->SetBinContent(15,187131.6); h_SL2L265->SetBinContent(16,194434.6); h_SL2L265->SetBinContent(17,181413); h_SL2L265->SetBinContent(18,160233.9); h_SL2L265->SetBinContent(19,147332.4); h_SL2L265->SetBinContent(20,153082.2); h_SL2L265->SetBinContent(21,160443); h_SL2L265->SetBinContent(22,156219.7); h_SL2L265->SetBinContent(23,148066.7); h_SL2L265->SetBinContent(24,139228.3); h_SL2L265->SetBinContent(25,128307.2); h_SL2L265->SetBinContent(26,120728.4); h_SL2L265->SetBinContent(27,114591.4); h_SL2L265->SetBinContent(28,115009.7); h_SL2L265->SetBinContent(29,112789); h_SL2L265->SetBinContent(30,111507.3); h_SL2L265->SetBinContent(31,101262.6); h_SL2L265->SetBinContent(32,111244.7); h_SL2L265->SetBinContent(33,115779.6); h_SL2L265->SetBinContent(34,122245.9); h_SL2L265->SetBinContent(35,124003.8); h_SL2L265->SetBinContent(36,127421.6); h_SL2L265->SetBinContent(37,137270.2); h_SL2L265->SetBinContent(38,144444.1); h_SL2L265->SetBinContent(39,151119.6); h_SL2L265->SetBinContent(40,154475.2); h_SL2L265->SetBinContent(41,152272.2); h_SL2L265->SetBinContent(42,151653.6); h_SL2L265->SetBinContent(43,150087.1); h_SL2L265->SetBinContent(44,146753.8); h_SL2L265->SetBinContent(45,142868.7); h_SL2L265->SetBinContent(46,136589.3); h_SL2L265->SetBinContent(47,130074); h_SL2L265->SetBinContent(48,129264.1); h_SL2L265->SetBinContent(49,132027.7); h_SL2L265->SetBinContent(50,138400.6); h_SL2L265->SetBinContent(51,129798.1); h_SL2L265->SetBinContent(52,157706.1); h_SL2L265->SetBinContent(53,179735.2); h_SL2L265->SetBinContent(54,200807.5); h_SL2L265->SetBinContent(55,209294.2); h_SL2L265->SetBinContent(56,187193.9); h_SL2L265->SetBinContent(57,175026.7); h_SL2L265->SetMaximum(313664.1); 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,168422.5); h_SL2L366->SetBinContent(2,203553.3); h_SL2L366->SetBinContent(3,251772.5); h_SL2L366->SetBinContent(4,251443.2); h_SL2L366->SetBinContent(5,245996); h_SL2L366->SetBinContent(6,227696.3); h_SL2L366->SetBinContent(7,204470.1); h_SL2L366->SetBinContent(8,201977.9); h_SL2L366->SetBinContent(9,217166.8); h_SL2L366->SetBinContent(10,222618.5); h_SL2L366->SetBinContent(11,220842.8); h_SL2L366->SetBinContent(12,211105.5); h_SL2L366->SetBinContent(13,187447.6); h_SL2L366->SetBinContent(14,183268.7); h_SL2L366->SetBinContent(15,183945.2); h_SL2L366->SetBinContent(16,179779.7); h_SL2L366->SetBinContent(17,161653.5); h_SL2L366->SetBinContent(18,144137); h_SL2L366->SetBinContent(19,144693.3); h_SL2L366->SetBinContent(20,151515.7); h_SL2L366->SetBinContent(21,152138.7); h_SL2L366->SetBinContent(22,145881.6); h_SL2L366->SetBinContent(23,136851.9); h_SL2L366->SetBinContent(24,128903.6); h_SL2L366->SetBinContent(25,118133.8); h_SL2L366->SetBinContent(26,111645.2); h_SL2L366->SetBinContent(27,109887.4); h_SL2L366->SetBinContent(28,109397.8); h_SL2L366->SetBinContent(29,106598.6); h_SL2L366->SetBinContent(30,101939.1); h_SL2L366->SetBinContent(31,101507.4); h_SL2L366->SetBinContent(32,108556.7); h_SL2L366->SetBinContent(33,114698.2); h_SL2L366->SetBinContent(34,117555.3); h_SL2L366->SetBinContent(35,119482.3); h_SL2L366->SetBinContent(36,125267.7); h_SL2L366->SetBinContent(37,132268); h_SL2L366->SetBinContent(38,141484.7); h_SL2L366->SetBinContent(39,143652); h_SL2L366->SetBinContent(40,144675.5); h_SL2L366->SetBinContent(41,144355.1); h_SL2L366->SetBinContent(42,142971.1); h_SL2L366->SetBinContent(43,141493.6); h_SL2L366->SetBinContent(44,138258.2); h_SL2L366->SetBinContent(45,130928.5); h_SL2L366->SetBinContent(46,126874.2); h_SL2L366->SetBinContent(47,123434.1); h_SL2L366->SetBinContent(48,124359.8); h_SL2L366->SetBinContent(49,131627.2); h_SL2L366->SetBinContent(50,127973.5); h_SL2L366->SetBinContent(51,136829.6); h_SL2L366->SetBinContent(52,159112.4); h_SL2L366->SetBinContent(53,181030.2); h_SL2L366->SetBinContent(54,197839.1); h_SL2L366->SetBinContent(55,199294.3); h_SL2L366->SetBinContent(56,165957); h_SL2L366->SetBinContent(57,159837.8); h_SL2L366->SetMaximum(313664.1); 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,190776.4); h_SL2L467->SetBinContent(3,213401.9); h_SL2L467->SetBinContent(4,237571.6); h_SL2L467->SetBinContent(5,235217.4); h_SL2L467->SetBinContent(6,217776.5); h_SL2L467->SetBinContent(7,206036.6); h_SL2L467->SetBinContent(8,176637.8); h_SL2L467->SetBinContent(9,194839.6); h_SL2L467->SetBinContent(10,198248.5); h_SL2L467->SetBinContent(11,203317.4); h_SL2L467->SetBinContent(12,198475.5); h_SL2L467->SetBinContent(13,171146.1); h_SL2L467->SetBinContent(14,165151.5); h_SL2L467->SetBinContent(15,156669.2); h_SL2L467->SetBinContent(16,161951.7); h_SL2L467->SetBinContent(17,163700.7); h_SL2L467->SetBinContent(18,144172.7); h_SL2L467->SetBinContent(19,135191.9); h_SL2L467->SetBinContent(20,138707.7); h_SL2L467->SetBinContent(21,142499.3); h_SL2L467->SetBinContent(22,138761.1); h_SL2L467->SetBinContent(23,131774); h_SL2L467->SetBinContent(24,121711.9); h_SL2L467->SetBinContent(25,112197.1); h_SL2L467->SetBinContent(26,104533.6); h_SL2L467->SetBinContent(27,100541.7); h_SL2L467->SetBinContent(28,100911.1); h_SL2L467->SetBinContent(29,95308.11); h_SL2L467->SetBinContent(30,94168.83); h_SL2L467->SetBinContent(31,85904.58); h_SL2L467->SetBinContent(32,92700.22); h_SL2L467->SetBinContent(33,93265.41); h_SL2L467->SetBinContent(34,97150.55); h_SL2L467->SetBinContent(35,99366.8); h_SL2L467->SetBinContent(36,103376.5); h_SL2L467->SetBinContent(37,103496.7); h_SL2L467->SetBinContent(38,109980.8); h_SL2L467->SetBinContent(39,115855.2); h_SL2L467->SetBinContent(40,115201.1); h_SL2L467->SetBinContent(41,107159.3); h_SL2L467->SetBinContent(42,107822.4); h_SL2L467->SetBinContent(43,107987.1); h_SL2L467->SetBinContent(44,106527.4); h_SL2L467->SetBinContent(45,96033.52); h_SL2L467->SetBinContent(46,94008.62); h_SL2L467->SetBinContent(47,90301.5); h_SL2L467->SetBinContent(48,89994.42); h_SL2L467->SetBinContent(49,106327.1); h_SL2L467->SetBinContent(50,112726.7); h_SL2L467->SetBinContent(51,105472.6); h_SL2L467->SetBinContent(52,126384.7); h_SL2L467->SetBinContent(53,137185.6); h_SL2L467->SetBinContent(54,153433.8); h_SL2L467->SetBinContent(55,160616.6); h_SL2L467->SetBinContent(56,146215.3); h_SL2L467->SetBinContent(57,126504.9); h_SL2L467->SetMaximum(313664.1); 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 7389"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }