void RatesPerCell_Removing_noisy_cells_run_7567_SL3() { //=========Macro generated from canvas: c/c //========= (Fri Dec 21 17:23:43 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-11714.62,67.5,105431.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL3L168 = new TH1D("h_SL3L168","SL3, run 7567",60,0,60); h_SL3L168->SetBinContent(1,33835.71); h_SL3L168->SetBinContent(2,39285.71); h_SL3L168->SetBinContent(4,60092.86); h_SL3L168->SetBinContent(5,54650); h_SL3L168->SetBinContent(6,55114.29); h_SL3L168->SetBinContent(7,55007.14); h_SL3L168->SetBinContent(8,53885.71); h_SL3L168->SetBinContent(9,54657.14); h_SL3L168->SetBinContent(10,56421.43); h_SL3L168->SetBinContent(11,56821.43); h_SL3L168->SetBinContent(12,56828.57); h_SL3L168->SetBinContent(13,56835.71); h_SL3L168->SetBinContent(14,56164.29); h_SL3L168->SetBinContent(15,55464.29); h_SL3L168->SetBinContent(16,55364.29); h_SL3L168->SetBinContent(17,66528.57); h_SL3L168->SetBinContent(18,68892.86); h_SL3L168->SetBinContent(19,70864.28); h_SL3L168->SetBinContent(20,69621.43); h_SL3L168->SetBinContent(21,60564.29); h_SL3L168->SetBinContent(22,58278.57); h_SL3L168->SetBinContent(23,56457.14); h_SL3L168->SetBinContent(24,57007.14); h_SL3L168->SetBinContent(25,54078.57); h_SL3L168->SetBinContent(26,53492.86); h_SL3L168->SetBinContent(27,55578.57); h_SL3L168->SetBinContent(28,58621.43); h_SL3L168->SetBinContent(29,58850); h_SL3L168->SetBinContent(30,58600); h_SL3L168->SetBinContent(31,58250); h_SL3L168->SetBinContent(32,56507.14); h_SL3L168->SetBinContent(33,64607.14); h_SL3L168->SetBinContent(34,66007.14); h_SL3L168->SetBinContent(35,64450); h_SL3L168->SetBinContent(36,65571.43); h_SL3L168->SetBinContent(37,59678.57); h_SL3L168->SetBinContent(38,58485.71); h_SL3L168->SetBinContent(39,58592.86); h_SL3L168->SetBinContent(40,57171.43); h_SL3L168->SetBinContent(41,57550); h_SL3L168->SetBinContent(42,58392.86); h_SL3L168->SetBinContent(43,59792.86); h_SL3L168->SetBinContent(44,57878.57); h_SL3L168->SetBinContent(45,54157.14); h_SL3L168->SetBinContent(46,56742.86); h_SL3L168->SetBinContent(47,56771.43); h_SL3L168->SetBinContent(48,57378.57); h_SL3L168->SetBinContent(49,66535.71); h_SL3L168->SetBinContent(50,61992.86); h_SL3L168->SetBinContent(51,62057.14); h_SL3L168->SetBinContent(52,64492.86); h_SL3L168->SetBinContent(53,57814.29); h_SL3L168->SetBinContent(54,56578.57); h_SL3L168->SetBinContent(55,57228.57); h_SL3L168->SetBinContent(56,57192.86); h_SL3L168->SetBinContent(57,54221.43); h_SL3L168->SetBinContent(58,49078.57); h_SL3L168->SetBinContent(59,42914.29); h_SL3L168->SetMaximum(93716.95); 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,32157.14); h_SL3L269->SetBinContent(2,36585.71); h_SL3L269->SetBinContent(4,53207.14); h_SL3L269->SetBinContent(5,50650); h_SL3L269->SetBinContent(6,52200); h_SL3L269->SetBinContent(7,52242.86); h_SL3L269->SetBinContent(8,52871.43); h_SL3L269->SetBinContent(9,51900); h_SL3L269->SetBinContent(10,52521.43); h_SL3L269->SetBinContent(11,53035.71); h_SL3L269->SetBinContent(12,53164.29); h_SL3L269->SetBinContent(13,53085.71); h_SL3L269->SetBinContent(14,53650); h_SL3L269->SetBinContent(15,51671.43); h_SL3L269->SetBinContent(16,53978.57); h_SL3L269->SetBinContent(17,63721.43); h_SL3L269->SetBinContent(18,66407.14); h_SL3L269->SetBinContent(19,66407.14); h_SL3L269->SetBinContent(20,67314.28); h_SL3L269->SetBinContent(21,57771.43); h_SL3L269->SetBinContent(22,55278.57); h_SL3L269->SetBinContent(23,53021.43); h_SL3L269->SetBinContent(24,54592.86); h_SL3L269->SetBinContent(25,52564.29); h_SL3L269->SetBinContent(26,51214.29); h_SL3L269->SetBinContent(27,52264.29); h_SL3L269->SetBinContent(28,56114.29); h_SL3L269->SetBinContent(29,56264.29); h_SL3L269->SetBinContent(30,55085.71); h_SL3L269->SetBinContent(31,54242.86); h_SL3L269->SetBinContent(32,53928.57); h_SL3L269->SetBinContent(33,61242.86); h_SL3L269->SetBinContent(34,63557.14); h_SL3L269->SetBinContent(35,62885.71); h_SL3L269->SetBinContent(36,62371.43); h_SL3L269->SetBinContent(37,53664.29); h_SL3L269->SetBinContent(38,55735.71); h_SL3L269->SetBinContent(39,55785.71); h_SL3L269->SetBinContent(40,55064.29); h_SL3L269->SetBinContent(41,55857.14); h_SL3L269->SetBinContent(42,54550); h_SL3L269->SetBinContent(43,57157.14); h_SL3L269->SetBinContent(44,56978.57); h_SL3L269->SetBinContent(45,52685.71); h_SL3L269->SetBinContent(46,53657.14); h_SL3L269->SetBinContent(47,53542.86); h_SL3L269->SetBinContent(48,53635.71); h_SL3L269->SetBinContent(49,61550); h_SL3L269->SetBinContent(50,61907.14); h_SL3L269->SetBinContent(51,58042.86); h_SL3L269->SetBinContent(52,62692.86); h_SL3L269->SetBinContent(53,53471.43); h_SL3L269->SetBinContent(54,54392.86); h_SL3L269->SetBinContent(55,55257.14); h_SL3L269->SetBinContent(56,54885.71); h_SL3L269->SetBinContent(57,58307.14); h_SL3L269->SetBinContent(58,47307.14); h_SL3L269->SetBinContent(59,42257.14); h_SL3L269->SetMaximum(81493.92); 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,32792.86); h_SL3L370->SetBinContent(2,38064.29); h_SL3L370->SetBinContent(3,44564.29); h_SL3L370->SetBinContent(4,54328.57); h_SL3L370->SetBinContent(5,48228.57); h_SL3L370->SetBinContent(6,49778.57); h_SL3L370->SetBinContent(7,50207.14); h_SL3L370->SetBinContent(8,49928.57); h_SL3L370->SetBinContent(9,50450); h_SL3L370->SetBinContent(10,50400); h_SL3L370->SetBinContent(11,51485.71); h_SL3L370->SetBinContent(12,51192.86); h_SL3L370->SetBinContent(13,50935.71); h_SL3L370->SetBinContent(14,51150); h_SL3L370->SetBinContent(15,49121.43); h_SL3L370->SetBinContent(16,50778.57); h_SL3L370->SetBinContent(17,61585.71); h_SL3L370->SetBinContent(18,63407.14); h_SL3L370->SetBinContent(19,64014.29); h_SL3L370->SetBinContent(20,63342.86); h_SL3L370->SetBinContent(21,52307.14); h_SL3L370->SetBinContent(22,51450); h_SL3L370->SetBinContent(23,51842.86); h_SL3L370->SetBinContent(24,51528.57); h_SL3L370->SetBinContent(25,49042.86); h_SL3L370->SetBinContent(26,50307.14); h_SL3L370->SetBinContent(27,51021.43); h_SL3L370->SetBinContent(28,52314.29); h_SL3L370->SetBinContent(29,52942.86); h_SL3L370->SetBinContent(30,52371.43); h_SL3L370->SetBinContent(31,51857.14); h_SL3L370->SetBinContent(32,50957.14); h_SL3L370->SetBinContent(33,59485.71); h_SL3L370->SetBinContent(34,59950); h_SL3L370->SetBinContent(35,59328.57); h_SL3L370->SetBinContent(36,58578.57); h_SL3L370->SetBinContent(37,51721.43); h_SL3L370->SetBinContent(38,52335.71); h_SL3L370->SetBinContent(39,52457.14); h_SL3L370->SetBinContent(40,50085.71); h_SL3L370->SetBinContent(41,52421.43); h_SL3L370->SetBinContent(42,53392.86); h_SL3L370->SetBinContent(43,54457.14); h_SL3L370->SetBinContent(44,51942.86); h_SL3L370->SetBinContent(45,4742.857); h_SL3L370->SetBinContent(46,51300); h_SL3L370->SetBinContent(47,50585.71); h_SL3L370->SetBinContent(48,51592.86); h_SL3L370->SetBinContent(49,59692.86); h_SL3L370->SetBinContent(50,56000); h_SL3L370->SetBinContent(51,57064.29); h_SL3L370->SetBinContent(52,57942.86); h_SL3L370->SetBinContent(53,51814.29); h_SL3L370->SetBinContent(54,50735.71); h_SL3L370->SetBinContent(55,52692.86); h_SL3L370->SetBinContent(56,52914.29); h_SL3L370->SetBinContent(57,49092.86); h_SL3L370->SetBinContent(58,45042.86); h_SL3L370->SetBinContent(59,39378.57); h_SL3L370->SetMaximum(81493.92); 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,36378.57); h_SL3L471->SetBinContent(3,38228.57); h_SL3L471->SetBinContent(4,48835.71); h_SL3L471->SetBinContent(5,45892.86); h_SL3L471->SetBinContent(6,45507.14); h_SL3L471->SetBinContent(7,46507.14); h_SL3L471->SetBinContent(8,46378.57); h_SL3L471->SetBinContent(9,46857.14); h_SL3L471->SetBinContent(10,47450); h_SL3L471->SetBinContent(11,48092.86); h_SL3L471->SetBinContent(12,47085.71); h_SL3L471->SetBinContent(13,47478.57); h_SL3L471->SetBinContent(14,48200); h_SL3L471->SetBinContent(15,46857.14); h_SL3L471->SetBinContent(16,47614.29); h_SL3L471->SetBinContent(17,57957.14); h_SL3L471->SetBinContent(18,61007.14); h_SL3L471->SetBinContent(19,60985.71); h_SL3L471->SetBinContent(20,61478.57); h_SL3L471->SetBinContent(21,50450); h_SL3L471->SetBinContent(22,48764.29); h_SL3L471->SetBinContent(23,48192.86); h_SL3L471->SetBinContent(24,48185.71); h_SL3L471->SetBinContent(25,46921.43); h_SL3L471->SetBinContent(26,44650); h_SL3L471->SetBinContent(27,46585.71); h_SL3L471->SetBinContent(28,49678.57); h_SL3L471->SetBinContent(29,49907.14); h_SL3L471->SetBinContent(30,49457.14); h_SL3L471->SetBinContent(31,49628.57); h_SL3L471->SetBinContent(32,48300); h_SL3L471->SetBinContent(33,55664.29); h_SL3L471->SetBinContent(34,58771.43); h_SL3L471->SetBinContent(35,56885.71); h_SL3L471->SetBinContent(36,57678.57); h_SL3L471->SetBinContent(37,50350); h_SL3L471->SetBinContent(38,49564.29); h_SL3L471->SetBinContent(39,49407.14); h_SL3L471->SetBinContent(40,48757.14); h_SL3L471->SetBinContent(41,47771.43); h_SL3L471->SetBinContent(42,48528.57); h_SL3L471->SetBinContent(43,53235.71); h_SL3L471->SetBinContent(44,50542.86); h_SL3L471->SetBinContent(45,46085.71); h_SL3L471->SetBinContent(46,48178.57); h_SL3L471->SetBinContent(47,49550); h_SL3L471->SetBinContent(48,49271.43); h_SL3L471->SetBinContent(49,56800); h_SL3L471->SetBinContent(50,57714.29); h_SL3L471->SetBinContent(51,51728.57); h_SL3L471->SetBinContent(52,56485.71); h_SL3L471->SetBinContent(53,49007.14); h_SL3L471->SetBinContent(54,48607.14); h_SL3L471->SetBinContent(55,49450); h_SL3L471->SetBinContent(56,49550); h_SL3L471->SetBinContent(57,52500); h_SL3L471->SetBinContent(58,43542.86); h_SL3L471->SetBinContent(59,37707.14); h_SL3L471->SetMaximum(81493.92); 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 7567"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }