void RatesPerCell_Removing_noisy_cells_run_7282_SL2() { //=========Macro generated from canvas: c/c //========= (Sat Dec 22 18:31:53 2018) by ROOT version6.02/13 TCanvas *c = new TCanvas("c", "c",0,0,800,600); gStyle->SetOptStat(0); c->Range(-7.500001,-20212.4,67.5,181911.6); c->SetFillColor(0); c->SetBorderMode(0); c->SetBorderSize(2); c->SetFrameBorderMode(0); c->SetFrameBorderMode(0); TH1D *h_SL2L164 = new TH1D("h_SL2L164","SL2, run 7282",60,0,60); h_SL2L164->SetBinContent(1,49464.29); h_SL2L164->SetBinContent(2,59946.43); h_SL2L164->SetBinContent(3,74285.72); h_SL2L164->SetBinContent(4,74785.72); h_SL2L164->SetBinContent(5,71107.15); h_SL2L164->SetBinContent(6,66196.43); h_SL2L164->SetBinContent(7,63053.57); h_SL2L164->SetBinContent(8,57928.57); h_SL2L164->SetBinContent(9,65017.86); h_SL2L164->SetBinContent(10,70750); h_SL2L164->SetBinContent(11,74482.15); h_SL2L164->SetBinContent(12,75607.15); h_SL2L164->SetBinContent(13,73767.86); h_SL2L164->SetBinContent(14,75428.57); h_SL2L164->SetBinContent(15,74785.72); h_SL2L164->SetBinContent(16,72571.43); h_SL2L164->SetBinContent(17,72857.15); h_SL2L164->SetBinContent(18,67214.29); h_SL2L164->SetBinContent(19,63910.71); h_SL2L164->SetBinContent(20,52803.57); h_SL2L164->SetBinContent(21,41589.29); h_SL2L164->SetBinContent(22,41553.57); h_SL2L164->SetBinContent(23,38071.43); h_SL2L164->SetBinContent(24,33821.43); h_SL2L164->SetBinContent(25,32464.29); h_SL2L164->SetBinContent(26,31000); h_SL2L164->SetBinContent(27,28285.71); h_SL2L164->SetBinContent(28,26500); h_SL2L164->SetBinContent(29,25785.71); h_SL2L164->SetBinContent(30,23625); h_SL2L164->SetBinContent(31,23535.71); h_SL2L164->SetBinContent(32,24321.43); h_SL2L164->SetBinContent(33,24428.57); h_SL2L164->SetBinContent(34,24232.14); h_SL2L164->SetBinContent(36,27178.57); h_SL2L164->SetBinContent(37,36464.29); h_SL2L164->SetBinContent(38,30767.86); h_SL2L164->SetBinContent(39,33875); h_SL2L164->SetBinContent(40,82803.57); h_SL2L164->SetBinContent(41,122267.9); h_SL2L164->SetBinContent(42,36535.71); h_SL2L164->SetBinContent(43,36982.14); h_SL2L164->SetBinContent(44,36053.57); h_SL2L164->SetBinContent(45,27357.14); h_SL2L164->SetBinContent(46,26000); h_SL2L164->SetBinContent(47,25017.86); h_SL2L164->SetBinContent(48,24196.43); h_SL2L164->SetBinContent(49,25821.43); h_SL2L164->SetBinContent(50,24678.57); h_SL2L164->SetBinContent(51,26821.43); h_SL2L164->SetBinContent(52,28446.43); h_SL2L164->SetBinContent(53,30625); h_SL2L164->SetBinContent(54,35500); h_SL2L164->SetBinContent(55,34107.14); h_SL2L164->SetBinContent(56,31160.71); h_SL2L164->SetBinContent(57,26160.71); h_SL2L164->SetMaximum(161699.2); 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,40196.43); h_SL2L265->SetBinContent(2,56839.29); h_SL2L265->SetBinContent(3,63125); h_SL2L265->SetBinContent(4,70767.86); h_SL2L265->SetBinContent(5,70535.72); h_SL2L265->SetBinContent(6,65910.72); h_SL2L265->SetBinContent(7,66357.15); h_SL2L265->SetBinContent(8,53303.57); h_SL2L265->SetBinContent(9,63267.86); h_SL2L265->SetBinContent(10,65857.15); h_SL2L265->SetBinContent(11,70625); h_SL2L265->SetBinContent(12,72839.29); h_SL2L265->SetBinContent(13,72321.43); h_SL2L265->SetBinContent(14,73375); h_SL2L265->SetBinContent(15,71000); h_SL2L265->SetBinContent(16,71053.57); h_SL2L265->SetBinContent(17,69553.57); h_SL2L265->SetBinContent(18,67428.57); h_SL2L265->SetBinContent(19,63392.86); h_SL2L265->SetBinContent(20,56125); h_SL2L265->SetBinContent(21,43803.57); h_SL2L265->SetBinContent(22,38982.14); h_SL2L265->SetBinContent(23,37357.14); h_SL2L265->SetBinContent(24,36071.43); h_SL2L265->SetBinContent(25,32446.43); h_SL2L265->SetBinContent(26,30500); h_SL2L265->SetBinContent(27,26875); h_SL2L265->SetBinContent(28,26750); h_SL2L265->SetBinContent(29,24089.29); h_SL2L265->SetBinContent(30,23678.57); h_SL2L265->SetBinContent(31,22464.29); h_SL2L265->SetBinContent(32,22660.71); h_SL2L265->SetBinContent(33,24196.43); h_SL2L265->SetBinContent(34,24910.71); h_SL2L265->SetBinContent(35,24142.86); h_SL2L265->SetBinContent(36,23482.14); h_SL2L265->SetBinContent(37,24946.43); h_SL2L265->SetBinContent(38,26696.43); h_SL2L265->SetBinContent(39,26910.71); h_SL2L265->SetBinContent(40,28553.57); h_SL2L265->SetBinContent(41,29250); h_SL2L265->SetBinContent(42,28142.86); h_SL2L265->SetBinContent(43,25339.29); h_SL2L265->SetBinContent(44,27071.43); h_SL2L265->SetBinContent(45,27071.43); h_SL2L265->SetBinContent(46,25964.29); h_SL2L265->SetBinContent(47,24375); h_SL2L265->SetBinContent(48,23142.86); h_SL2L265->SetBinContent(49,24071.43); h_SL2L265->SetBinContent(50,24321.43); h_SL2L265->SetBinContent(51,26232.14); h_SL2L265->SetBinContent(52,25571.43); h_SL2L265->SetBinContent(53,28178.57); h_SL2L265->SetBinContent(54,30839.29); h_SL2L265->SetBinContent(55,34553.57); h_SL2L265->SetBinContent(56,32250); h_SL2L265->SetBinContent(57,29053.57); h_SL2L265->SetMaximum(140608); 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,46035.71); h_SL2L366->SetBinContent(2,54964.29); h_SL2L366->SetBinContent(3,68250); h_SL2L366->SetBinContent(4,69410.72); h_SL2L366->SetBinContent(5,66107.15); h_SL2L366->SetBinContent(6,62250); h_SL2L366->SetBinContent(7,57571.43); h_SL2L366->SetBinContent(8,56785.71); h_SL2L366->SetBinContent(9,63464.29); h_SL2L366->SetBinContent(10,68071.43); h_SL2L366->SetBinContent(11,70625); h_SL2L366->SetBinContent(12,69517.86); h_SL2L366->SetBinContent(13,70964.29); h_SL2L366->SetBinContent(14,69821.43); h_SL2L366->SetBinContent(15,70500); h_SL2L366->SetBinContent(16,67000); h_SL2L366->SetBinContent(17,65946.43); h_SL2L366->SetBinContent(18,62107.14); h_SL2L366->SetBinContent(19,58714.29); h_SL2L366->SetBinContent(20,48303.57); h_SL2L366->SetBinContent(21,39107.14); h_SL2L366->SetBinContent(22,39446.43); h_SL2L366->SetBinContent(23,35303.57); h_SL2L366->SetBinContent(24,32267.86); h_SL2L366->SetBinContent(25,31392.86); h_SL2L366->SetBinContent(26,27375); h_SL2L366->SetBinContent(27,26000); h_SL2L366->SetBinContent(28,23982.14); h_SL2L366->SetBinContent(29,24089.29); h_SL2L366->SetBinContent(30,23160.71); h_SL2L366->SetBinContent(31,21607.14); h_SL2L366->SetBinContent(32,21910.71); h_SL2L366->SetBinContent(33,22803.57); h_SL2L366->SetBinContent(34,23982.14); h_SL2L366->SetBinContent(35,22750); h_SL2L366->SetBinContent(36,24089.29); h_SL2L366->SetBinContent(37,24660.71); h_SL2L366->SetBinContent(38,25589.29); h_SL2L366->SetBinContent(39,25250); h_SL2L366->SetBinContent(40,26857.14); h_SL2L366->SetBinContent(41,24839.29); h_SL2L366->SetBinContent(42,24446.43); h_SL2L366->SetBinContent(43,24053.57); h_SL2L366->SetBinContent(44,25678.57); h_SL2L366->SetBinContent(45,23910.71); h_SL2L366->SetBinContent(46,24160.71); h_SL2L366->SetBinContent(47,24071.43); h_SL2L366->SetBinContent(48,24107.14); h_SL2L366->SetBinContent(49,24535.71); h_SL2L366->SetBinContent(50,23964.29); h_SL2L366->SetBinContent(51,24446.43); h_SL2L366->SetBinContent(52,24410.71); h_SL2L366->SetBinContent(53,28571.43); h_SL2L366->SetBinContent(54,32875); h_SL2L366->SetBinContent(55,33696.43); h_SL2L366->SetBinContent(56,28928.57); h_SL2L366->SetBinContent(57,26785.71); h_SL2L366->SetMaximum(140608); 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,51750); h_SL2L467->SetBinContent(3,61482.14); h_SL2L467->SetBinContent(4,64517.86); h_SL2L467->SetBinContent(5,63696.43); h_SL2L467->SetBinContent(6,61321.43); h_SL2L467->SetBinContent(7,58071.43); h_SL2L467->SetBinContent(8,50035.71); h_SL2L467->SetBinContent(9,59482.14); h_SL2L467->SetBinContent(10,61821.43); h_SL2L467->SetBinContent(11,66892.86); h_SL2L467->SetBinContent(12,68553.57); h_SL2L467->SetBinContent(13,69607.15); h_SL2L467->SetBinContent(14,68875); h_SL2L467->SetBinContent(15,67946.43); h_SL2L467->SetBinContent(16,67785.72); h_SL2L467->SetBinContent(17,63964.29); h_SL2L467->SetBinContent(18,63946.43); h_SL2L467->SetBinContent(19,58642.86); h_SL2L467->SetBinContent(20,53410.71); h_SL2L467->SetBinContent(21,41053.57); h_SL2L467->SetBinContent(22,37375); h_SL2L467->SetBinContent(23,36142.86); h_SL2L467->SetBinContent(24,33500); h_SL2L467->SetBinContent(25,31553.57); h_SL2L467->SetBinContent(26,28267.86); h_SL2L467->SetBinContent(27,26750); h_SL2L467->SetBinContent(28,24410.71); h_SL2L467->SetBinContent(29,22375); h_SL2L467->SetBinContent(30,22607.14); h_SL2L467->SetBinContent(31,22982.14); h_SL2L467->SetBinContent(32,22696.43); h_SL2L467->SetBinContent(33,22517.86); h_SL2L467->SetBinContent(34,21839.29); h_SL2L467->SetBinContent(35,21517.86); h_SL2L467->SetBinContent(36,23517.86); h_SL2L467->SetBinContent(37,23553.57); h_SL2L467->SetBinContent(38,23625); h_SL2L467->SetBinContent(39,24321.43); h_SL2L467->SetBinContent(40,23857.14); h_SL2L467->SetBinContent(41,24107.14); h_SL2L467->SetBinContent(42,25678.57); h_SL2L467->SetBinContent(43,25500); h_SL2L467->SetBinContent(44,23000); h_SL2L467->SetBinContent(45,23446.43); h_SL2L467->SetBinContent(46,23946.43); h_SL2L467->SetBinContent(47,24107.14); h_SL2L467->SetBinContent(48,23482.14); h_SL2L467->SetBinContent(49,24142.86); h_SL2L467->SetBinContent(50,22642.86); h_SL2L467->SetBinContent(51,23125); h_SL2L467->SetBinContent(52,23517.86); h_SL2L467->SetBinContent(53,25857.14); h_SL2L467->SetBinContent(54,30107.14); h_SL2L467->SetBinContent(55,32928.57); h_SL2L467->SetBinContent(56,29660.71); h_SL2L467->SetBinContent(57,26553.57); h_SL2L467->SetMaximum(140608); 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 7282"); pt->Draw(); c->Modified(); c->cd(); c->SetSelected(c); }