void RatesPerCell_Removing_noisy_cells_run_7386_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Jan 18 19:08:55 2019) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-18675.57,67.5,168080.1); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7386",60,0,60); h_SL3L168->SetBinContent(1,41628.57); h_SL3L168->SetBinContent(2,52921.43); h_SL3L168->SetBinContent(4,79157.14); h_SL3L168->SetBinContent(5,71535.71); h_SL3L168->SetBinContent(6,72342.86); h_SL3L168->SetBinContent(7,69250); h_SL3L168->SetBinContent(8,64121.43); h_SL3L168->SetBinContent(9,62785.71); h_SL3L168->SetBinContent(10,59028.57); h_SL3L168->SetBinContent(11,55057.14); h_SL3L168->SetBinContent(12,53864.29); h_SL3L168->SetBinContent(13,52764.29); h_SL3L168->SetBinContent(14,56307.14); h_SL3L168->SetBinContent(15,58435.71); h_SL3L168->SetBinContent(16,59378.57); h_SL3L168->SetBinContent(17,71664.28); h_SL3L168->SetBinContent(18,73542.86); h_SL3L168->SetBinContent(19,74964.28); h_SL3L168->SetBinContent(20,79628.57); h_SL3L168->SetBinContent(21,71935.71); h_SL3L168->SetBinContent(22,71250); h_SL3L168->SetBinContent(23,71800); h_SL3L168->SetBinContent(24,70450); h_SL3L168->SetBinContent(25,65700); h_SL3L168->SetBinContent(26,65621.43); h_SL3L168->SetBinContent(27,64257.14); h_SL3L168->SetBinContent(28,69992.86); h_SL3L168->SetBinContent(29,68728.57); h_SL3L168->SetBinContent(30,69200); h_SL3L168->SetBinContent(31,68985.71); h_SL3L168->SetBinContent(32,64464.29); h_SL3L168->SetBinContent(33,74071.43); h_SL3L168->SetBinContent(34,74457.14); h_SL3L168->SetBinContent(35,72492.86); h_SL3L168->SetBinContent(36,75800); h_SL3L168->SetBinContent(37,64957.14); h_SL3L168->SetBinContent(38,66185.71); h_SL3L168->SetBinContent(39,65564.28); h_SL3L168->SetBinContent(40,65764.28); h_SL3L168->SetBinContent(41,65728.57); h_SL3L168->SetBinContent(42,67150); h_SL3L168->SetBinContent(43,68735.71); h_SL3L168->SetBinContent(44,69607.14); h_SL3L168->SetBinContent(45,69585.71); h_SL3L168->SetBinContent(46,67650); h_SL3L168->SetBinContent(47,68514.28); h_SL3L168->SetBinContent(48,72014.28); h_SL3L168->SetBinContent(49,88407.14); h_SL3L168->SetBinContent(50,84342.86); h_SL3L168->SetBinContent(51,85921.43); h_SL3L168->SetBinContent(52,88607.14); h_SL3L168->SetBinContent(53,68650); h_SL3L168->SetBinContent(54,67350); h_SL3L168->SetBinContent(55,67085.71); h_SL3L168->SetBinContent(56,67300); h_SL3L168->SetBinContent(57,85285.71); h_SL3L168->SetBinContent(58,79514.28); h_SL3L168->SetBinContent(59,75957.14); h_SL3L168->SetMaximum(149404.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,41328.57); h_SL3L269->SetBinContent(2,47071.43); h_SL3L269->SetBinContent(4,72171.43); h_SL3L269->SetBinContent(5,69657.14); h_SL3L269->SetBinContent(6,66064.28); h_SL3L269->SetBinContent(7,68185.71); h_SL3L269->SetBinContent(8,63000); h_SL3L269->SetBinContent(9,59864.29); h_SL3L269->SetBinContent(10,58321.43); h_SL3L269->SetBinContent(11,54978.57); h_SL3L269->SetBinContent(12,51978.57); h_SL3L269->SetBinContent(13,50221.43); h_SL3L269->SetBinContent(14,53578.57); h_SL3L269->SetBinContent(15,53378.57); h_SL3L269->SetBinContent(16,55428.57); h_SL3L269->SetBinContent(17,66692.86); h_SL3L269->SetBinContent(18,68314.28); h_SL3L269->SetBinContent(19,71242.86); h_SL3L269->SetBinContent(20,75392.86); h_SL3L269->SetBinContent(21,68814.28); h_SL3L269->SetBinContent(22,67521.43); h_SL3L269->SetBinContent(23,68592.86); h_SL3L269->SetBinContent(24,68428.57); h_SL3L269->SetBinContent(25,66028.57); h_SL3L269->SetBinContent(26,60785.71); h_SL3L269->SetBinContent(27,61857.14); h_SL3L269->SetBinContent(28,66235.71); h_SL3L269->SetBinContent(29,65657.14); h_SL3L269->SetBinContent(30,66592.86); h_SL3L269->SetBinContent(31,64742.86); h_SL3L269->SetBinContent(32,62607.14); h_SL3L269->SetBinContent(33,71907.14); h_SL3L269->SetBinContent(34,71914.28); h_SL3L269->SetBinContent(35,71114.28); h_SL3L269->SetBinContent(36,71921.43); h_SL3L269->SetBinContent(37,61700); h_SL3L269->SetBinContent(38,62285.71); h_SL3L269->SetBinContent(39,62871.43); h_SL3L269->SetBinContent(40,62300); h_SL3L269->SetBinContent(41,61992.86); h_SL3L269->SetBinContent(42,64464.29); h_SL3L269->SetBinContent(43,64114.29); h_SL3L269->SetBinContent(44,66721.43); h_SL3L269->SetBinContent(45,65750); h_SL3L269->SetBinContent(46,65992.86); h_SL3L269->SetBinContent(47,65778.57); h_SL3L269->SetBinContent(48,67585.71); h_SL3L269->SetBinContent(49,84335.71); h_SL3L269->SetBinContent(50,85614.28); h_SL3L269->SetBinContent(51,78000); h_SL3L269->SetBinContent(52,86014.28); h_SL3L269->SetBinContent(53,65385.71); h_SL3L269->SetBinContent(54,66892.86); h_SL3L269->SetBinContent(55,63450); h_SL3L269->SetBinContent(56,64650); h_SL3L269->SetBinContent(57,89207.14); h_SL3L269->SetBinContent(58,79264.28); h_SL3L269->SetBinContent(59,71892.86); h_SL3L269->SetMaximum(129917.1); 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,39950); h_SL3L370->SetBinContent(2,50664.29); h_SL3L370->SetBinContent(3,61985.71); h_SL3L370->SetBinContent(4,71828.57); h_SL3L370->SetBinContent(5,64114.29); h_SL3L370->SetBinContent(6,64892.86); h_SL3L370->SetBinContent(7,63228.57); h_SL3L370->SetBinContent(8,58371.43); h_SL3L370->SetBinContent(9,55450); h_SL3L370->SetBinContent(10,52771.43); h_SL3L370->SetBinContent(11,48978.57); h_SL3L370->SetBinContent(12,47585.71); h_SL3L370->SetBinContent(13,48578.57); h_SL3L370->SetBinContent(14,50871.43); h_SL3L370->SetBinContent(15,52807.14); h_SL3L370->SetBinContent(16,55078.57); h_SL3L370->SetBinContent(17,66078.57); h_SL3L370->SetBinContent(18,67992.86); h_SL3L370->SetBinContent(19,69364.28); h_SL3L370->SetBinContent(20,70714.28); h_SL3L370->SetBinContent(21,64350); h_SL3L370->SetBinContent(22,64514.29); h_SL3L370->SetBinContent(23,64607.14); h_SL3L370->SetBinContent(24,64114.29); h_SL3L370->SetBinContent(25,60128.57); h_SL3L370->SetBinContent(26,59050); h_SL3L370->SetBinContent(27,61642.86); h_SL3L370->SetBinContent(28,62328.57); h_SL3L370->SetBinContent(29,63850); h_SL3L370->SetBinContent(30,62357.14); h_SL3L370->SetBinContent(31,61064.29); h_SL3L370->SetBinContent(32,59800); h_SL3L370->SetBinContent(33,67335.71); h_SL3L370->SetBinContent(34,69185.71); h_SL3L370->SetBinContent(35,67842.86); h_SL3L370->SetBinContent(36,69221.43); h_SL3L370->SetBinContent(37,60428.57); h_SL3L370->SetBinContent(38,58700); h_SL3L370->SetBinContent(39,59085.71); h_SL3L370->SetBinContent(40,57992.86); h_SL3L370->SetBinContent(41,58435.71); h_SL3L370->SetBinContent(42,62771.43); h_SL3L370->SetBinContent(43,62750); h_SL3L370->SetBinContent(44,62321.43); h_SL3L370->SetBinContent(45,6728.571); h_SL3L370->SetBinContent(46,62335.71); h_SL3L370->SetBinContent(47,63942.86); h_SL3L370->SetBinContent(48,64307.14); h_SL3L370->SetBinContent(49,80700); h_SL3L370->SetBinContent(50,76985.71); h_SL3L370->SetBinContent(51,79592.86); h_SL3L370->SetBinContent(52,81964.28); h_SL3L370->SetBinContent(53,61900); h_SL3L370->SetBinContent(54,61771.43); h_SL3L370->SetBinContent(55,60471.43); h_SL3L370->SetBinContent(56,59507.14); h_SL3L370->SetBinContent(57,79878.57); h_SL3L370->SetBinContent(58,75335.71); h_SL3L370->SetBinContent(59,69985.71); h_SL3L370->SetMaximum(129917.1); 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,45842.86); h_SL3L471->SetBinContent(3,52978.57); h_SL3L471->SetBinContent(4,65828.57); h_SL3L471->SetBinContent(5,60864.29); h_SL3L471->SetBinContent(6,112971.4); h_SL3L471->SetBinContent(7,60164.29); h_SL3L471->SetBinContent(8,55385.71); h_SL3L471->SetBinContent(9,53971.43); h_SL3L471->SetBinContent(10,51128.57); h_SL3L471->SetBinContent(11,45800); h_SL3L471->SetBinContent(12,46050); h_SL3L471->SetBinContent(13,45614.29); h_SL3L471->SetBinContent(14,49371.43); h_SL3L471->SetBinContent(15,48507.14); h_SL3L471->SetBinContent(16,51735.71); h_SL3L471->SetBinContent(17,60821.43); h_SL3L471->SetBinContent(18,63650); h_SL3L471->SetBinContent(19,65571.43); h_SL3L471->SetBinContent(20,67414.28); h_SL3L471->SetBinContent(21,61585.71); h_SL3L471->SetBinContent(22,59428.57); h_SL3L471->SetBinContent(23,60842.86); h_SL3L471->SetBinContent(24,60750); h_SL3L471->SetBinContent(25,58350); h_SL3L471->SetBinContent(26,55985.71); h_SL3L471->SetBinContent(27,55764.29); h_SL3L471->SetBinContent(28,58500); h_SL3L471->SetBinContent(29,59557.14); h_SL3L471->SetBinContent(30,59785.71); h_SL3L471->SetBinContent(31,57928.57); h_SL3L471->SetBinContent(32,56814.29); h_SL3L471->SetBinContent(33,63850); h_SL3L471->SetBinContent(34,66385.71); h_SL3L471->SetBinContent(35,64628.57); h_SL3L471->SetBinContent(36,65164.29); h_SL3L471->SetBinContent(37,56171.43); h_SL3L471->SetBinContent(38,56807.14); h_SL3L471->SetBinContent(39,55985.71); h_SL3L471->SetBinContent(40,56285.71); h_SL3L471->SetBinContent(41,55535.71); h_SL3L471->SetBinContent(42,57978.57); h_SL3L471->SetBinContent(43,59128.57); h_SL3L471->SetBinContent(44,59057.14); h_SL3L471->SetBinContent(45,59128.57); h_SL3L471->SetBinContent(46,60185.71); h_SL3L471->SetBinContent(47,59750); h_SL3L471->SetBinContent(48,60721.43); h_SL3L471->SetBinContent(49,78407.14); h_SL3L471->SetBinContent(50,77642.86); h_SL3L471->SetBinContent(51,72964.28); h_SL3L471->SetBinContent(52,78264.28); h_SL3L471->SetBinContent(53,58528.57); h_SL3L471->SetBinContent(54,59750); h_SL3L471->SetBinContent(55,58014.29); h_SL3L471->SetBinContent(56,58392.86); h_SL3L471->SetBinContent(57,83078.57); h_SL3L471->SetBinContent(58,74064.28); h_SL3L471->SetBinContent(59,69085.71); h_SL3L471->SetMaximum(129917.1); 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 7386"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }