void RatesPerCell_Removing_noisy_cells_run_7384_SL2() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:21:36 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-15507.46,67.5,139567.2); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7384",60,0,60); h_SL2L164->SetBinContent(1,50410.71); h_SL2L164->SetBinContent(2,62478.57); h_SL2L164->SetBinContent(3,74975); h_SL2L164->SetBinContent(4,78760.71); h_SL2L164->SetBinContent(5,77492.86); h_SL2L164->SetBinContent(6,72889.28); h_SL2L164->SetBinContent(7,66328.57); h_SL2L164->SetBinContent(8,64771.43); h_SL2L164->SetBinContent(9,70657.14); h_SL2L164->SetBinContent(10,71367.86); h_SL2L164->SetBinContent(11,73210.71); h_SL2L164->SetBinContent(12,70132.14); h_SL2L164->SetBinContent(13,64928.57); h_SL2L164->SetBinContent(14,62835.71); h_SL2L164->SetBinContent(15,62107.14); h_SL2L164->SetBinContent(16,62664.29); h_SL2L164->SetBinContent(17,58085.71); h_SL2L164->SetBinContent(18,52435.71); h_SL2L164->SetBinContent(19,53110.71); h_SL2L164->SetBinContent(20,54210.71); h_SL2L164->SetBinContent(21,54617.86); h_SL2L164->SetBinContent(22,53450); h_SL2L164->SetBinContent(23,51928.57); h_SL2L164->SetBinContent(24,48900); h_SL2L164->SetBinContent(25,47375); h_SL2L164->SetBinContent(26,45042.86); h_SL2L164->SetBinContent(27,44935.71); h_SL2L164->SetBinContent(28,44982.14); h_SL2L164->SetBinContent(29,44135.71); h_SL2L164->SetBinContent(30,42132.14); h_SL2L164->SetBinContent(31,41707.14); h_SL2L164->SetBinContent(32,44232.14); h_SL2L164->SetBinContent(33,45278.57); h_SL2L164->SetBinContent(34,46392.86); h_SL2L164->SetBinContent(36,47089.29); h_SL2L164->SetBinContent(37,55328.57); h_SL2L164->SetBinContent(38,52660.71); h_SL2L164->SetBinContent(39,54575); h_SL2L164->SetBinContent(40,79807.14); h_SL2L164->SetBinContent(41,93807.14); h_SL2L164->SetBinContent(42,57814.29); h_SL2L164->SetBinContent(43,57932.14); h_SL2L164->SetBinContent(44,56589.29); h_SL2L164->SetBinContent(45,46539.29); h_SL2L164->SetBinContent(46,45739.29); h_SL2L164->SetBinContent(47,44728.57); h_SL2L164->SetBinContent(48,45132.14); h_SL2L164->SetBinContent(49,44967.86); h_SL2L164->SetBinContent(50,43367.86); h_SL2L164->SetBinContent(51,47557.14); h_SL2L164->SetBinContent(52,53171.43); h_SL2L164->SetBinContent(53,57464.29); h_SL2L164->SetBinContent(54,61003.57); h_SL2L164->SetBinContent(55,59975); h_SL2L164->SetBinContent(56,50010.71); h_SL2L164->SetBinContent(57,41207.14); h_SL2L164->SetMaximum(124059.7); 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,40428.57); h_SL2L265->SetBinContent(2,60264.29); h_SL2L265->SetBinContent(3,65682.14); h_SL2L265->SetBinContent(4,75657.14); h_SL2L265->SetBinContent(5,75928.57); h_SL2L265->SetBinContent(6,72821.43); h_SL2L265->SetBinContent(7,68978.57); h_SL2L265->SetBinContent(8,59989.29); h_SL2L265->SetBinContent(9,66389.28); h_SL2L265->SetBinContent(10,68150); h_SL2L265->SetBinContent(11,70778.57); h_SL2L265->SetBinContent(12,69710.71); h_SL2L265->SetBinContent(13,65153.57); h_SL2L265->SetBinContent(14,61939.29); h_SL2L265->SetBinContent(15,60650); h_SL2L265->SetBinContent(16,61321.43); h_SL2L265->SetBinContent(17,58539.29); h_SL2L265->SetBinContent(18,53771.43); h_SL2L265->SetBinContent(19,50500); h_SL2L265->SetBinContent(20,52453.57); h_SL2L265->SetBinContent(21,53728.57); h_SL2L265->SetBinContent(22,52364.29); h_SL2L265->SetBinContent(23,50139.29); h_SL2L265->SetBinContent(24,49089.29); h_SL2L265->SetBinContent(25,47000); h_SL2L265->SetBinContent(26,44807.14); h_SL2L265->SetBinContent(27,43821.43); h_SL2L265->SetBinContent(28,43614.29); h_SL2L265->SetBinContent(29,42653.57); h_SL2L265->SetBinContent(30,43057.14); h_SL2L265->SetBinContent(31,39457.14); h_SL2L265->SetBinContent(32,42357.14); h_SL2L265->SetBinContent(33,43667.86); h_SL2L265->SetBinContent(34,44735.71); h_SL2L265->SetBinContent(35,43003.57); h_SL2L265->SetBinContent(36,44110.71); h_SL2L265->SetBinContent(37,47746.43); h_SL2L265->SetBinContent(38,49432.14); h_SL2L265->SetBinContent(39,50128.57); h_SL2L265->SetBinContent(40,51310.71); h_SL2L265->SetBinContent(41,49492.86); h_SL2L265->SetBinContent(42,49696.43); h_SL2L265->SetBinContent(43,48760.71); h_SL2L265->SetBinContent(44,48789.29); h_SL2L265->SetBinContent(45,46067.86); h_SL2L265->SetBinContent(46,43428.57); h_SL2L265->SetBinContent(47,43114.29); h_SL2L265->SetBinContent(48,42589.29); h_SL2L265->SetBinContent(49,42400); h_SL2L265->SetBinContent(50,44503.57); h_SL2L265->SetBinContent(51,42035.71); h_SL2L265->SetBinContent(52,48996.43); h_SL2L265->SetBinContent(53,53092.86); h_SL2L265->SetBinContent(54,57207.14); h_SL2L265->SetBinContent(55,59614.29); h_SL2L265->SetBinContent(56,52342.86); h_SL2L265->SetBinContent(57,48360.71); h_SL2L265->SetMaximum(107878.2); 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,47467.86); h_SL2L366->SetBinContent(2,59242.86); h_SL2L366->SetBinContent(3,73239.28); h_SL2L366->SetBinContent(4,72567.86); h_SL2L366->SetBinContent(5,71821.43); h_SL2L366->SetBinContent(6,68650); h_SL2L366->SetBinContent(7,63100); h_SL2L366->SetBinContent(8,61310.71); h_SL2L366->SetBinContent(9,65853.57); h_SL2L366->SetBinContent(10,67310.71); h_SL2L366->SetBinContent(11,67075); h_SL2L366->SetBinContent(12,66028.57); h_SL2L366->SetBinContent(13,59346.43); h_SL2L366->SetBinContent(14,60128.57); h_SL2L366->SetBinContent(15,60328.57); h_SL2L366->SetBinContent(16,57625); h_SL2L366->SetBinContent(17,54482.14); h_SL2L366->SetBinContent(18,50107.14); h_SL2L366->SetBinContent(19,49571.43); h_SL2L366->SetBinContent(20,51939.29); h_SL2L366->SetBinContent(21,52153.57); h_SL2L366->SetBinContent(22,50510.71); h_SL2L366->SetBinContent(23,48371.43); h_SL2L366->SetBinContent(24,46639.29); h_SL2L366->SetBinContent(25,45082.14); h_SL2L366->SetBinContent(26,43092.86); h_SL2L366->SetBinContent(27,43067.86); h_SL2L366->SetBinContent(28,42278.57); h_SL2L366->SetBinContent(29,42100); h_SL2L366->SetBinContent(30,40442.86); h_SL2L366->SetBinContent(31,39132.14); h_SL2L366->SetBinContent(32,41264.29); h_SL2L366->SetBinContent(33,41867.86); h_SL2L366->SetBinContent(34,43271.43); h_SL2L366->SetBinContent(35,41985.71); h_SL2L366->SetBinContent(36,44510.71); h_SL2L366->SetBinContent(37,46178.57); h_SL2L366->SetBinContent(38,48139.29); h_SL2L366->SetBinContent(39,47750); h_SL2L366->SetBinContent(40,48164.29); h_SL2L366->SetBinContent(41,47253.57); h_SL2L366->SetBinContent(42,47160.71); h_SL2L366->SetBinContent(43,45871.43); h_SL2L366->SetBinContent(44,45114.29); h_SL2L366->SetBinContent(45,43657.14); h_SL2L366->SetBinContent(46,42217.86); h_SL2L366->SetBinContent(47,41728.57); h_SL2L366->SetBinContent(48,42292.86); h_SL2L366->SetBinContent(49,42310.71); h_SL2L366->SetBinContent(50,41439.29); h_SL2L366->SetBinContent(51,42332.14); h_SL2L366->SetBinContent(52,48610.71); h_SL2L366->SetBinContent(53,53585.71); h_SL2L366->SetBinContent(54,56192.86); h_SL2L366->SetBinContent(55,56775); h_SL2L366->SetBinContent(56,46157.14); h_SL2L366->SetBinContent(57,44303.57); h_SL2L366->SetMaximum(107878.2); 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,56282.14); h_SL2L467->SetBinContent(3,64314.29); h_SL2L467->SetBinContent(4,70907.14); h_SL2L467->SetBinContent(5,71246.43); h_SL2L467->SetBinContent(6,65810.71); h_SL2L467->SetBinContent(7,64207.14); h_SL2L467->SetBinContent(8,56292.86); h_SL2L467->SetBinContent(9,63046.43); h_SL2L467->SetBinContent(10,64060.71); h_SL2L467->SetBinContent(11,66700); h_SL2L467->SetBinContent(12,66121.43); h_SL2L467->SetBinContent(13,59910.71); h_SL2L467->SetBinContent(14,58642.86); h_SL2L467->SetBinContent(15,56378.57); h_SL2L467->SetBinContent(16,57421.43); h_SL2L467->SetBinContent(17,54564.29); h_SL2L467->SetBinContent(18,50828.57); h_SL2L467->SetBinContent(19,47560.71); h_SL2L467->SetBinContent(20,49528.57); h_SL2L467->SetBinContent(21,51121.43); h_SL2L467->SetBinContent(22,49757.14); h_SL2L467->SetBinContent(23,48021.43); h_SL2L467->SetBinContent(24,45892.86); h_SL2L467->SetBinContent(25,45107.14); h_SL2L467->SetBinContent(26,42925); h_SL2L467->SetBinContent(27,41953.57); h_SL2L467->SetBinContent(28,41932.14); h_SL2L467->SetBinContent(29,40721.43); h_SL2L467->SetBinContent(30,40875); h_SL2L467->SetBinContent(31,38478.57); h_SL2L467->SetBinContent(32,39821.43); h_SL2L467->SetBinContent(33,41171.43); h_SL2L467->SetBinContent(34,42310.71); h_SL2L467->SetBinContent(35,42575); h_SL2L467->SetBinContent(36,42421.43); h_SL2L467->SetBinContent(37,44521.43); h_SL2L467->SetBinContent(38,45667.86); h_SL2L467->SetBinContent(39,46425); h_SL2L467->SetBinContent(40,45603.57); h_SL2L467->SetBinContent(41,45221.43); h_SL2L467->SetBinContent(42,46250); h_SL2L467->SetBinContent(43,45985.71); h_SL2L467->SetBinContent(44,45525); h_SL2L467->SetBinContent(45,43914.29); h_SL2L467->SetBinContent(46,42150); h_SL2L467->SetBinContent(47,41328.57); h_SL2L467->SetBinContent(48,41796.43); h_SL2L467->SetBinContent(49,40432.14); h_SL2L467->SetBinContent(50,41514.29); h_SL2L467->SetBinContent(51,39982.14); h_SL2L467->SetBinContent(52,45928.57); h_SL2L467->SetBinContent(53,49307.14); h_SL2L467->SetBinContent(54,52964.29); h_SL2L467->SetBinContent(55,55260.71); h_SL2L467->SetBinContent(56,50807.14); h_SL2L467->SetBinContent(57,43932.14); h_SL2L467->SetMaximum(107878.2); 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 7384"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }